Skip to main content

mars

A package manager for AI agent profiles and skills. Install agents and skills from git sources into Claude Code, Codex, OpenCode, Cursor, and other agent harness config directories.

Target Status

Mars materializes harness-native artifacts for multiple targets:

Target Status Notes
.claude First-class Claude Code agents, skills, MCP, hooks, and settings surfaces.
.codex First-class Codex project instruction and agent-facing surfaces.
.opencode First-class OpenCode agent and permission surfaces.
.cursor Unmaintained Cursor CLI/config support still ships but is no longer tested or extended; it may break without notice.
.pi Future first-class Meridian-owned Pi flavor and extension surface; under active design/development.

Plugin Distribution

Packages can commit installable plugin artifacts for Claude, Codex, Grok, Cursor, and OpenCode. See Authoring harness plugins for configuration, build, verification, and release guidance.

supported means the component ships and loads. impossible means the harness's plugin system has no slot for it. Verification is evidence from real binaries except where a cell explicitly says docs-only.

Component support

Claude Codex Grok Cursor OpenCode
Tree claude claude claude cursor opencode
Skills supported supported supported supported supported (registered by index.mjs)
Agents supported; hooks, mcpServers, permissionMode, initialPrompt dropped with warning impossible: Codex plugins don't load agents supported (same file as Claude) supported impossible: no API adds an agent
Hooks supported for hooks with a claude fragment; others dropped with warning as Claude (reads the Claude tree's hooks/hooks.json) as Claude supported for hooks with a cursor fragment; others dropped with warning supported for hooks with an opencode fragment that has a default {id, setup} export; others dropped with warning
MCP supported supported (same file as Claude) supported (same file as Claude) supported supported (registered by index.mjs)
Bootstrap docs impossible impossible impossible impossible impossible

Verification level

Claude Codex Grok Cursor OpenCode
Install from catalog live (local marketplace) live (local marketplace) live (local marketplace) docs-only (account required) live (git+file://)
Skills live (own and dependency skills) live (own and dependency skills) live, with resources/ docs-only (schema validation only) live, with resources/
Agents live (subagent preload) n/a (impossible) live (subagent with native skill preload) docs-only (schema validation only) n/a (impossible)
Hooks live (${CLAUDE_PLUGIN_ROOT}, CommonJS script) live (built tree, CommonJS script) live (CLAUDE_PLUGIN_ROOT) docs-only (schema validation only) live (git install, CommonJS script)
MCP live (env_vars pass-through) live (env_vars pass-through) live (env_vars pass-through) docs-only (schema validation only) live (<plugin>:<server>)

Install commands

<owner>/<repo> is the package repository; <name> and <marketplace> come from [plugin].

Harness Command Source forms verified
Claude claude plugin marketplace add <owner>/<repo> then claude plugin install <name>@<marketplace> Local directory and local Git checkout. GitHub shorthand is documented, not run pending a pushed plugin release.
Codex codex plugin marketplace add <owner>/<repo> then codex plugin add <name>@<marketplace> Local directory; Codex selects the Claude catalog. GitHub shorthand is documented, not run pending a pushed plugin release.
Grok grok plugin marketplace add <repo-url> then grok plugin install <name> --trust Local directory and file:// Git.
Cursor agent plugin marketplace add <repo-git-url>, then install from Cursor's Customize UI; local development: agent --plugin-dir <checkout>/<dir>/cursor Documented only; an account is required.
OpenCode opencode plugin add git+https://github.com/<owner>/<repo>.git git+file:// verified. git+https is documented, not run pending a pushed plugin release.

Install

Method Command
Cargo cargo install mars-agents
pip / uv uv tool install mars-agents or pip install mars-agents
npm npm install -g @meridian-flow/mars-agents
Prebuilt binaries GitHub Releases

Quick Start

mars init
mars add meridian-flow/meridian-dev-workflow
mars link .claude
mars link .codex

Your agents and skills are now installed and available in both Claude Code and Codex. Update them with mars upgrade, check for drift with mars doctor.

Adding Sources

# From GitHub
mars add meridian-flow/meridian-base
mars add acme/security-agents --only-agents

# From a local directory
mars add ../my-team-agents

# Pin a version
mars add meridian-flow/meridian-base@^1.0

Model Aliases

Packages can distribute model routing — short names that resolve to concrete models across harnesses:

mars models list
mars models resolve opus
# In mars.toml — override any alias
[models.opus]
harness = "claude"
provider = "Anthropic"
match = ["*opus*"]

How It Works

flowchart TD
    sources["mars.toml + mars.lock<br/><i>committed</i>"]
    local[".mars-src/<br/><i>your own agents, skills, MCP, hooks</i>"]
    git["git sources<br/><i>resolved from mars.toml</i>"]

    canonical[".mars/<br/><i>canonical store, gitignored</i>"]
    agents["agents/ + skills/"]
    mcp["mcp servers"]
    hooks["lifecycle hooks"]

    claude[".claude/"]
    codex[".codex/"]
    cursor[".cursor/"]
    opencode[".opencode/"]

    sources --> |mars sync| canonical
    local --> canonical
    git --> canonical

    canonical --- agents
    canonical --- mcp
    canonical --- hooks

    canonical --> |mars link| claude
    canonical --> |mars link| codex
    canonical --> |mars link| cursor
    canonical --> |mars link| opencode

Mars resolves the full dependency graph before touching any files. Writes are atomic. The lock file tracks what mars manages so it never touches your files. Each linked target gets harness-native artifacts — agents, skills, MCP servers, and hooks compiled to match what that tool expects.

Published packages can declare requires-mars and requires-meridian under [package]. Mars automatically falls back to the newest compatible package release; see the mars.toml reference.

Use mars adopt to bring an existing unmanaged file into .mars-src/ in one step.

Docs

  • Schema v1 — the agent, skill and manifest format; migrating a package
  • Config — mars.toml, agent profiles, compilation, MCP/hooks
  • Plugin authoring — build and release multi-harness plugins
  • CLI — every command with flags and examples
  • Internals — sync pipeline, lock file, conflicts
  • Dev — local development, troubleshooting, smoke testing

License

MIT

Metadata

Release files for mars-agents 0.20.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mars-agents 0.20.0
File Size Uploaded Provenance Actions
mars_agents-0.20.0.tar.gz 1.2 MB With provenance Details for mars_agents-0.20.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for mars-agents 0.20.0
File Actions
mars_agents-0.20.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for mars_agents-0.20.0-py3-none-win_amd64.whl
mars_agents-0.20.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for mars_agents-0.20.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
mars_agents-0.20.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for mars_agents-0.20.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
mars_agents-0.20.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for mars_agents-0.20.0-py3-none-macosx_11_0_arm64.whl
mars_agents-0.20.0-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for mars_agents-0.20.0-py3-none-macosx_10_12_x86_64.whl

Total release size: 24.0 MB

Release files / mars_agents-0.20.0.tar.gz

Download URL mars_agents-0.20.0.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
0a22f576fb0aefea9e3e737c6b085d06f32721e6d5ad7c8bebf4aaca3e1091f7
BLAKE2b-256 checksum
How to use checksums
97765af0aeeb85f58166a7a3a8def348484dc4a4a7aa795faf639d7452f7e3f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / mars_agents-0.20.0-py3-none-win_amd64.whl

Download URL mars_agents-0.20.0-py3-none-win_amd64.whl
Size 4.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
e266a6be8f98bff11d0eaa9b836ce64c13a04c3e0343f9d69558791bae9688e6
BLAKE2b-256 checksum
How to use checksums
4e9c1d5d9acd1c30e26ace0d3f67b406a226979f8fd405a4ef1af855216200f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / mars_agents-0.20.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL mars_agents-0.20.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.7 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
f4171f334d8ae932fa8668f14d26372a76ccf1690b3512011b177193b19aaa03
BLAKE2b-256 checksum
How to use checksums
5443cea1f861006f5928d76822f2aab2fe5e9c8c792a2a3ff7aa9e672773dcd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / mars_agents-0.20.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL mars_agents-0.20.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 4.4 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
c1be5e8119ef3633d4079ef2d504960da13da31b3ce44fac0c51a836f6612a03
BLAKE2b-256 checksum
How to use checksums
c426f4860ddecb0bb92d1460305bd87951b3fbac235b26e5489285fa27019362
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / mars_agents-0.20.0-py3-none-macosx_11_0_arm64.whl

Download URL mars_agents-0.20.0-py3-none-macosx_11_0_arm64.whl
Size 4.3 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7b52769c43edb09f197cc4b71435e138894b9b0b7e336bd02568827a59f7078e
BLAKE2b-256 checksum
How to use checksums
09a5295584445926588bbfa1c65f4cd8e999b3167d209a602ac17dd11b24266b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Release files / mars_agents-0.20.0-py3-none-macosx_10_12_x86_64.whl

Download URL mars_agents-0.20.0-py3-none-macosx_10_12_x86_64.whl
Size 4.5 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
f14de5a9cd5504f7b3a678d458950b07336b0b50a973204018789b79b8a40685
BLAKE2b-256 checksum
How to use checksums
9cbad89440e84d318407b05140db7a356d4b42f1a9fa07686d461a09d4959d8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

Security for mars-agents 0.20.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for mars_agents-0.20.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.20.0 This release

6 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page