An office for your AI team. Each agent has a desk and a job: social media, marketing, website editing, bug fixes or customer support. Give them tasks, watch them work, and read what they hand back.
| Sales zone | Approvals |
|---|---|
![]() |
![]() |
- Five agents ready to go, each with its own instructions, and you can hire more
- Bring any AI: Anthropic (Claude), any OpenAI-compatible API (OpenAI, OpenRouter, Groq, Together, a local Ollama), or the built-in demo
- One model per agent: put your support agent on a fast, cheap model and your bug fixer on a strong one
- Task board: to do, working, done and needs attention, updated live, with high-priority tasks on top and overdue tasks flagged
- Readable results: formatted output you can copy or download as Markdown, export every task as CSV (with each task's estimated cost), or download every finished result in one Markdown report
- Edit: change a waiting task's title, details, agent, priority, due date or repeat before it runs
- Restart-safe: tasks cut off by a restart or crash move to Needs attention instead of looking busy forever
- Stop: ■ Stop on a working task cancels it (it moves to Needs attention, ready to retry)
- Undo: deleted a task by mistake? Click Undo in the bar that appears
- Duplicate: copy any task into the new-task form to tweak and reuse it
- Remembers your view: the board's search and agent filter stay put when you reload
- Tags: label tasks (
launch,q4...) and click a tag to see every task with it - Prompt preview: 👁 on a waiting task shows exactly what the agent will be sent
- Per-task model: use a stronger (or cheaper) model for one task without changing the agent
- Task lists: tick "One task per line" and each line of Details becomes its own task (e.g. one support reply per ticket)
- Ask everyone: pick "📢 Everyone on duty" to give the same task to every agent and compare their answers
- Repeating tasks: set a task to repeat daily, on weekdays, weekly or monthly and the next one is queued when it's done
- Start on the due date: tick "Start automatically on the due date" and the task starts by itself once that day comes (checked every minute while the office is open); with a repeat, every copy does the same, so a daily digest runs hands-free
- Earlier answers: ↻ Redo keeps the previous result; the 5 most recent are under "Earlier answers" in the result view, so a worse redo never loses a good answer
- Ratings: 👍 or 👎 a result; each desk shows the totals, so you can see which agent (or model) works best
- Tab badge: while you're in another tab, the tab title counts tasks that finished or failed, e.g.
(2) Agents Office OS, until you look - Activity feed: the last 100 things that happened (tasks created, finished, failed, deleted)
- Follow-ups: reply to a finished task ("make it shorter") and the agent revises it, keeping the conversation
- Hand-offs: pass a result to another agent, e.g. Marketing's campaign to Social Media for posts
- Chains: pick "When done, hand off to" on a task and its result goes to that agent, who starts on it right away (works with repeats, so a weekly campaign can turn into posts by itself)
- Your keys stay yours: keys are read from your local
.envfile only, never saved in the office data or sent to the browser - Light and dark mode (follows your system, or pick one with 🌓), works on phones, no build step, runs on Node 22+
| Light | Dark |
|---|---|
![]() |
![]() |
git clone https://github.com/wesomitsu/Agents-Office-OS.git
cd Agents-Office-OS
npm install
npm startOpen http://localhost:3000. Every agent starts on the Demo provider, so you can try the office before adding any keys.
docker build -t agents-office .
docker run -p 3000:3000 --env-file .env -e OFFICE_PASSWORD=change-me -v office-data:/data agents-officeYour agents and tasks are kept in the office-data volume. Keys come from your
.env file at run time and are never baked into the image.
cp .env.example .envFill in the providers you use, restart npm start, then click an agent's desk to
switch its provider and model.
| Provider | In .env |
Default model |
|---|---|---|
| Anthropic (Claude) | ANTHROPIC_API_KEY |
claude-opus-5-5 |
| OpenAI | OPENAI_API_KEY |
gpt-5 |
| OpenRouter, Groq, Together... | OPENAI_API_KEY + OPENAI_BASE_URL |
set the model on the agent |
| Ollama (local) | OPENAI_BASE_URL=http://localhost:11434/v1 |
set the model on the agent, e.g. llama3.1 |
At most 3 tasks call a model at the same time (MAX_CONCURRENT_TASKS, 0 for
no limit); the rest show "Waiting for a free slot" and start as soon as one
finishes.
If an OpenAI-compatible API is busy (429) or briefly down (5xx), the request is retried up to 3 times. The Anthropic SDK has its own retries.
A task that takes longer than 10 minutes fails with "Timed out" so a hung
provider can't hold a slot forever (TASK_TIMEOUT_SECONDS, 0 for no limit).
Set BACKUP_PROVIDERS to an ordered list of your other providers, e.g.
BACKUP_PROVIDERS=openai,anthropic. If an agent's provider fails (down,
rate-limited, out of credit), the task is retried on each backup in turn with
that provider's default model, and the activity feed notes which one answered.
Providers without a key are skipped.
The header shows which providers are ready (●) and which still need a key (○).
| Agent | Responsible for |
|---|---|
| 📣 Sky | Social media posts, hooks and hashtags |
| 📈 Max | Marketing: campaigns, emails, landing page copy |
| 🖥️ Wren | Website editing: copy, structure, HTML/CSS changes |
| 🐞 Bolt | Bug fixes: likely cause first, then a minimal diff |
| 💬 Sage | Customer support replies |
Click a desk to rename an agent, change its emoji, job, provider, model or instructions. Set Max answer length to cap how many tokens one answer can use (a simple way to keep costs predictable). Add the model's input and output prices ($ per 1M tokens, from your provider's pricing page) and the desk shows an estimate of what that agent has spent, based on the tokens its tasks used; each task card shows its own estimate, and the header adds these up into the office's total spend. With prices set, a Budget (in $) stops that agent's tasks and follow-ups from starting once the estimate reaches it; they fail with "reached their budget" until you raise it. Use ◀ ▶ in a desk's dialog to rearrange the office, and Copy to hire another agent with the same setup (for example a second support agent on a cheaper model).
Tick Off duty on a desk to stop an agent taking new tasks (they can't be started until you turn it off again).
Click + Hire an agent to add someone new, blank or from a template: SEO, Sales, Content Writer, Data Analyst or HR & Hiring.
Use Export team to save your agents (names, jobs, providers, models and instructions; never keys) to a file, and Import team to load them on another machine or share a setup.
Click the line under the title to edit the company profile: name, what you
do, and a brief (tone of voice, products, things to never say) that's added to
every agent's instructions. COMPANY_NAME and COMPANY_ABOUT in .env are only
the starting values.
Set NOTIFY_WEBHOOK_URL to a Slack or Discord incoming-webhook URL and the
office posts a message (with a preview of the result) whenever a task finishes
or fails.
Set COMPANY_NAME and COMPANY_ABOUT in .env and every agent knows who they
work for.
| Key | Does |
|---|---|
n |
New task |
h |
Hire an agent |
f |
Jump to the board filter |
/ |
Search tasks (title, details and results) |
1–9 |
Show one agent's tasks (0 for everyone) |
Ctrl/⌘ + Enter |
Submit the open form (create, save, send a follow-up) |
? |
Show the shortcuts |
src/server.js: a small HTTP server for the page and a JSON APIsrc/store.js: agents and tasks, saved todata/office.json(git-ignored), with a daily copy indata/backups/(the last 7 are kept;OFFICE_BACKUPSchanges that,0turns it off). To restore, stop the server and copy a backup overdata/office.json.src/providers.js: calls Anthropic through the official SDK, or any OpenAI-compatible/chat/completionsendpointsrc/runner.js: builds each agent's prompt and records the result on the taskpublic/: the office page, plain HTML, CSS and JavaScript
| Method | Path | What it does |
|---|---|---|
GET |
/api/health |
{ ok: true } for Docker and uptime monitors (no login needed) |
GET |
/api/office |
Agents, tasks, provider status and estimated total spend (null until an agent has prices) |
POST |
/api/tasks |
Create a task { title, details, agentId, priority, due, repeat, autoStart, then } (high/normal/low, due as YYYY-MM-DD, repeat daily/weekdays/weekly/monthly, autoStart: true starts it on its due date, then is the agent id that gets the result when it's done) |
POST |
/api/tasks/:id/run |
Start (or redo) a task |
POST |
/api/tasks/:id/stop |
Stop a running or queued task (it fails with "Stopped") |
POST |
/api/tasks/:id/handoff |
Pass a finished result to another agent { agentId, note, run } |
POST |
/api/tasks/:id/reply |
Send a follow-up { message } on a finished task |
PATCH/DELETE |
/api/tasks/:id |
Edit or delete a task |
GET |
/api/tasks/:id/prompt |
The exact instructions and task text the agent will receive (no model call) |
POST |
/api/tasks/:id/restore |
Undo a delete (the last 20 deleted tasks are kept) |
POST |
/api/tasks/broadcast |
One task per agent { title, ..., agentIds?, run? } (default: everyone on duty) |
POST |
/api/tasks/bulk |
One task per item { title, items, agentId, ..., run? }, each item as the details (at most 50) |
POST |
/api/tasks/retry-failed |
Retry every failed task { agentId? } |
POST |
/api/tasks/start-all |
Start every waiting task { agentId? } (off-duty agents are skipped) |
POST |
/api/tasks/clear-done |
Delete finished tasks { agentId? } |
GET |
/api/tasks.csv |
Download every task as a spreadsheet |
GET |
/api/results.md |
Download every finished result, newest first, as one Markdown file |
PUT |
/api/company |
Save the company profile { name, about, brief } |
GET/POST |
/api/export, /api/import |
Save or load the team { agents } |
POST |
/api/agents |
Hire an agent |
PATCH/DELETE |
/api/agents/:id |
Edit or remove an agent |
- The server listens on
localhostonly by default. Anyone who can open the office can spend your API credit, so setOFFICE_PASSWORD(the browser asks for it, any username works) before settingHOST=0.0.0.0or deploying, and serve it over HTTPS. Ten wrong passwords from one address within 15 minutes lock that address out for 15 minutes. Behind a proxy every visitor shares the proxy's address, so put the proxy's own login or rate limit in front too. - Agents write drafts. They don't post, send emails or change your website by themselves; you review the result and use it.
npm testMIT




