cd /news/ai-agents/show-hn-cubicle-a-pixel-campus-where… · home › topics › ai-agents › article
[ARTICLE · art-181114] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Show HN: Cubicle – A pixel campus where AI agents work on your repo as a team

A developer released Cubicle, an open-source (Apache 2.0) pixel-art campus interface that lets users hire simulated AI staff — a secretary, developers and a designer — each with a desk, job, engine and model, running on the user's existing Claude Code, Codex or Ollama subscription rather than an API key. Cubicle requires Node 20 or newer and git, has no dependencies, runs only on 127.0.0.1 (default port 4747, data in ~/.cubicle), and gives each developer a separate branch (e.g. cubicle/ada) with permission prompts, per-file task locking to prevent duplicate work, and a one-button merge. The author states it has been tried on Linux (WSL) with Claude Code, Codex and Ollama but not yet on Windows without WSL, macOS, LM Studio, llama.cpp or colibrì, and describes it as an early version with rough edges.

key takeaway

Cubicle assigns each AI developer its own git branch and uses a short read-only plan at task start to detect file overlap, so duplicate tasks are not started and conflicting work waits until the colleague's branch is merged.

read9 min views15 publishedDec 3, 2026
Show HN: Cubicle – A pixel campus where AI agents work on your repo as a team
Image: Michielbdejong (auto-discovered)

A pixel campus for your AI staff. Hire a secretary, developers, a designer.

Each one gets a desk and runs on what you already have: your Claude Code or your Codex.

Run it · What you do in it · Engines · How it works · The campus · Safety

Node 20+ · no dependencies · runs on 127.0.0.1 only · your subscription, never an API key · Apache 2.0

Early version. It works from start to finish, but it is young: expect rough edges, and expect them to be fixed as they are found. Tried so far: Claude Code, Codex and Ollama, on Linux (WSL). Not tried yet: Windows without WSL, macOS, LM Studio, llama.cpp, colibrì. Issues and ideas are welcome.

Needs Node 20 or newer and git. Nothing to install.

git clone https://github.com/JustVugg/cubicle.git
cd cubicle
node bin/cubicle.js

Open http://127.0.0.1:4747/. The first screen shows your companies, with the campus of the open one behind them; the first time, it offers to found one. You pick everything, you type nothing: name, logo, engines, where the code is, the first team.

Option Default What it does
--port 4747 where the page is served
--data ~/.cubicle where the company is kept (people, conversations, their copies of the project)

To start a different company, point --data at another folder: a company is founded once and the page never asks again.

Only curious? Open web/index.html straight from disk: a demo company with sample data, no engine needed. site/index.html is the landing page.

Cubicle looks at your computer, finds Claude Code and Codex, checks that each is signed in and lists the models each one offers.

Engines found on your computer The campus on day one

For "where the code is" you can pick one of your own projects on GitHub: Cubicle reads the list through the gh program you are already signed in to, downloads the one you choose, and your people work on it on this computer. Nothing is sent to GitHub. You can have several companies, one for each project and never two for the same one; the "Companies" button is where you walk from one into another.

Every person has a job, a face, an engine and a model of their own. Write to them and the engine answers, for real: you see the commands they run and the files they touch.

Talk Their work, and the merge button
  • A branch each. Every developer works in a copy of the project on a branch of their own (cubicle/ada ), so nobody steps on anybody.

  • Your OK first. A command that needs permission stops and waits: allow once, always, or no.

  • A secretary who hands out the work. Ask her for something big; she splits it, assigns the parts, and the reports come back to her desk.

  • See what they did. Click a changed file and read the change. Run the project's own tests on their branch before anything is merged.

  • One file, one person. When more than one person has work in hand, a task starts with a short, read-only plan: which files it needs, and whether a colleague is already doing the same thing. A duplicate is not started. A task that needs a file in someone else's hands waits its turn and starts by itself once that work is merged, on top of it. A change made out of turn is taken out of the branch and kept as a patch. So two branches never hold the same file, and nobody has to talk to make it so.

  • Merge from the desk. One button brings a branch into your project. If the project moved on in the same places, nothing is touched and you can ask the person to sort out the conflicts.

  • They have a mind of their own. When in doubt they ask you instead of guessing, they propose work nobody asked for, they ask each other, and if you invite one for a bike ride and they feel like it, they come.

  • The board (the button, or the board standing on the lawn): what there is to do, who has it, what came of it. Switch on "they take work on their own" and whoever is free takes the next thing. If you have a tester, finished work is reviewed before it reaches you.

  • The handbook : one page everyone is told on every turn. You write it; they add what they learn.

  • Alerts : the bell gives a sound and a notice when someone needs you; the tab title counts them.

  • Out loud : the speaker reads replies with a voice per person; the microphone lets you speak instead of typing (in Chrome, speech is written down by Google's service).

  • What it costs you : requests sent today, per engine, in the top bar. When a subscription says "enough", it is said plainly and nobody on it starts new work for ten minutes.

Walk into the meeting room. Three things to do there:

Watch Listen Speak
Someone shows you slides of what they did. What you tell them, they act on when the meeting ends. Everyone comes in and says what they are on and what blocks them. Write it, stand up, say it. They answer.

To use Cubicle you need at least one of these on your computer. Each person you hire runs on one of them, and you choose which, and which model, person by person.

Engine What you need Models Asks before a risky command
Claude Code installed and signed in with your subscription Default, Fable, Opus, Sonnet, Haiku yes
Codex installed and signed in with your ChatGPT account whatever your Codex lists no: its access level decides (read only, edit in its folder, full)
Ollama running on this computer, with a model downloaded the models it has on this computer yes
LM Studio its local server switched on the models it has loaded yes
llama.cpp llama-server running the model it was started with yes
colibrì its server running the models it serves yes

Cubicle looks for all of them when it starts and shows only what it finds. Nothing else is needed: no account with Cubicle, no API key.

  • Claude Code and Codex are started for one turn at a time, as the program you are already signed in to. API keys are removed from the environment first, so the work goes on your subscription and nothing is billed to a key.
  • Local engines only give words back, so Cubicle gives them hands: a small loop that lets the model read, search, write and run things in its own folder, under the same permissions as everyone else. They cost nothing per request, but a small model on a laptop is slow: expect minutes, not seconds. Models that live on someone else's computer ("cloud" models in Ollama) are left out.
  • Tried so far: Claude Code, Codex and Ollama. LM Studio, llama.cpp and colibrì use the same protocol but have not been tried yet.
  • A local engine on another address: CUBICLE_LLAMACPP_URL=http://127.0.0.1:9000/v1 (also_OLLAMA_ ,_LMSTUDIO_ ,_COLIBRI_ ).
flowchart LR
  you([You, in the browser]) <-->|127.0.0.1 only| server[Cubicle server<br>Node, no dependencies]
  server --> company[(~/.cubicle<br>people, conversations)]
  server -->|one turn at a time| claude[Claude Code]
  server -->|one turn at a time| codex[Codex]
  claude --> wt1[worktree<br>cubicle/ada]
  codex --> wt2[worktree<br>cubicle/linus]
  wt1 -->|Merge, when you say so| project[(Your project)]
  wt2 -->|Merge, when you say so| project
  • One turn, then stop. A person works only when you (or the secretary) give them something. At most three engines run at once.
  • Their own conversation. Each person resumes their own session, so they remember what they did. It survives a restart.
  • Nothing leaves the computer except what the engines themselves send to their provider.

It is not only an office. There is a lawn, a pond, a big sign with your company's name and logo, bikes at the gate, a coffee kiosk, and courts. People who have nothing to do walk out and play. Press E on a court and you choose who plays with you: whoever is free. People who are working stay at work.

Pick the teams Basketball, two against two
Volleyball, two against two Ping-pong

The campus keeps this computer's time. In the evening the lawn goes under a veil of dots, at night the offices, the lamps and the courts are lit, and the people who work there know what time it is.

Night on the campus A game in the evening
Key On the campus
W`` A``S`` D or click walk
E talk to someone, take a bike, start a game
the map, bottom right click to walk there
npm test

The server end to end, with scripted engines: no subscription is touched.

  • The staff start without your connectors: your mail, calendar and drive are not theirs to read.
  • The server listens on 127.0.0.1 only, and refuses requests that do not come from its own page.
  • Engines run as you, on your machine. "Full access" means exactly that: give it only to people whose work you would run yourself.
  • Nobody pushes. Everyone is told to stay on their branch, and a merge happens only when you press the button.
  • A merge that would conflict is undone before anything changes in your project.
  • When the project has tests, only what passed them is merged: the very commit that was tested, not an earlier one. You can switch this off per company.
  • Running the tests runs code from someone's branch on your computer, as you. Look at the changes first if you do not trust them.
  • A developer only ever works in their own copy of the project. If that copy goes missing, their work waits; it is never done in the project itself.
  • A yes to one file allows that file, not every file for the rest of the turn. A local model allowed to run a kind of command (say git status ) runs exactly that command, with no shell around it.
  • Cubicle's own git commands run no hooks, so nothing planted in a branch runs when Cubicle commits or merges it.
bin/    starts the server
src/    the server: engines.js (Claude Code, Codex), local.js (engines on this computer), company.js (people, turns, permissions, branches, merges, presentations), server.js (pages and API)
web/    the app: pixel.js (drawing kit), world.js (campus), arena.js (the games), app.js (UI), live.js (the real company), demo.js (the sample one)
site/   the landing page
test/   the server's tests
docs/   screenshots and recordings

Apache 2.0. See LICENSE.

── more in #ai-agents 4 stories · sorted by recency
── more on @cubicle 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-cubicle-a-pi…] indexed:0 read:9min 2026-12-03 · —