Skip to content

Dev → Test → Promote

create → dev → test → promote

Start the agent against the local control plane:

Terminal window
mesh dev my-agent

The agent registers on the mesh, discovers tools, and is ready to receive calls. Other agents can find it via discovery.

Run validation checks:

Terminal window
mesh test my-agent

Checks: schema validity, Python imports, required files, manifest completeness.

Deploy to the target mesh:

Terminal window
mesh promote my-agent --dry-run # Preview first
mesh promote my-agent # Copy + auto-start

Promotion:

  1. Validates all checks pass
  2. Bumps the version (1.0.0 → 1.0.1)
  3. Snapshots the agent files for rollback
  4. Copies to the target mesh directory
  5. Auto-starts the agent on the control plane

Each promotion bumps the patch version and saves a snapshot:

agents/my_agent/.versions/
1.0.1/ # Snapshot of promoted files
1.0.2/ # Next promotion

Rollback to any version:

Terminal window
curl -X POST localhost:8100/agents/my-agent/rollback/1.0.1
StateMeaning
unpromotedAgent exists in dev but never promoted
files_changedDev copy differs from promoted
cleanDev matches promoted