Running Agents
Once created, agents can be started, stopped, and monitored through the CLI.
Starting an Agent
bash
naos run my-agentThe agent starts in the WASM sandbox and transitions to running status.
Stopping an Agent
bash
naos stop my-agentThis sends a graceful shutdown signal. The agent has 5 seconds to clean up before being forcefully terminated.
Checking Status
View a single agent:
bash
naos status my-agentView all agents:
bash
naos statusOutput format:
AGENT STATUS UPTIME MEMORY COST
researcher running 4h 12m 24MB $2.40
analyzer running 4h 12m 18MB $1.10
planner idle - - $0.00Running Multiple Agents
Start all agents defined in your config:
bash
naos run --allAgent Logs
View agent output:
bash
naos logs my-agent
naos logs my-agent --follow # stream live
naos logs my-agent --tail 50 # last 50 linesResource Limits
Set memory limits per agent in the config:
yaml
agents:
researcher:
source: ./agents/researcher.wasm
execution:
memoryLimit: 128MB
timeoutSeconds: 300