ajsahni/agents-office
A self-hosted Claude office for routing, scheduling, and reviewing agent work
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
Agents Office pairs a locally hosted Node.js 20+ service with an isometric browser interface. A user picks a department and submits a natural-language task; Claude routes it to an agent, which reads from the local Brain notes folder and returns the deliverable to both the agent chat and the notes. The package declares @anthropic-ai/sdk and d3-force; serve.mjs, build.mjs, and graph-build.mjs are server, build, and graph entrypoints in the project tree.
The extension points are Claude Code MCP connectors and editable role instructions, not arbitrary new seats. office.agents.json supplies the base roster, overridden first by the Brain's Agents Office/agents.json and then by office.agents.local.json. Agent IDs, departments, and lead assignments cannot be overridden. Skills use Markdown instructions with optional companion templates or examples. MCP discovery uses claude mcp list; tool access is configurable by server and department, with separate web and browser switches. Agents are not given Bash, file tools, or Claude Code sub-agents.
Key Capabilities & Differentiators
The six-department, 35-seat layout supports individual work and team runs. In team mode, a lead divides work among desks, the agents work in parallel and exchange notes, and the lead synthesizes the result. A revise: message triggers rework and records feedback in Markdown, where the user can edit rules that should persist. The calendar shows completed and future tasks and projects routine occurrences in month and week views. Recurring work is currently limited to Emails, Accounting, and Sales. Routines that send, pay, or change external state require approval by default.
Sonnet is the default, including task routing; Opus and Fable are also selectable. Both model and effort resolve from task to routine to agent to office default, and task cards show what ran. The usage gauge reads Claude session and weekly usage through an undocumented Anthropic endpoint using the local Claude Code login token. When that endpoint fails, the gauge falls back to the office's count for the current five-hour window; that count is not the same as account-wide usage.
Trade-offs & Limitations
Compared with using Claude Code directly, Agents Office adds a task inbox, ownership by role, visible history, and an approval queue, but also adds a service, a UI, and more configuration to maintain. Compared with a programmable workflow system, it is easier to start with department-based work, but the six departments, 35 seats, fixed leads, and limited routine coverage constrain how far the organization can be reshaped. Parallel team runs can also put more pressure on plan limits.
Do not treat the instruction to read freely and act only when explicitly asked as a security boundary. For sensitive accounts, start with a narrow MCP allow list, leave Chrome off unless needed, and verify approval behavior with test data before enabling outbound actions. The bundled LICENSE is PolyForm Noncommercial 1.0.0 plus additional Sahni.ai terms: personal and internal use is allowed subject to those terms, but resale, paid products built on it, rebranding, and integration or bundling with other products or agent systems are restricted.
Hardware & Deployment Guide
The normal setup needs Node.js 20+, Git for the clone-based install, and either a signed-in Claude Code installation or an ANTHROPIC_API_KEY. Use ./setup on macOS or Linux, then npm start and open http://localhost:4520. On Windows, bypass the Bash setup script with npm install, node build.mjs, and npm start. Use npm run check to validate roster and skill changes. Opening dist/command-centre-v2.html directly gives a serverless demo, not a live agent runtime.
The app and Brain folder are local, but inference still goes to Claude. An API key supports note-based generation without Claude Code connector tools. Provision for the Node process, browser rendering, and expected concurrent work rather than local model weights; no fixed hardware sizing is specified. Routines use the host clock and need the office running. Tag v3.2.0-beta.3 restored the missing teams.mjs and added a package assembly check for serve.mjs imports. v3.2.1-beta.1 introduced the calendar, and v3.2.1-beta.2 updated the license notices and additional terms.
claude mcp list; an empty allow list admits all connected servers unless denied.teams.max is configurable.Individuals and internal teams already using Claude Code who want to turn local notes and existing connectors into visible, reviewable workflows for drafting, triage, and recurring work.
You need offline inference, a freely configurable agent organization, deterministic workflows, or the right to embed, rebrand, or resell the software.
Quick Start & Installation
git clone https://github.com/ajsahni/agents-office.git cd agents-office ./setup # checks Node, git and Claude; installs; builds; boots once npm start # → http://localhost:4520
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| agents-office ★ | 883 | +19 | JavaScript | — | A self-hosted Claude office for routing, scheduling, and reviewing agent work |
| hermes-agent | 268.1k | +1.5k | Python | MIT | Self-hosted Python agent with persistent memory and automation across chat and C |
| n8n | 213.1k | +787 | TypeScript | — | Visual Node.js platform for self-hosted workflows and multi-step AI agents |
| TradingAgents | 124.7k | +775 | TypeScript | Apache-2.0 | A multi-agent CLI for source-cited financial research and reporting |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/ajsahni/agents-office.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about agents-office
How do agents connect to existing tools, and what changes in API-key mode?
claude mcp list; office.config.json controls server allow and deny lists, department mappings, and web and browser access. An empty MCP allow list does not block access: it allows every connected server unless denied. The ANTHROPIC_API_KEY path can generate deliverables from notes but does not provide connector tools.Does the host need a GPU, and how should I size it?
Can we self-host it internally or ship it as part of a commercial product?
When is direct Claude Code or a programmable workflow system a better fit?
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