Metadata-Version: 2.1
Name: solana-swarm
Version: 0.0.1
Summary: Solana AI Agent
Home-page: https://solana-swarm.com
License: MIT
Keywords: ai,agent,ai agent,solana ai agent
Author: Bevan Hunt
Author-email: bevan@bevanhunt.com
Requires-Python: >=3.12,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Dist: cyberchipped (==2.1.2)
Requires-Dist: solana (==0.35.0)
Requires-Dist: solders (==0.21.0)
Project-URL: Repository, https://github.com/truemagic-coder/solana-swarm
Description-Content-Type: text/markdown

# Solana Swarm

[![PyPI - Version](https://img.shields.io/pypi/v/solana-swarm)](https://pypi.org/project/solana-swarm/)

This CLI tool is a stateful AI agent that can perform actions on the Solana blockchain (devnet).

## Actions:
* Create new accounts
* Get balances of accounts
* Transfer between accounts

## Test Flow on Devnet:
* Install OpenAI API KEY for `zsh` shell:
    * `echo 'export OPENAI_API_KEY="YOUR_API_KEY"' >> ~/.zshrc`
* `pip install solana-swarm`
* `solana-swarm`
* Tell the AI to: `create 2 new accounts`
* Go to https://faucet.solana.com/ and airdrop 0.5 SOL into account 1 (cut and paste public key from CLI into site)
* Tell the AI to: `Check the balance of account 1` - should be 0.5 SOL
* Tell the AI to: `Transfer 0.25 SOL from account 1 to account 2` - should complete and show new balances
* NOTE: wallets are not saved between chats so if you `exit` you will lose access to the wallets!

