Skip to content

speedily/AryaaAI

Repository files navigation

AryaaAi: Autonomous AI Research Assistant & Multimedia Course Creator

🚀 Overview

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.


🛠️ Tech Stack

  • 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

🏁 Getting Started

1. Start the Backend

cd AryaaAi
node server.js

Runs the Express backend on port 3003 (or as configured).

2. Start the Frontend

cd AryaaAi/client
yarn dev

Runs the React frontend on port 3002 (or as configured).

3. Environment Variables

  • 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
    

💡 How It Works

  1. Login: User connects their CDP Wallet (Coinbase Wallet) on Base Sepolia.
  2. Payment: User pays 0.01 ETH to the service wallet via x402pay. Payment gating is handled on the frontend (localStorage).
  3. Access: After payment, users can access all AI agents and swarms.
  4. 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.
  5. AI Output: All agent and swarm responses are generated by OpenAI's ChatGPT (gpt-3.5-turbo) via the backend API.

✨ Key Features

  • 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)

🧩 Example Use Cases

  • 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

📝 Notes

  • 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.

🏆 Why AryaaAi?

  • 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

🤝 Contributing

PRs and feedback welcome! See the code for agent and swarm extension points.


📄 License

MIT (see LICENSE)

About

Autonomous AI Research Assistant & Multimedia Course Creator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors