π We just open-sourced Saiki - our customizable AI agent with support for MCP! Click here to check it out on GitHub, and give us a star!
{ "agent_id": "<string>", "created_at": "<string>" }
Create a new AI agent with specified configuration
curl -X POST https://www.trytruffle.ai/api/v1/agents \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Customer Support Agent", "instruction": "You are a helpful customer support agent", "model": "gpt-4", "tool": "search", "component": "Chat" }'
{ "success": true, "data": { "agent_id": "agent_123", "created_at": "2024-02-07T20:43:00Z" }, "status": 200 }