Reeve
Agent Management

Agent Management

Create, configure, and manage AI agents with role-based templates and lifecycle tools.

Agent Management

Reeve's agent management system lets you create, configure, and orchestrate multiple AI agents — each with its own role, workspace, model, and behavior. Agents are first-class entities with full lifecycle management.

What's an Agent?

An agent is a persistent AI identity with:

  • Role — Defines behavior defaults (coordinator, manager, worker, research, assistant)
  • Workspace — A directory with AGENTS.md, SOUL.md, TOOLS.md, MEMORY, and other context files
  • Model — Which LLM powers the agent (Claude Opus, Sonnet, GPT-4, etc.)
  • Channel bindings — Which messaging platforms the agent responds on
  • Heartbeat — Periodic check-in schedule for autonomous work
  • Subagent policy — Which other agents it can spawn

Agent Roles

Roles provide sensible defaults for different agent types:

RoleModelHeartbeatSubagentsSession ResetUse Case
coordinatorOpus30mAll (*)NeverTop-level orchestrator
managerOpus2hPipeline + self48h idleDomain manager (marketing, eng)
workerSonnetNoneSelf only1h idleTask execution
researchOpus4hSelf only24h idleDeep research, analysis
assistantOpus2hSelf only48h idleGeneral-purpose helper

Roles are defined in config/role-defaults.js. When you create an agent with a role, these defaults are applied — but you can override any of them.

Quick Overview

# List all agents
reeve agents list

# Add a new agent
reeve agents add

# Inspect agent config + health
reeve agents inspect marketing-manager

# Health check with auto-fix
reeve agents doctor --fix

# Remove an agent
reeve agents delete old-worker

Architecture

Agent management spans several gateway components:

ComponentFilePurpose
Role defaultsconfig/role-defaults.js5 roles with model/heartbeat/subagent defaults
Scaffolding engineagents/scaffolding.jsCreates workspace files from role templates
Config helperscommands/agents.config.jslistAgentEntries, applyAgentConfig, buildAgentSummaries
CLI commandscommands/agents.commands.*.jsadd, list, inspect, doctor, delete, identity
Bridge methodsgateway/server-bridge-methods-agents.jsJSON-RPC API for frontend
Templatesdocs/reference/templates/roles/Role-specific AGENTS.md, SOUL.md, HEARTBEAT.md

On this page