Skip to main content

Agents

Each entry under agents: is a schema.Agent.

Minimal

yaml
agents:
- id: assistant
role: assistant
brain:
provider: deepseek
model: deepseek-chat
backend: openai_compat
config:
api_key: "{{env.DEEPSEEK_API_KEY}}"
system_prompt: |
You are a helpful assistant.

Fields (schema.Agent)

FieldNotes
idRequired
rolee.g. assistant, worker, coordinator, specialist
brainRequired (Brain)
max_tool_iterationsOptional cap
system_prompt / promptInstructions
plan_firstOptional bool
specialtyOptional label
delegate_toSpecialist ids
skillsSkill id / path string
capabilitiesPer-agent capability overlay
modulesSequence or map of module grants / tool lists
poolmax_workers, progress, auto_retry
coordinationNested delegate_to / pool
instructionsFile / specialty / capabilities helper
contextPer-agent context block
hooksPer-agent hooks

Brain

Typical fields: provider / provider_id, model, backend, config (base_url, api_key, ...), temperature / token limits, native_tool_use, nested context, credential refs when used. Backends include OpenAI-compatible and Anthropic paths supported by the runtime LLM stack.

Roles and spawn

Coordinator agents can call agent_spawn.agent when spawn is enabled. Specialists are other agents[] entries targeted by agent / task (see Multi-agent).

Tool surface

Per-agent modules plus app tools.capabilities decide what the agent may call. Injection mode: Tools.