Skip to main content

Solana Swarm

PyPI - Version

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-beta
  • solana-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.

Metadata

Release files for solana-swarm 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for solana-swarm 0.2.2
File Size Uploaded
solana_swarm-0.2.2.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for solana-swarm 0.2.2
File Interpreter ABI Platform
solana_swarm-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 11.1 kB

Release files / solana_swarm-0.2.2.tar.gz

Download URL solana_swarm-0.2.2.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f46102bdb9e2b6c3006c8363ef44c27b51db4a1039108a449dac58378f5377a0
BLAKE2b-256 checksum
How to use checksums
83b655b2d3be4e6be6df46b89cb303141807f2e07a3f1f530ce44818a569605e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release files / solana_swarm-0.2.2-py3-none-any.whl

Download URL solana_swarm-0.2.2-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5caf4ef34d5ed46256315d38434ebea461191609c0567426691df80838559639
BLAKE2b-256 checksum
How to use checksums
460e494ef35d7ffe6c91f8da5d07903417c4250302c66032b8c77edce33d3f44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.20

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page