Big codebase.
Clear picture.

See how your code fits together. Find what needs attention. Bring your own agent to make it better.

For C# & .NET · Open source · Runs locally

Main
Adapters
Application
Domain
Risk.
In plain sight.
⌘ Roslyn analysis◒ Coverage & complexity⤧ Mutation testing✳ Your agent alongside you

You know the files.
Now meet the system.

A codebase grows one change at a time. Understanding it shouldn’t mean holding every change in your head.

Milligram turns your C# source into a living map. Namespaces become places. Dependencies become paths. The parts that need your attention become impossible to miss.

See it. Shape it. Make it better.

One tangled dependency. One better design. Watch the whole change unfold.

Northstar / Commerce Reading the source Illustrative C# project
Pricing, in focusWaiting for the signals
Dependency violations
—
CRAP ↓ better
—
Coverage
—
Mutation score
—
00:00 / 00:44

Same codebase. A clearer way forward.Fictional project and results. Sequence condensed.

Less guesswork.
More signal.

The right next change starts with the right question. Milligram puts three of them on the same map.

01 / ARCHITECTURE

What’s pulling us apart?

See the dependencies that cross your intended boundaries. Red arrows show where inner layers reach out into the details they should be independent of.

Under the hoodRoslyn

C# symbols and references, checked against your architecture rules.

Understand the dependency rule
02 / CHANGE RISK

Where will a change hurt?

Complex code gets riskier when tests don’t cover it. CRAP brings complexity and coverage together so the places that deserve care stand out.

Under the hoodRoslyn + Coverlet

Cyclomatic complexity meets real test coverage.

Read the signals
03 / TEST CONFIDENCE

Do the tests really protect it?

Coverage tells you what ran. Mutation testing changes the code and asks if your tests noticed. Surviving mutants reveal the gaps a green test suite can hide.

Under the hoodStryker.NET

Small code mutations put the strength of your tests to the test.

Look beyond coverage

Bring your
own agent.

You already have an agent. Give it the big picture.

Milligram is the shared map: a place to point at a problem, explore a design together, and see what changed.

GitHub Copilot

Works today · Copilot CLI

Claude Code

Planned integration

Codex

Planned integration
Your code. Your tools. Your call.Meet the companion workflow

Meet your codebase.
Again.

Bring a C# project and a little curiosity.
Start with the map. Follow what you find.

Get Milligram Read the docs
Run it in your repo⌘
# Once installed, inside your C# repo
$milligram
↳ Your source. Your architecture.
↳ A map that moves with your code.
_