Compare · camelRun by camelAI

Moving off Agent Builder? Start here

OpenAI 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.

Get an API key
Read the quickstartPrepaid, no subscription

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.

Model
const agent = await client.beta.agents.create({ model, instructions, tools });
Agentuser-123

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.

  1. 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"}}}}],
    )
  2. Also in this code
agents_compat.py
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 docs
run.camelai.com/console/models
Console

The 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.

Name a model per agent
Shell
curl -s "https://run.camelai.com/v2/models?available=true" -H "Authorization: Bearer $CAMELRUN_API_KEY"
Python
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
OpenAI Agents API compared with camelRun
QuestionOpenAI Agents APIcamelRun
ModelsOpenAI's models.18+ providers (OpenAI, Anthropic, Google Gemini, OpenRouter, Bedrock) or your own OpenAI- or Anthropic-compatible endpoint.
Linux, browser & filesHosted 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 & importOfficial 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 & MCPYour 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 runsOpenAI'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 guide
Porting an Agents SDK agent to v2 REST
port_to_v2.py
import 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"])
In your codecamelRun's
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.

One-way Hosted Agents import
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

  1. Start from your saved exportIf you exported your Agent Builder workflow as Agents SDK TypeScript or Python code before shutdown, that export is your starting point.
  2. Port it to camelRun v2Move your prompts into a v2 definition (PUT /v2/definitions/:slug), wire custom functions as signed HTTP webhooks or MCP tools, and use keyed agents in place of manual session stores.The porting map
  3. Or configure a definition in the consoleSave the model, system prompt, built-in tools (bash, files, web_search, browser), and remote MCP servers in the console — then attach Slack threads or HTTP webhooks directly.Open the console

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 guide

FAQ

Questions about moving from the Agents API

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

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.