Companion as a Service: CLI companion + Pump.fun trading/launching.
Project description
CAAS
Companion as a Service
A terminal-native Solana companion for Pump.fun trading, wallet management, and conversational command execution.
CAAS is designed to feel like a sessioned assistant it remembers state, gates your wallet, shows live balances, and lets you trade or talk naturally from a single CLI.
Install
pip install caas-cli
First-Time Setup
caas init
This walks you through:
- Solana RPC configuration
- Anthropic API key (stored in OS keychain)
- Solana wallet (masked input, Windows-safe)
Wallet Gate (Safety Layer)
Before any trade, your wallet must be unlocked:
caas unlock
- Unlocks wallet in-memory for 30 minutes by default
- Automatically re-locks after TTL
- Manually lock anytime:
caas lock wallet
This is a convenience gate not encryption. Use responsibly.
Trading (Pump.fun)
Buy tokens with SOL:
caas buy --solana 1 <mint>
Sell tokens:
caas sell --solana "25%" <mint>
caas sell --solana all <mint>
Features:
- Slippage + priority fee control
- Pool selection (
pump,auto, etc.) - Spinner-wrapped transactions
- Clean success / warning output
Portfolio & Status
View Saved Keys:
caas show keys
View full portfolio:
caas show port
Check overall status:
caas status
Shows:
- RPC
- Anthropic key
- Wallet state
- Unlock gate
- Slippage / fees / pool
Configuration Commands
caas set rpc
caas set anthropic
caas set wallet
caas set wallet-file <path>
caas set slippage
caas set priority-fee
caas set pool
All secrets are stored securely via OS keychain.
Companion Mode
Start an interactive session:
caas start
In companion mode you can:
- Talk normally
- Issue commands like
buy,sell,status - Let CAAS manage context and state across turns
This is where the Companion part lives.
Reset Everything
caas reset
Clears:
- Config
- Wallet gate
- Stored secrets
Help
caas help
Shows the full rich, in-terminal help panel.
Notes
- Built with Typer + Rich for a native terminal UX
- Wallet value + portfolio fetched via a secure proxy (no API keys shipped)
- Designed for fast iteration, not babysitting
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file caas_cli-0.1.9.tar.gz.
File metadata
- Download URL: caas_cli-0.1.9.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a916246a3b70372b7c148718eeaa048fb21da440b7f7ade9f6262cae3dc020d3
|
|
| MD5 |
9f11cc1cf0e1e63994aa027e8e263721
|
|
| BLAKE2b-256 |
c7e5a7bb52866df83b869ca0505abb8cf94baa58758d4e5d3a7da3180f86e63c
|
File details
Details for the file caas_cli-0.1.9-py3-none-any.whl.
File metadata
- Download URL: caas_cli-0.1.9-py3-none-any.whl
- Upload date:
- Size: 22.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6b51a202e5ec78ba051bcb1e5771e61b8277b969912e6d54c4ee79aaa2ae9b1
|
|
| MD5 |
c993237389b7c4b4abe47823748dd8c8
|
|
| BLAKE2b-256 |
dde7b9de27548c95295c432be3452221849104dcf98e0ec2d4bfe751fe819d44
|