AryaaAi is a fullstack dApp that lets users log in with their CDP Wallet (Coinbase Wallet), pay per use via x402pay (on Base Sepolia), and access a suite of AI agents and swarms for research, course creation, and content generation. All AI features are powered by OpenAI's ChatGPT (gpt-3.5-turbo). The app is built for hackathon/MVP use and demonstrates onchain pay-per-use access to advanced AI workflows.
- Frontend: React (Vite), wagmi, viem, @coinbase/wallet-sdk
- Backend: Node.js, Express, OpenAI API (ChatGPT)
- Wallet & Payment: CDP Wallet (Coinbase Wallet), x402pay (Base Sepolia testnet)
- Agent Orchestration: Modular agent and swarm logic
cd AryaaAi
node server.jsRuns the Express backend on port 3003 (or as configured).
cd AryaaAi/client
yarn devRuns the React frontend on port 3002 (or as configured).
- In
AryaaAi/.env, set your OpenAI API key:OPENAI_API_KEY=sk-... - (Optional) In
AryaaAi/client/.env, set your service wallet address:REACT_APP_SERVICE_WALLET=0xYourServiceWalletAddress
- Login: User connects their CDP Wallet (Coinbase Wallet) on Base Sepolia.
- Payment: User pays 0.01 ETH to the service wallet via x402pay. Payment gating is handled on the frontend (localStorage).
- Access: After payment, users can access all AI agents and swarms.
- Agents & Swarms:
- Agents: Specialized AI tools (e.g., Content Writer, Quiz Maker, Slide Designer).
- Swarms: Multi-agent workflows that generate multiple outputs for a single prompt.
- AI Output: All agent and swarm responses are generated by OpenAI's ChatGPT (gpt-3.5-turbo) via the backend API.
- CDP Wallet login and x402pay payment gating
- Agent selection: Choose from a variety of AI agents for content, research, and course creation
- Swarm workflows: Run multi-agent collaborative tasks for richer outputs
- Modern, tabbed UI: Easy navigation between agents, swarms, and use cases
- Pay-per-use model: Only pay when you want to use the AI features
- All AI is powered by OpenAI's ChatGPT (no AWS, no decentralized storage)
- Launch an online course: curriculum, lessons, quizzes, slides, scripts, banners, landing page, emails
- Build a personal brand: content calendar, social posts, video scripts, newsletters
- Run a bootcamp: curriculum, projects, onboarding, engagement, tracking
- Productized service: offers, proposals, sales copy, onboarding
- Content repurposing: extract, summarize, generate for multiple platforms
- No onchain payment verification in backend: Payment gating is handled on the frontend for MVP/demo purposes.
- All AI is powered by OpenAI's ChatGPT.
- No AWS, Pinata, or IPFS integration.
- For hackathon/demo use only.
- All-in-one research, course, and content generator
- Onchain pay-per-use access to advanced AI
- Modular, agentic, and extensible architecture
- Modern, user-friendly UI
PRs and feedback welcome! See the code for agent and swarm extension points.
MIT (see LICENSE)