bonafide-raas-cli
Command-line client for Bonafide RaaS (retrieval-as-a-service). It returns cited answers from the Bonafide catalog, runs the multi-agent answer path, runs named skills, and calls the MCP tools. The CLI is a thin client over the REST API, so it holds no secrets of its own.
Install
pipx install bonafide-raas-cli # or: pip install bonafide-raas-cli
raas --help
Add the AWS extra only if you use RAAS_CREDENTIALS_SECRET:
pipx install "bonafide-raas-cli[aws]"
Configure
Set the API base URL and sign in. Your administrator provides the URL and the credentials.
| Variable | Purpose |
|---|---|
RAAS_URL |
API base URL (required) |
RAAS_API_KEY |
API key sent as x-api-key |
RAAS_TOKEN |
Bearer token sent as Authorization: Bearer |
RAAS_ISSUER, RAAS_CLIENT_ID, RAAS_CLIENT_SECRET |
Client-credentials sign-in for automation |
RAAS_CREDENTIALS_SECRET |
A secret name or ARN holding the client settings (needs the aws extra) |
For a person signing in interactively, use device-code login: raas login. The token is cached locally.
Use
raas health # no credentials needed
raas retrieve "Which hotels are in New York City?" # cited answer
raas retrieve "..." --mode sources # full source records
raas agent "..." # multi-agent answer; read misalignment_flags
raas skills list
raas skills run facts "..."
raas mcp tools
raas mcp call retrieval_search --args '{"query": "..."}'
raas job <job_id>
Output is JSON on stdout. Exit codes: 0 success, 1 API error (details on stderr), 2 usage error,
3 missing configuration.
Compatibility
The version follows semantic versioning. A breaking change to the API contract is released as a new major version. Before 1.0, minor versions may still include breaking changes; each release notes them.
Support
Report problems with the command, its version (raas --version), and the exit code. Do not send API keys,
tokens or secret names.
License
Apache License 2.0. See LICENSE. This license covers the CLI code only; use of the RaaS service and its data is governed by your service agreement.
Metadata
Release files for bonafide-raas-cli 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bonafide_raas_cli-0.1.0.tar.gz | 13.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bonafide_raas_cli-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.2 kB
Release files / bonafide_raas_cli-0.1.0.tar.gz
| Download URL | bonafide_raas_cli-0.1.0.tar.gz |
|---|---|
| Size | 13.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f3cbc614c3a37737022f93a8ad096f37c4a4ecb3625dfe5f2b0749b26acb232
|
|
BLAKE2b-256 checksum How to use checksums |
f2c3ca8dbecaaddedbf4c011b466d9fc0c2f054d4f45539d84f5ff87dd7a3e79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.
Transparency logRelease files / bonafide_raas_cli-0.1.0-py3-none-any.whl
| Download URL | bonafide_raas_cli-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4684a6f1144c60ea4291acd0812c65bacbc372bf24addbb1cc33a969ccaa2691
|
|
BLAKE2b-256 checksum How to use checksums |
3946ab40b29a70cdf60a1f0c6f3b62cb2b626089add27123303ebd9d69ab2b00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.
Transparency log