defi-lp-agent
v1.0.7
Published
DeFi Liquidity Provider Agent CLI - AI-powered LP management tool
Downloads
1,531
Maintainers
Readme
DeFi LP Agent CLI
🤖 AI-powered DeFi Liquidity Provider management tool with multi-chain and multi-DEX support.
Features
- 🌙 Multiple AI Providers: Kimi (Moonshot), OpenAI, Anthropic
- ⛓️ Multi-Chain Support: BSC, Ethereum, Arbitrum, Polygon, Avalanche, Base, Solana
- 🏦 Multi-DEX Support: PancakeSwap, Uniswap, SushiSwap, ApeSwap, Orca
- 📱 Bot Integrations: Telegram, Discord
- 🎯 Interactive Setup: CLI wizard for easy configuration
Installation
npm install -g defi-lp-agentQuick Start
1. Interactive Setup
defi-lp-agent setupThis will guide you through:
- AI provider selection and API key configuration
- Telegram/Discord bot setup
- Chain and DEX selection
2. Start the Agent
# Foreground mode
defi-lp-agent start
# Daemon mode (PM2)
defi-lp-agent start --daemon3. View Configuration
# View current config
defi-lp-agent config
# Edit configuration
defi-lp-agent config --editCommands
| Command | Description |
|---------|-------------|
| setup | Interactive configuration wizard |
| start | Start the LP Agent |
| start --daemon | Start as background service |
| config | View configuration |
| config --edit | Edit configuration |
| status | Check agent status |
| logs | View logs |
| logs --follow | Follow logs in real-time |
Configuration
Configuration is stored in ~/.defi-lp-agent/:
config.json- Main configuration.env- Environment variables
Supported AI Providers
- 🌙 Kimi (Moonshot AI) - Recommended for Chinese users
- 🔵 OpenAI (GPT-4)
- 🟣 Anthropic (Claude)
Supported Chains
- BSC (Binance Smart Chain)
- Ethereum
- Arbitrum
- Polygon
- Avalanche
- Base
- Solana
Supported DEXes
- PancakeSwap
- Uniswap
- SushiSwap
- ApeSwap
- Biswap
- Orca (Solana)
- Raydium (Solana)
Requirements
- Node.js >= 18.0.0
- Bun >= 1.3.4 (for running the agent)
License
MIT
Author
0xWeakSheep [email protected]
