Create a new AI agent
create_agent
function creates a new AI agent in the system.
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)Result<AiAgent>
containing the created agent details.