Agent Configuration

Configure individual agents in nexus.config.yaml.

Basic Agent

yaml
agents:
  my-agent:
    template: researcher

Full Agent Configuration

yaml
agents:
  researcher:
    template: researcher
    autoStart: true
    wasm:
      fuel: 1000000        # Max WASM fuel
      memoryPages: 256     # Max memory (256 × 64KB = 16MB)
    env:
      API_KEY: "sk-..."
      MODEL: "claude-3-sonnet"
    metadata:
      team: research
      priority: high

Configuration Fields

FieldTypeDefaultDescription
templatestringrequiredAgent template name
autoStartboolfalseStart agent on project load
wasm.fuelint1000000WASM execution fuel limit
wasm.memoryPagesint256WASM memory page limit
envmap{}Environment variables for the agent
metadatamap{}Custom metadata tags

Templates

Available built-in templates:

TemplateDescription
researcherWeb research and summarization
analyzerData analysis and reporting
coderCode generation and review
plannerTask planning and decomposition
customBlank template for custom agents
bash
# Create with template
naos create my-agent --template researcher

# List available templates
naos templates