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

Note: 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 and priority fee control
  • Pool selection (pump, auto, etc.)
  • Clean success and warning output

Portfolio and Status

View wallet balance (live SOL and USD):

caas show wallet

View full portfolio:

caas show port

Check overall status:

caas status

Shows:

  • RPC
  • Anthropic key
  • Wallet state
  • Unlock gate
  • Slippage, fees, and 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 the OS keychain.


Companion Mode

Start an interactive session:

caas start

In companion mode you can:

  • Talk normally
  • Issue commands like buy, sell, and 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 and Rich for a native terminal UX
  • Wallet value and 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-0.1.2.tar.gz (14.8 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-0.1.2-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for caas_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 088e0005bf2346e0e8bac2ed4c3b99693c545adc851e4a612d91417e6783f834
MD5 b900bd792e7ced0a7bc8cc32dcae5b9a
BLAKE2b-256 4402a4b83759ca4c1ea2a0df3c72cf20da3d54388e459328138fe2fef886a4c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: caas_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 17.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-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b69c5f57eab9e4cdf703062241da01eda24e0c938ccfa32d65be7c6b3058ea68
MD5 8ee8a3f5b420379c97f70d6303886bd7
BLAKE2b-256 ae664c94b80c32bd872cd8c408b6237f3c5c4743aa523c293586a8c76fd7cc8f

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