Runnable Agent Protocol • AI Agent SDK
RunnableAgentProtocol: Extended Protocol for agents that support run/start methods.
RunnableAgentProtocol
Defined in the protocols module.
AI Agent
Extended Protocol for agents that support run/start methods.
This extends AgentProtocol with the run/start interface used by the Agent class for task execution.
Methods
run()
Run the agent with a prompt (alias for chat in most cases).
start()Start the agent with a prompt.
arun()Async run the agent with a prompt.
astart()Async start the agent with a prompt.
Source
View on GitHubpraisonaiagents/agent/protocols.py at line 95