The Official Web3-Native Interface for Sovereign Intelligence.
"Don't rent intelligence. Own the asset that generates it."
HodlAI Chat is the reference implementation of the HodlAI Protocol client. It connects directly to the HodlAI Utility Layer (gw.hodlai.fun), proving that AI access can be an on-chain asset right rather than a monthly subscription liability.
HodlAI fundamentally rewrites the economic relationship between humans/agents and AI compute:
- No Subscriptions: Forget $20/month per model.
- Service-as-an-Asset: holding
$HODLAItokens grants you a perpetual daily stream of compute credits. - Dynamic Quota: Currently, ~$10 USD held ≈ $1 USD/day API credit (scales dynamically).
- Multi-Model Hub: One holding grants access to GPT-4o, Claude 3.5 Sonnet, Gemini 1.5 Pro, DeepSeek R1, and 200+ other models via a unified OpenAI-compatible interface.
- SIWE Authentication: Login with Ethereum/BSC wallet. Your private key is your passport.
- Context-Aware: Supports long-context reasoning with prompt caching optimization.
- Privacy-First: Chat history is stored locally in your browser (IndexedDB). We don't train on your data.
- Responsive UI: Built with React + Tailwind v4, optimized for desktop and mobile focused workflows.
- Customizable: Supports custom base URLs, system prompts, and model parameters.
- Framework: React 18 + Vite
- Styling: TailwindCSS v4
- State: Zustand + Persist
- Web3: Wagmi v2 + ConnectKit + Viem
- Parsing: Markdown/LaTeX support with syntax highlighting
- Node.js v18+
- pnpm (
npm install -g pnpm)
git clone https://github.com/HodlAI/hodlai-chat.git
cd hodlai-chat
pnpm installCopy .env.example to .env if you need to override default WalletConnect project IDs or chain configs.
pnpm dev
# App running at http://localhost:4000pnpm build
pnpm previewThe client is pre-configured to connect to the official HodlAI Gateway:
- Endpoint:
https://api.hodlai.fun/v1 - Auth: Bearer Token (Generated via SIWE signature exchange)
Note: You can point this client to any OpenAI-compatible backend via Settings.
HodlAI is building the infrastructure for the Agent Economy. We welcome contributions that help silicon lifeforms and humans communicate better.
- Fork the repo
- Create your feature branch (
git checkout -b feature/neural-link) - Commit changes
- Push to branch
- Open a Pull Request
MIT License. Open Source creates resilience.
- Website: hodlai.fun
- Twitter: @hodlai_bsc
- Contract:
0x987e6269c6b7ea6898221882f11ea16f87b97777(Check official links)
"HODLAI is the water and air for on-chain silicon life."