https://github.com/truemagic-coder/solana-agent-kit
Solana Agent Kit - Plugins
https://github.com/truemagic-coder/solana-agent-kit
Last synced: 3 months ago
JSON representation
Solana Agent Kit - Plugins
- Host: GitHub
- URL: https://github.com/truemagic-coder/solana-agent-kit
- Owner: truemagic-coder
- License: mit
- Created: 2025-03-13T20:25:03.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-04-05T22:06:30.000Z (3 months ago)
- Last Synced: 2025-04-05T23:18:38.625Z (3 months ago)
- Language: Python
- Homepage:
- Size: 85.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Solana Agent Kit
[](https://pypi.org/project/sakit)
[](https://opensource.org/licenses/MIT)
[](https://www.python.org/downloads/)A collection of powerful plugins to extend the capabilities of Solana Agent.
## 🚀 Features
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## 📦 Installation
```bash
pip install sakit
```🔌 Plugins
### Internet Search Plugin
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.
```python
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.### MCP
This plugin enables Solana Agent to interact with multiple MCP servers via URLs.```python
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
}
]
}
```## 🧩 Plugin Development
Want to add your own plugins to Solana Agent Kit? Follow these guidelines:1. Create a new plugin directory under solana_agent_kit/
2. Implement a plugin class that follows Solana Agent's plugin architecture
3. Add your plugin to the list in __init__.py
4. Test thoroughly
5. Submit a PR!## 📄 License
This project is licensed under the MIT License - see the LICENSE file for details.