Agentspan
Agentspan
AI AgentActive

Agentspan

Agentspan is an MIT-licensed, self-hostable runtime that compiles AI agents into durable Conductor workflows. This practical guide explains crash recovery, approvals, retries, observability, framework integrations, security boundaries, rollout tests, costs, and alternatives.

187

Views

0

Likes

May 2026

Added

agentspan.ai

Website

Tags

durable executionagent runtimeworkflow reliabilityobservabilityopen source

Product Preview

A quick visual look at Agentspan before you visit the official site.

Published 5/29/2026
Agentspan screenshot

Editorial Review

About Agentspan

Agentspan is an open-source execution layer for AI agents whose work must survive process crashes, deployments, long waits and human approvals. Instead of keeping the entire agent loop in application memory, it stores execution state on an Agentspan server and delegates tool work to connected workers. The project is built by Orkes on the Conductor workflow engine and is currently MIT licensed and self-hostable.

The distinction matters: Agentspan does not make a weak agent intelligent, choose safe permissions or validate a business result. It changes the failure model. A run gets a durable identity, completed steps have history, pending approval can wait server-side, and a replacement worker can reconnect. Teams should evaluate it as distributed-systems infrastructure, not as a prompt library.

Agentspan durable agent execution interface and event history
Agentspan’s execution view turns model calls and tool steps into inspectable workflow events. Observability helps diagnosis, but stored prompts, outputs and tool results also become sensitive operational data.

What changes when state moves out of the agent process

ConcernIn-process agent loopAgentspan modelOperator still owns
Process crashMemory and current position may disappearServer retains workflow state and resumes workWorker availability and idempotent tools
Human approvalApplication must keep or rebuild pending stateWorkflow can pause server-side and receive a response laterApprover identity, timeout and escalation policy
RetriesCustom loop, often coarse-grainedPer-step retry is a workflow primitiveWhich errors are retryable and whether side effects are safe
HistoryApplication-specific logsInputs, outputs, timing and steps are queryableRedaction, retention and access controls
ScaleState and scheduling coupled to one processServer coordinates workers and executionsCapacity, tenancy, queues and disaster recovery
Scheduling/eventsSeparate cron or message plumbingConductor scheduling and event integrationsOverlap, deduplication and missed-event behavior

The runtime path, drawn as a failure boundary

 user / event
      |
      v
 .--------------------.       durable state       .----------------------.
 | application code   | ------------------------> | Agentspan / Conductor|
 | Agent + tools      | <--- task delegation ---- | run, step, history   |
 '--------------------'                            '----------+-----------'
      | worker may die                                        |
      | and reconnect                                         | calls
      v                                                       v
 custom tool process                               LLM / HTTP / MCP tools
      |                                                       |
      '---------------- results + side effects ---------------'

 Durable checkpoint ≠ transaction over every external side effect

The last line is the most important operational caveat. A workflow engine can remember that it requested a payment, email or repository mutation, yet it cannot automatically make an arbitrary external action transactional. If a worker succeeds remotely and crashes before acknowledging completion, a retry may repeat the action. Every mutating tool needs an idempotency key, reconciliation query or human decision path.

Do the crash test before the happy-path demo

A useful proof of concept deliberately kills the worker at different boundaries. Run one read-only research job, one job with a controlled side effect, and one approval-gated job. Preserve the execution ID, restart on a different machine, reconnect, and compare the final state with an uninterrupted control run.

Injection pointExpected evidenceFailure that should block rollout
During an LLM requestBounded retry and one coherent continuationUnbounded token spend or duplicated context
After read-only tool completionResume without losing prior resultRun restarts from the beginning
After remote write, before acknowledgementIdempotency key prevents a duplicateTwo tickets, payments, messages or commits
While waiting for approvalRestart preserves pending request and audit identityImplicit approval, lost request or wrong approver
During deploymentOld and new workers do not execute the same exclusive stepSplit-brain side effects
After server restartDocumented recovery objective is metHistory or workflow state is unrecoverable

Retries need a side-effect contract

Classify tools before enabling automatic retries. Pure functions and repeatable reads can usually retry. Writes require a stable operation key scoped to the workflow and step. Non-repeatable actions need a “query before retry” adapter or a manual reconciliation queue. Do not ask an LLM to infer whether a payment or message already happened from conversational context.

  • Safe retry: calculate a checksum, read a public page or query by immutable ID.
  • Conditionally safe: create a ticket with a server-enforced idempotency key, or update a known record with version checking.
  • Unsafe by default: send an email, publish content, transfer money or execute a production change without deduplication.
  • Compensatable: reserve a resource when a tested cancellation operation and accountable escalation path exist.

Human approval is a policy system, not a pause button

Agentspan documents tools marked for approval and CLI, API or UI responses. Production policy must additionally define who can approve, what exact arguments are frozen, how identity is authenticated, when the request expires and whether a modified action creates a new approval. Show the approver the proposed side effect, destination, data disclosure, estimated cost and a human-readable diff.

Separate requesters from approvers for high-impact actions. Denial must terminate or narrow the action; it should not prompt the model to route around the gate with another tool. Record the policy version and approval artifact alongside the run so a replay cannot apply an old decision to new arguments.

Framework compatibility does not mean identical semantics

The official documentation demonstrates its own Agent API and integrations with LangGraph, the OpenAI Agents SDK and Google ADK. Test the exact adapter and version you plan to deploy. Check streaming, cancellation, nested agents, tool-call IDs, structured output, context propagation and error mapping. A wrapper can preserve the callable interface while changing checkpoint or retry behavior.

Integration choiceBest reason to use itValidation question
Native Agentspan AgentSmallest conceptual surface and documented primitivesDoes its model/tool abstraction cover required behavior?
LangGraphExisting graph, nodes and state designWhich layer owns checkpoints, retries and interrupts?
OpenAI Agents SDKExisting agents, handoffs and tracing conventionsAre tool and approval events mapped without loss?
Google ADKExisting Google agent implementationAre session state and artifacts durably represented?
HTTP/OpenAPI toolServer-side call without custom worker codeWhere are credentials, rate limits and response schemas enforced?
MCP toolReuse an MCP server’s capability surfaceCan each exposed method be scoped and audited independently?

Credentials and stored execution data

Agentspan supports provider keys through environment configuration and server-executed HTTP, OpenAPI and MCP tools. Central execution can reduce secrets copied into every worker, but it also concentrates authority. Use a secret manager, short-lived credentials, per-environment identities and outbound allowlists. Never place credentials inside prompts, tool schemas or persisted results.

Execution history can contain customer text, retrieved documents, source code, model responses, tool arguments and errors. Decide which fields are redacted before storage, who can search or replay runs, how tenants are separated, and how deletion requests propagate to backups and observability exports. Encrypt transport and storage, audit read access, and test restoration rather than assuming persistence equals recoverability.

Observability that leads to action

Raw traces are useful only if they answer operational questions. Attach a correlation ID across the trigger, workflow, model calls and external mutations. Record model/version, prompt-policy version, token counts, tool latency, retry reason, approval delay and terminal classification. Avoid high-cardinality secrets in labels.

MetricWhy it mattersSuggested alert
Successful business outcomesSeparates completed workflows from correct resultsDrop against task-specific baseline
Duplicate side effectsDetects broken idempotencyAny confirmed duplicate for critical tools
Retries per stepFinds unstable tools and hidden costSustained increase by tool/version
Approval ageShows stuck work and operational burdenPast policy SLA or expiry
Recovery successMeasures the core durability promiseAny unrecoverable eligible run
Cost per accepted outcomeCombines model, compute and reviewer costRegression versus control workflow

Deployment and upgrade checklist

  1. Pin the SDK, server and Conductor versions; record the compatibility matrix.
  2. Separate development, staging and production credentials, queues and data stores.
  3. Back up workflow metadata and test a restore into an isolated environment.
  4. Set concurrency, token, time, retry and recursion budgets per agent and tenant.
  5. Configure health checks for server, workers, queues, database and model providers.
  6. Use canary workers for upgrades and keep old workflow definitions available for in-flight runs.
  7. Define cancellation semantics: stop future work, revoke credentials and reconcile partial side effects.
  8. Threat-model prompt injection, SSRF, malicious tool output and over-broad MCP/OpenAPI exposure.

Alternatives and the honest selection boundary

OptionChoose it whenTradeoff
AgentspanYou want agent-specific APIs over Conductor, self-hosting and integrationsNew control plane and evolving project surface
LangGraph persistenceYour application is already deeply graph-shapedYou own more production orchestration choices
TemporalThe organization already operates durable workflows at scaleAgent adapters and replay-safe code require engineering
Conductor directlyYou need general workflow primitives beyond agentsLess agent-specific convenience
Restate or DBOS patternsYou want durable functions/transactions close to application codeDifferent ecosystem and integration model
Queue + database state machineWorkflow is small, deterministic and stableLowest dependency count, but custom recovery and UI work
Managed agent platformFast operation matters more than infrastructure controlVendor, data and customization constraints

Do not add a durable runtime merely because a workflow uses an LLM. A short synchronous assistant with no side effects may need only request logging and retries. Agentspan becomes compelling when runs are long, approvals wait beyond a process lifetime, events trigger work, or recovery history is a product requirement.

A two-week evaluation plan

Week one should establish a control workflow and integration. Select one bounded job with three to ten steps, one approval and a reversible external write. Measure uninterrupted success and cost, then inject crashes. Week two should focus on hostile and operational cases: duplicate events, delayed approvals, malformed tool output, provider rate limits, worker replacement, server restart and an upgrade with an in-flight run.

Promote only if another engineer can reproduce deployment and recovery from written instructions, every mutating tool has a tested side-effect policy, sensitive history is governed, and the accepted-outcome rate improves enough to justify the server and on-call burden.

Frequently asked questions

Is Agentspan an agent framework?

It includes an Agent API, but its differentiator is the durable runtime under the agent. It can also run agents built with supported external frameworks.

What is the execution engine?

The project states that agent definitions compile to workflows on Conductor, which supplies durable state, history, retries and workflow primitives.

Can it self-host?

Yes. The official site describes it as MIT licensed and self-hostable. Operators still need to validate dependencies, data stores, upgrades and support expectations.

Does crash recovery prevent duplicate writes?

No. Durable orchestration reduces lost state, but external writes still require idempotency, reconciliation or compensation.

Are approvals automatically secure?

No. Teams must define authentication, authorization, argument binding, expiry, segregation of duties and audit retention.

Does it eliminate the need for an agent framework?

No. It can complement existing agent definitions. Choose one clear owner for state, retries and interrupts to avoid conflicting semantics.

What should the first production workload be?

A bounded, reversible, low-sensitivity workflow with measurable success and clear escalation—not payments, production changes or broad data access.

Primary sources

Last reviewed July 25, 2026. Agentspan is evolving quickly. Verify the exact SDK/server release, license, framework adapter and deployment instructions before adopting it.

Ready to try Agentspan?

Visit the official website to get started

Visit Agentspan

Quick Info

Category
AI Agent
Added
5/30/2026
Published
5/29/2026
Updated
8/8/2026

Share This Tool

Have an AI tool to share?

Submit it to AI Dreamhub

Get your product in front of people actively exploring AI tools.

Submit Your Tool
Manus

Manus

Manus is a hosted general-purpose AI agent that uses cloud VMs, browser automation, files, code and integrations to complete multi-step tasks. This independent guide covers plans and credits, Cloud Browser vs Browser Operator, authenticated actions, privacy, approvals, task design, evaluation and alternatives.

ai-agentfree
3080
Gemini CLI

Gemini CLI

An open-source AI agent that brings the power of Gemini directly into your terminal.

ai-agentfree
2710
AgentScope

AgentScope

AgentScope is an Apache-2.0 agent framework with ReAct agents, tools, skills, memory, planning, human steering, evaluation, fine-tuning, MCP/A2A integrations, realtime voice, and multi-agent orchestration.

ai-agentfree
3220
Auto-GPT

Auto-GPT

Auto-GPT is an open-source autonomous-agent project and platform from Significant Gravitas for building, running, and managing AI assistants and workflows.

Auto-GPTAI agentautonomous agents
2750