# Repository Briefing: CopilotKit/OpenBot
> Source: https://repoforai.com/repo/CopilotKit/OpenBot (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/CopilotKit/OpenBot
- **Official Docs / Website**: https://open.bot
- **Category**: Chat UI & AI Apps (聊天界面与 AI 应用)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A+ (97/100 · Maintenance 35/35 · Adoption 22/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v1.2.11 (2026-12-04) — https://github.com/CopilotKit/OpenBot/releases
- **Review Snapshot**: 2026-12-04
- **Deployment / Stack Signals**: Docker, Self-Hosted, API
- **Momentum**: 14,651 ★ total (+62 24h / +935 7d) · 1,859 forks
- **Topics**: `ag-ui`, `agent-governance`, `ai-agents`, `browser-automation`, `copilotkit`, `generative-ui`, `mcp`
- **When to Use**: Best for: Teams that want built-in and existing AG-UI agents in one workspace, with model choice, human approvals, and audited computer actions, and can operate the supporting infrastructure. Skip if: You only need chat or document Q&A, require an MIT-only or permanently offline stack, or cannot maintain the licensing and isolation needed for a shared deployment.

## Overview
```text
### Architecture & Core Mechanics
OpenBot separates client surfaces, a workspace backend, and CopilotKit Intelligence. The macOS, Windows, web, iOS, Android, Slack, and Teams surfaces connect to the same workspace through its API. The backend hosts built-in bots, manages bot computers, and enforces identity, permissions, action policies, and audit. Intelligence supplies durable conversations, memory, Automatic Learning, and additional governance services. External agents connect over AG-UI without having to move to the OpenBot server; MCP connects tools.

The TypeScript monorepo separates `app/`, `api/`, `shared/`, and client directories from integrations such as `agent-langgraph-ts/` and `agent-openai-agents/`. The root manifest lists `playwright-core`, but that is not the full runtime dependency set: Docker Compose uses `pgvector/pgvector:pg17`, and team deployments require persistent storage and Intelligence. The computer runtime is pluggable: the Kubernetes setup is the default for cluster deployments, with a compatible external computer provider as an alternative.

### Key Capabilities & Differentiators
OpenBot combines chat and interactive results with browser and shell execution, file handling, approvals, a live computer view, and human takeover. Presentation adapts by client, so a shared workspace does not imply identical UI capabilities everywhere. Model options include OpenAI, Claude, Gemini, and models served behind an OpenAI-compatible endpoint. The computer supervisor can allocate a container per person, with bot-specific folders and browser profiles, or a dedicated container for an isolated bot. Hosts that support gVisor can opt into it with `COMPUTER_RUNTIME=runsc`.

For computer actions, the gateway resolves the target from a server-held snapshot, evaluates policy, and writes an audit record before calling the computer. Cedar policies are schema-checked on save and can inspect context such as tool, actor, page host, command, file, or initiator; a scheduled routine can therefore be held to a different rule than a user-started run. Deny takes precedence, and a missing or unevaluable policy fails closed. Existing CEL rules remain supported during migration.

### Trade-offs & Limitations
Compared with a chat-only self-hosted UI, OpenBot offers a common workspace for agents that need to operate a browser or tools and pause for a person, but it adds computer runtimes, policy maintenance, and more services to operate. Compared with a hosted assistant, it gives operators more control over where the workspace, agents, and models run while leaving them responsible for storage, isolation, and upgrades. The shared-computer Helm evaluation is not suitable as a team baseline: commands can read across users' files in that mode. Use sandbox mode for team deployments.

The MIT license covers the application template, not Intelligence. Running both components and a compatible model locally can keep inference off cloud endpoints, but cloud models and connected online apps still receive requests; downloads, sign-in, and local license renewal need connectivity. Both Helm charts install a management agent by default, and eligible team installations connect to CopilotKit's management service. It sends operational metadata, supports certain signed remote operations, and can be disabled. Managed upgrades require explicit configuration.

### Hardware & Deployment Guide
For an individual evaluation, macOS and Windows desktop installers package the frontend with a Docker-based backend and handle local Intelligence setup. The source path calls for Docker, Bun 1.4+, a CopilotKit account, and a model key for the example configuration. `scripts/start.sh` pulls server and bot-computer images keyed by `backend-images.env`. On Kubernetes, use `openbot-bundle` to install OpenBot and Intelligence together or `openbot` to point at an existing Intelligence deployment. The evaluation assumes a default StorageClass and requests about 3.15 vCPU plus about 0.4 vCPU while install Jobs run. Keep single-user evaluation behind a local port-forward; configure sign-in, TLS, and sandboxed computers before opening it to a team.

The current Compose manifest assigns migrations and scheduled work to the server rather than starting separate `worker` or `migrate` services. Release v1.2.11 adds a nullable column for the Cedar form of boundary rules in migration `0219_action_policy_rules`. Release v1.2.9 deprecates two v2 GET query patterns in favor of sending input in request bodies, with a sunset of December 2, 2027; check clients for those calls before upgrading.
```

## Key Capabilities
```text
- Agent integration: Built-in bots run in the OpenBot server; external agents can stay on their own platform and connect over AG-UI. MCP connects tools.
- Governed execution: The computer-action gateway resolves the target, evaluates policy, and writes the audit record before dispatch.
- Policy migration: Cedar policies fail closed with deny taking precedence; existing CEL rules remain supported during migration.
- Computer isolation: Per-person containers can be supplemented with dedicated containers for individual bots; gVisor via `runsc` is optional on compatible hosts.
- Human oversight: Interactive results, approvals, computer views, and takeover bring users into the workflow, with presentation adapted to each client.
- Deployment and licensing: Docker-backed desktop and source setups complement two Kubernetes Helm charts; CopilotKit Intelligence is licensed separately from the MIT template.
```

## Quick Start / Clone
```bash
npx --yes copilotkit@latest login
   npx --yes copilotkit@latest local setup
   npx --yes copilotkit@latest local connect --approve-connection
```
