Agent Config
API reference for agent configuration.
Agent Config
Configure agents with the following schema.
Schema
agent:
name: my-agent
type: custom
model: claude-sonnet-4-6
prompt: |
Your instruction to the agent goes here.
tools:
- web_search
- file_read
- file_write
memory:
type: shared
retention: 30d
permissions:
files: read-write
network: true
commands: false
limits:
max_tokens: 4096
max_cost: 0.50
Fields
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| name | string | Yes | Agent identifier |
| type | string | Yes | Agent type or "custom" |
| model | string | Yes | LLM model to use |
| prompt | string | Yes | System prompt |
| tools | string[] | No | Available tools |
| memory | object | No | Memory configuration |
| permissions | object | No | Permission settings |
| limits | object | No | Execution limits |