# Memory (Knoweldge Store)

{% embed url="<https://youtu.be/qhrMWoF0xgk>" %}

Knowledge Store is Stakpak’s persistent operational memory layer for infrastructure.

It allows both users and stakpak to save, search, read, update, and remove operational knowledge across sessions using `stakpak ak`.

Instead of starting from zero every time, Stakpak can retain important context like infrastructure discoveries, troubleshooting notes, deployment procedures, architecture decisions, and project-specific operational knowledge.

Common commands include:

* `stakpak ak search`
* `stakpak ak read`
* `stakpak ak write`
* `stakpak ak remove`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://stakpak.gitbook.io/docs/how-it-works/memory-knoweldge-store.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
