oats.agent
Agent orchestration logic.
oats.agent.agent
Agent definitions and management.
- class oats.agent.agent.AgentType(*values)[source]
-
Types of sub-agents with different tool access levels.
- GENERAL = 'general'
- EXPLORE = 'explore'
- PLAN = 'plan'
- VERIFY = 'verify'
- class oats.agent.agent.Agent(name, description='', prompt='', agent_type=AgentType.GENERAL, model_id=None, provider_id=None, temperature=None, top_p=None, tools=<factory>, allowed_tools=None, max_iterations=200, options=<factory>)[source]
Bases:
objectDefinition of an AI agent.
- name: str
- description: str = ''
- prompt: str = ''
- agent_type: AgentType = 'general'
- max_iterations: int = 200
- __init__(name, description='', prompt='', agent_type=AgentType.GENERAL, model_id=None, provider_id=None, temperature=None, top_p=None, tools=<factory>, allowed_tools=None, max_iterations=200, options=<factory>)
- class oats.agent.agent.AgentRegistry[source]
Bases:
objectRegistry of available agents.
- __init__()[source]
- oats.agent.agent.get_agent_registry()[source]
Get the global agent registry.
- Return type:
AgentRegistry