Context Pack
Context Pack shows you the bundle of memories and knowledge chunks Cortex would give an AI model to answer a question, trimmed to fit a size limit.
What it is for
An AI model can only read so much at once. Cortex finds the best-matching memories and knowledge chunks, scores them, and packs as many as fit into a token budget. A token is a small piece of text, roughly a word or part of one. Use this page to preview that bundle and check that it holds the right material.
The Query panel
| Field | What it does | Range and default |
|---|---|---|
| Query | What the pack should be about. The placeholder reads "What should this pack be about?" | Required |
| Memory top_k | The most memories to consider | 0 to 25, default 5 |
| KB top_k | The most knowledge-base chunks to consider | 0 to 25, default 3 |
| Token budget | The size limit for the whole pack | 200 to 16000 in steps of 100, default 4000 |
Click Build context pack (or press Ctrl+Enter, Cmd+Enter on Mac). While it works the button reads Composing…. It is disabled until you type a query.
The Context pack panel
Before your first run it says No pack built yet. After a run you see:
| Part | What it shows |
|---|---|
| Token usage | Tokens used out of the budget, with a meter that turns to a warning above 90 percent. It adds (truncated) when content had to be cut, and may show the counting method used |
| Synthesized pack | The combined text, with an item count. If nothing was packed it says "No items packed for this query." |
| Memories | A table of packed memories: a rank such as M1, the Content with a short ID, Score and Tokens. Click a row to open the memory |
| KB chunks | The same table for knowledge chunks, ranked KB1, KB2 and so on. Rows here do not open a side panel |
If there are no knowledge chunks, the empty message explains that the knowledge index returns nothing until knowledge ingestion has run on the corpus.
Once a pack exists, Copy pack as JSON appears at the top of the page. Failures show Build failed with the reason and a retry option.
Open the page
Go to System, then Intelligence, then Context pack.
Enter a query
Describe the topic or question the pack is for.
Set the limits
Adjust the two top_k sliders and the Token budget, or keep the defaults.
Build the pack
Click Build context pack and review what was included.