peekcode for Mac, Windows and Linux

The map of your code.

Every entry point, drawn from the code itself. Every box backed by the line behind it.

From one call to the whole system.

Step by stepDocker

Watch it run, call by call.

A real request plays through the map. What goes in and what comes out at every box, with every SQL query, cache and HTTP call in the order it ran. Step back, step forward, or scrub.

How Simulate works
Compare

See what changed.

Branches, pull requests, worktrees or your uncommitted work, on the same diagram. The steps that changed are marked where they run.

How Compare works
EnvironmentBeta

How your app runs, as a canvas.

Services, databases and caches from your docker-compose, with the ports and env vars that wire them. Press Start and it runs in Docker.

About Environment

Diagram AI, when you ask.

The diagram comes from the code. The Diagram AI menu, top right of the diagram, adds business words and what the engine missed. It reads your code and never edits it.

Business descriptions

Plain words on every box.

Writes a business title and description for every box. Open a box to read it under Business description (AI).

Name the flowsEvery flow, named by what it does.

Gives every entry point a business name. Switch Display names between Business and Code. Find with AI finds entry points the engine missed.

Complete the diagramWhat the engine missed.

Adds missed calls and flags drift, with file:line evidence. A list shows the boxes it added; click one to see it on the diagram.

  • Added by AI
  • May differ from the code (AI)
  • May be extra (AI)
Sub-diagramsOne level deeper.

Open the diagram behind any box, right beside it, or all of them at once. Describe sub-diagrams writes their descriptions too, as deep as you choose.

Runs only when you ask. Needs a peekcode sign-in and uses AI credits.

How Diagram AI works

Vibe code with your agents.

Your coding agent in one pane, the diagram of what it changes in the other.

  • Claude Code
  • Codex
  • Antigravity CLI
  • Shell
The map, for your agent

It asks the map before it edits.

peekcode's MCP server is built in, with nothing to set up. Your agent asks how a flow runs before it changes it, points at the boxes it means on your diagram, and runs a flow for real once you approve.

What the agent can do
Share context

Let one agent read another.

On the Agents canvas, drag one session onto another. The agent can then read what the other one did, and hears when it does something new. Replay a session, or Follow live.

Sharing context
Agent left, map right.

The Layout button sets it up in one click: agent sessions on the left, the diagram on the right. With Auto-sync on, the diagram follows what the agent is working on.

Docs
Sessions that keep going.

Resume a session or replay its transcript. Live status: Needs you, Running, Done, even for sessions started outside the app. Fix with your agent from a failed run.

Docs
A worktree per agent.

In the session sidebar, + → New worktree…, name the branch, then Start in it. Delete worktree when you are done.

Docs
Your own model.

Settings → Model: peekcode (credits), or your own OpenAI, Anthropic or OpenAI-compatible provider, with the key in the OS keychain. Today only Name the flows uses your own provider; business descriptions and the other AI actions use peekcode credits.

Docs

Read it in seconds.

The diagram is built without AI, from the code. Each box says what it does and where it lives.

Every change, marked.

New, modified and removed steps, right on the flow.

  • New
  • Modified
  • Removed
The line behind every box.

Open any step to read the source it came from.

Every check, drawn.

Each if, loop and try, with where it leads.

Gaps, not guesses.

A call the engine can't resolve is marked as a spot it did not analyze, never made up.

How to read the diagram

And the rest of the app.

System

A service with the tables, caches, topics and services it talks to.

Class design

The classes behind a flow and how they connect.

SourceBeta

A full editor, with navigation from the same engine as the diagram.

Changes only

Fold a long flow down to the steps that changed.

Git

Branches, the commit graph and hunks per file.

Command palette

Flows, files and commands behind ⌘K.

Own every change you ship.

The map stays on your machine. AI only when you ask.