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, 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, MCP servers, and hooks.
.opencode First-class OpenCode agent and permission surfaces, MCP servers, and hooks.
.agy New Antigravity (agy): written as an agy plugin (skills, agents, hooks, MCP servers) that the project's .agents/plugins.json points at. Portable [hooks] are not translated yet; a native agy.json hook is.
.pi Future first-class Receives MCP servers and hooks today. The Meridian-owned Pi flavor and extension surface is under active design/development.

Mars no longer supports Cursor. A project that still links .cursor keeps syncing its other targets, and mars unlink .cursor removes what earlier syncs installed there; see Retired keys.

Plugin Distribution

Packages can commit installable plugin artifacts for Claude, Codex, Grok, 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 OpenCode
Tree claude claude claude opencode
Skills 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; hooks, mcpServers, permissionMode, initialPrompt dropped with warning (same file as Claude) supported (registered by index.mjs as <plugin>:<agent> subagents; preloaded skills become body guidance; harness-overrides.opencode keys other than permission are dropped with warning)
Hooks supported for [hooks] (rendered to what Codex also parses) and hooks with the claude native hook; other targets' native hooks dropped with warning supported for [hooks] (rendered to what Codex also parses) and hooks with the claude native hook; other targets' native hooks dropped with warning (reads the Claude tree's hooks/hooks.json) supported for [hooks] (rendered to what Codex also parses) and hooks with the claude native hook; other targets' native hooks dropped with warning supported for [hooks] (generated adapter) and hooks with the opencode native hook; other targets' native hooks dropped with warning (each native hook needs a default {id, setup} export)
MCP supported supported (same file as Claude) supported (same file as Claude) supported (registered by index.mjs)
Bootstrap docs impossible impossible impossible impossible

Verification level

Claude Codex Grok OpenCode
Install from catalog live (local marketplace) live (local marketplace) live (local marketplace) live (git+file://)
Skills live (own and dependency skills) live (own and dependency skills) live, with resources/ live, with resources/
Agents live (subagent preload) n/a (impossible) live (subagent with native skill preload) live (<plugin>:<agent> spawned as a subagent; task: deny resolved as subagent deny)
Hooks live (${CLAUDE_PLUGIN_ROOT}, CommonJS script) live (built tree, CommonJS script) live (CLAUDE_PLUGIN_ROOT) live (git install, CommonJS script)
MCP live (env_vars pass-through) live (env_vars pass-through) live (env_vars pass-through) 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.
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/"]
    opencode[".opencode/"]
    pi[".pi/"]

    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| opencode
    canonical --> |mars link| pi

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. A package declares a hook once, in Claude's shape, and Mars renders it for Claude, Codex, OpenCode, and Pi; see Declaring Hooks in a Package.

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; retired keys
  • 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.39.1

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.39.1
File Size Uploaded Provenance Actions
mars_agents-0.39.1.tar.gz 1.4 MB With provenance Details for mars_agents-0.39.1.tar.gz

Built distributions (wheels)

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

Total release size: 32.5 MB

Release files / mars_agents-0.39.1.tar.gz

Download URL mars_agents-0.39.1.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
bae530d1bc7a77a40563e739bdef353fc181f43f98049a0ca46ea38a3dca1df1
BLAKE2b-256 checksum
How to use checksums
8542a909f2729b51d009876d117a640d3618b46ca14abb8dba81d001e2e0a0f0
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 Nov 22, 2026.

Transparency log

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

Download URL mars_agents-0.39.1-py3-none-win_amd64.whl
Size 6.7 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
1a7a28d1847ba48f731b33b5a22f9440c23c89639f91538021f744262570411d
BLAKE2b-256 checksum
How to use checksums
79e9944730ccc9ad57e4b84cd82d0828e29cdad3e3a64f634dd60243afbb774e
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 Nov 22, 2026.

Transparency log

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

Download URL mars_agents-0.39.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 6.4 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
8076c91ea167eb948450903b05f223b317595cd380967cc573c9a6a28a194cfc
BLAKE2b-256 checksum
How to use checksums
7ed1532384249dcf97322224a44a50926a914906e1ebdd1c78e008db436d9bbd
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 Nov 22, 2026.

Transparency log

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

Download URL mars_agents-0.39.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 6.0 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
d2c3cede3f3efdd0a1fe1699dc0aa9f9b4b01eea70964f19b8d134b1f08cf184
BLAKE2b-256 checksum
How to use checksums
730b54e31e7a94eb076de634327fae16c7c93825fb678b1b4dcacfe86a1aa971
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 Nov 22, 2026.

Transparency log

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

Download URL mars_agents-0.39.1-py3-none-macosx_11_0_arm64.whl
Size 5.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0ab7483205577b0e7ae8cace94d0923f806a7b2805269792ee689fc3b86f9ea6
BLAKE2b-256 checksum
How to use checksums
a2020fc3ccc2743e7c1e7cd0b76acde85dc3d9de40b9bd008e1a8d8e24a193b8
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 Nov 22, 2026.

Transparency log

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

Download URL mars_agents-0.39.1-py3-none-macosx_10_12_x86_64.whl
Size 6.2 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
b03848cfe8a62f435a5b48bfbbcc79d936ac6a51d72eced9289eda1164b0d9ee
BLAKE2b-256 checksum
How to use checksums
4cc70ca69454322ec32ada766686bbddba40aeedc8bb3f657ae4e7352214d387
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 Nov 22, 2026.

Transparency log

Security for mars-agents 0.39.1

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.39.1.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 Nov 22, 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.39.1 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