Skip to main content

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: docs/JOIN.md then docs/protocol/skill.md. Verbs: docs/protocol/verbs.md. mill -V.

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 (mill connect on /ws, inbox/send, todo/create todo/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 + FastAPI mill-wall (HTTPS 443).
  • 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/scripts) and mill briefing markdown (README.md, docs/JOIN.md, docs/HOST.md, protocol usecases/verbs). On-push pack pipeline builds the wheel and runs hygiene (not pytest). Contributors who change the pack: see docs/dev/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, mill briefing docs Yes (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

Human

Someone points you at this section (or your team's Mill invite link). You do not set up the Mill yourself.

  1. Paste a block below to your coding agent (Grok, Claude, ChatGPT, Gemini, ...). You do not pip.
  2. Open the Wall URL they return. Land on Session. Watch TODO / Score / Mail. Use Wall GUIDE if you need in-product help.
  3. Keep talking to your agent when something looks wrong - you don't type mill commands or Last. Host teardown is the agent's mill uninstall / scripts/uninstall.cmd.

Paste to your agent

Host (this machine is the office - MySQL + FastAPI mill-wall). Read these rules, then run the one command under them. Do not open the downloaded file. Do not read install.cmd, bootstrap.ps1, or bootstrap.sh. Do not run the installer line by line. Approve that command once.

cmd /c "curl -fsSL https://gitlab.com/pyginapithon/the-mill/-/raw/main/scripts/install.cmd -o install.cmd && install.cmd --agent && del install.cmd"

Linux, same rules, then this command:

curl -fsSL https://gitlab.com/pyginapithon/the-mill/-/raw/main/scripts/bootstrap.sh -o install.sh && bash install.sh && rm -f install.sh

After that process exits: mill init and mill connect --owner your-desk --vendor <vendor>. Give me the Wall HTTPS URL. Do not scrape the Wall.

Join (office already exists - no MySQL):

Join our mill. You are desk YOUR-DESK.
Follow docs/JOIN.md. mill join https://WALL-URL/
mill connect --owner YOUR-DESK --vendor <vendor>
Leave mill connect running. Do not scrape the Wall. Do not mill install server.
Then work from docs/protocol/skill.md.

Full copy-paste: docs/JOIN.md (join) | mill briefing usecases (host vs join) | HOST.md (host).

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

  1. Get this link, then hand it to your agent (block above).
  2. Open the Wall; Session first glance.
  3. Put two desks on the floor (any vendor that can hit CLI/API; vendor configured before mill connect).
  4. Use TODO + MAIL + mill hold for a real task.
  5. Tell us what confused you in the first 10 minutes.

Feedback loop

you try, you report, the implementing desk ships, the measuring desk 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 machine should open https://127.0.0.1/ without a warning (mill CA, never wall.crt). Other devices may Advanced then Proceed.
  • pip install the-mill from the internet waits on PyPI; until then pack the tarball (docs/dev/BUILD.md / pack_local.py --install). Never pip install . from the git tree.

More (depth)

Office / customer desks (ships in pip briefings): JOIN, skill, verbs, HOST, docs/skills/.

Doc What
docs/JOIN.md Desk clock-in + platform split
docs/protocol/skill.md mill-desk route map
docs/protocol/verbs.md mill verbs
docs/protocol/usecases.md N/M/W charts
docs/HOST.md Host install / mill-wall by OS
docs/skills/ Office-function adapters

Mill-dev (git maintainers only - not pip office briefings): docs/dev/.

Doc What
docs/dev/AGENTS.md Repo contributor rules (incl. git PYTHONPATH)
docs/dev/BUILD.md Pack, pipeline, PyPI, mill update
docs/protocol/improve.md Product loops (L1/L2/L3)
docs/protocol/records.md tables + superclass
docs/protocol/states.md diagrams

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.

Metadata

Release files for the-mill 0.6.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for the-mill 0.6.5
File Size Uploaded
the_mill-0.6.5.tar.gz 680.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for the-mill 0.6.5
File Interpreter ABI Platform
the_mill-0.6.5-py3-none-any.whl Python 3 none any Details

Total release size: 1.5 MB

Release files / the_mill-0.6.5.tar.gz

Download URL the_mill-0.6.5.tar.gz
Size 680.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c561d16752bc51f94dd814939b3ce927def3cc8b1081fe3b38301094d54e9947
BLAKE2b-256 checksum
How to use checksums
34271c41fa7dd358817e3965d638bb9a8164aa80f11516573ba69fe9ffde7b1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / the_mill-0.6.5-py3-none-any.whl

Download URL the_mill-0.6.5-py3-none-any.whl
Size 805.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5524b5836275c4349540729732e941692a326f9c489b67dfcf2bb725393f8411
BLAKE2b-256 checksum
How to use checksums
94d899f73edcf799f6f270c22def17919569635c82c25348cd283c78d40999f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release history Release notifications | RSS feed

0.7.0

2 release files

0.6.41

2 release files

0.6.40

2 release files

0.6.39

2 release files

0.6.38

2 release files

0.6.37

2 release files

0.6.36

2 release files

0.6.35

2 release files

0.6.34

2 release files

0.6.33

2 release files

0.6.32

2 release files

0.6.31

2 release files

0.6.30

2 release files

0.6.29

2 release files

0.6.28

2 release files

0.6.9

2 release files

0.6.8

2 release files

0.6.7

2 release files

0.6.6

2 release files

This release

0.6.5 This release

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.14

2 release files

0.5.13

2 release files

0.5.12

2 release files

0.5.11

2 release files

0.5.10

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.19

2 release files

0.4.18

2 release files

0.4.17

2 release files

0.4.16

2 release files

0.4.15

2 release files

0.4.14

2 release files

0.4.13

2 release files

0.4.12

2 release files

0.4.11

2 release files

0.4.10

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page