Skip to main content
This method initiates the agent execution with the provided configuration. The agent will begin processing the task immediately after starting.

Parameters

task
str
required
The task description to execute (required).
url
str | None
Optional URL to process, defaults to None.
response_format
type[pydantic.main.BaseModel] | None
The response format to use for the agent answer. You can use a Pydantic model or a JSON Schema dict.
session_offset
int | None
[Experimental] The step from which the agent should gather information from in the session. If none, fresh memory

Returns

AgentResponse: The initial response from starting the agent.
I