Cortex v1.2 adds LLM enrichment, Q&A with citations, and conflict resolution

Cortex is a local memory layer built for OpenClaw agents, designed to prevent context loss during compaction. The project recently reached 10 GitHub stars and has progressed from v1.0 to v1.2 within a week, with the developer using it daily with two agents.
New features in v1.2
- LLM-augmented enrichment enabled by default: When importing files, Cortex now uses Grok to enrich extracted facts with context like relationships, classifications, and provenance. The entire enrichment pipeline costs less than a dollar per month. You can disable it with
--no-enrichfor pure offline mode. - Question answering with citations: The new
cortex answercommand lets you ask questions and receive synthesized answers with citations back to original memories. It includes built-in prompt injection defense to prevent imported content from hijacking responses. - Deduplication and conflict resolution:
cortex cleanup --dedup-factsfinds near-duplicate facts and supersedes older ones.cortex conflicts --resolve llmdetects contradictions and auto-resolves them using an LLM, maintaining an audit trail of changes and reasons. - Unified configuration:
cortex config doctorshows exactly what's configured, where each value comes from (default, environment variable, flag, or config file), and what's missing. - Intent-based search pre-filtering: Search now classifies query intent (lookup, temporal, relational, etc.) and pre-filters results by fact type before scoring. For example, "when did I deploy v2?" prioritizes temporal facts, while "who works on XXX?" prioritizes relationship facts.
Upcoming development
The developer is currently dogfooding v1.3, which adds scoped views for multi-agent setups and an Obsidian connector that syncs vaults into Cortex as a searchable knowledge layer. The Obsidian connector is available in the repository but hasn't been audited yet.
Installation
Install via Homebrew: brew install hurttlocker/cortex/cortex
Or via ClawHub: clawhub install hurttlocker-cortex
📖 Read the full source: r/openclaw
👀 See Also

Simplifying OpenClaw Hosting: BestClaw Keeps SSH and User-Friendly Functionality
BestClaw emerges as a straightforward solution for OpenClaw hosting, balancing ease of use with crucial SSH access, as discussed on r/openclaw.

Routerly: Self-Hosted LLM Gateway with Runtime Routing Policies and Budget Control
Routerly is a free, open-source, self-hosted LLM gateway that provides runtime model selection based on routing policies like cheapest, fastest, or most capable, along with project-level budget limits with per-token tracking. It's OpenAI-compatible for drop-in use with tools like Cursor, LangChain, and Open WebUI.

OpenClaw skill adds AI image generation with local ComfyUI support and curated prompts
A new OpenClaw skill provides AI image generation capabilities directly in the terminal, featuring 1,300+ curated prompts, local ComfyUI integration, and prompt enhancement workflows.
AI Writes Dead Code? The Go Team's deadcode Tool Finds It in One Command
AI coding agents often leave dead code behind. The Go team's deadcode tool scans your entire module and reports unreachable functions in one command — here's how to run it.