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-05-06 21:27:48 -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 security: dev scripts and hooks update, perf update, security fixes for quality issues 2026-05-02 21:40:47 -04:00
.github ci: disable faiss in warm and test jobs 2026-05-06 21:27:48 -04:00
.vscode fix: resolving TSAN issues and expanding graph building to use gliner data 2026-02-19 14:52:01 -05:00
conan fix: disable faiss on Apple Clang macOS, restore profile cache keys 2026-05-05 18:50:56 -04:00
docker/local-ci removing gtest migrated tests and continuing with test migration 2025-12-16 10:50:18 -05:00
docs docs: updating changes logs archive 2026-05-04 15:27:58 -04:00
examples feat: repair logic improvements, expanding config options to disable rebuilding/repair for memory constrained systems 2026-04-24 10:53:15 -04:00
external feat: correctness improvements and bumping sqlite_vec_backend lib 2026-04-12 09:20:16 -04:00
homebrew-yams@c51677b0eb feat: fixing brittleness in CI pip usage that breaks under package updates and system delayed updates. Improving graph repair process and reducing locks in ingestion pipeline 2026-04-17 12:32:00 -04:00
include feat(search): reduce graph noise, add edge-creation diagnostics 2026-05-05 20:56:12 -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 build: windows packaging fixes 2026-05-04 14:02:43 -04:00
plugins feat: updating zyp pdf extractor to use v0.16.0 compat in plugin build 2026-05-05 19:37:50 -04:00
public v0.2.0 2025-08-13 23:11:02 -04:00
scripts security,ci: security issues address from codeql and improving cache usage logic in ci 2026-05-05 18:27:43 -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(search): reduce graph noise, add edge-creation diagnostics 2026-05-05 20:56:12 -04:00
subprojects Merge branch 'main' of https://github.com/trvon/yams 2026-05-02 21:34:38 -04:00
tests fix(search): wire GLiNER concept extractor, fix PQ dirty race, add KG NER awareness 2026-05-05 20:06:06 -04:00
third_party security: additional security fixes 2026-05-01 21:12:07 -04:00
tools security,ci: security issues address from codeql and improving cache usage logic in ci 2026-05-05 18:27:43 -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 feat: test fixes, metric expansion, build improvements for gliner 2026-04-23 08:48:33 -04:00
.gitignore build: windows arm build update 2026-05-02 21:34:13 -04:00
.gitmodules feat: updating zyp pdf extractor to use v0.16.0 compat in plugin build 2026-05-05 19:37:50 -04:00
.infer-suppress feat: removing other graph clustering algorithms for hdbscan with sgc 2026-04-21 10:20:00 -04:00
.opengrepignore security: adding opengrep config to githook with rules. Addressing additional concerns 2026-05-01 20:25:22 -04:00
.quality-deadcode-ignore feat: removing other graph clustering algorithms for hdbscan with sgc 2026-04-21 10:20:00 -04:00
.release-please-manifest.json chore(main): release 0.14.1 (#21) 2026-05-04 14:04:13 -04:00
AGENTS.md build(ci,tests): cleaning build system and updates related to ci test failures and compat 2026-04-25 14:48:44 -04:00
CHANGELOG.md docs: revert CHANGELOG.md to condensed version, update release to fix overwrite attempt in release asset stage 2026-05-04 15:32:02 -04:00
CITATION.cff chore(main): release 0.14.1 (#21) 2026-05-04 14:04:13 -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 fix(docker): add wget for Zig, disable faiss 2026-05-06 15:10:03 -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(docker): add wget for Zig, disable faiss 2026-05-06 15:10:03 -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 chore(main): release 0.14.1 (#21) 2026-05-04 14:04:13 -04:00
meson_options.txt feat: add FAISS HNSW vector backend with ConfigResolver policy 2026-05-05 15:38:22 -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: ci fixes and experiment for search / cluster routing 2026-04-28 01:29:48 -04:00
release-please-config.json ci: improve release please configuration and CHANGELOG 2026-05-04 11:11:45 -04:00
SECURITY.md staging docs 2025-10-23 23:01:29 -04:00
setup.ps1 ci: windows ci improvements 2026-05-03 05:39:54 -04:00
setup.sh docs: benchmark updates, small regression fixes in multiclient communication, ci fixes for windows build for pinned boost resolution, additional writer coordinator migrations 2026-04-30 14:35:21 -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 — not production ready. Expect bugs and breaking changes until 1.0.

Features

  • SHA-256 content-addressed storage with block-level dedupe (Rabin chunking)
  • Full-text search (SQLite FTS5) + semantic vector search (embeddings)
  • Tree-sitter symbol extraction for 18 languages (list)
  • Snapshot management with Merkle tree diffs and rename detection
  • WAL-backed durability, high-throughput I/O, thread-safe
  • CLI, MCP server, and C-ABI plugins (ONNX/GLiNER/ColBERT, S3 storage, PDF via ZYP)
  • Interactive relevance tuning through CLI tuning and doctor workflows

Documentation

Topic Link
Install docs/user_guide/installation.md
CLI reference docs/user_guide/cli.md
MCP server docs/user_guide/mcp.md
Embeddings docs/user_guide/embeddings.md
Plugins docs/PLUGINS.md
Build from source docs/BUILD.md
Architecture docs/architecture/
Benchmarks docs/benchmarks/README.md
Changelog docs/changelogs/
Roadmap docs/roadmap.md

Install

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

# macOS
brew install trvon/yams/yams

# Docker
docker pull ghcr.io/trvon/yams:latest

# Debian/Ubuntu, Fedora/RHEL, Windows: see installation guide

Full install matrix and package repos: docs/user_guide/installation.md.

Build from source

./setup.sh Release          # Linux/macOS (auto-detects toolchain, runs Conan + Meson)
meson compile -C build/release
./setup.ps1 Release         # Windows
meson compile -C build/release

Requires a C++20 toolchain (GCC 13+, Clang 16+, or MSVC 2022+ recommended), Meson, Ninja, CMake, pkg-config, and Conan. See docs/BUILD.md.

Quick Start

yams init                                # interactive; use --auto for headless
yams add ./README.md --tags docs
yams add src/ --recursive --include="*.cpp,*.h" --tags code

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

yams list --limit 20
yams get <hash> -o ./output.bin

Shell completions: yams completion bash|zsh|fish|powershell. Install instructions: docs/user_guide/cli.md#cmd-completion.

MCP Server

YAMS ships an MCP server over stdio (JSON-RPC) for AI assistants.

yams serve
{
  "mcpServers": {
    "yams": { "command": "yams", "args": ["serve"] }
  }
}

Tool reference and MCP client setup: docs/user_guide/mcp.md.

Plugins

yams plugin list                                  # loaded plugins
yams plugin trust add ~/.local/lib/yams/plugins   # trust a directory
yams plugin health                                # status
yams doctor plugin onnx                           # diagnose

Plugin architecture, trust model, and bundled plugins (ONNX, S3, ZYP, GLiNER, symbol extractor): docs/PLUGINS.md.

GPU acceleration (ONNX)

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

Auto-detected at build. Override with YAMS_ONNX_GPU=auto|cuda|coreml|directml|migraphx|none. Details: plugins/onnx/README.md.

Simeon backend

YAMS uses simeon by default for both dense vector embeddings and lexical (BM25) search — no model download required. Set embeddings.backend = "simeon" in your TOML config (or leave it unset; simeon is the default). Fine-grained knobs live under [embeddings.simeon].

Full config reference and dim tradeoffs: docs/user_guide/embeddings.md.

Troubleshooting

yams doctor              # full diagnostics
yams stats --verbose     # storage statistics
yams repair --all        # repair common issues

Build issues: docs/BUILD.md. Empty yams plugin list? Add a 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}
}