Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

caas_cli-1.1.0.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

caas_cli-1.1.0-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

Details for the file caas_cli-1.1.0.tar.gz.

File metadata

  • Download URL: caas_cli-1.1.0.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for caas_cli-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d8d67ef181e45e76784e84b3ed9ab5b8c81925263b6a06373b4d727ff6596c95
MD5 0b47c2f54e3c244347e8db71b15035a9
BLAKE2b-256 6139b6122a32ebea5f86ae48fd504642e2ef1f588022a06fdfe2b55b86779d5c

See more details on using hashes here.

File details

Details for the file caas_cli-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: caas_cli-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for caas_cli-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 87f42bc93a796b85891a9b92ae3a3af1274647ee5a169e60880283b303f2c5c0
MD5 a44d9e60a64facf277e5791401617253
BLAKE2b-256 126820601639532ac1370873113317e47f4cefa9da4b4ee90de52c0f14248941

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page