---
title: "What is procedural memory in AI agents?"
description: "Procedural memory stores how an AI agent performs tasks: the steps, rules, and workflows it applies without re-deriving them each session."
canonical: https://past.dev/glossary/procedural-memory
last-updated: 2026-09-02
---
# Procedural memory

Source: https://past.dev/glossary/procedural-memory

Procedural memory stores how to perform tasks: the steps, rules, or skills an agent applies without re-deriving them. In AI agents it takes the form of prompts, checklists, tool workflows, and learned policies: the refund procedure, the escalation path, the format a report must follow. Storing procedures once and recalling them at need keeps behavior consistent across sessions and lets a team update a process in one place.

## What procedural memory contains

Procedural memory covers everything an agent applies rather than looks up as a fact. The term comes from cognitive psychology, where it names skills performed without conscious recall. For an AI agent the common forms are:

- **Instructions**: standing prompts and role definitions the agent operates under.
- **Workflows**: ordered steps for a recurring task, such as a refund or an escalation.
- **Rules**: constraints that hold across tasks, such as approval thresholds and tone requirements.
- **Corrections**: fixes learned from past mistakes, stored so the mistake is made once.

## Why it matters for AI agents

Without stored procedures an agent re-derives its approach every session, and the results drift: two runs of the same task follow different steps. Stored procedures make behavior repeatable, reviewable, and updatable in one place. They also change over time, so they need the same dating discipline as facts: an effective date, and supersession when a new version replaces an old one. See [facts that change over time](/guides/facts-that-change-over-time).

Published [memory benchmarks](/benchmarks) concentrate on recalling events and facts; procedural memory is usually evaluated through task success instead.

## Procedural memory in practice

A support agent processes a refund for Acme Corp on September 1. Procedural memory supplies the refund procedure: verify the invoice, check the purchase date against the refund window, issue the credit, log the case with a reason code. The agent applies the steps without deriving them from policy documents mid-ticket.

The procedure changed on July 1: refunds above 5,000 dollars now require a second approval. An agent still holding the June version issues the refund alone and violates the new policy. The current procedure, its effective date, and the version it replaced all need to be recorded, which is [fact supersession](/glossary/fact-supersession) applied to procedures.

## Related concepts

- **[Episodic memory](/glossary/episodic-memory)**: what happened, such as the refund issued on September 1.
- **[Semantic memory](/glossary/semantic-memory)**: what is true, such as Acme's plan and refund eligibility.
- **[Working memory](/glossary/working-memory)**: the procedure and ticket details loaded for the current task.
- **[Fact supersession](/glossary/fact-supersession)**: the mechanism that keeps the July 1 procedure current and the June version on record.

## Frequently asked questions

### What is procedural memory in an AI agent?

Procedural memory is where an agent keeps how to do things: steps, rules, workflows, and formats. The agent applies them directly rather than working them out again each session.

### How do AI agents store procedures?

Common forms are system prompts, retrieved instruction documents, tool definitions, and stored checklists. Each procedure should carry the date it took effect so outdated versions can be detected.

### What happens when a procedure changes?

The new version should supersede the old one with an effective date, and the old version should stay on record. Agents that keep only the latest text cannot explain actions taken under the earlier procedure.

## Related

- [Episodic memory](https://past.dev/glossary/episodic-memory)
- [Semantic memory](https://past.dev/glossary/semantic-memory)
- [Working memory](https://past.dev/glossary/working-memory)
- [Facts that change over time](https://past.dev/guides/facts-that-change-over-time)
- [Memory API quickstart](https://past.dev/docs/memory-api/quickstart)