Graph-native memory for Claude Code — free & open source.
AINL Cortex transforms Claude Code into a self-learning system: every turn becomes typed graph memory, patterns promote automatically, and full AINL validate / compile / run tooling ships in-plugin — with up to ~70% token savings on recurring context.
- Graph-as-memory — episodes, semantic facts, procedural patterns, persona, and failures as searchable nodes
- Zero-LLM learning — persona evolution and pattern promotion from usage signals, not reflection calls
- ~30 second install —
setup.sh, restart Claude Code; ~30 MCP tools when AINL + A2A are enabled
Quick install
git clone https://github.com/sbhooley/ainl-cortex.git ~/.claude/plugins/ainl-cortex
cd ~/.claude/plugins/ainl-cortex
bash setup.sh
# restart Claude CodeOr ask Claude Code: “Install the plugin at https://github.com/sbhooley/ainl-cortex for me.”
Get AINL Cortex
Apache 2.0 · Claude Code plugin · Optional ArmaraOS daemon for A2A messaging
AINL Cortex — graph memory, zero-LLM learning, and AINL in one plugin.
Transform Claude Code into a self-improving system: persistent graph memory, automatic pattern promotion, failure prevention, and native AINL tooling — install in about 30 seconds.
Graph-as-memory — execution history you can query
Every coding turn, tool call, and decision becomes a typed node. The graph is the memory layer.
Gets smarter without constant LLM overhead
Learn preferences and patterns from metadata signals — not expensive reflection calls.
Full AI Native Lang in your Claude Code session
Validate, compile, and run .ainl workflows from chat — with cost-aware suggestions.
Compaction without silent data loss
Pre-compact flush, anchored summaries, and product notifications keep context honest.
Free & open source · Apache 2.0 · Powered by AI Native Lang