SuperAPIAI Directory

claudebox

github.com · AI coding

Claudebox is a web interface for AI coding agents, where each session runs in an isolated Podman or Docker container. By default, it runs Claude Code through the Claude Agent SDK, and it can also connect to LangChain providers such as Ollama, OpenAI, and Gemini via LangGraph. Key features include: a kanban board based on ticket files in the repository, threads that reply alongside quoted statements, agents starting and querying sessions on their own, live charts and diff rendering within chats, a terminal beside the transcript, message queues, mobile layout, and more. Installation requires Podman or Docker, Git, Bash, and gpg. The first installation builds the container image (about 5-15 minutes) and installs the CLI, daemon, and daily maintenance timer. The web UI is served only on the local loopback address and requires login via a one-time link. The project is licensed under GNU GPL v3.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux · API

About this tool

Claudebox is a web user interface for AI coding agents, with the core design of running each session in an isolated container. By default, it runs Claude Code through the Claude Agent SDK, and it can also connect to any LangChain provider via LangGraph, such as Ollama, OpenAI, Gemini, and others.

Purpose and positioning: Claudebox aims to solve the permission and security issues of running coding agents directly on the host machine. When an agent bypasses permission checks, it may execute arbitrary commands with the user's permissions; when checks are enabled, it stops at every unauthorized command and waits for an answer. Claudebox's approach is to run an agent with checks bypassed in a disposable container that contains only the workspace and a few necessary items, thereby limiting the agent's operations to the container boundary.

Key capabilities:

  • Each session has its own container: using Podman or Docker containers, with the workspace mounted at the same path as on the host. The agent inside the container can perform any operation, but outside the workspace it can only write to that workspace's session data, login information, and directories mounted for it. Profiles provide the system prompt, hooks, skills, commands, and agents for each session at startup.
  • The web UI displays all sessions: long sessions can be collapsed to what the agent changed and said; replies are shown next to the quoted statement; charts and diffs are rendered inline in the chat; a terminal, message queue, and mobile layout are provided alongside the transcript.
  • Agents can start sessions on their own: an agent can start other sessions, send messages to them, stop them, and read their transcripts, with each session's replies arriving as messages in its conversation. With nested containers, agents can also build images and run services inside their own containers.
  • Kanban board: board.yaml and ticket files in the repository are drawn as a kanban board; dragging a ticket into the active column starts a session.
  • Threads: any quoted snippet can have a reply added alongside it, and that reply can ask questions independently without affecting the original conversation; conversations can be forked at any message.
  • Rendering: Mermaid charts, GeoJSON maps, STL models, GitHub annotations, math formulas, and word-level diffs can all be rendered in place.
  • Panels: panels for to-dos, tasks, scheduled prompts, bookmarks, kanban, usage, logs, and more can be docked around the chat.
  • Scripts: scripts run by agents can be accessed from shell, Python, and JavaScript calls the MCP servers of its session as well as Claudebox's own session tools.
  • Port forwarding: the agent requests that a port for its service (such as a dev server or preview) be opened, and the request is approved or denied on a card in the conversation; approved ports are accessible only from the local machine.
  • Session bundles: a setup bundle can launch a session with its own model, effort level, session prompt, environment, and opening message.

Usage: Installation requires Podman or Docker (the installer neither installs nor checks for them), Git, Bash, and gpg. Python 3.13+ is obtained via uv when missing, and Node.js 24 is obtained via mise when mise is installed, otherwise via nvm (the installer adds it when missing). The first installation builds the container image from scratch and takes about 5-15 minutes, depending on network and CPU. The installer clones the latest signed release repository, builds the frontend and image, installs the claudebox CLI and the claudeboxd daemon, registers the daemon as a systemd user service, and adds a daily maintenance timer to update claudebox, rebuild the image, and clean up old sessions. CLAUDEBOX_RELEASE_KEY_FPR is the fingerprint of the key used to sign each release; the installer aborts if it encounters any other key. The first launch opens Claude Code's terminal interface for login. Login is persisted per workspace, or globally if the project has no .workspace marker. Afterward, sessions can be run in the terminal via claudebox run, or in the Web UI. If you do not want to use the terminal interface to log in, you can run claudebox run -- auth login, paste the code at the prompt (the content is not displayed while pasting), and press Enter. Then run claudebox daemon url, open the printed link, and click Sign in; the link is single-use and expires after 10 minutes. claudeboxd via Caddy at https://localhost:41820 Provides a Web UI that uses a self-signed certificate; the browser will show a one-time certificate warning, which can be safely accepted. Send a message in the box at the bottom to create a session and start its container. On systems without systemd (such as macOS), the daemon service is not installed and must be started with claudeboxd.

Configuration: settings are located in .claudebox/settings.toml. Claudebox searches upward from the working directory, then reads ~/.claudebox/settings.toml, and merges every file it passes through; for keys shared by both files, the nearest one wins. The .workspace marker isolates a project's sessions and logins, profile sets what each session starts with, and the runtime is Claude Code or LangGraph.

Use cases: suitable for developers who need to run AI coding agents in an isolated environment, especially those who want to use a kanban board to manage tasks, view charts and diffs directly in chat, and let agents manage sub-sessions themselves.

Limitations:

  • Not a hosted or multi-user service: it runs for one user on one machine, and isolation between users on the same host depends only on how well rootless Podman isolates them.
  • Not a guard for the workspace or network: inside the container, the agent can read and write the entire workspace (including other sessions' data), access the network, and install packages. The container only separates it from the rest of the host.
  • Not the agent itself: it runs Claude Code through the Claude Agent SDK, or LangChain providers through LangGraph, each using its own login or API key.
  • The Web UI is served only on the local loopback address unless [daemon] bind = "lan" is configured in settings and the network is opened; on untrusted networks the default should be kept. Every request carries the daemon's secret ~/.claudebox/daemon.secret; after logging in once, the browser holds its own token, which can be listed and revoked with claudebox daemon devices.
  • Session containers retain seven Linux capabilities (after trimming the engine's default set), cannot escalate privileges via setuid binaries, are limited to 8192 processes, and are limited to three quarters of the machine's memory; this can be changed via [limits] and [containers] cap_add. Onhosts with SELinux enabled, mounts are relabeled for the engine rather than disabling labeling; this can be opted out of via [containers] selinux = "disable". claudebox doctor reports whether the engine is rootless; on a rootful engine, a container escape can reach root, and claudebox warns but still runs.
  • The daily timer installs only release tags signed by the maintainer's key, and will not install a version older than the installed one; development checkouts are never fetched.
  • Host binaries and image tools downloaded by the installer are fetched at the versions and checksums recorded in the repository; claude-code, the agent's Python packages, and image system packages follow upstream by design, as of one week before each build.
  • No telemetry is sent.

The project is licensed under GNU GPL v3, copyright Jakub Roman (2025-2026). Third-party licenses and the notices that must accompany redistributed builds are recorded in NOTICE.md.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools