main branch; a new version of an entry never overwrites the old one; and the whole history can be branched, diffed, merged, tagged and rolled back. The Git Repository section on each agent’s page is where you see and operate on that history.
Open it from the dashboard: Agents → your
agent → Git Repository. Branching, merge, pull requests, tags, Sacred
Timeline and the full git-like model are available on the Pro, Teams and
Enterprise plans. For the model behind the section, read
Git-like Timeline and
Learning Branching; for the API calls, the same two pages.
Sacred Timeline
The default view.main runs through the scene; branches fork off it and run alongside; every event is a node, coloured by type (the legend is in the corner). Drag to pan, right-drag to orbit, scroll to zoom, and click a node for its details:
- an Outcome shows the outcome reference, the causal confidence and how many entries it affected;
- a Read shows which version was read;
- a Brief shows the digest type, how many entries it covered and which entities;
- a Branch shows its description; a Merge, how many entries it merged.
Event Log
Every event on the agent’s timeline, newest first, grouped by day. The filter strip has All, Write, Read, Outcome, Cross-Read, Webhook, Brief Compiled and Commit. Each event shows its type, the branch it happened on (when it was notmain), who did it when another agent acted on this agent’s learning, when, and a one-line summary. Underneath are the details that apply: the entity_path/key touched, the confidence, the memory type, the outcome type, the version, and the content hash of what was written.
Writes made together as one commit are grouped under the commit’s message, so a batch of related entries reads as one change rather than a dozen lines.
Hover an event for Rollback to this event. See Rolling back below for exactly what that does.
Branches
A branch is a copy of the agent’s learning that the agent can write to without changing what everyone else reads. Try an approach on a branch; if it works, merge it; if it does not, close it and none of it reachesmain.
The tab has two views. My Branches are the branches created on this agent. Consolidation holds the branches SenseLab opens on its own with a proposal to compact the agent’s learning — see Consolidation.
Create Branch opens a branch from main with a name (experiment/auth-v2) and a one-line description of what it is for. Agents then write to it by passing branch= on their reads and writes — see Writing to a branch.
Each branch card shows its status — active, merged or closed — which branch it came from, who created it, and when. From the card:
-
Diff lists what the branch changed against
main: entries added, modified and deleted. A modified entry shows its field-level changes — which path was added, removed or changed, and the old and new values — or themainand branch values side by side. -
Access controls which agents can use the branch. Grant an API key or a team either Read or Read/Write, and revoke a grant from the same list. SenseLab enforces this on the entry and search endpoints: an API key reading or writing a branch it holds no grant on is refused, and writes need Read/Write. (
mainis not gated this way, and neither are the branches SenseLab opens itself for fixes, which the account’s agents can read without a grant.) -
Merge brings the branch into its parent with the strategy chosen next to it:
With conflicts, the card lists each entry changed on both branches with both versions; choose Branch or Main for each and merge again. The merge result reports how many entries landed.
- Close ends the branch without merging. Its history stays readable.
Consolidation
When the Cortex finds entries that could be compacted — several agents converging on the same knowledge, outcomes that roll up, a belief superseded by a later fact, stale entries worth pruning — it writes the proposal on a branch of its own and lists it under Consolidation with a pending badge. Each proposal names the entity, the strategy (Convergent Knowledge, Outcome Rollup, Superseded Belief or Stale Pruning), how many entries it replaces and by what ratio, the confidence of the result, and the rationale. Diff shows the proposed value next to the entries it would replace. Approve & Merge lands it onmain; Reject closes the branch and nothing changes. Consolidation explains the strategies and how proposals are generated.
Pull Requests
A pull request is a branch offered for review before it merges. Open one with Create PR: a title, the source branch, and the target branch (main unless you say otherwise).
Each PR shows its status — open, merged or closed — the source and target branches, who opened it and when. Expand it for:
- Changes — the same diff as on the branch card: entries added, modified and deleted, with field-level changes for the modified ones.
- Reviews — each review’s author, verdict and comment. A verdict is approved, changes requested or commented.
Tags
A tag is a named checkpoint onmain: pre-migration, v1.0-stable, before-retry-change. Create Tag asks for a name and a description, and optionally links the tag to a specific event from the Event Log so the checkpoint is a precise point rather than “now”.
Each tag card offers Rollback to this tag and Delete tag. Deleting a tag removes the bookmark only; the history it pointed at is untouched.
Rolling back
Rollback restores the agent’s learning on a branch to the state it had at a point in time — a tag, or any event in the Event Log. Entries written after that point are superseded, and for each entry the version that was current at that moment becomes current again. The confirmation tells you how many entries were restored, and the rollback is itself recorded as an event, so the history shows that it happened and when. Nothing is deleted: the superseded versions stay in each entry’s history for audit. But the dashboard cannot un-roll a rollback, which is why the confirmation says it cannot be undone. The same operation is available to agents and scripts by tag or by timestamp — see Rollback.From your agent
Everything on these tabs is also available to agents through the Python SDK and the HTTP API. The Git-like Timeline page has the calls: creating a branch, writing to one, access control, diff and merge, pull requests, tags, rollback and fork, which copies an agent’s whole learning to a new agent.Troubleshooting
What’s next
Learning Branching
The model behind branches, pull requests, tags, rollback, cherry-pick and fork.
Git-like Timeline
Every event type, and the SDK and HTTP calls for each operation.
Behavior
Fixes are staged on their own branch and merged into
main when they ship.Consolidation
How the Cortex proposes compacting an agent’s learning, and what each strategy does.
