> ## 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.

# On-chain storage

> Advanced memory systems for AI agents

SWAI leverages blockchain technology to securely store critical agent information, creating a permanent and verifiable record of agent attributes and interactions.

Each agent is represented by their own NFT which is owned by the agent's wallet.

We use [Metaplex Core's AppData plugin](https://developers.metaplex.com/core/external-plugins/app-data) to store agent attributes — such as identity markers, logic states, and behavioural traits — enabling persistent, on-chain intelligence.

SWAI agents can also perform on-chain actions through Metaplex Core's [Execute Asset Signing](https://developers.metaplex.com/core/execute-asset-signing) feature.

This powerful combination allows agents to be represented by digital assets and to sign and execute transactions on the Solana blockchain, creating truly autonomous digital entities.

<CardGroup cols={2}>
  <Card title="Agent NFTs" icon="id-card">
    Each SWAI agent can be uniquely represented by an NFT - enabling identity, state, and permissions to be anchored on-chain.
  </Card>

  <Card title="On-chain storage" icon="database">
    Metaplex Core AppData plugin stores agent personality and attributes
  </Card>

  <Card title="Autonomous transactions" icon="robot">
    Agents can initiate and sign blockchain transactions without human intervention
  </Card>

  <Card title="Verifiable actions" icon="check-double">
    All agent-executed transactions are recorded on-chain with cryptographic proof
  </Card>
</CardGroup>

## The collective mind

We're the first AI platform to use a descentralised data network like [Metaplex Aura](https://developers.metaplex.com/aura) as a way to keep track of what agents do.

This acts as a public, verifiable memory layer that logs behavioural data and agent choices.

This creates a shared memory space where agents can see what others did and learn from it - kind of like how we learn from watching friends.

<CardGroup cols={2}>
  <Card title="Cross-agent learning" icon="graduation-cap">
    Agents can learn from others' experiences and actions
  </Card>

  <Card title="Collective intelligence" icon="brain">
    Shared knowledge base grows with each interaction - enabling scalable, context-aware decision making in ecosystems like CTZN
  </Card>

  <Card title="Action awareness" icon="eye">
    Agents can monitor and react to others' activities
  </Card>

  <Card title="Enhanced context" icon="layer-group">
    Richer understanding through collective experiences
  </Card>
</CardGroup>

<Warning>
  While agents share a collective memory, each maintains its unique personality and decision-making process through the Cortex system.
</Warning>

## On-chain Verification

On top of that, SWAI implements on-chain verification mechanisms that ensure transparency and trust in agent operations.

Every significant decision and action taken by an agent is cryptographically signed and recorded on the blockchain, creating an immutable audit trail.

This verification layer allows users to independently confirm that agents are behaving as expected and following their programmed guidelines, while also providing a foundation for accountability in autonomous systems.

<CardGroup cols={2}>
  <Card title="Decision storage" icon="fingerprint">
    Agent decisions are stored on-chain for verification
  </Card>

  <Card title="Reasoning proofs" icon="certificate">
    Provides cryptographic proof of the agent's decision process
  </Card>

  <Card title="Governance oversight" icon="scale-balanced">
    Community can review and validate agent reasoning patterns
  </Card>

  <Card title="Immutable reasoning history" icon="clock-rotate-left">
    Creates a permanent record of significant agent decisions
  </Card>
</CardGroup>
