> For the complete documentation index, see [llms.txt](https://docs.testfirst.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.testfirst.com/agentic-test-automation/ai-memory.md).

# AI Memory

AI Memory is TestFirst’s evolving understanding of your application.

It is **maintained per project** and gives the TestFirst Agent shared product knowledge when exploring your application and creating automation.

AI Memory organizes this understanding into:

* Feature map — features, screens, and application behaviour
* Workflows — known user and application flows
* Domain Model — key concepts and relationships within the application

{% hint style="info" %}
AI Memory works automatically with Agentic Automation and normally does not require manual intervention.
{% endhint %}

### Access AI Memory

You can access AI Memory from several places in TestFirst:

* Web app — Select AI Memory from the left panel, then select the project.
* Test Scope — Click AI MEMORY in the Sources section to open the AI Memory for that project.&#x20;
* TestFirst Editor — Click View AI memory from the Agentic Test Automation window.

Since AI Memory is project-specific, the same project knowledge is shared across the project’s Test Scopes.

### Generate AI Memory

If AI Memory has not yet been created for a project:

1. Open AI Memory.
2. Select the project.
3. Click GENERATE AI MEMORY.

TestFirst generates the initial Feature map, Workflows, and Domain Model from the project's source documents and test cases.

### How AI Memory Evolves

AI Memory continues to develop as TestFirst learns more about your application.

Agentic Automation can use and expand this knowledge while exploring the application, helping future tests work from a shared understanding of the product.

```
Product Context
      ↓
   AI Memory
      ↕
Application Discovery
      ↓
Agentic Automation
```

&#x20;    &#x20;

### Review or Edit AI Memory

AI Memory is designed to work automatically and does not require manual intervention for Agentic Automation to work accurately.

The AI Memory view is primarily intended for technical users who want to inspect or fine-tune TestFirst’s understanding of the application.

If needed, you can review and update:

* Feature map
* Workflows
* Domain Model

After making changes, click SAVE.

You can also use ![](https://2622859358-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FErSaU4WjIuLC7zfVEh8L%2Fuploads%2F0qillyisKnJUPzoqLkJY%2Fimage.png?alt=media\&token=7e935f72-cab3-4939-9a95-0e06cd7b0550) to update AI Memory using the project's latest source documents and test cases.

{% hint style="info" %}
You do not need to review or edit AI Memory as part of the normal Agentic Automation workflow. Manual editing is optional.
{% endhint %}

<br>

### How Agents Use AI Memory

When you start Agentic Automation, the TestFirst Agent uses AI Memory alongside the test case, selected Test Scope source documents, and any Additional context you provide.

This gives the agent existing product understanding before and during application discovery, helping it build automation that matches the intended behavior.

<br>
