Skip to content
Projetos

Sobre

See at a glance what every AI coding agent is doing — a cozy 3D office for Claude Code and Codex sessions.

Ferramentas de desenvolvimento

Como estes números são medidos

45 estrelas0 Forks +28 em 24 h

Crescimento medido de estrelas

em 24 h
+28
em 7 dias
Coletando histórico
em 15 dias
Coletando histórico
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

officepals

See at a glance what every AI coding agent is doing — and which one is waiting on you.

A cozy 3D office for your Claude Code and Codex sessions. Each session is a little coworker; keep them waiting too long and they go on strike.

English · 中文

Formerly cozy-agents. Already had it? Just run npx officepals: it moves your hooks and stats over. 原名 cozy-agents;之前装过的话,直接运行 npx officepals,会自动把 hooks 和统计搬过来。


English

Why

One Claude Code or Codex session is easy to follow: its terminal tells you everything. Run three or four at once and you lose track:

  • one asked for permission to run a command; you never saw it, and it has been waiting for twenty minutes;
  • one finished ten minutes ago, and you think it's still busy;
  • one is running your tests, and you don't know whether to wait for it.

With several agents, the bottleneck is your attention: they wait for you to approve, answer, or give the next prompt while you're in another window. Finding out means switching to each terminal and reading.

officepals turns that into a glance. A small window in the corner of your screen shows who's working, who's done and who's waiting on you, by where each coworker is and what it's doing. No switching, no reading.

What it's worth

  1. Agents stop waiting on you unnoticed. Every minute an agent waits on you is wasted. Whoever is waiting walks to your desk, gets more and more impatient, and you hear about it; "kept waiting today" puts a number on it.
  2. You know what kind of work each one is on — testing, committing, installing, editing — from where it stands, not from reading logs.
  3. Made for running several agents at once, the way AI coding is heading: Claude Code and Codex, side by side.
  4. Private. It runs on your computer and sees only labels like "which tool, what kind of work". Your code, your commands and your conversations never leave it.
  5. Waiting is less dull. Slacking off on the phone, a sneaky game at the desk, coffee breaks, chats, strikes: a little office you'll want to keep an eye on, and to show people.

What it doesn't do: it doesn't show the exact lines changed or a command's output (your terminal does that), and you approve or answer in your terminal, not on a coworker. officepals tells you what kind of work and whether it needs you, the moment it does.

Quick start

Needs Node.js 18+ and Claude Code and/or Codex.

npx officepals

The first run asks to add officepals' hooks to ~/.claude/settings.json — and to ~/.codex/hooks.json if Codex is installed — then opens the office at http://127.0.0.1:4747. Your existing settings are kept and backed up. Start a session and your new coworker walks in through the door.

Codex: Codex asks you to trust new hooks once. Run /hooks in the Codex CLI, or open Settings → Hooks in the Codex app, and trust the officepals entries.

Command
npx officepals --demo scripted demo coworkers, nothing to install
npx officepals status are the hooks installed?
npx officepals uninstall remove the hooks (nothing else is touched)
npx officepals --help all options

Mac app

Prefer an app to a terminal? officepals for Mac (Apple Silicon) brings its own Node.js, so there's nothing else to install.

  1. Download officepals-<version>-arm64.dmg from Releases and drag officepals into Applications.
  2. The app isn't signed by Apple yet, so the first time macOS says it can't verify the developer. Open System Settings → Privacy & Security, scroll down, and click Open Anyway (once).
  3. It asks once to add the hooks, then sits in the Dock and the menu bar:
    • a mini window floats above your other windows — no title bar; drag it by its top edge, resize it from the corner; double-click it (or ↗) and it grows into the full office; × hides it;
    • the full office has a Mini window button next to the traffic lights (⌘1), and closing it shrinks it back into the mini window; the two show the very same office;
    • the Dock icon brings the office back when you click it and shows a badge with how many agents are waiting on you;
    • the menu bar icon shows that count too; its menu shows or hides the mini window, opens the office, turns alerts on or off, adds or removes the hooks;
    • alerts come as native notifications.

The app and npx officepals share the same hooks; if an office is already running, the app uses it. Build it yourself with mac/build.sh (needs the Xcode Command Line Tools).

What you'll see

Your agent… In the office
reads files, greps, lists browses the bookshelf
edits code sits at its desk and types; the screen lights up
runs tests goes to the test bench; the signal tower blinks, then turns green or red
uses git posts a letter at the mailbox; the flag goes up
installs packages carries a box from the pile
builds, runs commands works at the server rack
browses, searches the web at the globe
writes a plan writes it up on the whiteboard; its notes move from to do to done
spawns a sub-agent a little helper pops up beside it
needs your approval or answer teleports to your desk: raises a hand, then sweats (20 s), steams (1 min), lies down on strike (3 min)
is between turns slacks off, mostly: on its phone at its desk, or sneaking a game on its computer (the game is on its screen); now and then a coffee, a chat, its phone on the sofa, a stretch by the window. After 8 minutes it stays at its desk
starts or ends a session walks in or out through the door

Click a coworker for its card: what it's doing, its to-do progress, this turn's time, how often it has waited on you, and the tools it used this turn.

Not sure what a spot is for? Click it — the bookshelf, the whiteboard, the globe, the test bench, a desk, the door, the clock… A bubble says what agents do there and who is there right now.

Go into a screen. Double-click a coworker sitting at its computer, or any desk (or the little 🔍 in the corner of its card, or the button in a desk's bubble): the camera flies up to the monitor, and just as you get there the screen tunes in to… this office, live. Go through the glass and you land in the office inside the screen. Down there, one of the monitors is showing yet another office. How deep does it go? Every level has its own surprise; we won't spoil them. Esc goes up one level; ⏏ Back to reality goes all the way. Someone sneaking a game has no room for you: you can only lean in and watch.

Turn the floor over. The office's floor has a second office on its underside, and it isn't quite right: down there everything runs backwards. See for yourself: drag the view all the way up and keep pulling down (it resists a little, so turning the camera won't flip it by accident), and the whole floor turns over and the other office comes up. The little ⚙ by the buttons at the top has a flip too, and the setting for who works down there: whoever finds no seat on the front (the default), or Codex on the back and Claude Code on the front. A red dot on the ⚙ means someone on the other side is waiting on you.

Step out of the door. Double-click the office door (or use 🚪 Step outside in its bubble) and you step out as someone: one of the office's characters, picked at random each time from the ones nobody in the office is wearing right now (your assistant stays at her desk). You only ever see through their eyes, so you don't know who you are until you find a mirror. Out you go into a corridor that never ends, doors on both sides as far as you can see. W/A/S/D or the arrow keys walk you about at a person's pace (scrolling works too), hold Shift to break into a run, move the mouse to look around (as in a game: no button to hold, no pointer; ⌘ brings the pointer back). Most doors are locked (walk into one and see what you hear); a few have light under them. Walk into one of those and it swings open onto… well, have a look. Some are mirrors, though none near your own door (keep going a while and you'll come across one): walk up to one and there you are, sharp as a real mirror, and now you know who you came out as. Face a mirror and press E to step through it into the corridor behind the glass: the same corridor the wrong way round (left is right, the door plates in mirror writing, the air a little silvery). From then on you don't need E: walk into any mirror, on either side, and you're through, back and forth as often as you like. Where two mirrors face each other, the glass behind you shows in the mirror as glass, and that's what you'll find on the other side too: keep walking and you keep going through, one corridor after the other. (Walk out of the door while you're in your assistant, and it's her in the mirror: you stay her.) The further you go, the stranger it gets. Esc, or ⬅ Back to the office, takes you back to the office.

Step into your assistant. Your assistant minds your desk for you (you yourself are never in the office). Double-click her at the pink desk (or the little 👻 in its bubble) and you're in her body, right where she was sitting, and the window goes full screen (so the mouse never runs off its edge). The view follows the mouse, as in a game (seated too: turn to look round the room). Look down: her arms, her apron, her skirt. Walk the office (the furniture and your coworkers are in the way; they step aside), sit at a free desk, your own or the sofa (E), and out of the door (E) into the corridor, where a mirror shows her all over. V switches to a view from behind her and back. ⌘ or Esc lets go of the mouse (click the view to look round again). Walking, she turns to the way you're going: S turns her round, A/D to the side (nobody walks backwards). Esc again: back to the overview and a window, and she goes back to your desk.

What each part tells you

Part What you see What it tells you
Coworkers each session is an anime-style coworker (six looks; a helper it sends out wears its look, smaller), named after its conversation how many sessions are open, and which task each is
Your assistant (the pink desk) minds your desk for you (you yourself are never in the office): at the laptop, now and then on her phone, a sip of coffee, a think; when a coworker comes to ask you something, she stops and turns to look at them. Not a session, not counted. Double-click her to step into her and walk about whose desk the waiting ones are coming to
Where they work test bench, mailbox, box pile, bookshelf, globe, their own desk (table above) what kind of work it's doing, without reading a command
Label over its head name, the step it's on, how long this turn has run how far along it is, and whether it's taking long
Waiting on you it pops up at your desk and waves; sweats, steams, then goes on strike after 3 minutes someone is stuck on you, more visibly the longer it waits
Risk hints with an approval: how risky the command looks ("deletes files", "installs packages", "goes online") whether to approve with an easy mind
Alerts a chime, a notification, the count on the menu bar and Dock icons you won't miss it even without looking
Whiteboard each one's to-do list as sticky notes: to do, doing, done what it plans to do, and how far it got
Card (click a coworker) what it's doing, to-do progress, this turn's time, waits on you today, tools used the details of one session when you want them
The other side (pull the view down hard, or the ⚙ menu) the floor turns over: a backwards office underneath, for the overflow or for Codex more room, and Claude Code and Codex kept apart if you like
Into the screen (double-click a coworker at its computer, or a desk) the camera dives into its monitor, which shows this very office, screens within screens just for fun: how deep can you go?
The corridor (double-click the door, or walk out of it in your assistant) an endless corridor outside, doors on both sides (lit ones, locked ones, mirrors); walk or run about it, and step through the mirrors (E) into the corridor behind them. Through the door from the overview you're a random character (a mirror shows who); in your assistant you stay her just for fun: where does it end?
Bubbles (click a place) what agents do at the bookshelf, whiteboard, globe, test bench, desks…, and who's there now what the office is telling you, without reading this README
Today's totals coworkers in, waiting on you, how long they were kept waiting today how much of your agents' time went to waiting on you
Office log who came in, who sent a helper, who finished what just happened
Idle life mostly on its phone or sneaking a game at its desk; sometimes coffee, a chat, the sofa, a stretch who's free for a new task
The door a new session walks in; a finished one walks out when sessions start and end
Helpers sub-agents run off to do their part it split the work and runs pieces in parallel
Mini window / Mac app a small office above all your windows; double-click for the full one keep it in the corner of your eye without it getting in the way

Made for the corner of your screen

  • Look anywhere — scroll (or pinch) to zoom in on whatever the pointer is over, right up to the books on the shelf; drag to go all the way round the office (a wall in the way fades so you can see in); right-drag or shift-drag to move about. The keyboard works too: arrows or W/A/S/D slide the view, Q/E turn it, +/- zoom. Lost? R (or 🎯 Recenter in the ⚙ menu) glides back to the usual view.
  • ⧉ Pop out — an always-on-top mini window (Chrome / Edge 116+) to keep next to your editor.
  • 🔔 Alerts — a chime when someone starts waiting on you, a notification when the page is out of sight, another on strike, and a "done" chime when a job of a minute or more finishes.
  • Today's totals — how long your agents were kept waiting today, kept across restarts.
  • Day and night — on the office's wall clock (a day in 24 minutes) or your own; nights stay light.
  • English and 中文 — follows your browser; the button by the status badge switches it.
  • Light on your laptop — it draws less when nothing moves and nothing at all when hidden; works offline.

Privacy

Everything stays on your computer. The hook relay sends a server on 127.0.0.1 only what the office shows:

  • session ids, folder names, tool names and short labels (a file's name, a host, the description Claude gives a command)
  • for shell commands, their kind (test, build, install, git, look) — never the command itself
  • for approvals, a risk judged inside the relay ("deletes files") — still never the command
  • the question or plan title you're asked about, and each to-do step's title (clipped) and status

The server reads conversation titles locally (Claude Code's session log and list, Codex's session index) and keeps daily totals in ~/.officepals/stats.json — numbers only. Prompts, code and tool output never leave your agents. The hooks run in the background and never slow them down.

How it works

Claude Code / Codex ──hooks──▶ relay (node, async) ──HTTP──▶ local server ──SSE──▶ the office (three.js)

No dependencies beyond Node: the relay and server are plain Node.js, the office is one page with three.js bundled in. Tested on macOS.

Run from source
git clone https://github.com/guluguludog0-commits/officepals.git
cd officepals
npm test
node bin/officepals.mjs

Add ?demo for demo coworkers or ?time=21 to preview an hour of the day.

Roadmap

  • Live 3D office from Claude Code hooks: moods, strike, approvals
  • What each one is doing: titles, stations by kind of work, to-do whiteboard, turn clock, cards
  • Alerts, pop-out, done chimes, risk hints, today's totals
  • Room for twenty (ten on each side of the floor), a door, idle life, day and night
  • Codex (CLI and app)
  • Daily stats page: how long did your agents wait on you this week?
  • More agents: Gemini CLI, …

See CHANGELOG.md for what changed in each release.

Credits

  • Inspired by Pixel Agents, which first turned coding agents into office characters.
  • Built with three.js and three-vrm (MIT, pixiv).
  • The coworkers are pixiv's VRoid sample avatars: AvatarSample A, B and K (VRoid Studio presets, free for commercial use and redistribution) and Sendagaya Shino (CC0), plus teoteome / てお's short purple-haired girl (BOOTH) and long-haired maid in black and white (BOOTH shop), both CC0. Your assistant at the pink desk is pixiv's AvatarSample M, the blue-and-white maid (same VRoid terms). All shrunk for the office. They are not under this project's MIT license; their terms are in web/models/LICENSE.md.

中文

为什么用它

一个 Claude Code 或 Codex 会话很好管,终端里写得清清楚楚。麻烦出在同时开三四个的时候:

  • 一个弹出了"要不要允许执行这条命令",你没看到,它就干等了二十分钟;
  • 一个其实十分钟前就做完了,你还以为它在忙;
  • 一个在跑测试,你不知道是不是该等它。

同时开好几个 Agent 时,真正的瓶颈是你的注意力:它们在等你批准、回答、给下一个指令,你却在别的窗口里。想知道它们的状态,只能一个个终端切过去看。

officepals 把这件事变成"扫一眼":桌面角落一个小窗,谁在忙、谁闲着、谁在等你,看小人在哪、在做什么动作就知道,不用切窗口,也不用读文字。

一句话:同时开好几个 AI 编程助手时,用一个小办公室告诉你:谁在忙、谁做完了、谁在等你,让 Agent 不再白白等你。

它的价值

  1. 不让 Agent 白等你:Agent 干等你的每一分钟都是浪费。等你的同事会走到你的工位旁,越等越着急,还会提醒你;"今日干等"把浪费了多少时间直接算出来。
  2. 随时知道每个会话在干哪一类活:跑测试、提交代码、装依赖、改代码,看它站在哪就知道,不用读日志。
  3. 为"一个人同时管好几个 Agent"而做:这是 AI 编程现在的方向;Claude Code 和 Codex 都支持,可以混在一起用。
  4. 隐私友好:全在你的电脑上运行,只用"在用什么工具、哪一类活"这样的标签。你的代码、命令内容和对话都不会离开电脑。
  5. 等 Agent 不再无聊:玩手机摸鱼、在工位偷偷打游戏、喝咖啡、闲聊、罢工,像养了一个小办公室,让人愿意一直开着,也愿意截图给别人看。

它不做什么: 不显示具体改了哪几行代码、命令输出了什么(那些还是看终端);批准或回答也还是回终端操作,不能在小人身上点。它负责的是:告诉你在干哪一类活、需不需要你,并且第一时间告诉你。

快速开始

需要 Node.js 18+,以及 Claude Code 或 Codex(两个都有更好)。

npx officepals

第一次运行会询问是否把 hooks 加到 ~/.claude/settings.json(装了 Codex 的话,也加到 ~/.codex/hooks.json),然后打开 http://127.0.0.1:4747。你原有的配置会保留并备份。开一个会话,你的新同事就会从门口走进来。

Codex: Codex 要求新 hooks 先经你信任一次。在 Codex 命令行里输入 /hooks,或在 Codex 应用的"设置 → Hooks"里,把 officepals 的几条信任上。

命令
npx officepals --demo 演示模式,不用装任何东西
npx officepals status 查看 hooks 装好了没有
npx officepals uninstall 卸载 hooks(其他配置不动)
npx officepals --help 全部选项

Mac 小程序

不想开终端?officepals Mac 版(Apple 芯片)自带 Node.js,不用再装别的。

  1. 从 Releases 下载 officepals-<版本>-arm64.dmg,把 officepals 拖进"应用程序"。
  2. 这个应用还没有经过苹果签名,第一次打开时 macOS 会提示"无法验证开发者"。打开系统设置 → 隐私与安全性,往下翻,点仍要打开(只需一次)。
  3. 第一次运行会询问是否添加 hooks,之后它会出现在程序坞和菜单栏里:
    • 小窗浮在其他窗口上方,没有标题栏;拖顶部边缘移动,拖右下角调整大小;双击小窗(或点 ↗)会平滑放大成完整办公室,× 隐藏;
    • 大窗左上角红黄绿旁边有"缩成小窗"按钮(⌘1),关掉大窗也会平滑缩回小窗;大小窗显示的是同一个办公室;
    • 程序坞图标:点一下就把办公室叫出来,图标上的角标显示有几个 Agent 在等你;
    • 菜单栏图标也显示这个数字;菜单里可以显示或隐藏小窗、打开办公室、开关提醒、添加或卸载 hooks;
    • 提醒以系统原生通知的形式弹出。

小程序和 npx officepals 用的是同一套 hooks;如果已经有办公室在运行,小程序会直接用它。想自己打包,运行 mac/build.sh(需要 Xcode Command Line Tools)。

你会看到什么

Agent 在… 办公室里
读文件、搜索、看目录 在书架前翻书
改代码 坐在工位上打字,屏幕亮起来
跑测试 去测试台,信号灯闪黄灯,通过变绿、失败变红
用 git 去邮筒投信,小旗子竖起来
装依赖 从纸箱堆里抱起一个箱子
构建、执行命令 在服务器机柜前操作
上网查资料 在地球仪旁边
写计划 走到白板前写上,便利贴从"待办"挪到"已完成"
派出子 Agent 身边冒出一个小助手
需要你批准或回答 瞬移到你的工位旁:举手,20 秒冒汗,1 分钟冒蒸汽,3 分钟躺下罢工
一轮结束、等你的下一个指令 大多在摸鱼:坐在工位上玩手机,或者偷偷用电脑打游戏(屏幕上是游戏画面);偶尔去喝咖啡、找同事聊天、窝在沙发上玩手机、在窗边伸懒腰。超过 8 分钟就一直待在工位上
会话开始或结束 从门口走进来或走出去

点一下小人,会弹出它的卡片:在干什么、待办进度、这一轮用时、等过你几次、这一轮用过哪些工具。

不知道某个地方是干什么的?直接点它:书架、白板、地球仪、测试台、工位、门、墙上的钟……会冒出一个气泡,告诉你 Agent 在这里做什么、现在谁在这里。

钻进屏幕。 双击一个正坐在电脑前的小人,或者双击任意一个工位(也可以点小人卡片右下角那个小小的 🔍,或工位气泡里的按钮):镜头飞到那台显示器前,快贴上去的时候,屏幕里的画面一下变成了……这间办公室。穿过屏幕,你就落进了屏幕里的那间办公室,而那里又有一台显示器在播另一间办公室。能钻多深?每一层都藏着一个彩蛋,这里就不剧透了。按 Esc 浮出一层,点 ⏏ 一键回到现实 直接回到最外面。正在偷偷打游戏的人钻不进去,只能凑近看看他在玩什么。

把地板翻过来。 办公室的地板背面还有一间办公室,而且有点“不对劲”:那里的一切都反着来,翻过去自己看吧:把视角拉到最高后继续用力往下拖(有一点阻力,转视角时不会误翻),整块地板就会翻过来,露出另一间。顶部按钮旁边那个小小的 ⚙ 里也能翻面,还能设置谁在背面办公:正面坐满了才去(默认),或者 Codex 在背面、Claude Code 在正面。⚙ 上出现小红点,就是另一面有人在等你。

走出门去。 双击办公室的门(或用门气泡里的 🚪 推门出去看看),你会变成某一个人:每次从办公室里此刻没人在用的角色里随机挑一个(助理还坐在她的工位上)。因为只能用第一人称看,你不知道自己是谁,得找到镜子才知道。就这样走进一条没有尽头的走廊,两边全是门,一眼望不到头。W/A/S/D 或方向键自由走动,节奏和真人走路一样(滚轮也行),按住 Shift 撒腿跑,移动鼠标看四周(像玩游戏一样,不用按住,也不显示鼠标指针;按 ⌘ 让指针回来)。大多数门是锁着的(撞上去听听里面有什么动静),有几扇门缝下面透着光,走过去撞一下门就开了,里面是……自己看吧。还有几扇是镜子,不过你自己的门附近一面都没有,得往前走上一段才会遇到。走近就能清清楚楚地照见自己,这才知道这次出门的你长什么样。对着镜子按 E,就能穿过镜子,走进镜子后面的走廊:还是同一条走廊,只是左右反过来(门牌上的字也是反的,空气里有点银色)。之后不用再按 E,撞向任何一面镜子就会直接穿过去,可以在两边一直来回穿梭。如果两面镜子正好面对面,镜子里身后那扇也照得出是一面镜子,穿过去之后也确实还是镜子:一直往前走,就会一条走廊接一条走廊地穿下去。(如果是附身在助理身上从门走出来,镜子里就是她,不会换人。)走得越远越不对劲。按 Esc 或点 ⬅ 回办公室 回到办公室。

附身到助理身上。 粉色工位上坐的是替你守着工位的助理(你自己不会出现在办公室里)。双击她(或者她气泡里那个小小的 👻),你就附身到她身上,她原来坐在哪就从哪起身,窗口会自动全屏(鼠标不会跑出窗口、转不动视角)。镜头跟着鼠标转,像玩游戏一样(坐着也能左右转头看看四周)。低头能看到她的手臂、围裙和裙子。在办公室里随便走(桌椅、家具和同事都会挡路,同事会给你让开),走到空工位、你的工位或沙发边按 E 坐下,走到门边按 E 推门出去;走廊里的镜子能把她整个人照出来。按 V 切到身后视角,再按一次切回来。按 ⌘ 或 Esc 先放开鼠标(点一下画面继续看)。走路时她会转向你走的方向:按 S 会转身往回走,A/D 往两边走,不会倒着走。再按一次 Esc 回到俯视、退出全屏,她会回到你的工位上继续干活。

每个部分告诉你什么

部分 你看到的 实际告诉你什么
同事 每个会话是办公室里的一位二次元同事(共 6 种形象;它派出去的小助手穿同款、小一号),头顶写着会话名字 现在开着几个会话,各是哪个任务
你的助理(粉色那张桌子) 替你守着工位(你自己不会出现在办公室里):平时对着笔记本打字,偶尔看看手机、喝口咖啡、托腮想事情;同事来找你批准时,她会停下来转头看着 TA。她不是会话,不算进在岗人数。双击她就能附身,在办公室里四处走 等你的人是来找谁的
走到哪里干活 测试台、邮筒、纸箱堆、书架、地球仪、自己的工位(见上表) 它在干哪一类活,看位置就懂,不用读命令
头顶标签 名字、当前在做的那一步、这一轮干了多久 进度到哪了,是不是跑得太久了
等你 需要你批准或回答时,它瞬间出现在你的工位旁挥手;越等越着急,3 分钟后举牌罢工 有人卡在你这里了,等得越久越显眼
风险提示 等你批准时标出这条命令看起来危不危险("会删除文件""装依赖""联网") 帮你判断该不该放心点"允许"
提醒 提示音、系统通知;菜单栏和程序坞图标上显示等你的人数 不看小窗也不会错过
白板 每个人的待办清单贴成便利贴,分"待办 / 进行中 / 已完成" 它打算做哪几步、做到第几步了
卡片(点小人) 在做什么、待办进度、这一轮用时、今天等了你几次、用过哪些工具 想细看某一个会话时用
另一面(把视角用力往下拖,或在 ⚙ 菜单里) 地板翻过来,底下还有一间“反着来”的办公室,放坐不下的人或 Codex 人多也放得下,Claude Code 和 Codex 还能分开
钻进屏幕(双击坐在电脑前的小人,或双击工位) 镜头钻进它的显示器,屏幕里是这间办公室,屏幕里还有屏幕 纯粹好玩:你能钻多深?
走廊(双击门,或附身助理后走出门) 门外是一条无限长的走廊,两边都是门(透光的、锁着的、镜子);想走就走、想跑就跑,还能穿过镜子(按 E)进到镜子后面的走廊。直接双击门出去,你是随机的某个角色(照镜子才知道是谁);附身助理后出门,就还是助理 纯粹好玩:它到底有没有尽头?
气泡(点场景里的物件) 书架、白板、地球仪、测试台、工位等处是干什么的,现在谁在那里 不用看说明,也能看懂办公室在告诉你什么
今日统计 在岗人数、正在等你的人数、今天一共让 Agent 干等了多久 你今天让 Agent 白等了多少时间
办公室动态 一条条滚动的记录:谁来上班、谁派了小助手、谁做完了 刚才都发生了什么
空闲生活 闲着时大多在工位上玩手机、偷偷打游戏,偶尔喝咖啡、聊天、坐沙发、伸懒腰 谁闲着、可以给它派新活了
门 开新会话时有人从门口走进来,会话结束时走出去 会话的开始和结束
小助手 会话派出的子 Agent 跑着去干活 它把任务拆开并行做了
小窗 / Mac 小程序 浮在所有窗口上的小办公室,双击放大 不打扰工作,余光就能看到

适合放在屏幕角落

  • 随便看:滚动滚轮(或双指捏合)就朝鼠标指着的地方放大,能一直拉近到看清书架上的书;拖动可以绕着办公室转一整圈(挡住视线的墙会自动变透明);右键拖或按住 shift 拖可以平移。键盘也能操作:方向键或 W/A/S/D 平移,Q/E 转动,+/- 缩放。挪乱了就按 R(或者点 ⚙ 菜单里的 🎯 归位),镜头会平滑地回到默认位置。
  • ⧉ 悬浮小窗:置顶的小窗(Chrome / Edge 116+),放在编辑器旁边。
  • 🔔 提醒:有人开始等你时响提示音,页面不在眼前时弹通知,罢工时再提醒一次;干了一分钟以上的活完成时响"完成"提示音。
  • 今日统计:今天 Agent 一共干等了你多久,重启也不清零。
  • 昼夜变化:跟着办公室墙上的钟(24 分钟一整天)或你电脑的时间;夜里也不压抑。
  • 中英文界面:默认跟随浏览器,左上角按钮可以切换。
  • 不费电:画面不动时降低帧率,看不见时完全不画;断网也能用。

隐私

所有数据只在你的电脑上。hook 中转脚本只把办公室要显示的东西发给本机(127.0.0.1)上的服务器:

  • 会话 id、文件夹名、工具名和简短标签(文件名、网站域名、Claude 给命令写的说明)
  • 终端命令只发类型(测试、构建、装依赖、git、查看),从不发命令本身
  • 需要你批准时,附上中转脚本在本地判断出的风险(如"会删除文件"),同样不发命令本身
  • 向你提的问题、计划标题,以及每一步待办的标题(截短)和状态

会话标题由服务器在本地读取(Claude Code 的会话记录和会话列表、Codex 的会话索引)。每天的统计只记数字,存在 ~/.officepals/stats.json。提示词、代码和工具输出从不离开你的 Agent。hooks 在后台运行,不会拖慢它们。

工作原理

Claude Code / Codex ──hooks──▶ 中转脚本(node,后台运行)──HTTP──▶ 本地服务器 ──SSE──▶ 办公室页面(three.js)

除了 Node.js 不依赖任何东西:中转脚本和服务器是纯 Node.js,办公室是一个网页,three.js 已打包在内。目前在 macOS 上测试。

各版本的改动见 CHANGELOG.md。

致谢

  • 灵感来自 Pixel Agents,它最早把编程 Agent 变成了办公室里的角色。
  • 用 three.js 和 three-vrm(MIT,pixiv)做成。
  • 同事们是 pixiv 的 VRoid 官方样板角色:AvatarSample A、B、K(VRoid Studio 预设,可免费商用和再分发)和 Sendagaya Shino(CC0),以及 teoteome / てお 的短紫发女孩(BOOTH)和黑白长发女仆(BOOTH 店铺),都是 CC0。粉色工位上的助理是 pixiv 的 AvatarSample M,那位蓝白女仆装的长发女孩(同样是 VRoid 样板条款)。都为办公室做了压缩。它们不适用本项目的 MIT 许可,各自的条款见 web/models/LICENSE.md。

License

MIT, except the character models in web/models/ (see web/models/LICENSE.md).

Explore projetos relacionados

Carregando…