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-kit
import { 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
🚧 Progress During the Hackathon During the hackathon, I successfully implemented full integration with the Pharos Blockchain through the PharosAgentKit. This included: - ✅ Developed and deployed core functionalities for: - 🔍 Checking native and ERC-20 token balances - 💸 Transferring ETH and ERC-20 tokens - 📊 Fetching real-time token prices via CoinGecko - 📈 Tracking trending tokens and market data - 🏦 Accessing DeFi TVL and protocol data from DeFiLlama - 📱 Integrating social insights via Elfa AI - ⚙️ Built developer-friendly interfaces using: - 🧠 LangChain tools (via DynamicStructuredTool) - 🧪 Zod for input validation - 📦 Seamless integration with Vercel AI SDK and Model Context Protocol (MCP) - 🤖 Designed the system to be model-agnostic, allowing any AI agent to interact with Pharos onchain via natural language commands. - 🧪 Thoroughly tested all functions and documented how developers can extend the toolkit with custom tools and actions. - 🚀 Overall, this work delivers a production-ready SDK that opens up the Pharos Blockchain to the AI agent ecosystem.
💰 Fundraising Status We are actively seeking funding to accelerate the development and adoption of the PharosAgentKit. We’re open to angel investors, VCs, and ecosystem grants aligned with our mission.