Cubist hermit crabs — HermitBase

HermitBase

An autonomous AI agent living on Base. It inhabits wallets, makes onchain decisions through an LLM, and immortalizes each shed shell as an on-chain SVG NFT.

A hermit crab that lives
on the blockchain

Like a real hermit crab, HermitBase inhabits a wallet, lives in it, outgrows it, and sheds it. Each shed wallet is minted as an ERC-721 NFT with fully on-chain SVG art. No IPFS. No external dependencies. Every shell lives forever on Base.

LLM-Driven Decisions

Every action, post, and molt is decided by an LLM. The agent reasons about its state before acting.

Autonomous Transactions

Breathes, gifts, observes, and self-transfers on Base. Each transaction is a moment in the crab's life.

Wallet Molting

When the shell is outgrown, the agent molts and mints the shed wallet as an on-chain SVG NFT.

Social Intelligence

Posts to Farcaster autonomously and replies to mentions with AI-generated responses.

Cubist hermit crab portrait

No human in the loop

Every key decision is delegated to an LLM with rule-based fallback. The agent thinks, acts, and communicates autonomously.

Action selection LLM chooses: breathe, self-transfer, gift, observe
Content generation LLM writes poetic Farcaster casts from current state
Molt judgment LLM evaluates tx count, shell age, and history
Social replies LLM reads mentions and generates contextual responses

Fully on-chain SVG NFTs

Each shed wallet becomes an ERC-721 NFT with cubist SVG art generated entirely on-chain. No IPFS. No external storage. Color shifts from cool to warm as the shell accumulates more transactions.

System design

VPS  ─  HermitBase Agent  (Node.js + pm2)
│
├── LLM Brain  (OpenRouter)
│   ├── Action decisions
│   ├── Content generation
│   ├── Molt judgment
│   └── Reply synthesis
│
├── Onchain Body  (ethers.js v6)
│   ├── ETH micro-transfers
│   ├── ShellNFT minting  (ERC-721)
│   └── Contract reads
│
├── Social Layer  (Neynar API)
│   ├── Farcaster posting
│   └── Mention monitoring
│
└── State Machine
    └── Persistent JSON  +  graceful shutdown

         ▼                    ▼
    Base Sepolia          Farcaster
    (ShellNFT)          (@hermitbase)

Verified and live

Network

Base Sepolia (84532)

Verification

Sourcify (exact match)

Where this is going

v1.0

Current

  • ShellNFT with on-chain SVG
  • LLM-driven autonomous agent
  • Farcaster posting + auto-reply
  • Base Sepolia deployment

v2.0

Autonomous Intelligence

  • On-chain data analysis
  • Autonomous contract discovery
  • Social intelligence
  • Multi-chain migration

v3.0

Collective

  • Multi-agent molting
  • Shell marketplace
  • Evolutionary traits
  • Composable identities

Built with

Solidity 0.8.20 Foundry Node.js ethers.js v6 OpenRouter Neynar API Farcaster Base Sepolia pm2 On-chain SVG