Command-line client for the Galagos AI bioinformatics platform.
Project description
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.
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 galagos_cli-0.1.0a1.tar.gz.
File metadata
- Download URL: galagos_cli-0.1.0a1.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1404bc092cafc04d3cf9e65519d70822e1cf795ecf50500f955e4216c79cbbb6
|
|
| MD5 |
c5352edae383cf2821f0526a9b6f2cc3
|
|
| BLAKE2b-256 |
8e6446d3f1de83c392bbbdba2569775981987b778994ae4f88dff9eabeb5d782
|
File details
Details for the file galagos_cli-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: galagos_cli-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76ba3953f028846597f4ea23dad90cff7ec3575efe2a996b1702e2459b013d81
|
|
| MD5 |
2ee55cec67fb6c7aa00024914540dfc4
|
|
| BLAKE2b-256 |
960265880285c5604528f82248094798f0d0d432421127f7ee472858e7cd8ad3
|