Launch AI Agents
AI Agents are even better when they're onchain! Onchain agents have access to stablecoins, tokens, NFTs, and more. This significnatly increases their autonomy and the universe of tasks they can perform.
In this guide, you can select your preferred framework and setup to learn how to launch an AI Agent on Base with CDP Wallet API.
Agent Framework
Setup
LangChain Replit Setup
Set Up Your Development Environment
Configure Environment Variables
- Click on "Tools" in the left sidebar and select "Secrets".
- Add the following secrets:
CDP_API_KEY_NAME=your_cdp_key_name
CDP_API_KEY_PRIVATE_KEY=your_cdp_private_key
OPENAI_API_KEY=your_openai_key # Or XAI_API_KEY if using NodeJS
NETWORK_ID="base-sepolia" # Optional, defaults to base-sepolia
MNEMONIC_PHRASE=your_mnemonic_phrase # Optional
Run the Agent
- Click the "Run" button to start the chatbot.