Flagship 03 / 04Realtime workspace + AI council

Coedit

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

Coedit document editor showing a planting plan

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.

3files per council run
3workspace roles
30slive role re-check
Visit site ↗ View on GitHub ↗
RoleSolo build
Next.jsTipTapYjs / HocuspocusFastAPIPostgreSQL 16ExcalidrawHyperFormulaDocker Compose
(00) DemoPress play
(01) What worksFrom the README

01

Live docs and sheets

A CRDT keeps several people typing at once, with shared cursors. Formulas recalculate in every open window.

02

Drawing canvases

Excalidraw canvases sit next to docs as files, with PNG and SVG export. Viewers get them read-only.

03

Roles enforced twice

The API checks owner, editor and viewer roles, and the sync server re-checks every connection every 30 seconds.

04

AI council

Models write drafts, score each other, then one synthesis writes AGENTS.md, ARCHITECTURE.md and PRD.md.

05

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.

06

Hardened by default

Rate limiting, CSP and security headers, conflict-safe canvas saves and secret scanning on pull requests.

(02) ArchitectureTwo services, one database
Web
Next.jsTipTapExcalidrawYjs
API
FastAPIAlembicAuth and rolesCouncil runs
Sync
HocuspocusWebSocketRole re-checks
Data
PostgreSQL 16Docker Compose
(03) Honest limitsFrom the README
  • 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.