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.
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 guideLangGraph 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.
Agent Server exportin camelRun:definition + agentlg-<thread_id>
Agent Server export
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_onrules map toapprovalRequiredand resume viaPOST /v2/agents/:key/inputs/:inputId.
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 .tsimported: { 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 guidePOST /v2/import/langgraph
- POST /v2/agents/lg-thread-9f2c/runsv2 run
- model claude-sonnet-4-5llm
- delegate lg-trip--flightschild
- child run · flightsparked
- delegate lg-trip--hotelschild
- child run · hotelsparked
- model claude-sonnet-4-5llm
- webhook book_tripinput_requiredyours
- parked · approvalRequired$0 wait
- POST .../inputs/inp_01resume
- webhook book_tripyours
- 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.
Your LangSmith deployment
Database billed while running, across all its threads
camelRun: one agent per thread
Each metered while it is in a run
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, 2026camelRun 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
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.
How do I migrate a LangGraph or Deep Agents deployment to camelRun?
Try
POST /v2/import/langgraphwithdryRun: 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.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
camelFSrepo atatSeqwithPOST /v2/agents/:key/fork, or use deterministic replay workflows for multi-step fan-outs.How do interrupts, approvals, and structured grading work in camelRun?
Imported
interrupt_onbecomesapprovalRequired. For webhook tools, setrequiresApproval: true. Runs park at $0 until an answer arrives onPOST /v2/agents/:key/inputs/:inputId. UseoutputSchemafor deterministic grading with optional retries, or callPOST /v2/decisions.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.
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.
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.