DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to run Comma locally with a mock model for testing with Comma

Start the backend and Web client without a model key and run the test suites.

Short answer: Run pnpm install once in the repository root; then run make dev to 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. All steps.

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

  1. Run pnpm install once in the repository root.
  2. Run make dev to start the local backend and the Web client.
  3. Sign in as comma-local@example.com and read the login code in Mailpit at the address shown in the README development section.
  4. Run make test-clients from the repository root.
  5. Run make test-systems from 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer