Skip to main content

Agent Harness API

The Agent Harness is a backend for durable, asynchronous agent-run orchestration. You submit a run with input data; the harness queues it, executes it through an LLM-powered pipeline (planning, tool use, judge evaluation), and emits events you can consume in real time.

Key properties

  • Asynchronous: POST /v1/runs returns immediately with status: "queued". Follow progress via SSE or polling.
  • Durable: Runs survive crashes, deploys, and restarts. State is Postgres-backed.
  • Event-driven: State transitions and outputs are delivered as events.
  • Multi-tenant: Each API key is scoped to a customer_id; resources are isolated per customer.
Use the API Reference tab for the interactive OpenAPI surface. For a deeper narrative and full endpoint tables, see Endpoints reference in this repository.