Coedit
Write together. Let a council of models draft the spec.

Captured from the app running locally
- Before
- Docs, sheets, drawings and AI drafts in separate tools.
- What I built
- One realtime workspace with a model council.
Co-edit docs and spreadsheets live, draw on canvases beside them, and let an AI council on your own API key turn a rough idea into an engineering handoff pack. It runs locally with Docker Compose. The app itself is not hosted yet.
Live docs and sheets
A CRDT keeps several people typing at once, with shared cursors. Formulas recalculate in every open window.
Drawing canvases
Excalidraw canvases sit next to docs as files, with PNG and SVG export. Viewers get them read-only.
Roles enforced twice
The API checks owner, editor and viewer roles, and the sync server re-checks every connection every 30 seconds.
AI council
Models write drafts, score each other, then one synthesis writes AGENTS.md, ARCHITECTURE.md and PRD.md.
Careful with keys and spend
Saved keys are encrypted; custom-seat keys are used once and not stored. Runs have token and cost caps and an SSRF guard.
Hardened by default
Rate limiting, CSP and security headers, conflict-safe canvas saves and secret scanning on pull requests.
- Not deployed: it runs locally with Docker Compose.
- The council has had one real end-to-end run, on Gemini and Groq. The other adapters have not been run live.
- That a council beats a single model has not been measured.
- Canvas is single-user: no co-editing, images or version history.
- docLM has an evaluation harness and baseline; no model has been trained.
A music player that never asks for the internet.

