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

- **GitHub URL**: https://github.com/ajsahni/agents-office
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: JavaScript
- **License**: See repository
- **Engineering Health**: B (58/100 · Maintenance 26/35 · Adoption 20/25 · Releases 6/20 · License 6/20)
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: Self-Hosted, CLI
- **Momentum**: 883 ★ total (+2 24h / +19 7d) · 239 forks
- **Topics**: `agents`, `claude`, `claude-code`, `isometric`, `threejs`
- **When to Use**: Best for: 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. Skip if: You need offline inference, a freely configurable agent organization, deterministic workflows, or the right to embed, rebrand, or resell the software.

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

## Key Capabilities
```text
- Routing: Claude selects an agent within the chosen department; the office has six departments and 35 fixed seats.
- Local knowledge: Brain notes hold deliverables, while editable Markdown stores skills and feedback rules.
- MCP controls: Connector discovery uses `claude mcp list`; an empty allow list admits all connected servers unless denied.
- Model configuration: Sonnet, Opus, and Fable are selectable; both model and effort resolve task → routine → agent → office default.
- Scheduling: Month and week views show dated tasks and projected routine runs; recurring work is limited to Emails, Accounting, and Sales.
- Team execution: A department lead delegates work across desks in parallel and writes the final result; `teams.max` is configurable.
```

## Quick Start / Clone
```bash
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
```
