![]() |
VOOZH | about |
dotnet add package CodeMemory --version 0.6.0
NuGet\Install-Package CodeMemory -Version 0.6.0
<PackageReference Include="CodeMemory" Version="0.6.0" />
<PackageVersion Include="CodeMemory" Version="0.6.0" />Directory.Packages.props
<PackageReference Include="CodeMemory" />Project file
paket add CodeMemory --version 0.6.0
#r "nuget: CodeMemory, 0.6.0"
#:package CodeMemory@0.6.0
#addin nuget:?package=CodeMemory&version=0.6.0Install as a Cake Addin
#tool nuget:?package=CodeMemory&version=0.6.0Install as a Cake Tool
Local-first repository intelligence engine exposed via the Model Context Protocol (MCP). Build a persistent semantic memory layer over any codebase.
Build architecture-aware AI agents that understand symbols, dependencies, semantics, and git history — without coupling to a specific database, LLM, or embedding provider.
dotnet add package CodeMemory
IEmbeddingGenerator<string, Embedding<float>>SELECT, WHERE, ORDER BY, GROUP BY, HAVING, CTEs, derived tables, aggregates, INNER/LEFT/RIGHT/FULL OUTER/CROSS JOINs, USING(col), UNION/INTERSECT/EXCEPT, IN (SELECT ...) subqueries, vector search via ORDER BY Similarity DESC) — parsed by SqlParserCS, executed as LINQ over InMemoryVectorStoreServiceRegistry + IRepoContextAccessorInMemoryVectorStore, default, zero-dependency), SQLite (Microsoft.SemanticKernel.Connectors.SqliteVec), PostgreSQL with pgvector (Microsoft.SemanticKernel.Connectors.PgVector), or SQL Server (Microsoft.SemanticKernel.Connectors.SqlServer)FileWatcherService auto-reindexes changed/created/deleted files via FileSystemWatcher with debounce coalescing// Minimal setup — in-memory storage, offline n-gram embeddings
services.AddSingleton<IStorageService>(CreateInMemoryStorage(/* repoRoot */));
services.AddSingleton<IEmbeddingGenerator<string, Embedding<float>>, NgramEmbeddingGenerator>();
services.AddSingleton<DependencyGraphService>();
services.AddSingleton<ArchitectureService>();
services.AddSingleton<ComponentClusteringService>();
services.AddSingleton<GitHistoryService>();
services.AddSingleton<SemanticSearchService>();
services.AddSingleton<SqlQueryService>();
services.AddSingleton<CollectionRegistry>();
Storage is registered via factory methods (see CodeMemory.Storage.ServiceCollectionExtensions or CreateInMemoryStorage on IServiceProvider). For the ASP.NET multi-repo host, storage is registered at runtime via IServiceRegistry.Register(name, storage) and routed through StorageServiceRouter.
| Package | Role |
|---|---|
| Memori | NgramEmbeddingGenerator for offline embeddings + InMemoryVectorStore — no API keys, no model downloads |
| SqlParserCS | SQL parsing (SELECT, WHERE, ORDER BY, GROUP BY, HAVING, CTEs, aggregates) |
| Microsoft.Extensions.AI.Abstractions | IEmbeddingGenerator, IChatClient abstractions |
| Microsoft.Extensions.VectorData.Abstractions | Vector store abstractions |
| ModelContextProtocol | MCP server types and tool attributes |
| Microsoft.CodeAnalysis.CSharp | Roslyn-based C# parsing |
| TreeSitter.DotNet | Multi-language parsing (TS, JS, Java, Python, Go, Rust, C/C++) — optional |
| System.Numerics.Tensors | TensorPrimitives.Norm for embedding normalization |
| Microsoft.EntityFrameworkCore | Relational storage for symbols/relationships (AspNet hybrid path) |
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.6.0 | 57 | 5/31/2026 |