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.2.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file solana_swarm-0.2.2.tar.gz
.
File metadata
- Download URL: solana_swarm-0.2.2.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 | f46102bdb9e2b6c3006c8363ef44c27b51db4a1039108a449dac58378f5377a0 |
|
MD5 | 8d89cf443d4e10cd2ea5f6e1cb104c7a |
|
BLAKE2b-256 | 83b655b2d3be4e6be6df46b89cb303141807f2e07a3f1f530ce44818a569605e |
File details
Details for the file solana_swarm-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: solana_swarm-0.2.2-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 | 5caf4ef34d5ed46256315d38434ebea461191609c0567426691df80838559639 |
|
MD5 | 700ac24b55980b06f6f7bcb778ae0a46 |
|
BLAKE2b-256 | 460e494ef35d7ffe6c91f8da5d07903417c4250302c66032b8c77edce33d3f44 |