Overview
Thecreate_agent function creates a new AI agent in the system.
Function Signature
Parameters
The agent data for creation including:
name: Agent name (required)description: Agent description (required)agent_type: Type of agent (required)model: AI model to use (required)instructions: System instructions for the agent (optional)temperature: Model temperature (optional)is_active: Whether agent is active (optional, defaults to true)
Return Value
ReturnsResult<AiAgent> containing the created agent details.
Basic Usage
Error Handling
Rate Limits
- Create operations: 20 requests per minute
- Burst limit: 5 requests per second
Related Functions
- fetch_agents - List all agents
- fetch_agent - Get agent by ID
- update_agent - Update agent configuration
- delete_agent - Delete agent
