A collection of powerful plugins to extend the capabilities of Solana Agent.
Solana Agent Kit provides a growing library of plugins that enhance your Solana Agent with new capabilities:
- Internet Search - Search the internet in real-time using Perplexity or OpenAI
- MCP - Interface with any MCP server
pip install sakit
🔌 Plugins
This plugin enables Solana Agent to search the internet for up-to-date information using Perplexity or OpenAI.
Please ensure you include a prompt to instruct the agent to use the tool - otherwise it may not use it.
config = {
"tools": {
"search_internet": {
"api_key": "your-api-key", # Required - either a Perplexity or OpenAI API key
"provider": "perplexity", # Optional, defaults to perplexity - can also be openai (lowercase)
"citations": True, # Optional, defaults to True - only applies for Perplexity
"model": "sonar" # Optional, defaults to "sonar" for Perplexity and "gpt-4o-mini-search-preview" for OpenAI
}
},
"agents": [
{
"name": "research_specialist",
"instructions": "You are an expert researcher who synthesizes complex information clearly. You use your search_internet tool to get the latest information.",
"specialization": "Research and knowledge synthesis",
"tools": ["search_internet"], # Enable the tool for this agent
}
]
}
Available Search Models for Perplexity
- sonar
- sonar-pro
Available Search Models for OpenAI
- gpt-4o-mini-search-preview
- gpt-4o-search-preview
Notes
- The sonar reasoning models will output their reasoning in the text or audio for Solana Agent which is bad so they should not be used.
This plugin enables Solana Agent to interact with multiple MCP servers via URLs.
config = {
"tools": {
"mcp": {
"server_urls": [
"http://mcp-server1.com/mcp",
"http://mcp-server2.com/mcp",
"http://mcp-server3.com/mcp"
]
}
},
"agents": [
{
"name": "research_specialist",
"instructions": "You are an expert researcher who synthesizes complex information clearly.",
"specialization": "Research and knowledge synthesis",
"tools": ["mcp"], # Enable the tool for this agent
}
]
}
Want to add your own plugins to Solana Agent Kit? Follow these guidelines:
- Create a new plugin directory under solana_agent_kit/
- Implement a plugin class that follows Solana Agent's plugin architecture
- Add your plugin to the list in init.py
- Test thoroughly
- Submit a PR!
This project is licensed under the MIT License - see the LICENSE file for details.