Counterfactual debugging for production AI agents

Your agent died at step 47.
Resume it there — or fork it and try a different step 48.

Change the decision at the exact step, inherit the real accumulated state, and continue without re-running the first 47 steps or re-firing a tool the parent already ran. Actae is the framework-neutral execution layer under the loop you already own — LangGraph, OpenAI Agents, Claude, CrewAI, or custom code. Free and self-hosted in one binary, or managed Cloud.

Reproducible from committed reports: forking past the first five steps of a ten-step run saved 8,260 tokens (46.8%) in the deterministic demo; in the durability benchmark, naive retry re-fired 4 already-applied effects in a six-step run.

Free, self-hosted, one binary Python, Go & TypeScript PostgreSQL Immutable fork receipts
langgraph-research / run_7f2a LIVE
EXECUTION TIMELINEcursor 0048
00:01.2 · CURSOR 0045state.saved

version 12 · committed atomically

00:02.8 · CURSOR 0046tool.web_search.completed

result stored · sources accepted

00:04.1 · CURSOR 0047agent.completed

writer · 2,840 draft chars

PROCESS EXITEDconnection_lost
ACTAE RECOVERYResume from cursor 0047

Inherited work restored. No steps rerun.

FORK AT CURSOR 0034Two continuations from one saved state

Each fork inherits the same boundary, then diverges.

AB
THE COUNTERFACTUAL LOOP

Run the agent once.
Fork the decision. Compare the outcome.

A trace tells you what happened. Actae lets you change what happens next — from the exact saved boundary, with the inherited state and known tool results, and without re-firing a side effect the parent already performed. The loop is recover → fork → compare → promote. Why not Temporal, Inngest, or a LangGraph checkpointer? →

FORK

Fork the execution, not the trace

Fork from a saved step, change the next decision, and choose what happens to inherited side effects — replay, block, or run live. Immutable lineage, structural diff, and a promotion decision.

01
NEVER DOUBLE-EXECUTE

Coordinate retries that cannot double-execute work

Claim tool operations with durable idempotency keys and leases. Reuse a recorded result or fence a stale worker instead of sending, charging, or writing twice.

02
RECOVER

Crash without starting over

Resume from durable state and the exact event cursor your agent reached.

03
COORDINATE

Give every worker the full story

Durable agent messages, fenced leases, causal history, and replay-to-live delivery keep multi-agent workflows coherent.

04
01

Your agent should not forget an hour of work because one worker died.

Processes restart. Networks time out. Tool results arrive ambiguously. A trace can explain the loss. Actae gives the application the durable state and execution history needed to continue.

One API for the execution lifecyclerecordtransitionreplayforkresumesubscribe
THE INFRASTRUCTURE UNDERNEATH

The rest of the runtime,
behind one API.

The whole system ships as one deployable: an ordered event log, atomic state, live WebSockets, coordination, lineage, and operational guardrails. Use the high-level SDKs or call the REST and WebSocket protocols directly.

Ordered events + atomic state

Record, query, and replay immutable events; commit an event and its cursor-aligned state snapshot in one PostgreSQL transaction.

Replay into live delivery

Catch up from each subscriber's cursor, cross a deterministic synchronization point, and continue over WebSocket without an event gap.

Durable coordination

Consumer groups, scheduled wake-ups, distributed execution groups, causal messages, fenced leases, and crash-safe acknowledgements.

Compare and promote experiments

Group forks, record outcomes, rank variants, inspect structural state and tool-result differences, and promote a winner.

Verifiable history

Per-channel hash chains, immutable fork receipts, decision trails, reproducibility grades, and provenance-aware retention.

Production guardrails

API-key and JWT auth, optional mTLS, rate limits, atomic usage quotas, metrics, health probes, configurable retention, and audited administration.

SDKs and framework adapters

Async-first Python, Go, and TypeScript clients plus integrations for LangGraph, LangChain, Claude, OpenAI Agents, CrewAI, Codex, and GitHub Copilot.

PAST → PRESENT

Every participant arrives fully caught up.

A new worker, dashboard, evaluator, or approval agent can replay durable history from any cursor and move into live delivery without a race or a hand-built handoff.

“I need every participant to have immediate access to both the past and the present.”
execution.tsCONNECTED
1 await actae.record(channel, event)
2 await actae.transition(event, state)
3
4 // recover history, then stay live
5 for await (event of actae.stream({ cursor }))
Replaycursor 0 → 47
Syncno event gap
Livecursor 48 →
YOUR STACK, STILL YOURS

Bring the framework.
Keep control of execution.

Actae does not choose prompts, models, or tools. It makes the facts of execution durable underneath the stack you already use.

LANGGRAPHLANGCHAINCLAUDEOPENAICODEXCOPILOTPYTHONGOTYPESCRIPT

One deployable system

Ordered event log, versioned state, live WebSockets, consumer coordination, and execution lineage behind one endpoint.

Choose the boundary

Use a dedicated managed Cloud runtime for zero operations or self-host Actae when execution data must remain in your infrastructure.

Evidence, not screenshots

Fork receipts and causal histories connect the outcome to the exact boundary, state, tools, and decisions that produced it.

HOW IT FITS

Your application stays in control.

Actae runs beside your agent as the durable event, state, coordination, and lineage layer.

ACTAE DOES
  • Persist ordered steps and versioned state
  • Fence and replay logical tool operations
  • Recover, fork, compare, and stream execution
ACTAE DOES NOT
  • ×Choose prompts or models
  • ×Plan tasks for your agent
  • ×Own or execute your application loop
CLOUD OR SELF-HOSTED

One execution model. Your deployment boundary.

Start with a dedicated managed Cloud endpoint, or run the same production Actae runtime in your infrastructure when data residency or network control requires it. Cloud onboarding is assisted and no public availability SLA is currently offered.

Compare deployment options
actae-runtimeCOMMUNITY
# download the free community build
$ chmod +x ./actae

# start API + dashboard + managed PostgreSQL (banner prints URL + API key)
$ ./actae

# install an SDK and record your first event
$ pip install actae-client
Community runtime operationalone binary · free · self-hosted data plane
FREE SELF-HOSTED

Run it free. Cloud when it is ready.

The community build is one binary with embedded PostgreSQL: no account, no card, no phone-home. Managed Cloud is in early access; pricing will be published when it opens.

CLOUDearly access
Waitlistearly access
no card
  • Managed runtime and backups
  • Usage guardrails and alerts
  • Assisted onboarding
  • No card required to join
Join the early-access list

The community build is the product today. Cloud pricing appears here when early access opens.

OPERATED IN THE OPEN

Operating posture, stated plainly.

Actae Cloud has isolated tenant runtimes, PostgreSQL control-plane recovery tooling, usage guardrails, component health reporting, and operational alerts. It does not yet claim a public SLA.

Live service healthCustomer-visible component status refreshes every 30 seconds.View current status

SLA gates remain explicitMulti-node recovery, PostgreSQL HA, an external security review, formal on-call ownership, and measured margins must be evidenced before a public SLA is offered.Review security posture

FORK IT, DON’T RERUN IT

Make one agent run survive a crash — then fork it.

Download the free self-hosted build and fork a run on your own machine, or bring one workflow that already runs for 10+ minutes and we will provision a dedicated Cloud endpoint and help you prove recovery and forking against your own agent.

Install in 60 seconds Read the quickstart