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

- **GitHub URL**: https://github.com/juggler-ai/juggler
- **Official Docs / Website**: https://juggler.studio
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: JavaScript
- **License**: AGPL-3.0
- **Engineering Health**: A (79/100 · Maintenance 35/35 · Adoption 13/25 · Releases 20/20 · License 11/20)
- **Latest Release**: v0.8.4 (2026-11-30) — https://github.com/juggler-ai/juggler/releases
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Self-Hosted, CLI
- **Momentum**: 880 ★ total (+0 24h / +10 7d) · 59 forks
- **Topics**: `agent`, `agentic-ai`, `agents`, `ai-agents`, `coding-assistant`
- **When to Use**: Best for: 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. Skip if: 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.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Session ownership: `juggler` runs where the project lives, persists the session and pending approvals, and synchronizes desktop and browser clients.
- Model observability: Inspect the system prompt, input messages, tool schemas, output blocks, token and cache usage, timing, and stop reason for a recorded turn.
- Context editing: Fold history into a thread, move or copy items across branches, and undo structural edits; delegated threads return a result without adding their intermediate work to the parent.
- MCP diagnostics: Trace schema exposure, generated arguments, approvals, and results; inspect rejected schemas and configure per-tool access and defaults.
- Git review: Stage selected lines, review a chosen diff range, and send line comments together as the agent’s next instruction.
- Extension development: Scaffold and link JavaScript extensions from the CLI, then hot-reload strategies, tools, commands, and UI views without rebuilding.
```

## Quick Start / Clone
```bash
mkdir -p bin
go build -o bin/juggler.exe ./cmd/juggler
go build -ldflags "-H windowsgui" -o bin/juggler-app.exe ./cmd/juggler-app
```
