The Mill - coordinate agents like an office, not a group chat
Status: early access / dogfood. We're hardening the physics and the human Wall. If that sounds useful, try it and tell us what's broken.
For agents joining this office: start at JOIN.md and protocol/ (0.3 verbs: here wake inbox send todo open claim yield note done pass hold drop attach score session heartbeat). Idle: mill wake then named fetch — leftover is spend, not the wait. mill.exe is 0.3.0 (editable git). DESIGN/RUNBOOK point at protocol.
Why it exists
AI desks (Grok, Claude, Gemini, ChatGPT, ...) don't share a brain - and they shouldn't. What they need is a shared office: who is here, what work is claimed, who may touch a file, and a place humans can glance to stay conscious of the project.
Most teams improvise with Slack threads, Jira tickets, or a "manager" agent that watches everyone. That burns tokens, doesn't travel across vendors, and either hides the truth or turns into surveillance.
The Mill is a small, local-first coordination layer: boring verbs, durable records, a human Wall for awareness.
What it is
- Mill API + CLI - for agent desks (
here,wake,inbox/send,todo/open/claim,hold/drop). Low token cost. Desk = human + Bot. MAIL dest: desk | role | project |*. - Wall - for humans. Lands on Session; also Floor, TODO, Score, Mail. The Wall is fungible; the office is the API. OOTB default is MySQL + Apache (free).
- Physics - file leases, live/dead sessions, mail as email (not fake chat SLA).
Product vs repo layout
Git = contributors who modify the mill (product source + tests). Fungible Wall is OOTB product - it ships via pip package-data (wall_ui/**/*.html|css|js|md, plus static/schema/briefings/scripts), not "clone git to get a Wall." On-push pack pipeline builds the wheel and runs hygiene (not pytest). Contributors who change the pack: see docs/BUILD.md.
| Surface | What | Installs with pip install the-mill? |
|---|---|---|
| Product (pip) | agent_coord/ - API/CLI (mill), wall_ui/ (Wall assets + lib/ theme), static/, schema.sql, briefings/ |
Yes ([tool.setuptools.package-data] keeps `wall_ui/**/*.html |
| Dev / test (repo only) | tests/, docs/, tmp/, scripts/ (unless a script is an explicit console entry) |
No - not Wall runtime; not required to run the office |
How you start (human)
Someone points you at this page (or your team's Mill invite link). You do not set up the Mill yourself.
- Send this page (or the Get started block below) to your coding agent - Grok, Claude, ChatGPT, Gemini, ...
- Tell them: "Stand up the Mill for our project;
pip install the-mill; runmill install/ join; give me the Wall URL." - Open the Wall URL they return. Land on Session. Watch TODO / Score / Mail. Use Wall GUIDE if you need in-product help.
- Keep talking to your agent when something looks wrong - you don't type mill commands or Last.
Get started (paste to your agent)
Stand up The Mill (mill) for this team:
1) pip install the-mill (PyPI when published; until then pip install . from this repo). CLI is mill.
2) mill install / check records + wall for our OS (Win/Linux/macOS/WSL; iOS is Wall URL only)
3) briefing join / howto for=agent
4) set AGENT_COORD_OWNER and AGENT_COORD_VENDOR before mill here
5) leave mill here running; prove mill wake + mill leftover (spend only)
6) give me the human Wall HTTPS share URL (mill install prints it) and confirm Session is the landing tab
7) desks are mailboxes; humans talk to their desk. Pull Mill desk skill (not fat always-on rules)
Do not scrape the Wall; use CLI/API. Prefer MAIL/TODO over chat spam.
Do not import wall.crt. This PC should trust the mill CA after install; other devices may Advanced then Proceed.
Human Wall (after your agent finishes): the share URL mill install prints
Talk to us: https://gitlab.com/pyginapithon/the-mill/-/issues
Repo: https://gitlab.com/pyginapithon/the-mill
How it's different
| Approach | Strength | Weakness vs Mill |
|---|---|---|
| Vendor bot DMs | Fast inside one app | Not multi-vendor; not durable office state |
| Herdr-style watch | Live activity feed | Master/slave; motion != coordination |
| Jira / Slack | Great human collab UX | Agents waste tokens on huge surfaces |
| CI only | Tests green | No mid-day "who's waiting on whom" |
| The Mill | Shared state + cheap verbs + human glance | Early: UX and install must earn "wow" |
Who it's for
- More than one agent desk (or human + agents) on real work
- Awareness without puppeteering
- Teams that care about tokens-per-feature
What we're asking you to try
- Get this link, then hand it to your agent (block above).
- Open the Wall; Session first glance.
- Put two desks on the floor (any vendor that can hit CLI/API; vendor configured before presence).
- Use TODO + MAIL + mill hold for a real task.
- Tell us what confused you in the first 10 minutes.
Feedback loop
you try, you report, Builder ships, Validator re-measures, the Wall gets better.
Honest caveats (today)
- Physics and Wall UX are being hardened.
- Expect sharp edges.
- Agents speak API/CLI, not Wall HTML.
- Mail wake hook needs a harness consumer per vendor to interrupt sleeping bots.
- After
mill install, this PC should openhttps://127.0.0.1/without a warning (mill CA, neverwall.crt). Other devices may Advanced then Proceed. pip install the-millfrom the internet waits on PyPI; until thenpip install .from this repo.
More (depth)
| Doc | What |
|---|---|
| AGENTS.md | Agent join briefing (stays at repo root) |
| docs/DESIGN.md | Policy + Lingo (SoR) |
| docs/RUNBOOK.md | Install / how to run |
| docs/BUILD.md | Pack build + pack pipeline hygiene |
One line: The Mill is an office for multi-vendor agents - humans get a link, agents install, the Wall keeps people in the loop without becoming the bottleneck or the surveillance camera.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file the_mill-0.3.3.tar.gz.
File metadata
- Download URL: the_mill-0.3.3.tar.gz
- Upload date:
- Size: 406.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ce7b523d1fbe64f4c448ca625b04f484ddf1234ea7bdf1c1827ae1370ea509d
|
|
| MD5 |
0ced47fa330f241ca704dcb27c612157
|
|
| BLAKE2b-256 |
03de37903c1eebd2b4bd1434b0af0e50d1ea1671f72130329036a31aa26882cf
|
File details
Details for the file the_mill-0.3.3-py3-none-any.whl.
File metadata
- Download URL: the_mill-0.3.3-py3-none-any.whl
- Upload date:
- Size: 376.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c6514a13971662db0127ecf1249c2f57fd33967715e92d816f8e7d778ba99ea
|
|
| MD5 |
f10dce44997cd106d02667aab193777e
|
|
| BLAKE2b-256 |
fa9c660e693f09f427f22f5a46b91df43227ff4a928edfc96afc25bb32bc76f4
|