FORCE MULTIPLIER FOR AI AGENTS

Stop Reading Code.
Start Understanding It.

A production CLI tool that gives AI coding agents semantic understanding of C# codebases.
Instead of reading 10,000 lines manually, ask "What calls this method?" and get answers in seconds.

33,266
Lines of Code
60+
CLI Commands
170
C# Files
30-40x
Faster Than Grep
PowerShell — RoslynSemanticCli
# What happens when ProcessOrder() runs?
dotnet RoslynSemanticCli.dll trace-flow --solution ERP.sln --class OrderService --method ProcessOrder --max-depth 3

✓ Traced 47 method calls in 0.8s

OrderService.ProcessOrder()
├── ValidationService.ValidateOrder()
│ ├── RuleEngine.Execute()
│ └── InventoryService.CheckStock()
├── PaymentService.ProcessPayment()
│ ├── StripeGateway.ChargeAsync()
│ └── AuditLogger.LogTransaction()
└── NotificationService.SendConfirmation()

# Find all 38 files that depend on UserService
dotnet RoslynSemanticCli.dll blast-radius --solution ERP.sln --symbol UserService

✓ Impact Analysis Complete
Direct dependents: 38 files
Transitive dependents: 127 files
Risk Score: HIGH — Consider decorator pattern for modifications

60+ Commands in 7 Categories

Every command is designed for one thing: helping AI agents understand and modify C# code without breaking things.

🔍

Discovery

Find classes, methods, and patterns across the entire solution. Semantic search, not text matching.

find-class find-method index-query describe-context

Verification

Catch bugs before they reach production. Detect async issues, race conditions, and architectural violations.

audit-safety validate-build wrecking-ball check-coverage
🔧

Surgery

Precision code modification. Inject code, clone patterns, refactor safely—all at the AST level.

inject-smart replicate replace-method extract-method
🏛️

Architecture

Understand complexity and predict impact. Know what breaks before you change anything.

blast-radius analyze hot-files simulate-architecture
🕵️

Forensics

Trace execution paths, find all callers, reconstruct what happens at runtime.

trace-flow find-references list-references trace-graph
🎭

Orchestration

Long-running workflows, saga coordination, and multi-step operations with proper state management.

saga-status harness-log guide-me consult-guide

6 Specialized Agents

The CLI is designed for orchestration. Each agent knows exactly which commands to use for its mission.

🔍

Surveyor

Discovery specialist. Finds reusable code before you build something that already exists.

Verifier

Quality inspector. Validates implementations are correct, safe, and complete.

🔧

Surgeon

Precision modifier. Safe code injection, refactoring, and AST-level manipulation.

🏛️

Architect

Risk analyst. Complexity analysis, impact assessment, and strategic guidance.

🕵️

Detective

Root cause analyst. Reconstructs execution flows, traces call chains, solves bugs.

🧠

Thinker

Strategic planner. Decides which agents to invoke and in what order.

Real-World Use Cases

How AI agents use these commands to save hours of manual work.

1

Understanding a New Codebase

❌ Without CLI

Agent reads file after file. Opens 50+ files trying to understand the architecture. Burns through context window. Takes 20+ iterations just to map the system.

✓ With CLI

index-query "payment processing" → Finds all relevant classes in 0.3s.
trace-flow → Maps the complete execution path.
Agent understands the system in 2 iterations.

2

Safe Refactoring

❌ Without CLI

Agent changes UserService. Doesn't know 38 files depend on it. Breaks the build. Spends 10 iterations fixing cascading failures.

✓ With CLI

blast-radius --symbol UserService → Shows all 38 dependents.
simulate-architecture → Tests change impact before coding.
Agent knows exactly what will break and plans accordingly.

3

Cloning Patterns

❌ Without CLI

Agent needs RefundStrategy like PaymentStrategy. Manually copies files, renames classes, updates namespaces, fixes tests. 2-4 hours of tedious work.

✓ With CLI

replicate --from PaymentStrategy --to RefundStrategy
Creates interface, implementation, DTOs, and test stubs—all with proper naming. Done in seconds.

Built With

Production-grade tooling on top of Microsoft's compiler platform.

.NET 10
Microsoft.CodeAnalysis (Roslyn)
Lucene.NET
Spectre.Console
MSBuild APIs