> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sense-lab.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Learnings

> What Sensei keeps from finished sessions and recalls in later ones.

Learnings are what Sensei keeps from your sessions. You do not write them. Sensei writes them when a turn gets an outcome, and reads them back at the start of later turns on the same project.

## What Sensei keeps

| In the dashboard | What it holds |
| - | - |
| What session ... did | One summary per turn: the ask, the outcome, the files read and edited, the searches and commands, and the final answer |
| Codebase map | Which directories get read and edited for which kinds of asks, learned from use |
| Where the code lives | The directories the project's sessions worked in, the branches they named and the base its pull requests were opened on |
| What you told Sensei | Statements from earlier sessions that still hold, such as a convention you corrected it on |

For a project with a user interface, Sensei also keeps how the interface looks: colours, type and components read from designs attached to sessions, and which interface changes were kept or sent back.

A summary carries its outcome. When an earlier session failed, for example by searching forty patterns for a string that was not in the repository, the next session on a similar ask is told to avoid that.

## Where you see them

Open a session and look at the **Recalled** card. It lists what Sensei knew going in. Click it to see every entry, how many calls of the session carried it, and the full text. The first sessions on a codebase show nothing here, because there is nothing to recall yet.

![The dialog behind the Recalled card: every entry Sensei knew going into the session, by kind](https://mintcdn.com/senselab/7GJRxwA5n_G2FDq5/images/sensei/session-recalled.png?fit=max\&auto=format\&n=7GJRxwA5n_G2FDq5\&q=85\&s=d814c81bdfa9ccf59268bb900ba14581)

The **Learned** column on the **Sessions** page says whether what a session taught was saved. See [Sessions](https://docs.sense-lab.ai/sensei/sessions.md#the-list).

A project's sheet has **What Sensei knows**: the areas of the codebase Sensei has worked in over the last 90 days, and how many things learned from earlier sessions were used again. **Open the map** shows them all. A bigger tile is more work. Green is turns that ended well, amber is mixed, and grey is not verified. Beside the map is what was learned from earlier sessions, with the number of turns that used each.

![The map of what Sensei knows about a project: a tile for each area of the codebase it has worked in, and what it learned from earlier sessions](https://mintcdn.com/senselab/7GJRxwA5n_G2FDq5/images/sensei/project-map.png?fit=max\&auto=format\&n=7GJRxwA5n_G2FDq5\&q=85\&s=8782628f1a14ac3cbda3c4a3e1903a3d)

On **Overview**, the **started with Learnings** figure is the share of turns that had something recalled, and the **Learning loop** card follows Learnings from the session that produced them to the session that used them.

![The Outcomes card on Overview: verified success, cost per success and the share of turns that started with Learnings, by week](https://mintcdn.com/senselab/7GJRxwA5n_G2FDq5/images/sensei/overview-outcomes.png?fit=max\&auto=format\&n=7GJRxwA5n_G2FDq5\&q=85\&s=563a2e8f7639955f6e8eca988a5f8303)

Runs report the same thing. A run's first line says how many Learnings and team corrections it started with.

## Scope

Learnings belong to your account. They are read only by calls made with your account's keys.

Within the account, a project reads the Learnings of its own sessions. If you create a project with **Keep this project's record separate** switched on, its sessions see only what that project has learned.

## Send a call without Learnings

Add the header `x-senselab-learnings: off` to a call. Sensei answers without recalling anything, and nothing is saved from a session sent this way. The session shows **learnings off** in the **Learned** column.

## How outcomes change them

Each outcome is applied to the Learnings the session started with. One that was present in sessions that worked gains standing and is recalled more readily. One that keeps appearing in sessions that failed loses standing and stops being recalled.

This is why reporting outcomes pays off twice: the session's own summary is written with the right result, and the Learnings it relied on are corrected. See [Outcomes](https://docs.sense-lab.ai/sensei/outcomes.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.