How the agent uses memories
Memories you add are included in the agent’s context on every test run in the project. The planner behind the PR exploration agent also reads them when it decides what to test on a pull request. Memories are context, not commands. For standing rules about how the agent should behave or judge results, use Agent Instructions.Entries with a learned badge were recorded from earlier runs. Learned memories are not
currently sent to the agent, and the agent does not add memories on its own. Only memories added
from the dashboard, CLI, API, or MCP are used.
Categories and importance
The API, CLI, and MCP use the raw values
site_structure, test_insights, and user_preferences.
Each memory also has an importance of High, Medium, or Low, which decides what is removed first when the project is full.
Manage memories in the dashboard
Open the project and go to the Memory tab. The Memory usage bar shows how many of the 100 slots are in use.- Add: click Add memory, pick a Category and Importance, fill in Title (up to 200 characters) and Content, then click Add Memory.
- Search: filter by title or content with the Search memory… field.
- Delete: hover a memory and click the trash icon, or use Clear all to remove every memory in the project.
Memory limit
A project holds up to 100 memories. When a new memory goes over the limit, the oldest Low memories are removed first, then the oldest Medium ones. High memories are never removed automatically. If the project is full and nothing of equal or lower importance can be removed, the API rejects the new memory with a409 error.
CLI
create reads a JSON object with category, title, content, and importance from stdin. See CLI commands for authentication and global flags.
API and MCP
pruned, the number of memories removed to stay under the limit. The API, CLI, and MCP list and delete only memories that were added manually. Learned memories are managed from the dashboard. Set up MCP access in MCP server.
What makes a good memory
- One fact per memory, with a title that says what it is about.
- Concrete details: “The admin area is under
/admin” beats “admin is somewhere in settings”. - Mark facts that every run depends on, such as the login route, as High so they are never pruned.
- Keep secrets out. Store passwords and tokens as credentials instead.