CodeBoard is a local-first workspace for task-oriented multi-agent discussions with a Lead/Helper collaboration model, persistent artifacts, and task-scoped round orchestration.
CodeBoard is designed for work where quality depends on structured thinking, not just a single model response.
- It keeps discussion traceable: you can see how the team moved from raw ideas to a final draft.
- It separates roles clearly: helpers explore options and risks, lead consolidates direction and output.
- It preserves context across rounds: follow-ups continue the same task without losing prior reasoning.
- It stays local-first: project data and workflow remain under your control.
- It supports mixed model setups: cloud and local/openai-compatible sources can be used in one workspace.
The main advantage is predictable collaboration: less “prompt roulette”, more repeatable decision quality.
- Code implementation task
- You create a task like “Build a settings panel with validation”.
- Helpers propose approaches and edge cases.
- Lead produces a final draft that is implementation-ready.
- If needed, you continue discussion with follow-up constraints instead of restarting from scratch.
- Product decision
- You ask “Should we ship feature A in this sprint or defer it?”.
- Helpers surface trade-offs, risks, and dependencies.
- Lead consolidates into a clear recommendation with rationale and execution direction.
- Research or open question
- You ask a broad question where uncertainty is high.
- Helpers explore alternative hypotheses and objections.
- Lead narrows the result into a concise final answer you can act on.
- Case -> task hierarchy on Prisma + SQLite.
- Task-centered round engine with phase flow:
INITIAL_PROPOSALSLEAD_SYNTHESISOPEN_DISCUSSIONLEAD_REVIEWREVIEWFINALIZED
- Round artifacts (
RoundArtifact) for carry-over context and notebook-style notes. - Task-round scoped chat/events/submissions UI.
- UI role model:
LEAD,HELPER. - Legacy
EXTERNALrecords are normalized toHELPERin UI editing flows. - Lead owns synthesis and final draft; helpers contribute proposals, risks, alternatives, and objections.
- Create/select a task.
- Start discussion round (
maxIterationsis user-controlled). - System runs proposals -> synthesis -> open discussion -> lead review.
REVIEWstage surfaces a Lead final draft.- User can:
Approve(finalize current round),Restart discussion,Continue discussion(follow-up message starts a new round with carry-over context),Cancel discussion(stop active execution).
Supported agent (AI model) sources in UI:
OpenAI / CodexQwen / Local(endpoint required)Custom OpenAI-compatible(endpoint required, API key optional depending on runtime)
Primary task-scoped flow:
POST /api/tasks/:id/roundsPOST /api/task-rounds/:id/runPOST /api/task-rounds/:id/cancelGET /api/task-rounds/:id/artifactsPOST /api/task-rounds/:id/artifactsDELETE /api/task-rounds/:id/artifacts/:noteId
Round compatibility/auxiliary endpoints:
POST /api/rounds/:id/runPOST /api/rounds/:id/decidePOST /api/rounds/:id/final-responseGET /api/rounds/:id/submissions
Case/task/agent endpoints:
GET/POST /api/casesGET/POST/PATCH/DELETE /api/cases/:idGET/POST /api/cases/:id/tasksPATCH /api/tasks/:idGET/POST /api/agentsPATCH/DELETE /api/agents/:idGET /api/cases/:id/eventsGET/POST /api/cases/:id/agent-messagesPOST /api/cases/:id/rounds(compatibility path)
Requirements:
- Node.js LTS 24+ (recommended).
Install/run:
- Install dependencies:
npm ci - Initialize database:
npm run db:generate && npm run db:push - Dev server:
npm run dev - Production build:
npm run build - Lint/tests:
npm run lint,npm run test
Windows quick start:
- Run
start-codeboard.bat - Open
http://localhost:3000
Notes:
- Dependency versions are pinned by
package-lock.json. - Security override is applied for
minimatchviapackage.jsonoverrides.
- Contribution guide:
CONTRIBUTING.md - Security policy:
SECURITY.md
CodeBoard codebase was written with codex.
Delivery timeline:
- initial implementation:
GPT-5.3-Codex - multi-iteration middle phase:
GPT-5.3-Codex-Spark - final code polish and stabilization:
GPT-5.3-Codex
CodeBoard was iterated with active support from codex across architecture, backend flow, UI/UX behavior, performance/debugging, provider integration, and release hardening.
Key implementation support included:
- discussion loop and phase behavior alignment;
- final draft/approve flow polishing;
- local and OpenAI-compatible source integration;
- board interaction and rendering fixes;
- startup, dependency, and security/audit stabilization.