DADERA
CodeCivitas · First preview 0.1

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 started

Free and open source under the Apache License 2.0. The documentation on GitHub is authoritative and current. This page only summarises it.

A software system as a city in daylight: groups of towers in different colours, canals, roads and bridges between them, mountains on the horizon
What CodeCivitas shows

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.

A selected building split into floors next to the real C# code, with one method highlighted and a card with facts about the class
With your AI agent

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.

The whole city at dusk from above: a warm light in the centre with beams running to many buildings that glow faintly
  • 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 city with a tour bar showing station 2 of 4, its explanation and a field to ask a question
At a glance

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.

Get started

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.

Look around first

The sample city needs nothing else, neither .NET nor AICB: some 2,000 generated types in 26 projects.

npx codecivitas --sample

Open your own solution

Install AICB once (version 0.5.600.1 or later), then start CodeCivitas in the folder of your solution. CodeCivitas starts AICB itself and builds the city when the analysis is done.

dotnet tool install -g aicb-roslyn-mcp
npx codecivitas

Connect your agent

CodeCivitas speaks the Model Context Protocol (MCP). For Claude Code one line is enough; on Windows, put cmd /c in front of npx. The lines for Codex and OpenCode, and how your agent uses AICB too, are on the package page.

Package page on npm ↗
claude mcp add codecivitas -- npx -y codecivitas mcp
Availability

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:

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.