Get started

Quickstart

Add a repository, read a flow, see what changed on your branch, and run it.

  1. Add a repository

    On Home, click Add repo… (⌘O) and pick a folder, drop a folder onto the window, or clone one with Clone from GitHub… or Clone from another host…. One project is one Git repository.

    The project opens at once and the analysis runs in it. A first pass shows quickly; Refining stays in the status bar while the full analysis finishes.

    Add a repo, wait a few seconds, and the flows of the branch appear.
  2. Pick a flow

    The Diagram opens on the current branch. On the right, Flows lists every entry point by package and class. Click one to draw it.

    Each block is a function; each line is a call the engine found in the code. Click a block for its code.

  3. See what changed

    Press ⌘⇧B to pick a branch, a worktree, a pull request or your uncommitted changes to compare with. Changed blocks are marked Modified, new ones New, removed ones are crossed out.

    Switch between before and after: the branch adds a read of order_returns.
  4. Run it

    Start Docker, then open Simulate from the diagram's right rail and press Run (⌘↵). peekcode starts the service with its database and sends a real request, then plays the path it took over the blocks.

    A real GET through the flow: each block shows that it ran, with its SQL and Redis writes.
  5. Bring your agent

    Open a terminal tab with Claude Code, Codex or Antigravity CLI. Started inside peekcode, the agent can ask the map how the code flows and show you what it means on the diagram. See Terminal.

Next