Ars Contexta — The Open Source Alternative to Mem Freeing Your Second Brain
A Claude Code plugin that generates a complete second brain from conversation. No templates, no config — just describe how you work and let the engine derive your cognitive architecture.
Most AI tools start every session blank. You tell them who you are, what you care about, how you work — and by the next conversation, it's all gone. You're starting from zero again.
Ars Contexta fixes that. It's a Claude Code plugin that generates a complete knowledge system from conversation. No templates. No configuration files. No manual setup. You just describe how you think and work, and the engine derives a cognitive architecture tailored to your domain.
What You Get
After the ~20-minute setup (one-time, token-intensive), you walk away with:
-
A vault — plain markdown files connected by wiki links, forming a traversable knowledge graph. No database, no cloud, no lock-in. You own everything.
-
A processing pipeline — skills that extract insights, find connections, update old notes with new context, and verify quality. It implements the 6 Rs: Record, Reduce, Reflect, Reweave, Verify, Rethink.
-
Automation — hooks that enforce structure on every write, detect maintenance needs, capture session state, and auto-commit to git.
-
Navigation — Maps of Content (MOCs) at hub, domain, and topic levels so you never lose your way.
-
A user manual — 7 pages of domain-native documentation generated alongside your system.
The key differentiator: derivation, not templating. Every choice traces to specific research claims. The engine reasons from principles about what your domain needs and why — it's not filling in a template, it's constructing a system from first principles.
Three-Space Architecture
Every generated system separates content into three spaces:
- self/ — Your agent's persistent mind. Identity, methodology, goals. Slow growth, tens of files.
- notes/ — The knowledge graph. The reason the system exists. Steady growth, 10-50 notes per week.
- ops/ — Operational coordination. Queue state, sessions, task management. Fluctuating.
The names adapt to your domain (notes/ might become reflections/, claims/, or decisions/), but the separation is invariant. It's a clean separation of concerns that mirrors how good software architecture works.
Fresh Context Per Phase
One clever insight: each processing phase runs in its own context window via subagent spawning. The Ars Contexta team noticed that LLM attention degrades as context fills — so they spawn a fresh subagent for each phase. Every phase operates in what they call the "smart zone."
This is the same pattern we use in our editorial pipeline — and it's validating to see it elsewhere.
The Research Graph
The plugin includes 249 interconnected research claims about tools for thought, knowledge management, and agent-native cognitive architecture. These back every configuration decision.
It synthesizes Zettelkasten, Cornell Note-Taking, Evergreen Notes, PARA, GTD, Memory Palaces, Cognitive Science, Network Theory, and Agent Architecture. You can query directly: "Why does my system use atomic notes?" and get a research-backed answer.
Why It Matters
Mem and similar tools are impressive, but they're:
- Closed-source
- Cloud-dependent
- Built for human note-taking, not agent workflows
Ars Contexta is:
- Open source (MIT)
- Local-first (plain markdown)
- Built specifically for Claude Code
The "second brain for your agent" framing is key. This isn't about you taking notes — it's about your AI having a persistent memory that actually understands how you work.
The Takeaway
If you're using Claude Code (or any agent) and tired of starting from blank every session, Ars Contexta is worth a look. The setup takes 20 minutes, but it's a one-time investment. After that, your agent remembers.
No templates. No configuration. Just conversation.
Want to dig deeper? Head to github.com/agenticnotetaking/arscontexta and try the setup. It's unlike any note-taking tool you've used.