head to head · open source

lean-ctx vs xalgorix

lean-ctx has 3,926 GitHub stars, 360 forks, 9 open issues and last shipped yesterday. xalgorix has 1,289 stars, 249 forks, 2 open issues and last shipped 4 days ago. lean-ctx leads on adoption by 205% (3,926 vs 1,289 stars). lean-ctx is written in Rust under Apache-2.0; xalgorix is written in Go under Apache-2.0. lean-ctx has attracted 9% as many forks as stars, xalgorix 19%. lean-ctx was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (ai-security), so they are genuine substitutes rather than adjacent tools.

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

lean-ctx ★ 3.9K xalgorix ★ 1.3K category AI & Machine Learning

← all 20902 open source comparisons

Side by side

lean-ctx xalgorix
GitHub stars ★ 3.9K ★ 1.3K
License Apache-2.0 Apache-2.0
Written in Rust Go
Last push 2026-11-02 2026-10-30
Forks ⑂ 360 ⑂ 249
Self-hosting Yes Yes
Data ownership Your server Your server

pick lean-ctx if

  • You weight community size — 3.9K 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 lean-ctx profile →

pick xalgorix if

  • You want the xalgorix feature set and don't need the biggest community
  • You prefer the Apache-2.0 license terms
  • Your stack matches Go
  • You evaluated both and xalgorix fits your workflow better

full xalgorix profile →

About lean-ctx

██╗ ███████╗ █████╗ ███╗ ██╗ ██████╗████████╗██╗ ██╗ ██║ ██╔════╝██╔══██╗████╗ ██║ ██╔════╝╚══██╔══╝╚██╗██╔╝ ██║ █████╗ ███████║██╔██╗ ██║ ██║ ██║ ╚███╔╝ ██║ ██╔══╝ ██╔══██║██║╚██╗██║ ██║ ██║ ██╔██╗ ███████╗███████╗██║ ██║██║ ╚████║ ╚██████╗ ██║ ██╔╝ ██╗ ╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ LeanCTX Context Gateway for AI Systems. Control what your AI can see. LeanCTX sits between AI tools and the information they read. It selects task relevant context, applies supported access and content controls before delivery, and records the context operations and delivery evidence it can observe. Your…

read the full lean-ctx overview →

About xalgorix

Xalgorix — Open source AI pentester that proves vulnerabilities Most scanners detect. Xalgorix proves. An autonomous LLM agent works a full pentest methodology, then an independent verifier re exploits every finding before it's reported — so you get proof, not a pile of maybes to triage. Self hosted, private, and bring your own LLM. Built in Go + TypeScript. 🚀 Quick Start · 💡 Why Xalgorix · ✨ Features · 🎯 Use Cases · ☁️ Hosted Cloud · 📖 Docs 📸 Screenshots 🖥️ Self hosted dashboard — runs locally on 127.0.0.1:9137 ☁️ Hosted cloud dashboard — the fully managed version at www.xalgorix.com 🤝 Sponsors Thanks to…

read the full xalgorix overview →

More in AI & Machine Learning

Related comparisons

More AI Security & Privacy projects

Compare either of these against the rest of the AI Security & Privacy field.

Frequently asked questions

Is lean-ctx or xalgorix more popular?

lean-ctx has 3,926 GitHub stars and xalgorix has 1,289. lean-ctx has the larger community by that measure.

Are lean-ctx and xalgorix free?

Both are open source. lean-ctx is licensed under Apache-2.0 and xalgorix under Apache-2.0. Neither carries a licence fee.

What is the difference between lean-ctx and xalgorix?

lean-ctx is written in Rust and xalgorix in Go. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, lean-ctx or xalgorix?

Choose lean-ctx if you want the larger community (3,926 stars) or its Apache-2.0 licence terms. Choose xalgorix if its feature set, stack or Apache-2.0 licence fits better. Both are self-hostable.