reverie-cli
The reverie command-line interface.
Commands
reverie run <cmd...> Run any command with Reverie auto-instrumentation.
reverie status Ping the configured backend and show its health.
reverie runs list List recent runs.
reverie runs show <run-id> Show one run plus its event timeline.
reverie replay <run-id> Stream a run's events to the terminal (Phase 1 preview).
How reverie run works
reverie run python my_agent.py does three things:
- Prepends a small bootstrap directory to
PYTHONPATH. The directory contains asitecustomize.pythat Python imports automatically before any user code. - The bootstrap calls
reverie_openai.auto(), which registers a tracing processor with the OpenAI Agents SDK. Your agent code is unchanged. - Spawns your command as a subprocess and waits for it to exit, then exits with the same status code.
This works for any Python entrypoint — python script.py, python -m module,
python -c "..." — and is the same mechanism opentelemetry-instrument uses.
Limitations of the bootstrap
If your project ships its own sitecustomize.py, our hook tries to import yours
afterward but cannot guarantee perfect compatibility. Set
REVERIE_NO_SITECUSTOMIZE_CHAIN=1 to disable chaining if it causes issues.
For non-Python commands (reverie run node app.js), the CLI still runs the
command but no instrumentation is injected.
Configuration
| Var | Default | Description |
|---|---|---|
REVERIE_BACKEND_URL |
http://127.0.0.1:8000 |
Backend base URL |
REVERIE_NO_SITECUSTOMIZE_CHAIN |
unset | Skip chaining to user's sitecustomize |
Install
uv pip install -e ".[dev]"
reverie status
Metadata
Release files for reverie-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 | Provenance | Actions |
|---|---|---|---|---|
| reverie_cli-0.1.0.tar.gz | 38.8 kB | Without provenance | Details for reverie_cli-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reverie_cli-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for reverie_cli-0.1.0-py3-none-any.whl |
Total release size: 76.9 kB
Release files / reverie_cli-0.1.0.tar.gz
| Download URL | reverie_cli-0.1.0.tar.gz |
|---|---|
| Size | 38.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f7b67bef2322525fadccbd5c4e7134da8ab4f4604986080eca2f8cd60956f8f
|
|
BLAKE2b-256 checksum How to use checksums |
3ecd92ca1dd721f86f213587409587661ff71e0a2c2c0e28bb20a96cc6e43173
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / reverie_cli-0.1.0-py3-none-any.whl
| Download URL | reverie_cli-0.1.0-py3-none-any.whl |
|---|---|
| Size | 38.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b0a3273c3a40fba1539e178f6e2a8bb8d7b59e3fc057b4ec8d01e0ac4a565aa
|
|
BLAKE2b-256 checksum How to use checksums |
15871f2ca33cc62abf1cecf2db35cd038c5cbef35595695eb4c2b8cb8dc1a94d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for reverie-cli 0.1.0
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.