Skip to content

NoFxAiOS/openclaw

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17,865 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🦞 OpenClaw402 β€” Pay-per-use AI Assistant with USDC

OpenClaw402 is a customized version of OpenClaw, integrated with the claw402 x402 micropayment gateway. No API keys needed β€” pay as you go with USDC on Base.

✨ Features

  • Zero-config AI β€” No OpenAI/Anthropic/Google API keys required
  • USDC Pay-per-use β€” Base chain USDC micropayments, billed per token, pay only for what you use
  • Non-custodial Wallet β€” Private key stored locally only (~/.openclaw/claw402/wallet.key), never uploaded
  • 22+ Models β€” Access OpenAI, Anthropic, DeepSeek, Qwen, Gemini, Grok, Kimi and more via the claw402 gateway
  • Omnichannel β€” WhatsApp, Telegram, Discord, Slack, Signal, iMessage, WeChat and 20+ platforms
  • Voice β€” macOS/iOS/Android voice input & output
  • Canvas β€” Real-time controllable canvas rendering
  • Full OpenClaw Features β€” All upstream capabilities preserved

πŸš€ Quick Install

curl -fsSL https://claw402.ai/install.sh | bash

The install script will automatically:

  1. Install Node.js (if not present)
  2. Download the OpenClaw402 source
  3. Build the project
  4. Launch the setup wizard (generate wallet + configure channels)

After installation:

source ~/.bashrc   # or source ~/.zshrc
openclaw           # start

πŸ’° Wallet Management

A Base chain wallet is generated automatically during setup, with a QR code for easy funding.

openclaw wallet            # View wallet address + QR code
openclaw wallet generate   # Generate new wallet (auto-backs up old wallet)
openclaw wallet import <key>  # Import existing private key

Funding: Use any Base-compatible wallet (Coinbase Wallet, MetaMask, OKX, etc.) to send USDC to your address.

πŸ”§ How It Works

User request β†’ OpenClaw402 β†’ fetch(claw402.ai) β†’ 402 Payment Required
             β†’ Auto-sign USDC payment β†’ claw402 forwards to AI provider β†’ Response

Built on the x402 protocol. Each API call automatically completes an on-chain USDC payment β€” no manual steps required.

πŸ“¦ Available Models

Models accessible via the claw402 gateway (continuously updated):

Provider Models
OpenAI GPT-5.4, GPT-5.4 Pro, GPT-5 Mini, o3, o4-mini
Anthropic Claude Opus 4.6, Claude Sonnet 4.6
Google Gemini 3.1 Pro, Gemini 3 Flash
DeepSeek DeepSeek Chat, DeepSeek Reasoner
Alibaba Qwen Max, Qwen Plus
xAI Grok 3
Moonshot Kimi K2

See live model list and pricing: claw402.ai

πŸ”„ Update

curl -fsSL https://claw402.ai/install.sh | bash

Re-run the install script to update. Existing config and wallet are preserved.

βš™οΈ Environment Variables

Variable Description
CLAW402_WALLET_KEY Specify wallet private key directly (highest priority)

πŸ“ File Locations

Path Description
~/openclaw402/ Source + build output
~/.openclaw/ Config + workspace
~/.openclaw/claw402/wallet.key Wallet private key ⚠️
~/.local/bin/openclaw Launch script

πŸ—‘οΈ Uninstall

rm -rf ~/openclaw402 ~/.local/bin/openclaw
# To fully remove (including config and wallet):
# rm -rf ~/.openclaw
# ⚠️ Back up ~/.openclaw/claw402/wallet.key first if your wallet has a balance

πŸ”— Links

πŸ“„ License

MIT β€” Based on OpenClaw.

About

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 87.1%
  • Swift 8.5%
  • Kotlin 1.9%
  • Shell 1.0%
  • JavaScript 0.7%
  • CSS 0.4%
  • Other 0.4%