Command-line client for Meridian Governance Router — not the unrelated 'meridian-cli' package also on PyPI
pip install meridian-governance-cli Copy PIP instructions
Scriptable command-line client for Meridian Governance Router, over meridian-client. Installs as the meridian command — one short command, same shape as mta or claude.
The PyPI package is meridian-governance-cli; the command it installs is meridian. Not to be confused with the unrelated meridian-cli package also on PyPI.
Closer in spirit to the aws or stripe CLIs than to an app's own CLI: subcommands over an API, scriptable, mostly no interactive loop required — with one exception. chat absorbed Local-AI's reference implementation upstream (meridian-agent-v1.0.py, decided 2026-10-18) so customers get one governed resolve -> dispatch -> audit loop from Meridian itself, interactively or scripted, rather than writing that sequence themselves against the SDK.
curl -fsSL https://dev-meridian.mytrustworthy.ai/install.sh | bash Detects Python 3.9+, installs via pipx if present, otherwise into an isolated venv under ~/.local/share/meridian with a shim on ~/.local/bin. One command, nothing else to figure out. It also drops a small manifest at ~/.meridian/install-manifest.json recording which path it took, so uninstalling doesn't require remembering:
Or plain pip, if you'd rather manage the venv yourself (no manifest, so uninstall.sh won't know about it — just pip uninstall when you're done):
meridian resolve my_agent [--project-id ID] [--json] meridian explain ROUTING_LOG_ID meridian audit ROUTING_LOG_ID --input-tokens N --output-tokens N meridian projects create --name NAME [--quality Q] [--cost C] [--risk R] meridian projects list meridian agents create PROJECT_ID AGENT_NAME [--pinned-model M] [--quality-override Q] [--allowed-hubs h1,h2] meridian agents list PROJECT_ID meridian hubs list meridian hubs discover meridian keys list [--json] meridian keys create [--name NAME] meridian keys revoke KEY_ID meridian catalog meridian logout [--revoke] meridian python-path # print the interpreter this command runs under — # has `meridian` importable even inside a pipx venv. # For a host program that wants `from meridian import # Meridian` directly instead of shelling out: run this # once to find the right interpreter, don't parse the # `meridian` executable's shebang to guess it. meridian chat [--agent NAME] [--code-agent NAME] [--project-id ID] [--max-tokens N] meridian chat --one-shot "message" [--json] [--max-tokens N] meridian chat --daemon [--host HOST] [--port PORT] [--refresh-interval SECS] Every data-returning command without a dedicated human-readable format (explain, audit, catalog, projects list, agents list) prints raw JSON — pipe into jq.
Per-turn flow: resolve(agent) -> catalog/hubs join -> dispatch to the chosen hub's OpenAI-compatible endpoint -> audit. Routing, scoring and governance all live in Meridian; chat just drives the loop. OpenAI-compat hubs only for now (vLLM, Ollama, OpenAI-shaped endpoints) — bedrock/ anthropic/etc. need a protocol translator, not yet added.
Probes localhost for a local Ollama (:11434/api/tags) or vLLM (:8000/v1/models), proposes registering what it finds (models included), and asks for confirmation before actually registering anything — it never writes to your org's catalog without that confirmation. If nothing responds on localhost, it falls back to prompting for a provider + URL manually, probes that instead, and asks for confirmation the same way. Same wizard from meridian hubs discover and /discover inside meridian chat's manage mode (meridian_cli/manage.py + chat.py's cmd_manage_discover) — one implementation either way.
Deliberately only probes localhost, never a LAN subnet: unlike a single-household tool that can hardcode its own known boxes' IPs, Meridian is multi-tenant — there's no fixed list of "this customer's boxes" to guess at. localhost is the one address that means the same thing for every caller; anything else goes through the manual-entry fallback instead of a scan.
Also why this is a client-side probe at all, not a call to the backend's own /discover endpoint: on a SaaS instance, "localhost" from the server's perspective means the server's own container, not your laptop. Discovery and model-listing both happen in the CLI process so they can actually reach localhost on the machine meridian is running on; the resulting model list is registered directly via register_models, never by asking the server to re-discover something it structurally cannot reach.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.




