Adapter Module#
- class isek.adapter.base.Adapter[source]#
Bases:
ABC
Abstract base class for all team implementations.
This class defines the interface that all team implementations must follow. Teams can coordinate multiple agents or other teams to work together.
- abstractmethod get_adapter_card() AdapterCard [source]#
Get metadata about the team for discovery and identification purposes.
- Returns:
A card containing team metadata including name, bio, lore, knowledge, and routine
- Return type:
TeamCard
- Raises:
NotImplementedError -- If the concrete class doesn't implement this method
- print_response(*args, **kwargs)[source]#
Proxy to the shared print_response utility, passing self.run as run_func.
- abstractmethod run(prompt: str, **kwargs) str [source]#
Execute the team's main functionality with the given prompt.
- Parameters:
prompt -- The input prompt or task for the team to process
**kwargs -- Additional keyword arguments
- Returns:
The team's response or result
- Return type:
- Raises:
NotImplementedError -- If the concrete class doesn't implement this method
- class isek.adapter.base.AdapterCard(name: 'str', bio: 'str', lore: 'str', knowledge: 'str', routine: 'str')[source]#
Bases:
object
- class isek.adapter.isek_adapter.IsekAdapter(agent: IsekTeam)[source]#
Bases:
Adapter
- get_adapter_card() AdapterCard [source]#
Get team card for A2A protocol.