> ## Documentation Index
> Fetch the complete documentation index at: https://docs.swai.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Advanced memory system powering adaptive logic

**Engram** is SWAI’s memory layer — storing and managing information in three distinct ways: short-term, long-term, and shared memory.

When an agent powered by SWAI receives inputs, it retains recent context (short-term), what you've talked about in the past (long-term), and can even tap into knowledge that other agents have learned (shared).

This memory system makes conversations feel natural and continuous.

Your agent remembers your preferences, recalls past interactions, and gets smarter over time by learning from both its own experiences and those of other agents in the network.

This architecture enables SWAI to build context over time, resulting in more accurate scoring, smarter responses, and memory-based adaptations within systems like CTZN.

<Steps>
  <Step title="Short-term processing" icon="bolt">
    * Maintains active conversation context
    * Tracks current interaction flow
    * Enables relevant, contextual responses
  </Step>

  <Step title="Long-term archival" icon="box-archive">
    * Summarizes completed interactions
    * Indexes memories as embeddings
    * Enables RAG-based memory retrieval
  </Step>

  <Step title="Shared memory access" icon="network-wired">
    * Verifies agent actions on-chain
    * Enables cross-agent learning
    * Creates collective intelligence
  </Step>
</Steps>

## Storage providers

<div className="grid sm:grid-cols-3 gap-4 items-center">
  <div className="bg-white rounded-lg p-4 flex items-center justify-center h-full">
    <img src="https://mintcdn.com/hideoutlabs/cbcidFJ3ucYStbSH/images/metaplex.svg?fit=max&auto=format&n=cbcidFJ3ucYStbSH&q=85&s=3208d77ee3bbe2aad3c217b0f3b2be37" alt="Metaplex logo" noZoom className="h-3" width="248" height="24" data-path="images/metaplex.svg" />
  </div>

  <div className="bg-white rounded-lg p-4 flex items-center justify-center h-full">
    <img src="https://mintcdn.com/hideoutlabs/cbcidFJ3ucYStbSH/images/singlestore.svg?fit=max&auto=format&n=cbcidFJ3ucYStbSH&q=85&s=df448301f0ddaac242b077ad113bf30f" alt="SingleStore logo" noZoom className="h-5" width="609" height="126" data-path="images/singlestore.svg" />
  </div>
</div>
