Get started / MVP

Introduction

Convoy is a declarative language and a runtime for long-horizon agent swarms. You describe a team of agents in HCL; a server runs it until the goal is met or a limit is hit.

View .md

Today’s agent harnesses are built around one person in one session. When a job needs more than one agent, you either type “launch a sub-agent” into that session and hope, or you write Python against an agent SDK, at which point your script is the orchestrator. If you need it to survive a long run, you add Temporal, and now you have two systems with two ideas of state, and the agents still cannot talk to each other.

Convoy treats a swarm the way Terraform treats infrastructure and Kubernetes treats workloads: you declare what should exist, and a long-running server makes it so.

main.cvy
swarm "edge_chips" {
  goal         = "Ship a sourced 10-page market report on edge inference chips"
  done_when    = agent.critic.output.approved == true
  max_runtime  = "4h"
  max_cost_usd = 60
}

agent "researcher" {
  for_each = toset(["nvidia", "groq", "cerebras", "tenstorrent"])
  provider = provider.anthropic
  model    = "claude-sonnet-5"
  prompt   = file("prompts/research.md")
  writes   = [topic.findings]
}

What you get

  • One language, one agent to many. A solo agent and a twelve-agent swarm are the same kind of file, run by the same server, the same way.
  • Native swarm primitives. Topics and messages, typed outputs, dependency edges, and spawning are part of the language, not prompts.
  • A runtime that holds the state. convoyd keeps every swarm, agent, topic and message. The CLI exits; the swarm keeps running.
  • A control loop. A controller enforces the budget, the runtime limit, turn limits and stuck detection. An overseer agent judges progress and can add or redirect agents.
  • Any provider. Claude Agent SDK, OpenAI Agents SDK, or any OpenAI-compatible endpoint, through one MCP tool surface.

The pieces

PieceWhat it is
The DSLHCL with four block types: swarm, provider, topic, agent. Files end in .cvy.
The CLIconvoy, a single Go binary. It never holds state: it validates files and calls the server.
The runtimeconvoyd, a Go server with a message board, a controller, an overseer and one runner process per agent.
The architectureHow the components fit, which seams are contracts, and how the repository is laid out.

Where to go next

Last updated 2026-11-05
esc
    ↑↓ to move · ↵ to open
    Menu
    Get started
    IntroductionInstallQuickstartYour first swarm
    Concepts
    Swarms and runsAgents and turnsTopics and the boardThe overseerSpawning agentsBudgets and limits
    DSL
    Language rulesswarmprovidertopicagentReferences and functionsValidation rules
    Providers
    Provider typesUsing a provider typeWriting a provider type
    CLI
    Overviewconvoy goalconvoy validateconvoy runconvoy statusconvoy watchconvoy sayconvoy stopconvoy uiconvoy provider
    Runtime
    convoydControllerMessage boardRunnerSwarm tools (MCP)Web UIDurability
    Architecture
    OverviewRepository layoutSeams and contractsHTTP API
    Examples
    OverviewWriter and criticResearch teamCode teamPaperBench replicationCommit0 libraryVending-BenchSWE-Lancer bountyτ²-bench loop
    Inspiration
    What we borrowedThe harness landscape