Repository navigation
Agents
Agents are the background jobs that organise your record. They:
- label each conversation (what kind of work it was, which area it belongs to)
- summarise conversations and parts of them, including the decisions, open questions, plans and abandoned ideas in them
- build maps of projects, areas and topics
- suggest where things should be filed, which only happens if you confirm it
Everything they write goes into wiki/derived/ in your vault, marked as machine-written. Your own notes are never edited.
Pick the engine in Settings › Agents:
-
Claude Code (default): runs
claude -pheadless with no tools, signed in through your own Claude Code login. Cortex stores no key. By default labels use Haiku, summaries and Ask use Sonnet, and maps use Opus. - A model on this computer: Ollama, or an OpenAI-style server such as LM Studio. Loopback addresses only, unless you turn on "Allow a network address".
- Codex CLI: your own OpenAI sign-in, run headless in a read-only sandbox.
- No model (plain rules): simple rules on your computer give each conversation a project, topic words and a guess at the kind of talk, and list titles per project. No summaries, nothing sent anywhere. Rule labels show a dashed rule mark and a model replaces them later.
With Claude Code, agents run on your existing Claude plan. To leave room for your own work, they pause by default at 70% of the plan's 5-hour window and 70% of its weekly window. Change both in Settings › Agents. You can also make agents run only when the computer is idle, and set a nightly run.
Pause on the Agents page stops everything until you resume.
- Status: what's running now, or why nothing is (paused, limit reached, Claude Code needs you to sign in, Claude Code not found).
- Work waiting: per source, how much is checked by you, done, and waiting.
- Recent runs: each run with its job, model, tokens and result.
- Label packs: the sets of labels in use and how much they cover.
- Access log: every model that read your record, where the text went (for example "Claude Code → Anthropic"), how many items it read and when. Click a row to trace on the figure what it read.
Every label, summary and filing suggestion lands in Checks (Agents › Checks) with the model's confidence and its reason. For each one:
| Key | Button | What happens |
|---|---|---|
| 1 | Confirm | Keep it |
| 2 | Change | Pick the right value yourself |
| 3 | Reject | Remove it, with a reason (wrong, not about this, too vague) |
| 4 | Skip | Come back later |
J and K move between cards and Z undoes your last answer. Your answer always wins, and the agents follow it from then on. Filter by Labels, Summaries, Filing, Mentions, Conflicts or Unsure (confidence under 0.6).
If you edit a summary in Obsidian and the agents later want to refresh it, Cortex keeps your version and shows theirs next to it as a conflict check.
Set Settings › Agents › After labelling to Hold for my check if you want labels to wait until you confirm them.
The /cortex-organise Claude Code skill in the repo runs the same runner from a terminal:
node cortex-runner.js doctor --vault <vault> --json
node cortex-runner.js agents run --dry-run --vault <vault> --jsonInstalling the skill is your choice; Cortex never installs it for you.