SuperAPI AI Directory

OpenBot

OpenBot is an open-source, local-first runtime that lets you drop diverse agents into a single workspace and orchestrate…

Open website

About this tool

OpenBot is a local-first AI agent runtime open-sourced by CopilotKit, positioned as "the AI assistant a company can truly own." It is similar in form to ChatGPT, Claude, or Grok, but the key difference is that it runs on your own infrastructure, and you can modify any part of it. It is more of a template than a finished product: there is no hosted version to sign up for, it is not published as a dependency package, and every workspace in the repository is private. You clone the repository, replace the example tenant package under examples/ with your own colleagues, channels, and skills, and then run it.

Purpose and Positioning

OpenBot is aimed at teams that want to deploy, customize, and govern AI agents in their own enterprise environment. It can connect to any agent endpoint that conforms to the AG-UI protocol and is not tied to a specific framework, so agents built with LangGraph, Mastra, CrewAI, Pydantic AI, Google ADK, or by hand can all be connected in the same way. Each "AI colleague" gets its own computer: a real browser (with independent logins), its own files, and only the tools it has been granted.

Main Capabilities

  • One computer per Bot: the supervisor provides each Bot with an independent container, an independent /workspace volume, and an independent browser profile; when the host supports it, it can run under gVisor via COMPUTER_RUNTIME=runsc.
  • Not just a browser, but also Shell execution: Bots can run commands in the workspace, install on demand, and work with saved files; this capability goes through the same gateway as other operations, rules can deny Shell or specific commands, and both commands and records are retained. Commands inherit PATH, locale, terminal, and proxy variables, but do not inherit the rest of the deployment environment's variables.
  • The gateway is the only entry point: the gateway resolves the target from a server-held snapshot, evaluates policy, writes an audit row, and only then calls the computer; there is no path that executes before logging or bypasses logging.
  • CEL policy, fail closed: rules can inspect tool.name, intent, bot.id, actor.id, page.url, page.host, element., key, command, file., mcp., initiator., and so on. Deny takes precedence over allow evaluation; a missing policy is equivalent to not allowed, and on rule error it denies rather than allows.
  • Visualization and takeover: the interface shows what the Bot is looking at, and the Activity tab shows what it ran, read, saved, and output; when it hits a login wall or 2FA, the Bot asks for help, control can be handed over in the same panel, and computer.help_requested, computer.control_taken, and computer.control_released are recorded. While a human is driving, Bot operations are denied rather than queued. Secrets do not enter the conversation record; only the fact that a secret was requested and its length are recorded.
  • Respond with components rather than plain text: compiled React components live in app/src/components/gallery/, and sandbox components are written and published at /admin/playground without needing a deployment. Every call confirms with the server that the component exists, is published, and is not disabled for that Bot; data functions are granted per component.
  • Governed MCP: the catalog includes Google Drive, Notion, and the public web research providers Parallel, Exa, and Firecrawl; Composio can proxy hundreds of apps, all accessed as the asker. Custom servers must pass a URL check; unknown tools and custom server tools are treated as "write". The Bot is told which connectors exist and which ones it holds.
  • Skills are instructions, not capabilities: personal skills attach only to Bots owned by the author, deployed skills belong to admins, and both are invoked with "/" in the editor. A Bot granted the skill-creator skill can write skills with you in the conversation, and they are saved only when you press the button on the card.
  • Login and people management: supports configuring Google, Microsoft, or Okta from the environment, or registering a company-owned SAML / OpenID Connect provider and routing by email domain. /admin/people lists everyone who has logged in and can promote, demote, and remove access.
  • Audit and credentials: /admin/audit lists permitted, denied, and failed operations, and every denial includes the rule that caused it. Credentials are stored via /admin/credentials, encrypted at rest, never returned by the API, and redacted in audit events.
  • Default loopback binding: the computer binds to 127.0.0.1 and requires a per-container token; the supervisor also binds here because it holds the Docker socket and the token is a shared secret.

How to use (quick start)

Environment requirements: Docker (for PostgreSQL and the built-in Bot), Bun 1.3+ (for the app and API server), a CopilotKit Intelligence project and license (there is a free plan, and Intelligence can be self-hosted), and a model key (the proof-of-concept Bot uses OpenAI; the LangGraph Bot can use OpenAI, Anthropic, or Google).

Steps:

  1. Copy the environment file and install dependencies:cp .env.example .env, then bun install.
  2. Connect a new hosted Intelligence project:npx --yes copilotkit@latest login,npx --yes copilotkit@latest project select,bun scripts/setup-learning.ts. This helper script configures the runtime key for the selected project, creates or reuses its openbot Learning container, and writes both settings to .env. If using self-hosting, set INTELLIGENCE_API_URL to the HTTPS API origin of that deployment (locally http://localhost)并运行辅助脚本。
  3. Fill in the remaining required value: OPENAI_API_KEY. Keep the hosted Intelligence URL from .env.example unless you run Intelligence yourself. The example KEY_ENCRYPTION_KEY is only usable locally; it is recommended to generate your own:openssl rand -base64 32.
  4. Run:bash scripts/start.sh, then open http://localhost:3010. The script starts the Docker services, applies migrations, starts the API server on port 3001, starts the regular worker, starts the app on port 3010, and checks the service health route. To stop, use bash scripts/stop.sh,--keep-computers The computer can be kept running; the database, Bot files, and browser configuration are all stored in the volume and will not be deleted.

Intelligence can also be evaluated locally on a single Mac: the free Developer plan is sufficient, a local license is valid for 30 days and can be renewed with npx copilotkit@latest local renew ; run it in the OpenBot root directory npx copilotkit@latest local connect, it will write INTELLIGENCE_API_URL, INTELLIGENCE_GATEWAY_WS_URL, and CPK_INTELLIGENCE_API_KEY to .env; but OpenBot only reads the project key from INTELLIGENCE_API_KEY, so the cpk-... value must be copied over before startup.

Single-image deployment: one image contains the application, API, Bot-driven browser, optional PostgreSQL, the same .env, and no Kubernetes required; default port 3001.

Applicable Scenarios

The built-in example deployment starts with two colleagues (General Assistant and Knowledge), adds Risk Analyst after configuration, and examples/fintech/catalog/ also contains ten Bots each with their own role, covering expense policy verification, meeting minutes follow-up, release note drafts, ticket triage, onboarding manual Q&A, interview writing, shift handover, pre-renewal information summary, customer feedback theme categorization, and more. You can copy one of them to examples/fintech/agents/ to add it, or write your own or create one using /bots in the UI.

Limitations and Notes

OpenBot is in the Alpha stage and under active development; rough edges and bugs are expected, and it will continue to change, so issues and PRs are welcome. It is a template rather than a product, there is no hosted version, and every workspace in the repository is private. It runs locally by default; OPENBOT_SINGLE_USER=true in .env.example treats all requests as one administrator, making it convenient for a fresh clone to be used directly; this setting is turned off after login is enabled, and it must be enabled before other people access the deployment.