Expand description
AgenticCodebase — Semantic code compiler for AI agents.
Transforms source code into a navigable graph of concepts, relationships,
and patterns. Stores the entire semantic structure of a codebase in a
single memory-mappable .acb file.
§Architecture
- types — All data types. No logic. No I/O.
- parse — Language-specific parsing via tree-sitter.
- semantic — Cross-file resolution, FFI tracing, pattern detection.
- format — Binary
.acbfile reader/writer. - graph — In-memory graph operations.
- engine — Compilation pipeline and query executor.
- index — Fast lookup indexes.
- temporal — Change history, stability, coupling, prophecy.
- collective — Collective intelligence and pattern sync.
- ffi — C-compatible FFI bindings.
- config — Configuration loading and path resolution.
- cli — Command-line interface.
- mcp — Model Context Protocol server interface.
Re-exports§
pub use format::AcbReader;pub use format::AcbWriter;pub use graph::CodeGraph;pub use graph::GraphBuilder;pub use types::AcbError;pub use types::AcbResult;pub use types::CodeUnit;pub use types::CodeUnitBuilder;pub use types::CodeUnitType;pub use types::Edge;pub use types::EdgeType;pub use types::FileHeader;pub use types::Language;pub use types::Span;pub use types::Visibility;
Modules§
- cli
- Command-line interface for the
acbbinary. - collective
- Collective intelligence layer.
- config
- Configuration loading and resolution.
- engine
- High-level compilation pipeline and query engine.
- ffi
- C-compatible FFI bindings.
- format
- Binary file I/O for the
.acbformat. - graph
- In-memory graph operations for the code graph.
- index
- Index structures for fast lookup.
- mcp
- Model Context Protocol server interface.
- parse
- Multi-language parsing engine using tree-sitter.
- semantic
- Semantic analysis layer.
- temporal
- Time-based analysis for code evolution.
- types
- Core data types for the AgenticCodebase semantic code compiler.