Pharos Agent Kit is a comprehensive toolkit designed to simplify AI agents' interactions with Pharos blockchain
🚀 An open-source toolkit for connecting AI agents to Pharos protocols. Now, any agent, using any model can autonomously perform various Pharos Blockchain actions:
💰 Check ETH balance
🔄 Check ERC20 token balances
💸 Transfer ETH or ERC20 tokens
📊 Get token pricing data
📈 Fetch trending tokens
📉 Monitor market movements
🏦 Access DeFi protocols
🎯 And more...
🌐 Anyone can bring their AI agents trained with any model and seamlessly integrate with Pharos blockchain.
💳 Check ERC20 token balances
💱 Transfer ERC20 tokens
🦎 CoinGecko Pro API integration
⚡ Real-time token price data
📈 Trending tokens and pools
🚀 Top gainers analysis
🔍 Token information lookup
📊 Protocol TVL tracking with DeFiLlama
💹 Price feeds and aggregation
📉 Token trading data
🤖 Elfa AI social media insights
📊 Trending tokens by social activity
📱 Smart mentions tracking
👥 Social account analysis
🛠️ Ready-to-use LangChain tools for blockchain operations
🎯 DynamicStructuredTool-based implementation
✅ Zod schema validation
🛡️ Comprehensive error handling
🔌 Vercel AI SDK for AI agent integration
🌐 Framework agnostic support
⚡ Quick and easy toolkit setup
🤝 Support for the Model Context Protocol
🏗️ Action-based architecture
📝 Structured schema definitions
🎨 DALL-E integration for image generation
🗣️ Natural language processing for blockchain commands
📊 Price feed integration for market analysis
npm install pharos-agent-kitimport { PharosAgentKit, createPharosTools } from "pharos-agent-kit";
// Initialize with private key and optional RPC URL
const agent = new PharosAgentKit(
"your-wallet-private-key",
"https://rpc-url.example.com",
{ OPENAI_API_KEY: "your-openai-api-key" } // optional config
);
// Create LangChain tools
const tools = createPharosTools(agent);The toolkit relies on several key libraries:
🔧 viem for blockchain interactions
🤖 @langchain/core for AI agent tools
✅ zod for schema validation
🦎 CoinGecko API for market data