Capability-Kernel-Secured Agent Runtime & AegisGraph DB
LakshCLI is a capability-kernel-secured agent runtime written in pure Rust that combines a single-file property graph database (AegisGraph with HNSW + Tantivy BM25), an rtk CLI token-compression proxy, and an Object Capability (OCap) security model for local Small Language Models (SLMs).
Critical friction and failure modes observed in existing workflows
AI coding tools rely on stale model weights, accumulate linear message context that rots beyond 50% capacity, and lack granular security sandboxing when spawning autonomous sub-agents.
Engineering methodology, model selection, and pipeline design
Built a 16-crate Rust workspace enforcing Tabula Rasa (mandatory live research) and Anti-Amnesia (AegisGraph retrieval). Employs strict OCap capability attenuation for sub-agents and the rtk command proxy to compress CLI tool outputs by 60–90% before reaching LLM token contexts.
Validated benchmarks, latency figures, and operational efficiency
Enables lightweight local SLMs to write high-quality verified code with zero context rot, verifiable graph-backed facts, and provable execution security.
AegisGraph DB: Single-file property graph with real HNSW vector and Tantivy BM25 indices
rtk CLI proxy: Intelligent token compression saving 60-90% LLM context budget
OCap Capability Kernel: Type-enforced capability tokens with strict child attenuation
Multi-Provider Catalog supporting OpenAI, Anthropic, Gemini, DeepSeek, and Ollama
Graph-First Context assembly eliminating linear message history degradation
16-crate pure Rust architecture with zero platform-locked dependencies
Production libraries, architectural components, and runtimes used in this system:
Let's discuss architecture, production deployment, or building high-performance intelligence solutions.