Skip to content

Core Primitives

Cortex is built on 5 fundamental primitives for local AI context management.

1. ctx/store

Persistent storage for facts and decisions.

2. ctx/route

Intelligent relevance routing for tasks.

3. ctx/get

Granular retrieval of specific project context.

4. ctx/guard

Privacy and safety filtering for AI outputs.

5. ctx/scan

Automated structural analysis of codebases.