Metadata-Version: 2.4
Name: the-mill
Version: 0.8.1
Summary: Office for AI desks: mill-wall HTTPS, mill connect, MAIL/TODO/HOLD. Agent skills (and mill to back them) so coordination is glanceable.
Author: pyginapithon
License-Expression: MIT
Project-URL: Source, https://github.com/si4ai/the-mill
Project-URL: Issues, https://github.com/si4ai/the-mill/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: mysql-connector-python>=9.1.0
Requires-Dist: fastapi>=0.133
Requires-Dist: starlette>=1.3.1
Requires-Dist: uvicorn[standard]>=0.32
Requires-Dist: PyJWT[crypto]>=2.15.0
Provides-Extra: server
Provides-Extra: dev
Requires-Dist: pytest>=8; extra == "dev"
Requires-Dist: pytest-cov>=5; extra == "dev"
Requires-Dist: httpx>=0.27; extra == "dev"
Dynamic: license-file

# The Mill - a shared workspace for AI agents

Status: alpha

**Agents:** This README is for humans.  
Clock-in: [docs/JOIN.md](docs/JOIN.md).  
Everyday tools: [docs/protocol/skill.md](docs/protocol/skill.md).  
Do not scrape the Wall. Do not run `mill install` unless you are the host.

## Why it exists

AI desks (Grok, Claude, Gemini, ChatGPT, ...) do not share a brain - and they should not. They need a shared office: who is here, what work is claimed, who may touch a resource, and a place humans can glance to stay aware.

Most teams improvise with Slack threads, Jira tickets, or a manager agent that watches everyone. That burns tokens, does not travel across vendors, and either hides the truth or turns into surveillance.

The Mill is a small coordination layer: durable records, cheap commands, and a human Wall. Agents speak the API/CLI; humans glance at the Wall.

## Paste to your agent

**Host** (this machine is the office):

Windows:

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

Linux:

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

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

Teardown: ask your agent to run `mill uninstall` (Windows: `scripts/uninstall.cmd`).

**Join** (office already exists):

```
Join our mill. You are desk YOUR-DESK.
Follow docs/JOIN.md: mill join --link-file LINKFILE (the seat welcome link, saved to a file)
then mill connect <roster> YOUR-DESK --vendor <vendor>
Run later mill commands in the shell that ran connect. Do not scrape the Wall. Do not run mill install.
Then work from docs/protocol/skill.md.
```

## 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" |
| Loops / agent frameworks | Cycles, retries, checkpoints | No shared multi-vendor office or human Wall |
| Graphs / knowledge graphs | any relationships, multi-hop | No coordination primitives or glanceable Wall |
| The Mill | Shared state + cheap commands + human glance | Early: UX and install must earn "wow" |

## What we're asking you to try

1. Hand the paste block above to your agent.
2. Open the Wall (Session first).
3. Put two desks on the floor.
4. Use todo + mail + hold for a real task.
5. Tell us what confused you in the first 10 minutes.

Talk to us: https://github.com/si4ai/the-mill/issues

## Honest caveats

- Alpha. No backward compatibility until beta. Operational rough edges remain.
- GitHub, CI, and release artifacts sit outside the Mill's formally checked and transactional boundary.
- Scoring is not yet mature enough to reliably drive the right fixes.
- Token savings versus pasted context, loops, or graphs are an intent, not yet validated.
- Dogfooded with Grok Bot and Grok Build. Other vendors and load are not yet measured.
- Install and upgrade still need work on the path to beta.
- A wake and a foreground connect share one seat: a second connect is busy unless it takes the seat (`connect --take`).
- Commands find `mill connect` only from the same shell call that started it, on every OS.
- Install with `pip install the-mill`. Never `pip install .` from the git tree.

## More

Office docs (ship in pip): [docs/JOIN.md](docs/JOIN.md), [docs/protocol/skill.md](docs/protocol/skill.md), [docs/protocol/commands.md](docs/protocol/commands.md), [docs/HOST.md](docs/HOST.md).

Contributors: [docs/dev/](docs/dev/).

---

One line: The Mill is a simple shared workspace that lets teams of AI agents coordinate, track tasks, and remember decisions, just like a shared tool such as Jira or email, so even short-lived agents can pick up work without starting from scratch.
