Open source · camelRun by camelAICompare · Open source · camelRun by camelAI

LangGraph Platform alternative

Import LangGraph state into durable AI agents

For agents on LangSmith Deployment, formerly LangGraph Platform.

Yours or asleepcamelRun's or running

camelRun by camelAI is an open source, hosted runtime for AI agents. Import LangGraph state in one call and pay only for active agent time.

Read the LangGraph migration guide

LangGraph to camelRun

LangGraph concepts in camelRun

One call imports assistants, threads, files, store namespaces, and crons into camelRun v2. Pick a LangGraph concept to see where it lands.

LangGraphcamelRun
definition + agent
lg-<thread_id>
history + events
approval + inputs
delegate + workflows
webhooks · MCP
camelFS + bash
atSeq fork
grade + decisions
Migration guide01 / 12

Agent Server exportin camelRun:definition + agentlg-<thread_id>

LangGraph

Agent Server export

In camelRundefinition + agentlg-<thread_id>

One POST /v2/import/langgraph call copies assistants, threads, files, store namespaces, and crons (with dryRun: true first). Your LangSmith key is used once and never stored.

Import & port

Import LangGraph state and wire your custom tools

Use POST /v2/import/langgraph to import definitions, threads, files, store, and crons. Serve custom Python tools as signed webhooks or remote MCP servers.

  • Your custom tools stay in your backend. Serve them as Ed25519-signed HTTP webhooks or remote MCP servers.
  • Import assistants, threads, files, store, and crons. POST /v2/import/langgraph
  • Interrupts become $0 parked approvals. Imported interrupt_on rules map to approvalRequired and resume via POST /v2/agents/:key/inputs/:inputId.
Read the LangGraph import guide
const BASE = "https://run.camelai.com";
const headers = {
  Authorization: `Bearer ${process.env.CAMELRUN_API_KEY}`,
  "Content-Type": "application/json",
};

// 1. One-way import: assistants, threads, files, store, and crons
const report = await fetch(`${BASE}/v2/import/langgraph`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    url: process.env.LANGGRAPH_DEPLOYMENT_URL,
    apiKey: process.env.LANGSMITH_API_KEY, // used once, never stored
    modelMap: { "anthropic:claude-sonnet-4-5": "anthropic/claude-sonnet-4-5" },
    builtins: ["bash"],
  }),
}).then((r) => r.json());

// 2. Attach your custom tool with approval gating
await fetch(`${BASE}/v2/agents/lg-thread-9f2c`, {
  method: "PUT",
  headers,
  body: JSON.stringify({
    tools: [{
      name: "book_trip",
      description: "Book the selected flight and hotel",
      parameters: { type: "object", properties: { itinerary: { type: "string" } } },
      url: "https://tools.example.com/tools/book_trip",
      requiresApproval: true,
    }],
  }),
});

// 3. Run the imported thread and approve when it parks
let run = await fetch(`${BASE}/v2/agents/lg-thread-9f2c/runs`, {
  method: "POST",
  headers,
  body: JSON.stringify({ prompt: "Book the Austin trip", wait: true }),
}).then((r) => r.json());

if (run.status === "input_required") {
  const inputId = run.inputs[0].id;
  run = await fetch(`${BASE}/v2/agents/lg-thread-9f2c/inputs/${inputId}`, {
    method: "POST",
    headers,
    body: JSON.stringify({ approved: true }),
  }).then((r) => r.json());
}
console.log(run.status, run.text);
export CAMELRUN_API_KEY=cr_live_...
export LANGGRAPH_DEPLOYMENT_URL=https://my-deployment.us.langgraph.app
export LANGSMITH_API_KEY=lsv2_...
npx tsx import-and-run.ts
imported: { definitions: 3, agents: 25, store: 14, schedules: 2 }
run status: input_required (approval for book_trip)
resumed via POST /v2/agents/lg-thread-9f2c/inputs/inp_01 -> completed
Booked Austin flight and hotel under itinerary AU-4821.

Import & run visibility

One-way import, graded outputs, and live v2 events

Preview the import with dryRun: true. After importing, stream steps from GET /v2/agents/:key/events, grade with outputSchema or /v2/decisions, and fork at any atSeq. Your LangSmith API key is used for the import call only, scrubbed from reports and errors, and never stored.

Read the LangGraph import guide
run.camelai.com/v2/import/langgraph
Console

POST /v2/import/langgraph

SourceLangGraph / Deep Agents
Deployment URLhttps://my-deployment.us.langgraph.app
Run dry-run import
v2 Run & State · lg-thread-9f2c
Events + Grade
  1. POST /v2/agents/lg-thread-9f2c/runsv2 run
  2. model claude-sonnet-4-5llm
  3. delegate lg-trip--flightschild
  4. child run · flightsparked
  5. delegate lg-trip--hotelschild
  6. child run · hotelsparked
  7. model claude-sonnet-4-5llm
  8. webhook book_tripinput_requiredyours
  9. parked · approvalRequired$0 wait
  10. POST .../inputs/inp_01resume
  11. webhook book_tripyours
  12. run_completed · outputGradevalid

Pricing

Pay for active AI agent time, not always-on servers

camelRun meters active agent time only. Between messages or while waiting on a human approval, each agent parks at $0 with no seats, no subscription, and no per-agent idle charge.

One day00:00 to 24:00

Your LangSmith deployment

Database billed while running, across all its threads

Database billed all day while the deployment stays live around the clock.

camelRun: one agent per thread

Each metered while it is in a run

thread-9f2c
waiting · approvalthread-9f2c: asleep most of the day, with short runs, and asleep through the afternoon while book_trip waits for an approval.
thread-41ab
thread-41ab: asleep most of the day, with short runs.
thread-c07e
thread-c07e: asleep most of the day, with short runs.
00:0003:0006:0009:0012:0015:0018:0021:0024:00
LangSmith Deployment

LangSmith Deployment's Plus plan is $39 per seat a month and includes one small Serverless deployment. Additional deployments are billed for the vCPU and memory their runtime and database consume while running.

LangChain's pricing page, read October 23, 2026
camelRun

camelRun is $0.05 per active agent-hour while an agent is in a run, $0 while idle, queued, parked on approvals, or waiting on sub-agents, and $0 for camelFS and history storage right now. Active Linux container bash is $0.00005/sec ($0.18/hr) with free pre-warming, and model tokens are $0 from camelRun on your own keys or pass-through on direct providers.

Choosing

Should you move off LangSmith Deployment?

Stay on LangSmith Deployment if

  • You want to run your LangGraph Python or TypeScript graph code and custom middleware unchanged.
  • Your team relies on LangSmith Studio and LangSmith's hosted tracing suite.
  • You want LangChain to run your deployment servers, or its Enterprise plan to self-host them.

Move to camelRun if

  • You want to import assistants, threads, files, store namespaces, and crons into durable agents without maintaining a graph server.
  • Each user or thread should park at $0 between messages and during human approvals, with versioned camelFS and isolated Linux bash ready on demand.
  • You want Slack, HTTP webhooks, and per-agent MCP across 18+ model providers on your own keys or direct pass-through.

Open source under AGPL-3.0 on Cloudflare Workers, SQLite Durable Objects, R2, and Containers. Deploy to your own Cloudflare account with Wrangler, or try experimental self-hosting with celld.

FAQ

LangGraph Platform alternative FAQ

  1. What replaced LangGraph Platform?

    LangChain renamed LangGraph Platform to LangSmith Deployment in October 2025. For an open-source alternative, camelRun by camelAI hosts durable AI agents where each imported thread becomes a keyed agent that parks at $0 between messages.

  2. How do I migrate a LangGraph or Deep Agents deployment to camelRun?

    Try POST /v2/import/langgraph with dryRun: true. The live import copies assistants, threads, files, store namespaces, and crons. Connect tools over signed webhooks or remote MCP and turn supervisors into a lead agent with sub-agents.

  3. What happens to my checkpointer, threads, and time travel?

    Each thread becomes a keyed agent that keeps its history, files and pending work. Fork the agent and its camelFS repo at atSeq with POST /v2/agents/:key/fork, or use deterministic replay workflows for multi-step fan-outs.

  4. How do interrupts, approvals, and structured grading work in camelRun?

    Imported interrupt_on becomes approvalRequired. For webhook tools, set requiresApproval: true. Runs park at $0 until an answer arrives on POST /v2/agents/:key/inputs/:inputId. Use outputSchema for deterministic grading with optional retries, or call POST /v2/decisions.

  5. Is there an open source LangSmith Deployment alternative?

    Yes. camelRun is AGPL-3.0 on GitHub. Deploy it to your Cloudflare account with Wrangler or try experimental self-hosting with celld.

Read the full migration guide

One AI agent per LangGraph thread

Import your assistants, threads, files, store, and crons in one call. camelRun runs the loop, versions camelFS, parks idle agents at $0, and resumes when a person approves.

Connect your coding agent (no key)

claude mcp add --transport http camelrun https://run.camelai.com/mcp

Adds camelRun's hosted MCP server to Claude Code (also works with Codex and ChatGPT). Signing in creates your account automatically.