Skip to main content

Orchestrate CLI + MCP server for multi-model agent workflows

Project description

meridian

Orchestrate AI coding agents across Claude Code, Codex, and OpenCode. Each model runs through its native harness — meridian coordinates between them.

Early development. Meridian is not stable. Expect breaking changes in any release. If you need a stable workflow, this project is not ready for you yet.

v0.1.0 Migration

v0.1.0 removes all legacy state format support in the state layer.

If you are upgrading from any pre-0.1.0 build, run:

rm -rf ~/.meridian

This is a clean break. There is no automatic migration.

Why

Claude Code is (supposed to be) the best way to run Claude. Codex CLI is often the best way to run GPT. Each provider's harness is optimized for their models — sandboxing, tool use, context handling, everything (supposedly).

But you can only use one at a time.

Meridian lets agents spawn other agents across harnesses. The right model for each task, through the right runtime, with clean context per spawn.

Install

uv tool install meridian-cli
Other methods
pipx install meridian-cli
pip install meridian-cli

From source:

git clone https://github.com/haowjy/meridian-cli.git
cd meridian-cli
uv tool install --force . --no-cache --reinstall

You need at least one harness installed: Claude Code, Codex CLI, or OpenCode.

Set Up a Project

meridian init by itself only bootstraps Meridian project config:

meridian init

To initialize Mars package content in the same step, use setup flags:

meridian init --add haowjy/meridian-dev-workflow --link .claude

For first-run onboarding, bootstrap can do setup + launch in one command:

meridian bootstrap --add haowjy/meridian-dev-workflow --link .claude

--add / --link setup flags cannot be combined with --dry-run.

Usage

Launch an interactive session:

meridian

Or spawn agents directly:

# Code on Codex, review on Claude
meridian spawn -a coder -p "Add rate limiting to the API endpoints"
meridian spawn -a reviewer --from p1 -p "Review the rate limiting implementation"

# Check on work
meridian spawn list
meridian spawn show p1

Agents route to their configured model and harness automatically. Each spawn gets a fresh context window with only the context it needs.

Architecture

graph TB
    User([You]) --> Primary["meridian<br/>(primary session)"]

    subgraph Packages
        Sources["git sources"] -->|"mars add/sync"| Agents[".agents/"]
        Agents -->|"mars link"| Tool[".claude/ · .cursor/"]
    end

    subgraph Runtime
        Primary -->|"meridian spawn"| Router{"Model router"}
        Router --> Claude["Claude Code"]
        Router --> Codex["Codex CLI"]
        Router --> OpenCode["OpenCode"]
    end

    subgraph State[".meridian/"]
        Spawns["spawns + reports"]
        Sessions["sessions"]
        Work["work items"]
    end

    Agents --> Primary
    Primary --> State
    Claude & Codex & OpenCode -->|"meridian CLI"| State

Agent Packages

meridian-dev-workflow — A dev team: architects, coders, reviewers, testers, researchers, documenters, and the orchestrators that coordinate them.

meridian-base — Core coordination primitives. Included as a dependency of meridian-dev-workflow.

Docs

Development

uv sync --extra dev
uv run ruff check .
uv run pytest-llm
uv run --extra dev python -m pyright

See DEVELOPMENT.md for full dev setup.

Contributing

This project is not accepting external contributions at this time. The maintainer is keeping it closed to outside contributions until the codebase is stable enough to support them well. Bug reports and feedback are welcome as GitHub issues.

License

Apache 2.0

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

meridian_cli-0.2.4.tar.gz (795.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

meridian_cli-0.2.4-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

File details

Details for the file meridian_cli-0.2.4.tar.gz.

File metadata

  • Download URL: meridian_cli-0.2.4.tar.gz
  • Upload date:
  • Size: 795.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for meridian_cli-0.2.4.tar.gz
Algorithm Hash digest
SHA256 78d33b9810688d1a21911bd5e08882ac502c7adfa484a5640bc8d1a1bd304452
MD5 270385eb6d3d661145240f56c51b7181
BLAKE2b-256 9badedb6bc5c36f8da2e9456bd44917c92bd9d9fa88ca317e772e186be872637

See more details on using hashes here.

Provenance

The following attestation bundles were made for meridian_cli-0.2.4.tar.gz:

Publisher: release.yml on haowjy/meridian-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file meridian_cli-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: meridian_cli-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for meridian_cli-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0ab90a41074cd1135f2121c0048a47ef6c182fd52dfd51421a2ec6a50246dd45
MD5 d309a4a59efe1fed15fc2197e5b28cc7
BLAKE2b-256 779f2c1c69611180e57f44fb1192cb1da1e3f7376314f461d9694ba3697113e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for meridian_cli-0.2.4-py3-none-any.whl:

Publisher: release.yml on haowjy/meridian-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page