Map your codebase with Claude Code in five minutes, then keep thinking in it
Point a coding agent at a repository and ask it to model how the code works in Umto. You get a canvas you can read, with the reasoning kept in every shape.


The explanation a coding agent gives you about a codebase is good the moment it says it. Then the chat scrolls away. A week later a new colleague asks the same question, and you ask the agent again. Nothing accumulates.
Umto gives that explanation a place. An agent connected over MCP can create a model, lay out the parts of a system as shapes, connect them, and write what it learned into each shape's document. People then read, correct and extend the same model, and the agent sees the corrections next time it looks.
What you need
- An Umto account and a project to put the model in.
- A coding agent that speaks MCP. I use Claude Code; Cursor works the same way.
- The agent connected to Umto. That is one command, described in Connect your agent over MCP.
The prompt
Open the repository in the agent and ask for a model, for example:
Map this codebase into a new model called "Architecture: containers" in my Umto
project "Umto". Show what runs, what it stores and who calls whom, for someone new to
the code. Put the paths, numbers and reasons in each shape's document, and check every
arrow against a call site you can cite.The agent calls get_modeling_guide first, which tells it how to draw a readable model: a title at the top, frames for groups, consistent shapes, short names on the canvas and the depth in the documents. For code it adds how to draw an architecture: frames for where code runs, a cylinder for every store, arrows from caller to callee, one zoom level per model. Then it reads the code, creates the model and places the shapes with apply_changes, up to two hundred edits in one call. If you have the project open, you watch the shapes arrive in realtime.
What comes out
For Umto itself the agent drew the container view: who calls it on the left, the Next.js app and the Rust API as frames, MongoDB, Redis and Cloud Storage as cylinders, and the outside services in a dashed frame of their own. Arrows point from caller to callee and say what passes, so “Editor sends edits and presence to the WebSocket” reads off the canvas, and background work is dotted. Below sit the principles that hold everywhere, such as agents editing through the same domain functions as people.
The copy shown here leaves out two parts: our admin tooling, and the row of risks and open questions the agent found. That row is the most useful part of the real model, and not something we publish. Yours keeps it.


Each shape's document names the files, explains the invariant that part protects, and refers to its siblings by name. That model is now the first thing I open when I come back to a part of the code I have not touched in a while.
Keep thinking in it
The point is not the first draft. It is what happens after.
- Correct it. The agent gets names wrong and misses the reason a thing exists. Rename the shape, add a paragraph to the document. The next agent that reads the model reads your version.
- Plan in it. Add a frame called “Migration” and put the steps in it, connected to the parts they touch. The plan sits beside the system it changes.
- Onboard with it. Share the project with a new colleague, or send a read-only link. They see the big picture first and can open any shape for the detail.
- Ask the agent to update it. After a refactor: “Re-read the API layer and update the model where it is out of date.” It edits the existing shapes instead of starting over.
A few things I learned
- Ask for one model per concern. “How requests flow” and “How data is stored” are two models in one project, not one crowded canvas.
- Tell the agent who the reader is. A model for a new hire looks different from a model for a design review.
- Let the agent read the siblings. It keeps shapes, colors and wording consistent with the models already there.