head to head · open source

xerj vs opencode-mem

xerj has 23,023 GitHub stars, 1,378 forks, 16 open issues and last shipped yesterday. opencode-mem has 1,905 stars, 198 forks, 6 open issues and last shipped 3 days ago. xerj leads on adoption by 1,109% (23,023 vs 1,905 stars). xerj is written in Rust under Apache-2.0; opencode-mem is written in TypeScript under MIT. xerj has attracted 6% as many forks as stars, opencode-mem 10%. xerj was the more recently maintained of the two, and both are self-hostable with no licence fee.

Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.

xerj ★ 23K opencode-mem ★ 1.9K category AI & Machine Learning

← all 20902 open source comparisons

Side by side

xerj opencode-mem
GitHub stars ★ 23K ★ 1.9K
License Apache-2.0 MIT
Written in Rust TypeScript
Last push 2026-12-01 2026-11-29
Forks ⑂ 1.4K ⑂ 198
Self-hosting Yes Yes
Data ownership Your server Your server

pick xerj if

  • You weight community size — 23K stars and counting
  • You want the Apache-2.0 license terms
  • Your stack matches Rust
  • You value the larger contributor base for long-term maintenance

full xerj profile →

pick opencode-mem if

  • You want the opencode-mem feature set and don't need the biggest community
  • You prefer the MIT license terms
  • Your stack matches TypeScript
  • You evaluated both and opencode-mem fits your workflow better

full opencode-mem profile →

About xerj

XERJ XERJ is a community trusted local AI search that indexes any folder automatically, so your coding agent stops burning tokens reading files one by one and pulls the exact code it needs instead. Reference coding is its main use case and the clearest win: point an agent at a task and it downloads the open source repos closest to it, indexes them, and reuses how they solved the problem before writing its own code. In a controlled study that cut a coding agent's output tokens by 2.7x at the same 16/16 solve rate (case study), and people report roughly 5x in everyday work (field reports). It is enough for a…

read the full xerj overview →

About opencode-mem

OpenCode Memory Languages: 🇬🇧 🇩🇪 🇨🇳 🇸🇦 🇹🇷 🇳🇱 A persistent memory system for AI coding agents that enables long term context retention across sessions using local vector database technology. Core Features Local Turso/libSQL database with native vector search, persistent project memories, automatic user profile learning, unified memory prompt timeline, full featured web UI, intelligent prompt based memory extraction, multi provider AI support (OpenAI, Anthropic), 12+ local embedding models, smart deduplication, and built in privacy protection. Prerequisites This plugin uses embedded Turso (…

read the full opencode-mem overview →

More in AI & Machine Learning

Related comparisons

More Machine Learning Infrastructure projects

Compare either of these against the rest of the Machine Learning Infrastructure field.

Frequently asked questions

Is xerj or opencode-mem more popular?

xerj has 23,023 GitHub stars and opencode-mem has 1,905. xerj has the larger community by that measure.

Are xerj and opencode-mem free?

Both are open source. xerj is licensed under Apache-2.0 and opencode-mem under MIT. Neither carries a licence fee.

What is the difference between xerj and opencode-mem?

xerj is written in Rust and opencode-mem in TypeScript. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, xerj or opencode-mem?

Choose xerj if you want the larger community (23,023 stars) or its Apache-2.0 licence terms. Choose opencode-mem if its feature set, stack or MIT licence fits better. Both are self-hostable.