Akasha is a Windows-native execution-semantics backend exposed as an MCP server.
It organizes runtime data into a session-scoped model built around events, objects, evidence, and artifacts, then exposes query and analysis tools that are easier for models to consume than raw debugger or trace output.
- starts and tracks analysis sessions by target PID
- keeps normalized event, object, evidence, and artifact stores
- exposes deterministic query surfaces for events, objects, timeline, evidence, and summary views
- runs deterministic behavior analysis over stored session data
- speaks stdio MCP with line JSON and
Content-Lengthframing support
Current tools:
session.startsession.stopsession.statussession.listquery.eventsquery.objectsquery.timelinequery.evidencequery.summaryanalyze.behavior
session.start accepts a target pid plus optional sources.
Supported public source kinds:
analysisnetworkreplay
If no source is provided, Akasha defaults to analysis.
Target environment:
- Windows
- Rust
1.77+ - MSVC toolchain
If the current shell is not already a Visual Studio developer shell, initialize it first:
cmd.exe /c 'call "C:\Program Files\Microsoft Visual Studio\18\Community\VC\Auxiliary\Build\vcvars64.bat" && cargo build'Run tests:
cmd.exe /c 'call "C:\Program Files\Microsoft Visual Studio\18\Community\VC\Auxiliary\Build\vcvars64.bat" && cargo test'Example line-JSON interaction:
{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}
{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}
{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"session.start","arguments":{"pid":1234}}}
{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"query.timeline","arguments":{"session_id":"<session-id>","limit":50}}}
{"jsonrpc":"2.0","id":5,"method":"tools/call","params":{"name":"analyze.behavior","arguments":{"session_id":"<session-id>"}}}Akasha/
Cargo.toml
Cargo.lock
readme.md
src/
main.rs
mcp.rs
crates/
akasha-analysis/
akasha-core/
akasha-ingest/
akasha-ir/
akasha-network/
akasha-query/
akasha-replay/
akasha-symbol/
Akasha is aimed at model-friendly runtime understanding:
- what happened
- when it happened
- which runtime objects were involved
- what evidence supports each conclusion
The project is structured so query and analysis layers can stay grounded in traceable session data instead of opaque one-off outputs.