talgent-work/workbench
Self-hosted Claude Code agents with per-task sandboxes and resumable sessions
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Workbench wraps Claude Code in a self-hosted control plane for people and registered Applications. Work is the unit of execution: at launch, the caller chooses a model and either a fresh Kubernetes-hosted, VM-isolated sandbox or a connected computer. Conversation, artifacts, Plugins, and usage remain part of the same Workbench experience across both paths. In hosted mode, the sandbox is separated from the private network, and credentials and model keys stay outside it.
The Go backend is organized around services under cmd/ and implementation under internal/. The generic Dockerfile builds a selected Go service; services that need system tools use their own Dockerfiles under deploy/. The Go dependencies include the OpenSandbox SDK, ConnectRPC, and protobuf. Public API contracts are published separately, and Applications authenticate with OAuth 2.0 client credentials. Standard Claude Code catalogs supply Skills and specialist Agents, while Applications can provide MCP tools for individual Works.
Key Capabilities & Differentiators
A Work can start with instructions, attachments, a repository, a model, and Plugins. Users can follow the conversation and tool activity as they happen, steer or stop execution, and resume the session later. They can grant and revoke read-only access to a Work. Published outputs land in the Library, which previews Office documents, PDFs, and images and supports file Share Links.
Model choice is per Work and tied to the Anthropic-compatible API boundary: Claude, DeepSeek, Qwen, Kimi, GLM, and MiniMax are examples, not interchangeable agent runtimes. Provider configurations can carry separate keys. Applications use the same public APIs as the web app to start and follow Works, retrieve Artifacts, and read usage. Token accounting can be broken down by person, Work, model, or Application; Work labels let an Application attribute usage to its own users.
Trade-offs & Limitations
Direct Claude Code is the simpler choice for an engineer working in one local workspace. Workbench earns its Kubernetes footprint when several people or applications need resumable execution, scoped identities, shared outputs, and usage attribution. Compared with a fully managed agent service, self-hosting gives the operator control of the platform and its stored records, but also makes that operator responsible for capacity, upgrades, and retention. The Anthropic-compatible interface broadens model choice without removing the dependency on Claude Code as the execution runtime.
Hosted and local execution solve different access problems. Use a hosted sandbox when the job should run without a paired workstation and should not reach the private network. Use a managed computer when the job needs local files, tools, or apps, but review the permissions the Agent receives. OS sandboxing is described for macOS and Linux, so do not assume equivalent isolation on Windows. Self-hosting the platform also does not, by itself, keep inference or Connector traffic on-premises.
Hardware & Deployment Guide
Start with the Kubernetes path in docs/self-hosting.md, then use docs/configuration.md and docs/release-notes.md to plan service configuration and upgrades. The generic Docker build supports both source compilation and a prebuilt binary path, with BuildKit cross-compiling for the target platform on the build host. Source builds use Go 1.26.10; the JavaScript workspace declares Node >=24 and pnpm >=10.14.0. For a managed machine, install @talgent/computer and pair it from the Computers page; the client uses an outbound connection.
Size the cluster around concurrent hosted Works, the CPU and memory their jobs consume, and retention for files and telemetry. Size inference separately if you host the model endpoint; selecting an external model API does not call for model VRAM in Workbench itself. The recent release sequence clarifies what operators and users gain on upgrade: v0.4.28 allowed a model configuration to defer model selection to Claude Code, v0.4.29 consolidated live status and exposed settled tool counts and unread input, and v0.4.30 added streaming of the main Agent's reply as it is written.
Teams that already operate Kubernetes and want people and Applications to run Claude Code tasks with shared artifacts, resumable sessions, and attributable usage.
A local CLI is enough, you need to swap out Claude Code for another agent runtime, or you cannot take on cluster operations.
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| workbench ★ | 275 | +89 | Go | Apache-2.0 | Self-hosted Claude Code agents with per-task sandboxes and resumable sessions |
| sealos | 18.4k | +14 | Go | — | A Kubernetes-backed desktop Ops Agent for deploying and running full-stack apps |
| pentagi | 35.7k | +489 | Go | MIT | Self-hosted multi-agent penetration testing with logs and reports for human revi |
| paperclip | 119.3k | +1.6k | TypeScript | MIT | Self-hosted control plane for coordinating AI agents, tasks, approvals, and spen |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/talgent-work/workbench.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about workbench
How does a backend service integrate with Workbench?
Do I need GPUs, and what should I size first?
Can we use it commercially, and does self-hosting settle compliance?
When is Workbench a better fit than running Claude Code directly?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy