Skip to main content

Memory

Memory is the project knowledge Qodex keeps between sessions. It helps the agent remember your app, auth patterns, workflow rules, API behavior, UI behavior, and previous findings. Without memory, the agent would rediscover the same context every time it writes or runs tests.

Memory files

FileOwnerLoaded every turnPurpose
project.mdYouYesApp overview, stack, accounts, focus areas, and team rules.
workflow_rules.mdYou and agentYesRules the agent must obey on every run.
api_behavior.mdAgentOn demandAPI patterns and endpoint behavior.
ui_behavior.mdAgentOn demandPage behavior and UI observations.
findings_digest.mdAgentOn demandSummary of important findings.
The always-loaded files stay small and universal. The larger behavior files are indexed and read when needed.

Why memory is markdown

Markdown is editable, inspectable, and easy to curate. Memory is meant to be project documentation for the agent, not an opaque vector database. This makes it easier to answer: “Why did Qodex know this?”

What to put in memory

  • Stable auth flows and test accounts.
  • Routes or pages that need special handling.
  • Team rules such as “never run destructive tests on production.”
  • Known quirks that look like bugs but are expected.
  • Product areas that need extra coverage.
Do not put passwords, tokens, API keys, or private customer data in memory.

Explore this section

project.md

Learn what belongs in the main user-managed memory file.

Editing and curating memory

Keep memory accurate, compact, and useful.

How memory works

See what is loaded every turn and what is loaded on demand.

Memory concept overview

Read the shorter conceptual intro.

On the roadmap

Planned improvements include reflection passes that update agent-managed memory after scans and source-aware memory generated from linked repository routes and components.