Compare · camelRun by camelAI
Moving off Agent Builder? Start hereOpenAI Agents API alternative
Keep the openai SDK. Change baseURL and apiKey.
camelRun by camelAI serves OpenAI's hosted Agents API at /openai/v1 and imports existing sessions and artifacts one-way. Keep OpenAI models on your own key, or switch any agent to Claude, Gemini, OpenRouter, or your own endpoint with isolated Linux containers and versioned camelFS files.
One agent, user-123, with its instructions, tools, history and files, and its model beside it. Its history starts with an imported OpenAI Hosted Agents session, and each line is stamped with the model that wrote it: OpenAI's gpt-6.1-terra, then Claude, Gemini or a model server of your own.
const agent = await client.beta.agents.create({ model, instructions, tools });Drop-in OpenAI Agents API compatibility at /openai/v1
Keep the official openai Python or TypeScript SDK. Change baseURL and apiKey, and your client.beta.agents sessions run on camelRun with durable camelFS workspaces and 18+ model providers.
- agents_compat.py
agent = client.beta.agents.create( model="gpt-5.5", # or anthropic/..., gemini/..., openrouter/... instructions= "You help with orders.", tools=[{"type": "function", "name": "lookup_order", "parameters": {"type": "object", "properties": {"id": {"type": "string"}}}}], ) - Also in this code
import os
from openai import OpenAI
client = OpenAI(
base_url= "https://run.camelai.com/openai/v1",
api_key=os.environ["CAMELRUN_API_KEY"], # cr_live_...
)
agent = client.beta.agents.create(
model= "gpt-5.5", # or anthropic/..., gemini/..., openrouter/...
instructions= "You help with orders.",
tools=[{"type": "function", "name": "lookup_order", "parameters": {"type": "object", "properties": {"id": {"type": "string"}}}}],
)
session = client.beta.agents.sessions.create(agent_id=agent.id, environment={"type": "openai_hosted"})
with client.beta.agents.sessions.stream(session.id, input= "Where is order 42?", tool_handlers={"lookup_order": lookup_order}) as stream:
print(stream.get_final_result().output_text)Your OpenAI key
Bring your OpenAI key and keep OpenAI's models
Add your key on the console's Models & keys page. camelRun checks it with OpenAI, stores it encrypted, never shows it again and never gives it to the model. Your agents call OpenAI's models with it.
Want Claude or Gemini for some agents? Add that provider's key for $0 in camelRun token charges, or use camelAI's keys with pass-through billing on direct providers. One account can mix them.
Models and keys in the docsThe camelRun console's Models & keys page. Adding an OpenAI key: The key is checked with openai, sealed with VAULT_SECRET, never shown again, and never exposed to the model.
curl -s "https:// run.camelai.com/ v2/ models?available=true" -H "Authorization: Bearer $CAMELRUN_API_KEY"agent = client.beta.agents.create(model= "anthropic/claude-sonnet-5-5", instructions= "You help with orders.")At a glance
OpenAI Agents API vs camelRun
The Agents API side is from OpenAI's docs, checked October 21, 2026. It's in beta, so check there for the latest.
OpenAI's Agents API docs| Question | OpenAI Agents API | camelRun |
|---|---|---|
| Models | OpenAI's models. | 18+ providers (OpenAI, Anthropic, Google Gemini, OpenRouter, Bedrock) or your own OpenAI- or Anthropic-compatible endpoint. |
| Linux, browser & files | Hosted sandbox while the session exists, with /workspace/outputs published as artifacts and egress policies. | Isolated Linux container bash (Node 24, Python 3, git, ripgrep), versioned camelFS repos kept across turns, QuickJS codemode, and headless browser rendering. |
| Drop-in SDK & import | Official openai SDK (client.beta.agents) at api.openai.com/v1. | Keep the same openai SDK at /openai/v1, plus POST /openai/v1/_camelrun/import for agents, sessions, artifacts, and automations. |
| Slack, webhooks & MCP | Your app maps Slack or webhook events to sessions and posts replies back. | Built-in Slack thread routing, inbound HTTP webhooks, cron schedules, hosted OAuth 2.1 MCP (/mcp), and per-agent MCP. |
| Where it runs | OpenAI's cloud, with an optional self-hosted sandbox. | run.camelai.com on Cloudflare (Workers, SQLite Durable Objects, R2, Containers), or AGPL-3.0 open source deployable to your own Cloudflare account with Wrangler (plus experimental celld).Source on GitHub |
Coming from the OpenAI Agents SDK
Your instructions and tool functions carry over. The runner and the session store become one call and a key.
The full porting guideimport os, requests
BASE = "https://run.camelai.com/v2/agents/user-123"
H = {"Authorization": f"Bearer {os.environ['CAMELRUN_API_KEY']}"}
requests.put(BASE, headers=H, json={
"model": "openai/gpt-6.1-terra",
"instructions": "You help with orders.",
"builtins": ["bash", "files"],
"tools": [{"name": "lookup_order", "url": "https://api.example.com/tools/lookup_order"}],
})
run = requests.post(f"{BASE}/runs", headers=H, json={"prompt": "Where is order 42?", "wait": True}).json()
print(run["text"])- Agent(name, instructions, tools, model)
- camelRun's: PUT /v2/agents/:keyTypeScript: or client.beta.agents.create on /openai/v1
- Models take provider/model IDs across 18+ providers.
- Runner.run(agent, input)
- camelRun's: POST /v2/agents/:key/runsTypeScript: { prompt, wait: true }
- Returns the completed RunRecord with text, output, and usage.
- Runner.run_streamed
- camelRun's: GET /v2/agents/:key/eventsTypeScript: SSE or /v2/agents/:key/ws
- Stream events live or reconnect from any sequence number.
- @function_tool
- In your code: Webhook tool (url) or MCP serverTypeScript: or client toolHandlers on /openai/v1
- Webhook calls carry Ed25519-signed JWTs and support async 202 callbacks.
- Sessions (SQLiteSession, Redis)
- camelRun's: Keyed agent + camelFS repo
- Durable SQLite Durable Object history, versioned files, and atSeq forks.
- needs_approval
- In your code: approvalRequired / requiresApprovalTypeScript: POST /v2/agents/:key/inputs/:inputId
- Parked runs cost $0 in agent time while waiting for a human decision.
Import Hosted Agents, sessions, and artifacts in one call
POST /openai/v1/_camelrun/import copies your OpenAI Hosted Agents, session histories, artifacts, and automations with their original IDs intact. Run with dry_run: true first; your OpenAI key is used once and never stored.
curl -s https:// run.camelai.com/ openai/ v1/ _camelrun/ import \
-H "Authorization: Bearer $CAMELRUN_API_KEY" -H "Content-Type: application/ json" \
-d '{"openai_api_key":"'"$OPENAI_API_KEY"'","dry_run":true}'OpenAI Agent Builder alternative
A new home for Agent Builder agents
OpenAI shut down Agent Builder on November 30, 2026. camelRun is an Agent Builder alternative that keeps your agent running. Here's how to move it.
OpenAI announced the deprecation on June 3, 2026, and Agent Builder shut down on November 30, 2026.
Move an Agent Builder agent
Your agents stay yours: every agent's history and versioned camelFS files stay readable via /v2 REST, and the AGPL-3.0 runtime is open source on GitHub.
Source on GitHubThe full migration guideFAQ
Questions about moving from the Agents API
Is there an OpenAI Agents API alternative that works with any model?
Yes. camelRun by camelAI serves OpenAI's hosted Agents API at https://run.camelai.com/openai/v1 so you keep the official openai SDK while unlocking 18+ providers: OpenAI, Anthropic, Google Gemini, OpenRouter, Amazon Bedrock, or your own OpenAI- or Anthropic-compatible model endpoint.
Can I bring my OpenAI key?
Yes. Add it on the console's Models & keys page or with PUT /v2/providers/openai. camelRun checks the key with OpenAI, seals it, never displays it again, and never exposes it to the model. OpenAI tokens on your own key cost $0 from camelRun.
What replaces OpenAI Agent Builder after the shutdown?
OpenAI shut down Agent Builder on November 30, 2026 and pointed teams to the Agents SDK or ChatGPT workspace agents. On camelRun, port your saved Agents SDK export onto v2 REST definitions and webhook tools, or configure a no-code definition in the console using built-in tools and MCP servers.
Where does agent state live on camelRun?
Each keyed agent lives in its own SQLite Durable Object with a versioned camelFS repository on Cloudflare, persisting history, files, and parked runs until you delete it. Deploy the AGPL-3.0 runtime to your own Cloudflare account with Wrangler (or try experimental celld) to keep all state under your own infrastructure.
How is camelRun priced?
camelRun uses prepaid credit with no subscription, no seat fees, and no per-agent charge. Active agent time is $0.05 per active agent-hour, active Linux container bash is $0.00005 per second ($0.18 per hour) with free pre-warming, idle and parked agents cost $0, and camelFS storage is currently $0. Model tokens are pass-through on direct providers or $0 from camelRun on your own keys.
Can I bring my existing conversations over?
Yes. Call POST /openai/v1/_camelrun/import (start with dry_run: true) to copy Hosted Agents, session histories, changed-file artifacts, and automations from OpenAI with their original IDs preserved; your OpenAI key is used once and never stored. Assistants API threads cannot be imported because OpenAI shut that API down on August 26, 2026, though custom histories can still be loaded via POST /v2/agents/:key/import-history.
Which should I choose, the Agents API or camelRun?
Choose OpenAI's Agents API if your team only uses OpenAI models and depends on OpenAI-enforced sandbox network restrictions, environment templates, or OpenAI vaults (camelRun containers have unrestricted egress today). Choose camelRun when you want to keep the same openai SDK across 18+ providers, pair durable agents with isolated Linux containers (Node 24, Python 3, git, ripgrep), versioned camelFS repos, headless browser rendering, and Slack or HTTP webhook triggers, or keep the option to self-host.
Can I take my agents with me if I leave camelRun?
Yes. Every agent's full history and versioned camelFS workspace files stay readable anytime through the /v2 REST API (/v2/agents/:key/history and /v2/repos/:repoId/files). The runtime itself is open source under AGPL-3.0 on GitHub, so you can deploy it to your own Cloudflare account with Wrangler or test experimental celld hosting on your own machines.
Keep reading
camelRun by camelAI
Bring your agent over
Sign in with GitHub or Google, create an API key, and run your agent on the model you choose.
Prepaid, with no subscription and no seats.