juggler-ai/juggler
A self-hosted agent server and visual workbench for inspecting model calls
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Juggler separates the coding-agent runtime from its interface. The headless juggler server runs on the machine that holds the project and owns the live session; the native desktop app and browser tabs are synchronized clients. Conversations persist to disk as trees of typed items, including pending approvals. A delegated thread keeps its intermediate work out of the parent's context and returns its result to the parent. That separation is about conversation context, not a guarantee of filesystem isolation.
The runtime is built with Go and uses Wails v3 for the desktop app. The build embeds the HTML and JavaScript without a separate frontend build step. go.mod lists the official MCP Go SDK, Anthropic and OpenAI Go SDKs, Gorilla WebSocket, and Pion WebRTC; the dependency list alone does not establish which transport a given session uses. JavaScript extensions use a public SDK: strategies define the model loop and its available capabilities, while context items define tool schemas, execution, and views. MCP servers and skills enter through the same extension system.
Key Capabilities & Differentiators
Juggler supports hosted APIs, installed agent CLIs such as Claude Code and Codex, and local models through Ollama. Integrations also include GitHub Copilot, Gemini, Mistral, OpenRouter, DeepSeek, and other OpenAI-compatible providers. Juggler sizes the full request before a model call, reserves room for the answer, and compacts older history when needed. Recorded turns expose the assembled prompt, input messages, tool schemas, output blocks, token and cache usage, timing, and stop reason. This lets an engineer distinguish a missing tool definition from a tool the model saw but did not select.
Local and remote MCP servers can join the built-in toolset. Operators can inspect status and logs, restart servers, see rejected schemas, and follow a call from tool definition through arguments, approval, and result. Per-tool allow and deny controls, fixed default arguments, and estimated context cost make large tool inventories easier to manage. The Git Pinboard extension adds line staging, history, branches and worktrees, rebase, and conflict resolution. It also turns inline diff comments into the agent’s next instruction, so review feedback stays tied to the changes that prompted it.
Trade-offs & Limitations
Compared with using Claude Code or Codex directly, Juggler adds a provider-neutral interface, editable context, and a persistent session that multiple clients can view. That is useful when a long-running change needs repeated inspection and steering. For a single-provider, terminal-first workflow, the extra server, session state, and adapter configuration may not earn their keep. There is no Juggler account or token resale: hosted requests go directly to the selected provider, so self-hosting the workbench does not keep inference data on premises or eliminate provider costs. Local inference through Ollama shifts compute and memory requirements onto the inference host.
The session store is part of the data boundary because recorded exchanges can contain source code, prompts, and tool arguments. Protect it alongside the repository, and keep passwordless LAN access on trusted networks. The licensing boundary is equally important: the application is AGPL-3.0, while the SDK, bundled extensions, and examples are Apache-2.0. A proprietary extension and a modified server offered over a network are different compliance cases.
Hardware & Deployment Guide
Release packages for macOS, Windows, and Linux ship the desktop app and matching server together. Run the app locally, or start juggler serve on the machine with the code and connect from the desktop app or browser. The server listens locally by default on port 3939 or the next available port. LAN access is opt-in and passwordless. For a same-host reverse proxy, --allow-host names the published host, --base-path supports a subpath when the proxy does not send X-Forwarded-Prefix, and --port-strict prevents fallback to a different port. Repository builds support local and LAN access; official binaries include additional WAN modes.
Source builds require Go 1.27+, recursive submodules, and make go-build. On Linux, even the headless server links desktop libraries through cgo; the listed build packages are libgtk-4-dev, libwebkitgtk-6.0-dev, and libsoup-3.0-dev. Windows builds use Git Bash and GNU make. The v0.8.2 release expanded the Git panel into a full client, v0.8.3 added first-launch imports from Claude Code, Codex, Pi, and OpenCode, and v0.8.4 added browser discovery of LAN servers and persistent Pinboard docking.
juggler runs where the project lives, persists the session and pending approvals, and synchronizes desktop and browser clients.Developers running coding agents on a workstation or dev box who need to inspect model and MCP calls, steer long-lived sessions, and review changes alongside the conversation.
A single provider’s CLI already meets your needs, or you require authenticated, internet-facing multi-user access out of the box from a source build.
Quick Start & Installation
mkdir -p bin go build -o bin/juggler.exe ./cmd/juggler go build -ldflags "-H windowsgui" -o bin/juggler-app.exe ./cmd/juggler-app
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| juggler ★ | 880 | +10 | JavaScript | AGPL-3.0 | A self-hosted agent server and visual workbench for inspecting model calls |
| oh-my-pi | 40.5k | +497 | TypeScript | MIT | A Bun/Rust terminal agent for model-flexible coding with LSP and editor integrat |
| gemini-cli | 109.6k | +376 | TypeScript | Apache-2.0 | A Node.js terminal agent for enterprise Gemini coding workflows and MCP tools |
| goose | 57.3k | +219 | Rust | Apache-2.0 | Rust coding agent with MCP tools and local or hosted models, embeddable via ACP |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/juggler-ai/juggler.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about juggler
How do I connect an MCP server and diagnose a missing tool call?
Do I need a GPU, and what should I budget for on the host?
What should a business check before self-hosting or writing a proprietary extension?
When should I use Juggler instead of Claude Code or Codex 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