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

- **GitHub URL**: https://github.com/huggingface/agent-manager
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: JavaScript
- **License**: Apache-2.0
- **Engineering Health**: A (82/100 · Maintenance 35/35 · Adoption 16/25 · Releases 11/20 · License 20/20)
- **Review Snapshot**: 2026-12-01
- **Deployment / Stack Signals**: Docker, Self-Hosted
- **Momentum**: 85 ★ total (+1 24h / +8 7d) · 28 forks
- **When to Use**: Best for: A developer or trusted group that regularly runs several coding agents, wants browser access across devices, and can secure the host and its persistent storage. Skip if: You need per-user isolation, built-in authentication, offline inference out of the box, or running jobs that survive host restarts. For one CLI on one machine, start with the CLI itself.

## Overview
```text
### Architecture & Core Mechanics
Agent Manager is a browser front end for running and observing coding CLIs, not an inference server. The repository separates the application into `server/` and `web/`; the root `npm test` runs both test suites and the web typecheck. The Dockerfile builds the front end in a dedicated stage and uses Node 24 on Debian Bookworm for both build and runtime. Terminal-related dependencies include the N-API addons `node-pty` and `libghostty-vt-node`. The image retains tmux for agents to use, but tmux is not the browser-facing interface.

Local sessions execute on the backend, so closing the browser does not end them while the host remains awake. The live terminal and transcript reader are separate views: the latter depends on the CLI’s transcript format. Sessions have separate conversations but can share a working directory. The local API exposes session discovery, messaging, and waiting; remote agents can appear in the conversation view while executing on their own machines. These are CLI and session integrations, not a demonstrated MCP protocol surface.

### Key Capabilities & Differentiators
Agent Manager brings Claude Code, Codex, Antigravity CLI, opencode, pi, Hermes, OpenClaw, and fx into one workspace. Overview helps distinguish active sessions from replies that need attention, while side-by-side layouts let users follow related tasks without mixing their conversations. Where transcripts are supported, the reader renders replies, expands tool activity, and searches earlier history. The workspace also provides file browsing, previews, editing, uploads, and an adjacent shell.

The app manages reusable skills, scheduled prompts, device notifications, and CLI updates from Settings → General → Agents without an image rebuild. Token counts, cost estimates, and quota visibility vary by provider rather than forming a uniform billing view. The Codex shared-session work is still experimental: a read-only preview and an isolated binding pilot exist, but shared creation and automatic migration are not enabled by default. That work should not be mistaken for production handoff between the browser, the TUI, and Codex Remote.

### Trade-offs & Limitations
Compared with a direct CLI or SSH plus tmux, Agent Manager trades a smaller operational footprint for a shared browser view, transcript search, file access, and scheduling. The advantage grows with the number of sessions and devices, not with model quality: agents still bring their own provider accounts, quotas, and bills, and their transcripts and usage reporting are not uniform. For a single CLI on one host, the extra service may not pay for itself.

The most important boundary is access to the app. It has no login of its own, and anyone who can open it can use its shell and authenticated agents. Project groups organize the UI; they do not isolate files or credentials. A private Space and private bucket are therefore necessary for the hosted setup; the privacy lock helps detect exposure but is not authentication. Persistence is also not process continuity: sleep, restart, and rebuild terminate processes. With a bucket, eligible sessions can be restarted and some CLIs can resume conversations, but an interrupted shell command does not survive. Without the bucket, local files and logins are temporary.

### Hardware & Deployment Guide
The concrete hosted deployment is a private Hugging Face Docker Space on app port `7860`, with a private read-write bucket mounted at `/data` before signing in to agents. Use a supported provider login or pass an API key as a Space secret. For Codex on a Space, use device-code sign-in: the ChatGPT login option redirects to localhost on the agent host, which the user’s browser cannot reach. For a separate self-host, place access control in front of the app rather than assuming the container includes authentication.

Node 24 is a compatibility choice: OpenClaw’s accepted range starts at `24.16.0` on the Node 24 line and excludes Node 25. Bookworm retains Python 3.11 for the Hermes virtual environment and `/opt/py`. Size the host for concurrent CLIs and their child workloads, and storage for workspaces and retained state. The app establishes no GPU requirement of its own; inference requirements follow the chosen agent setup. The Docker image does not make provider login and inference offline. There is no listed GitHub release to anchor a versioned deployment, so pinning a tested commit or image is preferable to assuming a stable release tag exists.
```

## Key Capabilities
```text
- Container stack: Multi-stage Node 24 Bookworm image builds the web app separately; the runtime includes the native addons node-pty and libghostty-vt-node.
- Session views: Live terminals and searchable, formatted transcripts are complementary; reader coverage depends on each CLI’s transcript format.
- Coordination: Sessions can discover, message, and wait for peers through a local API; project groups do not isolate files or credentials.
- Persistence: A private read-write bucket at /data retains workspace files, logins, and checkpointed CLI state, but not running processes.
- Remote integration: An agent running on a laptop or remote server can appear in the workspace’s conversation view without moving execution into the container.
- Operations: Update CLIs from Settings, schedule prompts, and inspect provider-dependent usage and cost estimates.
```

## Quick Start / Clone
```bash
pip install -U huggingface_hub
hf auth login
```
