Run · Agent Engine

An open runtime for managed agents.

Orca Agent Engine runs the agents you declare. Harness and model are fields in the declaration, so any harness runs on any model, and switching either is a one-line change.

Architecture

Inside the engine

A registry holds what you declare. A harness server drives the turns, a sandbox isolates the tools, and the gateway governs every call that leaves.

Agent Engine architecture: clients reach the Registry, which works with a Harness Server that runs the agent loop.
  • SDK, CLI and UI clients reach the Registry.
  • The Registry works with the Harness Server. It never runs agent code itself.
  • The Harness Server executes built-in tools in a Sandbox.
  • The Harness Server and the Sandbox both reach the AI Gateway, which holds the credentials.
  • The AI Gateway calls MCP tool servers and LLM providers on their behalf.
  • Transcripts and audit logs land in the Event Store, backed by Kafka, Postgres or Pulsar.
Built for production

Everything a production agent runs on.

Runs where you run

The control plane and the event log stay with you. Nothing is exfiltrated to a vendor.

Anthropic-SDK compatible

Mirrors the managed-agents API surface. Point an Anthropic-compatible client's base URL at your Orca workspace — no rewrite.

Real runtime primitives

Sessions, threads, files, memory, skills, environments and vaults — a full control plane rather than a wrapper.

Durable and replayable

Sessions resume by replaying their event log. Every step is recoverable and auditable.

// Point any Anthropic-SDK-compatible client at your Orca workspace.
// The control plane and the event log stay with you.
const ORCA = "https://orca.example.com";
const headers = {
  "x-api-key": process.env.ORCA_API_KEY!, // orca_...
  "content-type": "application/json",
};

// Harness and model are configuration, not a rewrite.
const agent = await fetch(`${ORCA}/v1/agents`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    name: "support-triage",
    model: { provider: "anthropic", id: "claude-opus-4-8" },
    metadata: { harness: "claude_agent_sdk" },
  }),
}).then((r) => r.json());

// Run it. The full transcript streams back as a governed, replayable log.
const session = await fetch(`${ORCA}/v1/sessions`, {
  method: "POST",
  headers,
  body: JSON.stringify({ environment_id: env.id, agent_id: agent.id }),
}).then((r) => r.json());
In practice

Point an Anthropic-compatible client at your Orca workspace. Harness and model are configuration — not a rewrite.

The resource model

A declarative way to build agents.

Everything an agent needs is versioned configuration. A session pins the versions it ran against, so a change never rewrites a run that already happened.

The resource model: an Agent pinned by a Session, which runs in an Environment, references Vaults, mounts Files, MemoryStores and Skills, and produces Events.
A Trigger creates a Session. Everything else is declared once and reused.
  • A Session pins a version of an Agent, so changing the agent never rewrites a run that already happened.
  • A Session runs in an Environment and produces Events.
  • A Session references Vaults for credentials, by id and never by value.
  • A Session mounts Files, MemoryStores and Skills.
  • A Trigger creates Sessions — on an event, a topic, or a schedule.
Capabilities

What ships in Agent Engine

Everything below carries a status — available now, in preview, or on the roadmap. No roadmap item is dressed up as shipped.

Harnesses

Bring the agent you already use. The harness is a field on the Agent, so swapping it is configuration, not a rewrite.

  • Claude Agent SDKNow
  • Claude CodePreview
  • CodexNow
  • PiNow
  • Bring your own harnessPreview

Sandboxes

Pluggable isolated execution for tool calls and code. OpenSandbox is Alibaba's open-source engine — Orca ships the adapter.

  • E2BNow
  • LocalNow
  • OpenSandboxNow
  • CloudflareRoadmap

Triggers

Start a session however the work arrives. Cron needs no streaming at all.

  • Kafka eventsStreamNative Cloud
  • Pulsar eventsStreamNative Cloud
  • Cron scheduleNow

Harness placement

Run the harness inside the sandbox with the code it is editing, or beside it when the loop belongs outside the isolation boundary.

  • In the sandboxPreview
  • Beside the sandboxNow
  • Swap via configNow
The platform

Explore the rest of the stack

Govern

AI Gateway

Guardrails that hold, and a record you can verify.

Learn more
Record

Eval & Observability

Session logs as OpenTelemetry traces, in your own stack.

Learn more