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

CommandPurpose
openlegal analyzeRun case analysis.
openlegal auditReview the hash-only invocation audit trail.
openlegal caseWork with specific matters in the ledger.
openlegal doctorDiagnose installation, environment, roots, API, and provider status.
openlegal evidenceInspect evidence connected to matters.
openlegal healthJSON health report: Python, package, CLI, roots, API, privacy, models, audit.
openlegal modelsInspect model routing and provider state.
openlegal privacyReview the privacy gate and fail-closed status.
openlegal runRun the intelligence engine on the repository.
openlegal startStart the backend + frontend application.
openlegal statusRead-only status of matters, models, and privacy state.
openlegal tuiLaunch 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.

Related

Browser UI

Command Center and API over HTTP.

Read

Getting started

Install and run in minutes.

Read

Status

Current verified state of the project.

Read