CORTEX is an automated memory management system that gives your AI agent persistent, searchable knowledge across sessions โ with zero manual intervention.
Every feature designed to make your AI agent smarter over time, without manual maintenance.
Session-end hook processes every conversation immediately. No batch delays, no backlog โ your agent learns as it goes.
Automatic credential detection blocks passwords, tokens, and API keys from syncing to Obsidian. 7% of entries flagged and protected.
Two-dimensional system: Tiers (T1-T4) by importance + Depth (D0-D4) by age. Know what matters and how fresh it is.
Automatic atomic note creation for T1 principles. 878 notes synced with proper frontmatter, tags, and backlinks.
5+ notes on a topic? CORTEX generates a Map of Content automatically. 179 MOCs created, zero manual work.
Tier-first + LRU policy. T4 logs auto-pruned after 30 days. T1/T2 principles protected forever. Database stays lean.
CORTEX evolves graymatter v2 with automation, security, and intelligent organization.
| Feature | Manual | graymatter v2 | CORTEX v0.2.0 |
|---|---|---|---|
| Classification | None | Depth (D0-D4) | Tier (T1-T4) + Depth |
| Security Filtering | โ | โ | โ Auto-detect |
| Deduplication | โ | โ | โ SHA256 hash |
| Processing | Manual | Batch (nightly) | Real-time hook |
| Obsidian Sync | Manual | โ | โ Atomic notes |
| MOC Generation | Manual | Manual | โ Auto (5+ notes) |
| Eviction Policy | โ | โ | Tier-first + LRU |
| Automation | None | Cron setup | Pre-configured |
Built on SQLite FTS5 for millisecond search. Enhanced with fingerprinting, security, and cross-system tracking.
Join 1,000+ AI developers using CORTEX for automated knowledge management.
Open source โข MIT License โข Self-hosted