API Reference
Agents API
Create, configure, and interact with agents programmatically.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create, configure, and interact with agents programmatically.
GET /api/agents
POST /api/agents
{
"name": "Research Assistant",
"model": "gpt-4o",
"tools": ["browser", "file_system"],
"system_prompt": "You are a research assistant..."
}
POST /api/agents/:id/messages
{
"content": "Research the AI agent market in 2026"
}
GET /api/agents/:id/messages