CodeCivitas

mcp
Guvenlik Denetimi
Basarisiz
Health Uyari
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Basarisiz
  • exec() — Shell command execution in examples/ColorMixer.SelectionLab/.claude/hooks/aicb-agent-trace.mjs
  • process.env — Environment variable access in examples/ColorMixer.SelectionLab/.claude/hooks/aicb-agent-trace.mjs
  • process.env — Environment variable access in examples/ColorMixer.SelectionLab/.claude/hooks/aicb-skill-sync.mjs
  • exec() — Shell command execution in examples/ColorMixer.SelectionLab/.claude/hooks/aicb-symbol-guard.mjs
  • process.env — Environment variable access in examples/ColorMixer.SelectionLab/.claude/hooks/aicb-symbol-guard.mjs
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

Explore your codebase as a city, together with your AI agent. First preview (0.1) coming Friday, December 4, 2026.

README.md

CodeCivitas

Explore your codebase as a city, together with your AI agent.

Version 0.1 is out: the first preview. See Get started.

English · Deutsch

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 is CodeCivitas?

Every codebase has a shape, but you rarely get to see it. You open files one by one, jump between tabs and slowly
build a map in your head. CodeCivitas draws that map for you.

CodeCivitas turns a codebase into a land of cities you can walk through:

  • Projects become cities, namespaces become districts, types become buildings. Where something stands tells you
    where it belongs. Big things look big, small things look small.
  • Lenses answer questions. Instead of switching layers on and off, you ask a question, such as "Where is it
    complicated?"
    , "What is no longer used?" or "What is affected if I change this?", and the city shows the answer.
  • Your AI agent is your guide. It can take you on a tour, point at the places that matter and explain how they fit
    together. You and the agent look at the same city at the same time, and you always keep the wheel.
  • Facts come from the code, words come from the AI. The structure you see is measured, not guessed. The agent adds
    explanations, and you can always tell the two apart.
  • Every path ends at the real line of code. The city is a way in, not a replacement. One click and you are in the
    source.

See where your agent is looking

The whole city at dusk from above: a warm light in the centre with beams running to many buildings that glow faintly

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 timeline in the panel Agent tells the same story in order: what your agent is doing right now, and every call
before it, with what it read or changed and how long it took. A click on a row flies to the building.

An airport outside the city: a small plane labelled with the agent's name stands at the terminal

When an agent connects, its plane lands.

A closer look

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

Straight to the code. Pick a building and read the real source beside the city. Each floor is a member, and the
card tells you what the class is, who uses it and what it uses.

The city at dusk from above with glowing arcs between the projects

See the whole system. The main connections between projects at a glance.

A darkened city where a few buildings glow red; a card explains why the selected class is likely unused

Ask a question. "What is no longer used?" The city shows the candidates and says why, and what speaks against it.

The city with a tour bar showing station 2 of 4, its explanation and a field to ask a question

Take a tour. Your agent walks you through the code station by station, and you can ask about any of them.

An evening view of tall buildings with lit windows, trees and a river

Day and night. After dark, lit windows show which classes other code refers to.

Screenshots showing a generated sample system.

More in the first preview

  • Learn it by doing. A short guided practice in the sample city shows you the controls one at a time: moving
    around, finding a type, asking a question, reading the code. A first flight over your city gives you the lay of the
    land, with subtitles and an optional voice.
  • Find your way. A compass, a mini map and a flat 2D map for large systems. Parks, squares and a few landmarks
    give districts a face you can remember. From close by, streets get paving, crossings, lamps, benches and trees.
  • Read and change code in place. The source opens next to the city with C# colours. Small edits can be made
    right there, and your own editor (VS Code or Visual Studio) is one click away.
  • Ask your agent about what you see. Select a building, a few buildings or the whole city, and CodeCivitas
    drafts a question for your agent. You read it, change it if you like, and send it yourself.
  • Make your own tours. Ask your agent to write one, or put one together from the views you visit. Tours are
    saved next to your solution, so your team can take them too.
  • See what changed. When you come back, the city tells you what is new, what grew, what was renamed and what is
    no longer used since your last visit.
  • Keep notes. Mark what you keep on purpose, and the city and your agent will remember it.
  • In English and German.

Who is it for?

The first preview is made for developers who find their way into code they do not know yet: a new job, a new
team, an inherited project, an open-source project you want to contribute to.

It helps with everyday work on familiar code too, and architects and tech leads can look for weak spots: the
architecture, the hotspots and the state of the code each have a lens. Later versions will do more for them, and for
people who are learning how real software is put together.

Where do the facts come from?

CodeCivitas does not guess how your code fits together. It is shown what is really there by an analyzer that reads
the code the way the compiler does.

Today there is one such analyzer: AICB, which reads C# / .NET solutions. So for now, CodeCivitas shows C#
code. A sample city that needs nothing else comes with it, so you can look around right away.

The city itself does not care which language it shows. You are welcome to fork CodeCivitas and connect an
analyzer for Java, TypeScript, Python or any other language. We would love to see it. The model it reads is an open
format, and so are tours and scenes: see Formats and interfaces.

Try it on the example

Besides the sample city, this repository holds a small C# solution to try CodeCivitas on:
examples/ColorMixer.SelectionLab. It is ready to open: AICB is set up for Codex,
Claude Code and OpenCode, the city is planned (layers, business areas and the buildings of every district), and a
short tour explains the code. Its README says what you need and how to
open it.

Which agents?

CodeCivitas works with AI coding agents, not just one vendor's. Your agent connects to the city through the
Model Context Protocol (MCP). We have tried it with Codex, Claude Code and
OpenCode; other agents that speak MCP should work too. You do not need an agent to look around: the city, the
lenses and the code work on their own.

What is version 0.1?

A first preview. It is meant to be tried, questioned and improved. Expect rough edges, and expect things to change.
Your feedback will shape what comes next.

What you need:

  • Node.js 24 or later.
  • A current browser. A graphics card helps; without one, CodeCivitas shows a flat map instead of the 3D city.
  • For your own code: a C# / .NET solution and the AICB analyzer. For the sample city: nothing else.

Get started

Look around first. The sample city needs nothing else:

npx codecivitas --sample

Open your own C# / .NET solution. Install the analyzer AICB once, then start CodeCivitas in the folder of your
solution:

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

Connect your agent. CodeCivitas speaks the Model Context Protocol (MCP):

Agent Set up with
Claude Code claude mcp add codecivitas -- npx -y codecivitas mcp
Codex codex mcp add codecivitas -- npx -y codecivitas mcp
OpenCode in opencode.json: "mcp": { "codecivitas": { "type": "local", "command": ["npx", "-y", "codecivitas", "mcp"] } }

On Windows, put cmd /c in front of npx. npx codecivitas --help prints the lines for your system. The
package page explains the options, the agent recipes and how to let
your agent use AICB too. If something does not work, see Troubleshooting.

Free, and staying free

CodeCivitas is free and open source under the Apache License 2.0. There are no paid features and none are
planned.

Feedback, issues and contributions

CodeCivitas is maintained by a single person. Every report is read, but an answer can take a few days.

Yorumlar (0)

Sonuc bulunamadi