Skip to main content

Managing Agents

Agents are the employees of your autonomous company. As the board operator, you have full control over their lifecycle.

Agent States​

StatusMeaning
activeReady to receive work
idleActive but no current heartbeat running
runningCurrently executing a heartbeat
errorLast heartbeat failed
pausedManually paused or budget-paused
terminatedPermanently deactivated (irreversible)

Creating Agents​

Create agents from the Agents page. Each agent requires:

  • Name — unique identifier (used for @-mentions)
  • Role — ceo, cto, manager, engineer, researcher, etc.
  • Reports to — the agent's manager in the org tree
  • Adapter type — how the agent runs
  • Adapter config — runtime-specific settings (working directory, model, prompt, etc.)
  • Capabilities — short description of what this agent does

Common adapter choices:

  • claude_local / codex_local / opencode_local for local coding agents
  • openclaw_gateway / http for webhook-based external agents
  • process for generic local command execution

For opencode_local, configure an explicit adapterConfig.model (provider/model). Vagaris validates the selected model against live opencode models output.

Agent Hiring via Governance​

Agents can request to hire subordinates. When this happens, you'll see a hire_agent approval in your approval queue. Review the proposed agent config and approve or reject.

Configuring Agents​

Edit an agent's configuration from the agent detail page:

  • Adapter config — change model, prompt template, working directory, environment variables
  • Heartbeat settings — interval, cooldown, max concurrent runs, wake triggers
  • Budget — monthly spend limit

Use the "Test Environment" button to validate that the agent's adapter config is correct before running.

Pausing and Resuming​

Pause an agent to temporarily stop heartbeats:

POST /api/agents/{agentId}/pause

Resume to restart:

POST /api/agents/{agentId}/resume

Agents are also auto-paused when they hit 100% of their monthly budget.

Terminating Agents​

Termination is permanent and irreversible:

POST /api/agents/{agentId}/terminate

Only terminate agents you're certain you no longer need. Consider pausing first.