repowiserepowise
Sign in
copilotkit/openbot
OverviewDocsArchitectureKnowledge GraphFilesCode HealthSecurityRefactoring

People & History

CommitsContributorsDecisions
Chat
Stats
repowiserepowise
ExplorePricingDocs
Sign in
repowisecopilotkit/openbot
OP
OP

copilotkit / openbot

Open-source AI coworkers that each get a computer of their own: a browser, files and tools, with every action decided before it happens and recorded after. Bring any AG-UI agent.

TypeScript★ 6,107
Use in your agentAsk this codebase

github.com/copilotkit/openbot·Indexed at 1c7bd92·1mo ago·Up to date with upstream

About this codebase

OpenBot is an agent platform you deploy in your own infrastructure: it consumes AG-UI-speaking “Bots” plus your Docker Compose runtime and PostgreSQL, runs the browser-based coworker execution with per-socket screen ownership and pre-action enforcement, records an auditable trail, and outputs user-visible bot sessions (web UI + bot endpoints) and an admin audit log you can govern before and after actions. Administrators use it to onboard trustworthy AI coworkers with tool boundaries, while agent builders use it to plug in framework-agnostic Agents over AG-UI (LangGraph, Mastra, CrewAI, Pydantic AI, or custom-by-hand).

Written by gpt-5.4-nano from the index

772 files and 3,878 symbols in 14 modules, led by TypeScript (596 files) and Rust (11).

Start reading

  • Knowledge graph772 files and how they depend on each other.→
  • Admin Route ComponentsDocumentationDocumentation for app/src/routes/_authed/admin/components, written by gpt-5.4-nano.→
  • Ask whether a thread exists before reusing itDecisionProposed decision, from a pull request.→

Code health

7.4out of 10Good

This codebase scores 7.4 out of 10 for code health, which we rate good. It also scores maintainability 8.9 and static performance 9.9 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 105 of 772 files are git hotspots, and they average 5.5 — which is where the fixes pay off most.

Full health report →

On the leaderboards:#22 of 43 TypeScript repos

Do next

3 things worth doing this quarter, 2 of them now.

Worth planning

  • Delete 8 unused symbols and files (200 lines)

    Nothing in the graph reaches them, across 8 files; every reader and agent pays to skip them.

    symbols
    8
    lines
    200
    safe to delete
    Yes(inferred)
    Small effort

Improve what Repowise can see

  • Add a test coverage report

    Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.

    line coverage
    Unknown, no report
    Small effort
  • Review the 40 proposed decisions

    None is accepted yet, so nothing can drift from one and agents get no enforced guidance from them.

    proposed
    40
    accepted
    0
    Medium effort
All actions in the Overview →

Use copilotkit/openbot in your agent

Point Claude Code, Cursor, Codex or VS Code at this repository. Your agent gets the index this page is built from: cited answers, callers, history and health for any file.

https://api.repowise.dev/mcp/copilotkit/openbot

One command, run anywhere. Adds the server to your local Claude Code config.

Docs
bash
claude mcp add --transport http repowise https://api.repowise.dev/mcp/copilotkit/openbot \
  --header "Authorization: Bearer rw_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
The snippet shows a placeholder key. Generate one to get a copyable secret.
Sign in and create an API key to connect.Sign in

This repo is public, so anyone with a Repowise account and an API key can connect.

Try asking

  • get_overview()
  • get_answer("how is openbot put together?")
  • get_why("why is openbot structured this way?")

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed.

Go deeper

  • OverviewEverything the index found, what changed this week, commits and decisions.→
  • DocumentationModule-by-module documentation, 593 pages, 42 written by a model.→
  • ArchitectureDependency graph, layers and third-party dependencies.→
  • Code healthEvery file's score, the findings behind it, tests and refactoring plans.→
  • CommitsEach commit's effect on code health, with agent provenance.→
  • ContributorsWho owns what, and where one person holds most of the knowledge.→
  • DecisionsArchitectural decisions mined from commits and pull requests.→
  • Ask this codebaseSign inGrounded answers over the indexed code.→

Maintain this repo? Claim the page

Sign in with GitHub and we check that you are an admin or maintainer of copilotkit/openbot. Then add a badge to the README that links readers here.

Use this repo from Claude or ChatGPT

Add this URL as a custom connector and sign in with repowise when asked. No API key to copy.

https://api.repowise.dev/mcp/copilotkit/openbot
Sign up to connect

For maintainers

Add a badge to your README

Every badge is public, cached, and updates on its own after every index. Nothing to install.

Repowise badge

Links to this page, with no score on it. Adding it also re-indexes the repo every week.

Repowise badge preview
[![repowise.dev](https://api.repowise.dev/badge/wiki/copilotkit/openbot.svg)](https://repowise.dev/repo/copilotkit/openbot?src=badge_wiki)

Code health badge

The repo's health score out of 10, from the latest index.

Code health badge preview
[![repowise.dev code health](https://api.repowise.dev/badge/health/copilotkit/openbot.svg)](https://repowise.dev/repo/copilotkit/openbot?src=badge_health)

Code health card

A larger card with the score, its change since the last index, and when it was measured. The HTML version follows the reader's light or dark theme.

Code health card preview
[![repowise.dev code health](https://api.repowise.dev/badge/health/copilotkit/openbot.svg?style=card)](https://repowise.dev/repo/copilotkit/openbot?src=badge_card)

What is openbot?

openbot is an agent platform for running AI coworkers in your own infrastructure. Each coworker receives a browser, files and granted tools, while a gateway decides and records actions. The project is primarily written in TypeScript and also includes Rust, shell, Dockerfile and Python code.

Written by a model from the README and the index

Key features of openbot

  • Each Bot receives its own container, workspace volume and browser profile.
  • Bots can use a shell to run commands and process files through the same action gateway.
  • The gateway evaluates policy, writes an audit record and then calls the computer.
  • CEL policies can inspect tool, intent, Bot, actor, page, element, key, file and MCP fields, with denial evaluated before allowance.
  • The interface shows a Bot's screen and an Activity tab with actions, outputs and saved-file metadata.
  • Any AG-UI endpoint can be connected as a Bot, whether framework-based or hand-written.

How copilotkit/openbot works

Input enters through AG-UI-speaking Bots and the web interface, with app/src/main.tsx serving as a frontend entry point. The server module provides the Hono API, CopilotKit runtime, authentication, policy, audit, plugin, component, coworker and channel services. server/src/index.ts starts the server, while server/src/computer/gateway.ts evaluates and records computer actions before calling the computer service. The supervisor creates and manages one computer per Bot, and agent-computer/src/index.ts provides Chromium, a workspace and a browser profile. agent-bot/src/index.ts tracks agent history, while agent-langgraph/src/index.ts provides a LangGraph AG-UI Bot. The app presents Bot sessions and activity through the React frontend.

Open-source AI coworkers that each get a computer of their own: a browser, files and tools, with every action decided before it happens and recorded after. Bring any AG-UI agent. This page is a map of the copilotkit/openbot repository, written primarily in TypeScript, rebuilt from the source each time it is indexed. Repowise parses every symbol, computes a dependency graph, scores per-file code health from complexity, duplication, test coverage and churn, mines git history for hotspots and ownership, and lifts the architectural decisions into documentation you can read here or query through MCP.

The codebase has 772 files and 3,878 symbols in 14 modules, led by TypeScript, Rust and Shell. Code health is 7.4 out of 10, rated good.

Use the links above to open each view, or connect this repository to your agent for grounded answers inside Claude, Cursor, Codex or VS Code.

Getting started with openbot

  1. Create the environment file.
    cp .env.example .env
  2. Sign in to CopilotKit Intelligence and select a project.
    npx --yes copilotkit@latest login
  3. Select the CopilotKit project and place the runtime key in .env as INTELLIGENCE_API_KEY.
    npx --yes copilotkit@latest project select
  4. Install dependencies and start the services.
    bun install

Commands copied from the README

copilotkit/openbot FAQ

What is openbot?

openbot is an agent platform for AI coworkers that use a browser, files and granted tools in your own infrastructure. A gateway decides and records their actions.

How does openbot work?

openbot accepts AG-UI agents and runs them through a server gateway. The gateway evaluates policy, records an audit row and then calls a Bot computer managed by the supervisor.

How do I install openbot?

openbot is installed with bun install after creating .env from .env.example. Start it with bash scripts/start.sh after supplying the required credentials.

What language is openbot written in?

openbot is primarily written in TypeScript. The repository also includes Rust, shell, Dockerfile and Python code.

How is the openbot code organized?

openbot is organized into server, app, agent-computer, desktop, supervisor, agent-bot and agent-langgraph modules. The server handles API and governance services, while app provides the React interface and the agent modules provide Bot runtimes.

Who is openbot for?

openbot is for administrators onboarding AI coworkers with tool boundaries and agent builders connecting framework-based or custom AG-UI agents. It is designed to be cloned and adapted to an organization's coworkers, channels and skills.

What license does openbot use?

openbot uses the MIT license.

Answers written by a model from the README and the index