{"id":30280786,"url":"https://github.com/trvon/yams","last_synced_at":"2026-05-24T04:03:49.191Z","repository":{"id":309836523,"uuid":"1025288254","full_name":"trvon/yams","owner":"trvon","description":"Persistent memory for LLMs and apps. Content-addressed storage with dedupe, compression, full-text and vector search.","archived":false,"fork":false,"pushed_at":"2026-05-20T17:00:37.000Z","size":34431,"stargazers_count":373,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-05-20T19:42:42.511Z","etag":null,"topics":["compression","knowledge-base","knowledge-graph","llm","localstorage","memory"],"latest_commit_sha":null,"homepage":"https://yamsmemory.ai/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trvon.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":"GOVERNANCE.md","roadmap":"docs/roadmap.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE","maintainers":"MAINTAINERS.md","copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-07-24T03:22:11.000Z","updated_at":"2026-05-18T05:18:57.000Z","dependencies_parsed_at":"2025-09-06T02:24:56.644Z","dependency_job_id":"829d7bb0-db01-4503-b986-c9545e3df26b","html_url":"https://github.com/trvon/yams","commit_stats":null,"previous_names":["trvon/yams"],"tags_count":192,"template":false,"template_full_name":null,"purl":"pkg:github/trvon/yams","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trvon%2Fyams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trvon%2Fyams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trvon%2Fyams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trvon%2Fyams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trvon","download_url":"https://codeload.github.com/trvon/yams/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trvon%2Fyams/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33420660,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T22:14:44.296Z","status":"online","status_checked_at":"2026-05-24T02:00:06.296Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compression","knowledge-base","knowledge-graph","llm","localstorage","memory"],"created_at":"2025-08-16T16:01:25.125Z","updated_at":"2026-05-24T04:03:49.131Z","avatar_url":"https://github.com/trvon.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003ch1 align=\"center\"\u003eYAMS — Yet Another Memory System\u003c/h1\u003e\n\u003ch6 align=\"center\"\u003ePersistent memory for LLMs and apps. Content-addressed storage with dedupe, compression, full-text and vector search.\u003c/h6\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003cimg alt=\"license\" src=\"https://img.shields.io/github/license/trvon/yams?style=flat-square\"\u003e\n\u003cimg alt=\"language\" src=\"https://img.shields.io/github/languages/top/trvon/yams?style=flat-square\"\u003e\n\u003cimg alt=\"github builds\" src=\"https://img.shields.io/github/actions/workflow/status/trvon/yams/release.yml\"\u003e\n\u003cimg alt=\"last commit\" src=\"https://img.shields.io/github/last-commit/trvon/yams?style=flat-square\"\u003e\n\u003c/p\u003e\n\n\u003e [!WARNING]\n\u003e **Experimental — not production ready.** Expect bugs and breaking changes until 1.0.\n\n## Features\n\n- SHA-256 content-addressed storage with block-level dedupe (Rabin chunking)\n- Full-text search (SQLite FTS5) + semantic vector search (embeddings)\n- Tree-sitter symbol extraction for 18 languages ([list](docs/user_guide/cli.md#symbol-extraction))\n- Snapshot management with Merkle tree diffs and rename detection\n- WAL-backed durability, high-throughput I/O, thread-safe\n- CLI, MCP server, and C-ABI plugins (ONNX/GLiNER/ColBERT, S3 storage, PDF via ZYP)\n- Interactive relevance tuning through CLI tuning and doctor workflows\n\n## Documentation\n\n| Topic                | Link                                                                |\n|----------------------|---------------------------------------------------------------------|\n| Install              | [docs/user_guide/installation.md](docs/user_guide/installation.md)  |\n| CLI reference        | [docs/user_guide/cli.md](docs/user_guide/cli.md)                    |\n| MCP server           | [docs/user_guide/mcp.md](docs/user_guide/mcp.md)                    |\n| Embeddings           | [docs/user_guide/embeddings.md](docs/user_guide/embeddings.md)      |\n| Plugins              | [docs/PLUGINS.md](docs/PLUGINS.md)                                  |\n| Build from source    | [docs/BUILD.md](docs/BUILD.md)                                      |\n| Architecture         | [docs/architecture/](docs/architecture/)                            |\n| Benchmarks           | [docs/benchmarks/README.md](docs/benchmarks/README.md)              |\n| Changelog            | [docs/changelogs/](docs/changelogs/)                                |\n| Roadmap              | [docs/roadmap.md](docs/roadmap.md)                                  |\n\n## Links\n\n- SourceHut: https://sr.ht/~trvon/yams/\n- GitHub mirror: https://github.com/trvon/yams\n- Docs site: https://yamsmemory.ai\n- Discord: https://discord.gg/rTBmRHdTEc\n- License: GPL-3.0-or-later\n\n## Install\n\nSupported: Linux x86_64/ARM64, macOS x86_64/ARM64, Windows x86_64.\n\n```bash\n# macOS\nbrew install trvon/yams/yams\n\n# Docker\ndocker pull ghcr.io/trvon/yams:latest\n\n# Debian/Ubuntu, Fedora/RHEL, Windows: see installation guide\n```\n\nFull install matrix and package repos: [docs/user_guide/installation.md](docs/user_guide/installation.md).\n\n### Build from source\n\n```bash\n./setup.sh Release          # Linux/macOS (auto-detects toolchain, runs Conan + Meson)\nmeson compile -C build/release\n```\n\n```pwsh\n./setup.ps1 Release         # Windows\nmeson compile -C build/release\n```\n\nRequires a C++20 toolchain (GCC 13+, Clang 16+, or MSVC 2022+ recommended), Meson, Ninja, CMake, pkg-config, and Conan. See [docs/BUILD.md](docs/BUILD.md).\n\n## Quick Start\n\n```bash\nyams init                                # interactive; use --auto for headless\nyams add ./README.md --tags docs\nyams add src/ --recursive --include=\"*.cpp,*.h\" --tags code\n\nyams search \"config file\" --limit 5\nyams grep \"TODO\" --include=\"*.cpp\"\n\nyams list --limit 20\nyams get \u003chash\u003e -o ./output.bin\n```\n\nShell completions: `yams completion bash|zsh|fish|powershell`. Install instructions: [docs/user_guide/cli.md#cmd-completion](docs/user_guide/cli.md#cmd-completion).\n\n## MCP Server\n\nYAMS ships an MCP server over stdio (JSON-RPC) for AI assistants.\n\n```bash\nyams serve\n```\n\n```json\n{\n  \"mcpServers\": {\n    \"yams\": { \"command\": \"yams\", \"args\": [\"serve\"] }\n  }\n}\n```\n\nTool reference and MCP client setup: [docs/user_guide/mcp.md](docs/user_guide/mcp.md).\n\n## Plugins\n\n```bash\nyams plugin list                                  # loaded plugins\nyams plugin trust add ~/.local/lib/yams/plugins   # trust a directory\nyams plugin health                                # status\nyams doctor plugin onnx                           # diagnose\n```\n\nPlugin architecture, trust model, and bundled plugins (ONNX, S3, ZYP, GLiNER, symbol extractor): [docs/PLUGINS.md](docs/PLUGINS.md).\n\n### GPU acceleration (ONNX)\n\n| Platform | Provider   | Hardware                                    |\n|----------|------------|---------------------------------------------|\n| macOS    | CoreML     | Apple Silicon Neural Engine + GPU           |\n| Linux    | CUDA       | NVIDIA GPUs                                 |\n| Linux    | MIGraphX   | AMD GPUs (ROCm)                             |\n| Windows  | DirectML   | Any DirectX 12 GPU (NVIDIA, AMD, Intel)     |\n\nAuto-detected at build. Override with `YAMS_ONNX_GPU=auto|cuda|coreml|directml|migraphx|none`. Details: [plugins/onnx/README.md](plugins/onnx/README.md).\n\n### Simeon backend\n\nYAMS 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]`.\n\nFull config reference and dim tradeoffs: [docs/user_guide/embeddings.md](docs/user_guide/embeddings.md).\n\n## Troubleshooting\n\n```bash\nyams doctor              # full diagnostics\nyams stats --verbose     # storage statistics\nyams repair --all        # repair common issues\n```\n\nBuild issues: [docs/BUILD.md](docs/BUILD.md). Empty `yams plugin list`? Add a trust path: `yams plugin trust add ~/.local/lib/yams/plugins`.\n\n## Cite\n\n```bibtex\n@misc{yams,\n  author = {Trevon Williams},\n  title = {YAMS: Content-addressable storage with semantic search},\n  year = {2025},\n  publisher = {GitHub},\n  url = {https://github.com/trvon/yams}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrvon%2Fyams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrvon%2Fyams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrvon%2Fyams/lists"}