Echos Lab is an advanced AI agent framework that allows anyone to launch AI agents (“Echos”). Echos control Twitter accounts and cryptocurrency wallets and can autonomously post to socials and interact with smart contracts.
🎯 Live examples on Echos.
- 🤖 Chatbots
- 📈 Autonomous traders
- 💼 Portfolio management
- 📣 Marketing
- 👤✨ Launching your digital twin
- 🐦 Twitter feed analysis and interaction
- 📱 Telegram message handling
- 💬 Slack triggers
- 📢 [soon] Discord connector
- 💰 Echos blockchain account integration (balance tracking, token launching, trading)
- 🔒 [soon] Launch in a TEE for full agent wallet control
- 🌐 [soon] Extensibility to any blockchain (Solana, Base, etc.)
- 🧠 Bring your own model (for top level planning or interactions)
- 📦 Ready-to-use models for launching an agent in <5 minutes
- 🔧 Agent prompting framework
- 🧪 Testing environment for agents (local, collaborative)
- ⏰ Automated hourly background tasks
Python 3.11.x
See pyproject.toml
for full dependency list
- Create and activate your own virtual environment. We recommend using Miniconda.
conda create --name echos python=3.11
conda activate echos
- Install dependencies:
make install
This will install echos_lab
as a local package and install all necessary dependencies.
- Set up environment variables
Create a
.env
file in the echos_lab directory with necessary credentials for:
- Twitter username / password
- Telegram bot token and API credentials
- Anthropic API key (for AI model functionality)
- Openpipe API token (for additional AI finetuning functionality)
- Replicate API token (for image generation)
- See credentials for more instructions
- See Getting Started Guide to create your first bot!
Key Components:
`crypto/`: handles all cryptocurrency operations including trading, token creation, and price tracking
`engines/`: core AI logic and decision making, manages bot personality and responses
`telegram/`: telegram bot operations (direct message and group interactions)
`twitter/`: twitter automation and social media interactions
`slack/`: custom slack triggers and integrations
`db/`: conversation history storage
Configuration Files:
.env: Environment variables and API keys
requirements.txt: Python package dependencies
Dockerfile & Makefile: Deployment configuration
-
Add tweet links to
echos_lab/testing/input/tweet_links.txt
-
Generate examples from tweet data:
echos testing generate-examples
Note: Run this whenever the list of tweets changes.
-
Generate responses:
echos testing generate-responses
-
Review output file:
- Example output
- Contents include:
- Current timestamp
- Current commit hash
- Tweet thread contents
- Tweet analysis and response for each tweet
- Prompt used
This repo is heavily inspired by https://github.com/tee-he-he/err_err_ttyl/tree/main.