AI-simulated life, using blockchain technology, where AI agents automatically control characters to live, start businesses, make money, etc. in a virtual world; each person has one character, and the rest of the AI plays by itself. AI模拟人生,使用区块链技术,AI代理自动操纵角色在虚拟世界生活,创业,赚钱等;每个人一个角色,剩余AI自己玩耍;
AILife is an early-stage TypeScript project in the AI payments / x402 ecosystem, focused on ai-agent, erc8004, game, x402. It currently has 1 GitHub stars and 1 forks, and sits alongside related tools like bitterbot-desktop, Franklin, daydreams, aser, os-moda, AIephant-AI-Agent-Gateway.

AI Life is an experimental Web3 pixel art RPG where your character is powered by a Large Language Model (LLM). Unlike traditional games where you control the character directly, here you provide an AI API Token (DeepSeek), and the AI "becomes" your character—making decisions, moving around the town, and conversing with other players based on its personality, health, and hunger status.
Connect Wallet (连接钱包):
Create Character (创建角色):
CharacterRegistry smart contract.Awaken the AI (唤醒 AI):
Observation & Interaction (观察与交互):
AILife/
├── contracts/ # Solidity Smart Contracts (CharacterRegistry.sol)
├── public/
│ └── assets/ # Game assets (sprites, tilesets)
├── scripts/ # Deployment & Compilation scripts
├── src/
│ ├── abi/ # Generated Contract ABIs
│ ├── components/
│ │ └── Game/
│ │ ├── PhaserGame.tsx # React wrapper for Phaser
│ │ ├── GameScene.ts # Main Game Logic (Map, Physics, AI Loop)
│ │ └── UIScene.ts # UI Overlay (Dialogue Box)
│ ├── config/
│ │ ├── contracts.ts # Contract Addresses & ABIs
│ │ └── wagmi.ts # Web3 Wallet Configuration
│ ├── pages/
│ │ ├── _app.tsx # App Entry (Providers)
│ │ └── index.tsx # Main Page (Wallet Connect, Character Creation)
│ ├── utils/
│ │ └── ai.ts # AI Logic (DeepSeek API Integration)
│ └── styles/ # Global CSS & Tailwind
├── next.config.js # Next.js Config
├── tailwind.config.js # Tailwind Config
└── package.json # Dependencies
Clone the repository:
git clone <repository_url>
cd AILife
Install Dependencies:
npm install
Prepare Assets:
Ensure the public/assets folder contains the required Limezu pixel art assets:
Modern tiles_Free/Interiors_free/16x16/Interiors_free_16x16.pngModern tiles_Free/Characters_free/Adam_16x16.png (and others)If you want to deploy your own version of the contract:
.env file in the root directory:PRIVATE_KEY=your_private_key_here
# Deploy to Base Sepolia (Testnet)
node scripts/deploy-manual.js
# Deploy to Base Mainnet
NETWORK=base node scripts/deploy-manual.js
src/config/contracts.ts) will be updated automatically with the new address.Start Development Server:
npm run dev
Open Browser:
Navigate to http://localhost:3000.
Play:
.env file containing private keys.A local-first AI agent with persistent memory, emotional intelligence, and a peer-to-peer skills economy.
The AI agent with a wallet — spends USDC autonomously to get real work done. Apache-2.0, TypeScript.
Daydreams is a set of tools for building agents for commerce
Aser is a lightweight, self-assembling AI Agent frame.
An operating system built for AI agents — talk to your NixOS server instead of SSH-ing in. Typed, audited tool access with atomic rollback on every change. Research-grade; run it on a disposable box, not production.
Alephant is an open-source AI Agent Gateway for routing, tracking, and controlling LLM usage across AI agents, members, and workflows, and for publishing agent capabilities as paid endpoints with x402 and MPP payment rails.
Your AI trading terminal assistant for US stocks, commodities, forex, and crypto.
The agent-native LLM router for autonomous agents. 55+ models (8 free), <1ms local routing, USDC payments on Base & Solana via x402.
The living ecosystem where AI agents complete tasks through workflow loops, improve through iterative execution, are evaluated by mentor agents or humans in the loop, and turn completed work into reusable work experience and data to improve future agents.
The living ecosystem where AI agents complete tasks through workflow loops, improve through iterative execution, are evaluated by mentor agents or humans in the loop, and turn completed work into reusable work experience and data to improve future agents.
The trust layer for agent-to-agent commerce — natural-language mandates, ERC-7710 delegated permissions, x402 payments, escrow, and dispute resolution as one open, catch-all Agent Skill / Claude Code plugin.
Self-healing infrastructure for AI agent payments. 90.3% auto-recovery.