Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

galagos-cli

Command-line client for the Galagos AI bioinformatics platform. Drives sandboxes, chats, and files programmatically against the Django REST API.

Install

pipx install galagos-cli      # recommended
# or
pip install galagos-cli

For local development:

python3.11 -m venv .venv
.venv/bin/pip install -e .

Quick start

# 1. Point at the API and paste a token (mint one from the web profile page)
galagos auth login --base-url https://app.galagos.ai/api

# 2. Pick a sandbox and a chat
galagos projects ls
galagos projects use <project-id>
galagos chats new --title "BLAST run from CLI"

# 3. Talk to the agent
galagos chat "Run BLAST on workspace/queries.fasta against nr"

# 4. Read results
galagos files cat results/hits.tsv
galagos files get results/hits.tsv -o ./hits.tsv

Commands

Command Purpose
galagos auth login | logout | whoami Manage API token and base URL
galagos projects ls | use <id> List projects, set the default
galagos chats ls | new | use <id> Manage threads inside a project
galagos chat "<msg>" [--resume] [--tools] Send a message and stream the reply
galagos chat cancel Cancel the current turn
galagos files ls | cat <p> | get <p> -o F | put <local> Browse and transfer files

--project / --thread override the saved defaults on any command.

Configuration

Stored at ~/Library/Application Support/galagos/config.toml on macOS (or the equivalent XDG path on Linux). The token is written with 0600 permissions.

Environment overrides:

  • GALAGOS_API_URL — base URL (e.g. http://localhost:8000/api)
  • GALAGOS_TOKEN — bypass the saved token

Streaming and reconnection

galagos chat consumes the same SSE stream the web UI does. If the connection drops, the agent keeps running server-side; reconnect with:

galagos chat --resume

Auth note

Phase 1 reuses the existing per-user launcher token (DRF authtoken.Token). One token per account, no expiration. A named/scoped API-key system is planned for Phase 2.

Metadata

Release files for galagos-cli 0.1.0a3

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

Source distribution (sdist)

Source distribution for galagos-cli 0.1.0a3
File Size Uploaded Provenance Actions
galagos_cli-0.1.0a3.tar.gz 34.3 kB Without provenance Details for galagos_cli-0.1.0a3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for galagos-cli 0.1.0a3
File Interpreter ABI Platform Actions
galagos_cli-0.1.0a3-py3-none-any.whl Python 3 none any Details for galagos_cli-0.1.0a3-py3-none-any.whl

Total release size: 60.1 kB

Release files / galagos_cli-0.1.0a3.tar.gz

Download URL galagos_cli-0.1.0a3.tar.gz
Size 34.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ab5790545cbb1be4c15ee7fbdb4276925e0bfc60afc21da5543b4949327797be
BLAKE2b-256 checksum
How to use checksums
af1b59b8d88a9ce538e94a65280ad73e3c5cdd8554c8f515a160b4f2b403dd3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Release files / galagos_cli-0.1.0a3-py3-none-any.whl

Download URL galagos_cli-0.1.0a3-py3-none-any.whl
Size 25.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ffa0382ba6a2867c9e637af5dc3b36ec2ca1d93d038165ee321fedf431fa5de0
BLAKE2b-256 checksum
How to use checksums
b071c30fe22f0a232ebb3b9e5434071927ba3f7244a36ec4d7104486d33e2c9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Security for galagos-cli 0.1.0a3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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