Who it is forA developer who wants to explore or contribute to Comma and does not have a model provider key yet.
The problemSetting up a model provider just to see how Comma works slows down development and testing.
The outcomeA local Comma backend and Web client running on a deterministic mock model, with the client and system test suites passing.
What you need first
- Docker Engine with Compose v2.24 or later for self-hosting
- A model provider account, or a ChatGPT or Claude plan, for real model calls
- Enough disk space for the first Docker build, which downloads Lean, Elixir, Go, and Node toolchains
- A Mac with the Comma Mac app for local file and agent work
- pnpm and make for local development
Steps
- Run
pnpm installonce in the repository root. - Run
make devto start the local backend and the Web client. - Sign in as comma-local@example.com and read the login code in Mailpit at the address shown in the README development section.
- Run
make test-clientsfrom the repository root. - Run
make test-systemsfrom the repository root.
Prompt for your agent
In the AFK-surf/Comma repository, install dependencies with pnpm, start the local stack with make dev, and run make test-clients and make test-systems. Report which suites pass and which fail, with the failing test names. Verify that the mock model is in use by confirming the README says make dev uses a deterministic mock model.
Caveat. The mock model in make dev is deterministic and does not give real model answers, so use a configured provider to test real behavior.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for AFK-surf/Comma and "Run Comma locally with a mock model for testing"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer