Interfaces · Terminal
Terminal UI
Everything you can do to, with, and about OpenLegal is available on the command line. Twelve commands cover the full operator surface — no GUI required.
The command surface
| Command | Purpose |
|---|---|
openlegal analyze | Run case analysis. |
openlegal audit | Review the hash-only invocation audit trail. |
openlegal case | Work with specific matters in the ledger. |
openlegal doctor | Diagnose installation, environment, roots, API, and provider status. |
openlegal evidence | Inspect evidence connected to matters. |
openlegal health | JSON health report: Python, package, CLI, roots, API, privacy, models, audit. |
openlegal models | Inspect model routing and provider state. |
openlegal privacy | Review the privacy gate and fail-closed status. |
openlegal run | Run the intelligence engine on the repository. |
openlegal start | Start the backend + frontend application. |
openlegal status | Read-only status of matters, models, and privacy state. |
openlegal tui | Launch the interactive operations console. |
Note on the legacy name
OpenLegal’s CLI is installed as openlegal; the older legalone name remains as a compatibility alias. The current surface is the 12 commands above.
Quick feel
# Verify the installation
openlegal doctor
openlegal health
# See current matters, models, privacy state
openlegal status
# Run the engine
openlegal run
# Start backend + frontend application
openlegal start
Interactive operations console (TUI)
The tui command launches a live operations console for monitoring the loop in real time. It is present in the codebase and launches cleanly; fully automated interactive-session test coverage is a work item on the roadmap.