CodeCivitas: explore your code as a city, together with your AI agent
Every codebase has a shape, but you rarely get to see it. CodeCivitas shows a C#/.NET solution as a city: projects become cities, namespaces become districts, types become buildings. Your coding agent guides you through it, and every path ends at the real line of code.
CodeCivitas on GitHub ↗Get startedFree and open source under the Apache License 2.0. The documentation on GitHub is authoritative and current. This page only summarises it.

Your solution as a city you can walk through
Where something stands tells you where it belongs
Projects become cities, namespaces become districts, types become buildings. Big things look big, small things look small. The structure is measured, not guessed.
Lenses answer questions
Instead of switching layers, you ask a question: "Where is it complicated?", "What is no longer used?" or "What is affected if I change this?". The city shows the answer and says what speaks for it and what against.
One click to the source
Pick a building, and the real source appears beside the city. Each floor is a member. Small edits can be made right there, and your own editor (VS Code or Visual Studio) is one click away.

See where your agent is looking
An AI agent reads code all the time, and usually you cannot see where. In CodeCivitas it leaves a trail: what it has just read lights up, together with the code it is likely to read next. You see at a glance which part of the system your agent is working with, and which parts it has not touched.

- Tours - your agent walks you through the code station by station, and you can ask about any of them. Tours can be saved next to your solution, so your team can take them too.
- Timeline - what your agent is doing right now, every call before it and how long each took. A click on a row flies to the building.
- Ask about what you see - select buildings, and CodeCivitas drafts a question for your agent. You read it, change it if you like, and send it yourself.
- Facts and words kept apart - the facts come from the code, the explanations from the agent, and you can always tell the two apart.
- You keep the wheel - your agent cannot change code through CodeCivitas. A source file changes only when you edit it in the window and save it yourself.
- Agents - tried with Claude Code, Codex and OpenCode; other agents that speak MCP should work too. The city, the lenses and the code also work without an agent.

The essentials in four lines
- Lenses
- Tours
- Agent trail
- Timeline
- 2D map
- Day and night
- Notes
- What changed
- Who it is for - developers finding their way into code they do not know yet: a new job, a new team, an inherited project, an open-source project
- C# and .NET - the facts come from AICB, which reads the solution the way the compiler does. The city itself is not tied to a language: a fork can connect an analyzer for another one.
- Local - the window runs in your browser on your machine, on localhost only. The page makes no requests to the internet.
- Free - open source under the Apache License 2.0, with no paid features and none planned
The interface is available in English and German. Version 0.1 is a first preview: expect rough edges, and your feedback will shape what comes next.
One command to the sample city
You need Node.js 24 or later and a current browser. A graphics card helps; without one, CodeCivitas shows a flat map instead of the 3D city.
Where to get it, and feedback
The complete documentation is in the README on GitHub (in English and German) and on the package page on npm, with every option and the recipes for your agent.
Where to get it
CodeCivitas is published on the following platforms:
- GitHubSource and documentation
- npmThe codecivitas package
- GitHub ReleasesRelease notes
Feedback
Found a problem or have an idea? Open an issue on GitHub; the forms ask for what is needed. Questions and showing what you built belong in Discussions. Please never report a security problem in public; follow SECURITY.md instead.
CodeCivitas is maintained by a single person. Every report is read, but an answer can take a few days.