Solana AI Agent
Project description
Solana Swarm
https://github.com/user-attachments/assets/16e7ec5e-a0a7-4bab-afca-dc621de1aa37
Solana Swarm is a stateful AI agent for the CLI that can perform actions on the Solana blockchain.
Fork it to create your own Solana Agent!
Actions
- Create new Solana accounts
- Transfer SOL between accounts
- Lookup token address for a token by name or symbol from Jupiter strict list
- Requires free AlphaVybe Account:
- Lookup USD price for a token
- Lookup trading info for a token
- Lookup OHLC data for a token
- Calculate gain/losses for a token (1-day resolution)
- Get SOL & SPL balances for accounts
Setup
- Install OpenAI API KEY for zsh shell:
echo 'export OPENAI_API_KEY="YOUR_API_KEY"' >> ~/.zshrc
- Install AlphaVybe API KEY for zsh shell
echo 'export VYBE_API_KEY="YOUR_API_KEY"' >> ~/.zshrc
Install
pip install solana-swarm
Usage
Rate-Limited Public RPCs
solana-swarm
= mainnet-betasolana-swarm --network devnet
= devnet
Custom RPC
solana-swarm --rpc https://my-custom-rpc.com/123
Contributing
Contributions to Solana Swarm are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
solana_swarm-0.2.0.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file solana_swarm-0.2.0.tar.gz
.
File metadata
- Download URL: solana_swarm-0.2.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56fbad65711b5d9d8d0690ec69b9ec7da9a226de947ce612e1d7e33b1c2282a8 |
|
MD5 | 9fb05dc3f3c3ff36c0043d6705b37236 |
|
BLAKE2b-256 | fb46865d498cde5fe3f3f38b5bfef8cbee97e3032a5fd2d5e686d658669f17a8 |
File details
Details for the file solana_swarm-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: solana_swarm-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0843ed20073f6674e1ab74f1c9077937753c129d8c62110ffd4fa08c096242b |
|
MD5 | adb5977bbcdc6dc631fbf06a08fec04d |
|
BLAKE2b-256 | 08c1746ae5c10e5a0925de7f62cb320f50bff16be22a5b51a73c0c5393d3f51c |