Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

meridian-governance-cli

Latest version: v0.19.19

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: kpollard
15 Versions
305 Downloads

Scan summary

meridian-governance-cli was last scanned on 29 Nov 2026 at version 0.19.19. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 15 versions; the latest 3 were published within 2 days (28 and 29 Nov 2026).
  • Findings: No rules fired in version 0.19.19.
  • Downloads: 305 downloads.

Versions

15 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.19.19 LATEST 29 Nov 2026 No rules fired
0.19.18 29 Nov 2026 No rules fired
0.19.17 28 Nov 2026 No rules fired
0.15.0 31 Oct 2026 Not shown
0.10.0 19 Oct 2026 Not shown

No rules fired in 0.19.19

Findings

Findings for v0.19.19. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.19.19; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

meridian-governance-cli

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.

Getting started

pipx install meridian-governance-cli
meridian

Run meridian on its own at a terminal. If you have no account it asks for an organization name, email and password; if your account has no model it can use, it offers to look for a local Ollama or vLLM server, registers it at an address the server can reach, tests it, and opens the chat. If you are already set up it opens the chat straight away. In a script (no terminal) a bare meridian still prints the usage. Everything it does is also available as separate commands: meridian signup, meridian hubs discover, meridian chat.

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.

Install

curl -fsSL https://ai-server-01.knjhome.org:8444/install.sh | bash

On Windows, in PowerShell (it installs uv for you if you have neither it nor pipx):

irm https://ai-server-01.knjhome.org:8444/install.ps1 | iex

Open a new PowerShell window afterwards if meridian is not found; the installer also puts it on this window's PATH where it can. To remove it: uv tool uninstall meridian-governance-cli.

The installer asks the Meridian server which client version it ships and installs exactly that, from the server (it builds the client from the same commit as itself and serves it at /dist/), so the client always matches the server and nothing depends on a PyPI upload. It uses uv (or pipx if that's what you have, installing uv if you have neither) and upgrades an existing install in place. It then checks that the meridian which actually runs is the one it just installed, and exits with an error naming every copy if an older one earlier on your PATH is shadowing it.

MERIDIAN_URL=https://your-host bash install.sh installs from a different Meridian server. meridian --version shows what is installed.

By hand, the same thing:

pipx install --pip-args="--find-links https://ai-server-01.knjhome.org:8444/dist/" meridian-governance-cli
# or: uv tool install --find-links https://ai-server-01.knjhome.org:8444/dist/ meridian-governance-cli

Remove it with uv tool uninstall meridian-governance-cli (or pipx uninstall), or run the uninstaller, which also offers to revoke your API key on the server and to delete ~/.meridian (saved credentials, chat logs), asking before each:

curl -fsSL https://ai-server-01.knjhome.org:8444/uninstall.sh | bash

Writing code against Meridian instead of using the command? That's the SDK: pip install --find-links https://ai-server-01.knjhome.org:8444/dist/ meridian-client — see SKILL.md in the meridian-client repo.

Get credentials

meridian signup          # new org — prompts for org name, email, password
# or
meridian login           # existing account — authenticates, mints a new key
meridian whoami           # confirm what's saved

Credentials live in ~/.meridian/config.json (mode 600 — api_key is in there in plaintext, same tradeoff mta-cli makes for its own token). Override the location with MERIDIAN_CLI_HOME if you want more than one profile.

Projects have a default agent

Selecting a project has to bring an agent with it. A client cannot guess which agent a project means to be talked to, and keeping the previous name was a bug: /project 283 left agent=concierge, which project 283 does not have, and every message after it failed. Now a project can name a default agent, and:

  • /project 283 switches to that project and its default agent; /project 283 NAME names one explicitly.
  • /agent shows the agents in the project (default marked); /agent NAME switches.
  • meridian chat --project-id 283 with no --agent uses the project's default.
  • With several agents and no default, the CLI says so and lists them instead of guessing; nothing is sent until you pick one.

A new project is created with one agent called default, already set as its default (meridian projects create --no-default-agent skips it). Rename it to whatever you like: the project's default is linked by id, so it follows. In the console, the project's Default agent selector sets it and the agent editor renames it.

Set it from the CLI with meridian projects set-default-agent PROJECT_ID AGENT_NAME, or by default_agent_id on PUT /projects/{id}. Projects that already had exactly one agent were backfilled; projects with several were left unset on purpose, and a project made with --no-default-agent makes its first agent the default.

Renaming changes the address callers use: anything that resolves the agent by its old name (scripts, MTA, meridian chat --agent) must be updated, and will be told the agent is not in the project until it is. Pending change requests follow the rename; history keeps the name that was current at the time, and each rename is recorded.

Who calls the model

By default Meridian calls the model for you. meridian chat sends the conversation to Meridian (POST /api/v1/invoke), which resolves the agent's route, calls the model, streams the answer back and records the usage. There is nothing to set up on your machine: no provider keys, no cloud credentials, no extras. Models in the hosted catalogue (served through OpenRouter) work out of the box. Running your own Azure, AWS Bedrock or on-premises hubs through Meridian is set up with us (talk to us).

--dispatch (or MERIDIAN_CHAT_DISPATCH) chooses who makes the call:

mode behaviour
auto (default) Meridian calls the model. If Meridian cannot run that route for you, this machine tries with credentials you have set locally.
server Meridian only. Never falls back; says so if it cannot.
local Meridian only decides; this machine calls the hub with keys from its own environment.

--tools meridian calls the model from this machine for now.

If a call has to be made from this machine (local, or the auto fallback) it needs what that hub needs: Bedrock needs AWS credentials and the bedrock extra, Anthropic needs ANTHROPIC_API_KEY, and a hub with an auth_key_env needs that variable set. In that case meridian chat works out what it can reach and tells Meridian, which leaves the others out when scoring and records why (unreachable_from_client). This only narrows: it never overrides policy. If nothing is reachable the error says what was excluded and why. A pinned agent cannot be rerouted, so if neither Meridian nor this machine can call its hub, the error says so.

Calling Meridian from another program

If you are writing a program that needs Meridian (MTA's CLI is one), do not import the SDK into it and do not hunt for an interpreter. Run the installed command and read JSON. It needs only that meridian is on PATH, so it behaves the same on Linux, macOS and Windows, and no directory layout or sys.path can shadow it. (Importing the SDK broke exactly that way: a directory called meridian/ earlier on the path won over the SDK, because the Meridian server package shares the name.)

meridian api search "update agent"               # find the operation
meridian api describe put_projects_project_id_agents_agent_name   # parameters, body, risk, gotchas
meridian call get_projects_project_id_agents -p project_id=283
meridian call put_projects_project_id_agents_agent_name -p project_id=283 -p agent_name=default \
        -d '{"agent_name": "concierge"}'
meridian call post_projects -d @new-project.json
echo '{"display_name": "x"}' | meridian call put_projects_project_id -p project_id=283 -d -
meridian ping                                     # reachable? which build? (needs no login)

The contract

stdout exactly one JSON document, always, failures included
stderr human text, only when the exit code is non-zero
exit 0 success (call: the server answered HTTP < 400)
exit 1 the server said no (HTTP >= 400). stdout still holds the response; body.detail is the reason
exit 2 bad arguments, nothing was sent: unknown operation (with a suggestion), a missing path or query value, a body that is not JSON, a write under --mode read
exit 3 setup or network: not logged in, key rejected, server unreachable

call prints {"operation", "ok", "status", "body", "truncated"}; body is the parsed response and is never truncated. Branch on the exit code, then read the JSON.

  • Operation ids come from method + path (PUT /api/v1/projects/{project_id} is put_projects_project_id), so they change only when a route does. meridian api describe shows the server's real parameters, so a program can check what it is about to send. Each operation has a risk of read, write or destructive.
  • Credentials are the saved login, or MERIDIAN_API_KEY and MERIDIAN_BASE_URL in the environment (MERIDIAN_CLI_HOME relocates the config).
  • Writes take effect immediately. --mode read (or MERIDIAN_TOOLS_MODE=read) refuses them with exit 2 before anything is sent.
  • Version gate: meridian --version prints meridian-governance-cli X.Y.Z (...). call, api and ping exist from 0.17.0; on an older install they are an "invalid choice" error (argparse exit 2), so treat that as "not available".
  • Values given with -p and -q are strings; the server converts them. A path value is escaped into its own segment, so ../x cannot reach another route.

Let an agent run Meridian

An agent can manage Meridian for you in plain language, and learn its API as it goes. meridian chat starts with these tools on (when you have a key), and the agent is told it has them, so "what projects do I have?" is looked up, not answered with a guess. It gets four API tools, not ninety: meridian_whoami, meridian_api_search (find an operation by what you want to do), meridian_api_describe (schema, risk, and verified gotchas), and meridian_call; plus three that keep it from guessing about Meridian itself: meridian_version (what is installed, what the server offers, how to upgrade), meridian_docs (the server's published docs) and meridian_cli_help (the real --help). The catalog behind them is the server's own GET /api/v1/tools, built from its live OpenAPI, so the agent learns the API it is actually talking to.

In meridian chat (this is how a concierge agent does your admin):

meridian chat --agent concierge --project-id 283      # tools are on by default
meridian chat --no-tools                              # or MERIDIAN_CHAT_TOOLS=off
meridian chat --tools-mode read                       # look, don't touch
meridian chat --delegate auto                         # may ask the worker agent on its own (default: only when you ask)
meridian chat --tools meridian ...                    # require them: an error if impossible
> move the concierge onto the on-prem hubs only
  → CALL put_projects_project_id_agents_agent_name [write]
    ← HTTP 200

From Claude Code, Codex, or any MCP client:

pipx inject meridian-governance-cli mcp        # MCP needs Python 3.10+
claude mcp add meridian -- meridian mcp

Things to know:

  • Tools need a model on a hub this machine can call directly. Tool turns are dispatched from here, not through Meridian, so a hub that needs a credential you do not have is left out when Meridian picks the model (the decision records why). If nothing else is allowed, that turn runs through Meridian without tools, says (tools off for this turn: ...), and the agent is told. Naming --tools meridian makes that an error instead.
  • Worker delegation is opt-in. The assistant can hand a hard question (writing SDK code, explaining a routing decision) to the project's worker agent (worker_agent_id) with the meridian_delegate tool. The worker reasons over text only: no tools, no access to your Meridian, and API keys are refused before anything is sent. The call goes through Meridian, so it needs no key on this machine, and which model the worker is stays that agent's own configuration. The cheaper model is the default and delegation is the exception, so --delegate picks how readily it is used: ask (default) only when you ask it to, auto by its own judgment, off not offered. Also MERIDIAN_CHAT_DELEGATE, or "chat_delegate" in the config file (flag, then env, then config). A project with no worker agent says so instead of delegating.
  • Writes execute immediately by default, as the signed-in user, and reach everything that routes through that Meridian. Every call is printed to stderr as it happens. --tools-mode read (or meridian mcp --mode read) allows GET only.
  • Reach is whatever the key allows. A tenant key sees only the operations it can call. Org and model registration are not among them; that takes a house key, deliberately never offered to a tenant's agent.
  • The model must support tool calling. A hub that rejects tools gives a clear error. Tool turns are not streamed.
  • chat now sends the agent's configured system prompt, with or without --tools. Before, a persona set on an agent in Meridian had no effect in the CLI.
  • Needs a Meridian that serves /api/v1/tools; an older one answers 404.

Commands

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases meridian-governance-cli

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229