Combining AI Agents with Blockchain Payments using Circle's Programmable Wallets
This project demonstrates how multiple AI agents can collaborate on complex research tasks and receive autonomous payments in USDC (digital dollars) on the Solana blockchain.
- 5 specialized AI agents work together on Auditing an Smart Contract of a Blockchain Network.
- Each agent has a unique role (Planner, QA Engineer, Executor, Smart-Contract Auditor).
- Uses Circle's Programmable Wallets for blockchain transactions.
- Validate the Node to Node transaction in the BlockChain Network.
- Runs on Solana DevNet (test network with fake money).
- Python 3.9+ - Download
- Node.js v20.17.0+ - Download
- OpenAI API Key(5$-15$) - Get here
- Circle Developer Account (25$) - Sign up
# 1. Navigate to project directory
cd ai_blockchain_agent
# 2. Set up Python environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt
# 3. Install Node.js dependencies
npm install
# 4. Configure environment variables
cp .env.example .env
# Edit .env and add your API keys
# 5. Update OpenAI configuration
# Edit OAI_CONFIG_LIST and add your OpenAI API key
# 6. Run the system
python main.py- Original Article: Enabling AI Agents with Blockchain
- AutoGen Docs: microsoft.github.io/autogen
- Circle Developer Docs: developers.circle.com/w3s
- Video Tutorial: YouTube Walkthrough
MIT License - Feel free to use, modify, and distribute
Built with β€οΈ By Kuljeet From Bugraptors