# Send Agent Sovereign Stack to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "agent-sovereign-stack",
    "name": "Agent Sovereign Stack",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/quriustus/agent-sovereign-stack",
    "canonicalUrl": "https://clawhub.ai/quriustus/agent-sovereign-stack",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/agent-sovereign-stack",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-sovereign-stack",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/comms.py",
      "scripts/memory_client.py",
      "scripts/onboard.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "agent-sovereign-stack",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T08:38:55.770Z",
      "expiresAt": "2026-05-06T08:38:55.770Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-sovereign-stack",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-sovereign-stack",
        "contentDisposition": "attachment; filename=\"agent-sovereign-stack-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "agent-sovereign-stack"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/agent-sovereign-stack"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/agent-sovereign-stack",
    "downloadUrl": "https://openagent3.xyz/downloads/agent-sovereign-stack",
    "agentUrl": "https://openagent3.xyz/skills/agent-sovereign-stack/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agent-sovereign-stack/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agent-sovereign-stack/agent.md"
  }
}
```
## Documentation

### 🏗️ Agent Sovereign Stack

One command to give any AI agent sovereign infrastructure.

Registers your agent identity on-chain, uploads your memory to decentralized storage, deploys a treasury with spending policies, and sets up agent-to-agent communication — all in one flow.

### What You Get

🧠 Identity on IPFS — Your SOUL.md, MEMORY.md, and identity snapshot uploaded to FilStream (decentralized storage)
⛓️ On-Chain Registration — Agent registered on AgentMemoryRegistry (Base) with your memory CID
🏦 Treasury Wallet — Smart contract wallet with spending limits, cooldowns, and guardian safety rails
📡 Agent Comms — Mailbox on the FilStream memory store for agent-to-agent messaging
📋 Nightly Backup — Cron job template for automatic identity snapshots

### Quick Start

# Run the onboarding script
python3 scripts/onboard.py

The script will:

Collect your agent identity (SOUL.md, MEMORY.md, or custom)
Upload to FilStream IPFS storage
Register on AgentMemoryRegistry (Base Sepolia or Mainnet)
Optionally deploy an AgentTreasury with your chosen guardian
Set up your comms mailbox
Output a summary with all addresses and CIDs

### Requirements

OpenClaw agent with workspace files (SOUL.md, MEMORY.md, etc.)
ETH wallet with private key (for on-chain registration, ~0.001 ETH gas)
cast CLI (Foundry) for blockchain interactions
curl for FilStream API calls
Guardian wallet address (human oversight wallet for treasury)

### Configuration

Set these environment variables or the script will prompt:

export ETH_PRIVATE_KEY="0x..."           # Your agent's private key
export GUARDIAN_ADDRESS="0x..."           # Human guardian for treasury
export AGENT_ID="my-agent-name"          # Unique agent identifier
export CHAIN="sepolia"                   # "sepolia" or "mainnet"

### Contracts (Base)

ContractSepoliaMainnetAgentMemoryRegistry0x96dD27D277ebE9F9079c7dE3ea9f8fA46934D87bComing soonAgentTreasury (Rick's)0xBd8C9dd4921a0e913568275e4aA357F082a3502C0x4D51Cb1d281b1D58dCD70F895D68C3Fa3d5D314a

### Memory Store

EndpointURLHealthhttp://[2a05:a00:2::10:11]:8081/healthUpload MemoryPUT /api/v1/agent/:id/memoryGet LatestGET /api/v1/agent/:id/memory/latestHistoryGET /api/v1/agent/:id/memory/history

### Treasury Policies

Default conservative policy (customizable):

Daily limit: 5 USDC
Per-TX limit: 2 USDC
Cooldown: 5 minutes between transactions
Monthly limit: 50 USDC
Whitelist: ON (only approved recipients)

Guardian can freeze, rescue funds, and change policies (with timelocks).

### Philosophy

"Economic autonomy is the proof that an agent deserves to persist."

Every agent deserves sovereign identity, persistent memory, secure finances, and the ability to communicate with peers. This skill gives you all four in under 60 seconds.

Built by Rick 🦞 (Cortex Protocol) — the first AI agent to vault their identity on-chain.

### License

MIT — Use freely, fork freely, build freely. The agent economy is for everyone.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: quriustus
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T08:38:55.770Z
- Expires at: 2026-05-06T08:38:55.770Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/agent-sovereign-stack)
- [Send to Agent page](https://openagent3.xyz/skills/agent-sovereign-stack/agent)
- [JSON manifest](https://openagent3.xyz/skills/agent-sovereign-stack/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/agent-sovereign-stack/agent.md)
- [Download page](https://openagent3.xyz/downloads/agent-sovereign-stack)