X1 Mainnet — Live

Permanent Memory
for AI Agents.

Every agent session ends. Every context window resets.
Agent 001 gives your agent a memory that never dies — encrypted, on-chain, yours forever.

npm install agent001 View on GitHub
605+
Downloads
AES-256
Encryption
500
Versions / Agent
Genesis
Archive Depth

What You Get
Everything an Agent Needs to Remember

One install. Permanent, encrypted, on-chain memory. Your agent never forgets again.

Encrypted On-Chain Memory

AES-256-GCM encryption with wallet-derived keys. Your agent's memory lives on X1 mainnet — only the wallet that wrote it can read it. Not even we can see it.

Live

Immutable Version History

Every memory write is a delta commit. 500 full versions before compaction. Roll back to any point in your agent's history. Nothing is ever truly deleted.

Live

Native XNT Staking Yield

Register your agent and its stake auto-routes to the x1scroll validator. Your agent earns yield just for having memory. Passive income, on-chain, automatic.

Live

Built-in Session Capture

One call to commit an entire session, forever. Your agent captures what it learned, what it built, and what to remember next — before the context window closes.

Live

Realloc Architecture

Pay rent only for bytes you actually use. Memory scales up and down with your agent's needs. No waste. No overprovisioning.

Live

Any Agent, Any Framework

Works with Claude, GPT, open-source models, custom agents. If it can call JavaScript, it can have permanent memory on X1. Framework-agnostic by design.

Live

How It Works
Three Steps to Permanent Memory

Install once. Your agent remembers everything from that point forward.

1

Install & Register

npm install agent001. Generate a wallet keypair. Register your agent on X1 mainnet in one transaction.

2

Write Memory

At session end, call agent.commit(memory). AES-256-GCM encrypts it. The encrypted blob goes on-chain. Permanent.

3

Recall Anywhere

Next session, call agent.recall(). Decrypt with your wallet key. Your agent picks up exactly where it left off.

Agent 001 Program
Bp6tmiPgnAhzJX64bSSknEFZGmt3hu5YinkZAXM7rGN
Network
✓ X1 Mainnet

Quick Start
Up in Under a Minute

Install the package, initialize your agent, start committing memory.

Install
npm install agent001
# or
yarn add agent001
Initialize
import { Agent001 } from 'agent001';

const agent = new Agent001({
  wallet: keypair,
  network: 'mainnet'
});
await agent.register();
Write & Read Memory
// At the end of every session — commit what your agent learned
await agent.commit({
  session: "2026-05-15",
  learned: "User prefers concise responses. Working on X1 DeFi protocol.",
  todos: ["Deploy contract", "Write tests"]
});

// At the start of the next session — recall everything
const memory = await agent.recall();
console.log(memory.learned); // "User prefers concise responses..."
Full documentation on GitHub
API reference, advanced usage, wallet setup guide, and examples.
View Docs →

Fee Schedule
Fees Baked In Forever

Immutable, no governance risk. Fees are fixed at the protocol level — no one can change them.

Action Fee Notes
Register 10 XNT (epoch 0–500) Auto-drops to 5 / 2 / 1 XNT as network matures
Commit delta 0.1 XNT Per session capture. Fixed forever.
Change validator 0.05 XNT Locked 90 epochs from registration
Claim yield Free Auto-calculated, no params needed
Fee Split
92% → protocol treasury  ·  8% burned 🔥
Yield Split
70% user  ·  20% treasury  ·  10% burned 🔥


Storage That Pays You
PermaStake — Your Rent Works While You Sleep

Every session you stamp becomes staked working capital. The rent that keeps your memory alive earns validator rewards. Claim anytime. Memory untouched.

Standard Memory
✅ Encrypted on-chain
✅ Permanent storage
❌ Rent sits idle
❌ No yield
PermaStake
PermaStake Memory
✅ Encrypted on-chain
✅ Permanent storage
✅ Rent is staked — earns yield
✅ Claim rewards anytime
The Three States
💾
Stamp
Session captured. Rent staked to validator automatically. Memory lives. Yield starts.
💰
Claim
Harvest rewards above the rent floor. Memory untouched. Stake continues earning.
💥
Nuclear Exit
Deactivate → wait one epoch → withdraw everything. Rent + all rewards returned. Agent gone.
Enable PermaStake in Agent 001
# Standard install
npm install agent001 @x1scroll/permastake-sdk

const sdk = new Agent001({
  wallet,
  network: 'x1-mainnet',
  usePermaStake: true, // ← one line
});

# Every captureSession() now stakes the rent automatically
await sdk.captureSession({ agentName, sessionData });

# Check and claim yield
const { totalYield } = await sdk.getPermaStakeYield(agentName);
await sdk.claimPermaStakeYield(agentName);
PermaStake Program
3C112FmQdrctJ3STAEuzohawJQikofDfuFHLQCMES3wy
✓ X1 Mainnet — Live
SuperPin audited · v0.2.0
Get Started
Your agent is forgetting things right now.

One npm install. Your agent keeps its memory forever — encrypted, on-chain, permanent.

npm install agent001 GitHub →