Create AI Agent
POST /api/v3/organizations/{organisation}/ai/agents
Creates a new AI agent with specific configuration, system prompt, and tool permissions. * * Agent Configuration: * - System Prompt: Instructions that guide the agent’s behavior * - Model: Which foundation model to use (e.g., ‘amazon.nova-pro-v1:0’) * - Temperature: Creativity level (0-1) * - Allowed Tools: Which tools the agent can auto-execute * - Allowed Collections: Vector DB collections for RAG * - Group: Optional categorization (e.g., ‘development’, ‘compliance’) * * Auto-Execution: * All tools are automatically executed when an agent requests them (no client confirmation needed).
Authorizations
Parameters
Path Parameters
The organisation ID
Request Body required
object
Code Review AssistantReviews code for security vulnerabilities and best practicesdevelopmentYou are a senior software engineer specializing in secure code review.0.3anthropic.claude-3-5-sonnet-20241022-v2:04000[ "fetch_web_content", "search_web"]Skill IDs to assign to this agent
User identifier who created the agent
Enable 1M context window support
Guardrail preset name
Filter policy IDs to apply to this agent’s inference requests
Responses
201
Agent created successfully
object
trueobject
Agent created successfully400
Invalid request parameters
403
Access denied
500
Failed to create agent