Persistent memory for LLMs and apps. Content-addressed storage with dedupe, compression, full-text and vector search.
  • C++ 93.1%
  • Python 2.4%
  • Shell 1.6%
  • Meson 1.6%
  • Lean 0.7%
  • Other 0.6%
Find a file
2026-04-09 22:58:23 -04:00
.act v0.6.12 experiemental 2025-09-11 11:28:42 -04:00
.devcontainer v0.7.0-prerelease 2025-09-20 22:55:34 -04:00
.githooks fix: license header file updates, mcp improvements, windows build fixes 2026-01-30 17:23:33 -05:00
.github fix: test and ci fixes and search improvements. Adding a router for tuning logic 2026-04-09 09:31:00 -04:00
.vscode fix: resolving TSAN issues and expanding graph building to use gliner data 2026-02-19 14:52:01 -05:00
conan feat: profile for building mobile bindings 2026-04-06 13:28:34 -04:00
docker/local-ci removing gtest migrated tests and continuing with test migration 2025-12-16 10:50:18 -05:00
docs fix: updating readme and linking benchmark pages 2026-04-09 22:58:23 -04:00
examples feat: expanding storage system to work with r2 backends via object storage plugin. Updating benchmarks and documentation 2026-03-07 19:43:14 -05:00
external fix: re-ranker embedding generation fix, test failures drift fix, search improvements for graph query expansion and gliner improvements for building graph 2026-04-06 18:38:54 -04:00
homebrew-yams@e3d1c0618f feat: homebrew fixes for nightly formula install 2026-03-24 09:29:16 -04:00
include feat: search / retrieval optimizations for performance and accuracy 2026-04-09 21:34:43 -04:00
meson feat: CorpusStats-driven tuning accuracy + per-query community detection. Fixes for clion meson detection 2026-04-07 13:59:27 -04:00
packaging feat: build improvements, docs updated and optimizations for cli latency 2026-04-09 22:43:02 -04:00
plugins fix: address regressions in onnx runtime generation from previous commit. Addressing critical bugs 2026-04-07 21:24:59 -04:00
public v0.2.0 2025-08-13 23:11:02 -04:00
scripts feat: installation tests and build improvements. Test fixes related to optimizations for reranker 2026-04-08 14:01:18 -04:00
spec v0.6.30 2025-09-16 10:55:37 -04:00
sql v0.7.11 staging 2026-01-03 00:17:21 -05:00
src feat: build improvements, docs updated and optimizations for cli latency 2026-04-09 22:43:02 -04:00
subprojects feat: test coverage improvements. Scaling bug addresses 2026-02-04 20:20:18 -05:00
tests feat: build improvements, docs updated and optimizations for cli latency 2026-04-09 22:43:02 -04:00
third_party feat: search optimizations (expanding re-ranking work to recovery items that are not strong candidates based on how they are retrieved). Test improvements and TSAN/ASAN fixes. 2026-03-23 09:15:05 -04:00
tools feat: build improvements, docs updated and optimizations for cli latency 2026-04-09 22:43:02 -04:00
.actrc feat: tuning improvements with expanded db metrics, package hardening and updated tests 2026-02-15 17:52:43 -05:00
.build.yml zig versioning fix 2025-12-31 15:18:17 -05:00
.clang-format v0.3.3 clang-format now in use 2025-08-15 15:51:18 -04:00
.clang-tidy feat: search improvements, UBSan meson option, CI quality job, and fix clang-tidy findings 2026-04-06 23:11:03 -04:00
.clangd bug fixes for model loading logic, dynamic vec table dimensions, cli refactor and search bug fixes 2026-01-08 23:10:58 -05:00
.cppcheck-suppressions feat: search improvements, UBSan meson option, CI quality job, and fix clang-tidy findings 2026-04-06 23:11:03 -04:00
.dockerignore fix: bug fixes from test regressions and test infrastructure improvements 2026-03-21 19:52:39 -04:00
.gitignore feat: expanding storage system to work with r2 backends via object storage plugin. Updating benchmarks and documentation 2026-03-07 19:43:14 -05:00
.gitmodules fix: re-ranker embedding generation fix, test failures drift fix, search improvements for graph query expansion and gliner improvements for building graph 2026-04-06 18:38:54 -04:00
.release-please-manifest.json fix: release please fix, improvements for embedding generation (check if model is loading an query that). continue work on search retrieval improvement related to on going graph improvements 2026-04-06 07:07:36 -04:00
AGENTS.md fix: make Gemma CoreML fallback automatic 2026-04-02 13:56:42 -04:00
CHANGELOG.md fix: tree-diff benchmark regression accounting and stabilize subtree fast-path measurement 2026-04-03 20:45:09 -04:00
CITATION.cff chore(main): release 0.12.0 (#16) 2026-04-02 22:23:18 -04:00
CMakeLists.txt fix: cleaning up benchmark page and adding CmakeLists.txt 2026-04-09 22:55:03 -04:00
CODE_OF_CONDUCT.md v0.6.9 2025-09-06 00:11:43 -04:00
commitlint.config.js feat: release please 2026-02-19 20:26:43 -05:00
conanfile.py feat: profile for building mobile bindings 2026-04-06 13:28:34 -04:00
CONTRIBUTING.md windows build stable on dev machine 2025-11-23 23:22:30 -05:00
CppProperties.json windows build running. resolving plugin loading 2025-11-25 09:56:50 -05:00
Dockerfile fix: improvements for embedding generation (embedding gemma specific issue) and Dockerfile regression fix 2026-04-07 15:54:52 -04:00
GOVERNANCE.md v0.6.12 experiemental 2025-09-11 11:28:42 -04:00
LICENSE module updates 2025-12-03 21:27:51 -05:00
MAINTAINERS.md v0.6.12 experiemental 2025-09-11 11:28:42 -04:00
meson.build feat: build improvements, docs updated and optimizations for cli latency 2026-04-09 22:43:02 -04:00
meson_options.txt feat: search improvements, UBSan meson option, CI quality job, and fix clang-tidy findings 2026-04-06 23:11:03 -04:00
mkdocs.yml feat: site update 2026-04-07 13:27:11 -04:00
NOTICE v0.7.5 staging and license updates 2025-10-13 17:07:31 -04:00
README.md fix: updating readme and linking benchmark pages 2026-04-09 22:58:23 -04:00
release-please-config.json fix: fixing daemon regression for startup logic resulting in ipc eof, expanding release please to update conan file version, expanding benchmark docs 2026-03-07 21:38:35 -05:00
SECURITY.md staging docs 2025-10-23 23:01:29 -04:00
setup.ps1 feat: build improvements, docs updated and optimizations for cli latency 2026-04-09 22:43:02 -04:00
setup.sh feat: build improvements, docs updated and optimizations for cli latency 2026-04-09 22:43:02 -04:00
spdlog.pc yams 2025-08-10 23:41:49 -04:00
tsan.suppressions build fixes and benchmark improvements 2026-01-17 16:29:28 -05:00

YAMS — Yet Another Memory System

Persistent memory for LLMs and apps. Content-addressed storage with dedupe, compression, full-text and vector search.

license language github builds last commit

Warning

Experimental Software - Not Production Ready

YAMS is under active development and should be considered experimental. The software may contain bugs, incomplete features, and breaking changes between versions. Use at your own risk.

For production workloads, please wait for a stable 1.0 release.

Features

  • SHA-256 content-addressed storage with block-level dedupe (Rabin chunking)
  • Full-text search (SQLite FTS5) + semantic vector search (embeddings)
  • Symbol extraction from source code (tree-sitter: C, C++, Python, JS, TS, Rust, Go, Java, C#, PHP, Kotlin, Dart, SQL, Solidity)
  • Snapshot management with Merkle tree diffs and rename detection
  • WAL-backed durability, high-throughput I/O, thread-safe
  • Portable CLI, MCP server, and plugin architecture (ONNX, S3, PDF extraction)

Install

Supported platforms: Linux x86_64/ARM64, macOS x86_64/ARM64, Windows x86_64

macOS (Homebrew)

# Stable release (recommended)
brew install trvon/yams/yams

# Verify installation
yams --version

Docker

# Pull and run
docker pull ghcr.io/trvon/yams:latest
docker run --rm -v yams-data:/home/yams/.local/share/yams ghcr.io/trvon/yams:latest --version

# MCP server
docker run -i --rm -v yams-data:/home/yams/.local/share/yams ghcr.io/trvon/yams:latest serve

Build from Source

Linux/macOS:

# Quick build (auto-detects Clang/GCC, configures Conan + Meson)
./setup.sh Release

# Build
meson compile -C build/release

# Optional: Install system-wide
meson install -C build/release

Windows:

./setup.ps1 Release
meson compile -C build/release

Prerequisites: GCC 13+, Clang 16+, or MSVC 2022+ (C++20); meson, ninja-build, cmake, pkg-config, conan

See docs/BUILD.md for detailed instructions.

Quick Start

# Initialize (interactive - prompts for grammar downloads)
yams init .

# Auto mode for containers/headless
yams init --auto

# Add content
yams add ./README.md --tags docs
yams add src/ --recursive --include="*.cpp,*.h" --tags code

# Search
yams search "config file" --limit 5
yams grep "TODO" --include="*.cpp"

# List and retrieve
yams list --limit 20
yams get <hash> -o ./output.bin

MCP Server

yams serve  # stdio transport (JSON-RPC)
{
  "mcpServers": {
    "yams": {
      "command": "yams",
      "args": ["serve"]
    }
  }
}

Plugins

YAMS supports plugins for embeddings (ONNX), storage (S3), and content extraction (PDF):

yams plugin list                    # List loaded plugins
yams plugin trust add ~/.local/lib/yams/plugins
yams plugin health                  # Check plugin status
yams doctor plugin onnx             # Diagnose specific plugin

Recommended model: all-MiniLM-L6-v2 (384-dim) — best speed/quality tradeoff.

GPU Acceleration

The ONNX plugin supports GPU acceleration for faster embedding generation:

Platform Provider Hardware
macOS CoreML Apple Silicon Neural Engine + GPU
Linux CUDA NVIDIA GPUs
Windows DirectML Any DirectX 12 GPU (NVIDIA, AMD, Intel)

GPU support is auto-detected during build. To manually control:

# Disable GPU
YAMS_ONNX_GPU=none ./setup.sh Release

# Force specific provider
YAMS_ONNX_GPU=cuda ./setup.sh Release    # Linux
YAMS_ONNX_GPU=coreml ./setup.sh Release  # macOS
YAMS_ONNX_GPU=directml ./setup.ps1       # Windows

See plugins/onnx/README.md for detailed configuration.

Troubleshooting

yams doctor              # Full diagnostics
yams stats --verbose     # Storage statistics
yams repair --all        # Repair common issues

Build issues: See docs/BUILD.md

Plugin discovery: yams plugin list empty? Add trust path: yams plugin trust add ~/.local/lib/yams/plugins

Cite

@misc{yams,
  author = {Trevon Williams},
  title = {YAMS: Content-addressable storage with semantic search},
  year = {2025},
  publisher = {GitHub},
  url = {https://github.com/trvon/yams}
}