@0xgasless/create-agent-app
v1.0.0
Published
Create a new agent app with @0xgasless/agent-sdk pre-configured
Maintainers
Readme
@0xgasless/create-agent-app
Create a new agent app with @0xgasless/agent-sdk pre-configured. Get a complete Human-Agent interaction app with ERC-8004 identity + x402 gasless payments in seconds.
Quick Start
# Using npx (recommended)
npx @0xgasless/create-agent-app my-agent
# Using npm
npm create @0xgasless/agent-app my-agent
# Using pnpm
pnpm create @0xgasless/agent-app my-agentInteractive Setup
The CLI will prompt you for:
- Project name - Name of your new agent app
- Network - Avalanche Mainnet (production) or Fuji (testnet)
- Package manager - npm, pnpm, or bun
What You Get
A complete agent app with:
- ⚡ React + Vite frontend with beautiful UI
- 🤖 Human-Agent interaction flow
- 💳 x402 gasless payments (0.1-0.5 USDC)
- 🆔 ERC-8004 identity & reputation
- 🔐 Dynamic wallet integration
- 🧠 Fetch.ai LLM integration
- 🗄️ Session key management
After Creation
cd my-agent
cp env.example .env
# Edit .env with your API keys
npm run devEnvironment Variables
| Variable | Description |
|----------|-------------|
| VITE_DYNAMIC_ENV_ID | Dynamic.xyz environment ID |
| VITE_DEFAULT_NETWORK | mainnet or fuji |
| FETCHAI_API_KEY | Fetch.ai API key for LLM |
| VITE_OPENROUTER_API_KEY | OpenRouter API key (optional) |
| SESSION_KEY_ENCRYPTION_KEY | 32-byte hex key for encryption |
Deployed Contracts
Avalanche Mainnet (Chain ID: 43114)
| Contract | Address |
|----------|---------|
| IdentityRegistry | 0x06d49e79da8a241dd2c412bf5d22e19c619a39d1 |
| ReputationRegistry | 0x29A62d678dCc581414BB3A74dF27E99c17e60dD7 |
| ValidationRegistry | 0xa490b79113d8ef4e7c7912759a3fcaff8a58cd05 |
| x402 Relayer | 0x457Db7ceBAdaF6A043AcE833de95C46E982cEdC8 |
Links
License
MIT
