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.

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

  • Config — mars.toml, agent profiles, compilation, MCP/hooks
  • 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.18.4

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.18.4
File Size Uploaded Provenance
mars_agents-0.18.4.tar.gz 890.4 kB With provenance Details

Built distributions (wheels)

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

Total release size: 20.0 MB

Release files / mars_agents-0.18.4.tar.gz

Download URL mars_agents-0.18.4.tar.gz
Size 890.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d36e69adc690ff947f65026b5f4362bc89ce5e1550034f02c0c96c4656b14af8
BLAKE2b-256 checksum
How to use checksums
86369d53f73f94999fe6ce0d2c9ed77e8cfedd811c26601c3070b266526dc26c
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 25, 2026.

Transparency log

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

Download URL mars_agents-0.18.4-py3-none-win_amd64.whl
Size 4.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
0b33b70cba18e3f36e8ecd9f24f847bdaa5bdb3b60498a792f3213233adc3304
BLAKE2b-256 checksum
How to use checksums
cefabf8f881cd1a3595ebb69ae9304caac6f5b87f48de3cf55fc1b57401fd16f
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 25, 2026.

Transparency log

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

Download URL mars_agents-0.18.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.0 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
f0c853608e03ca427dc740f3a7f4c5dae66b3b4aea9b5911c777a3afdd016b7a
BLAKE2b-256 checksum
How to use checksums
6bdd617bd8b0f0c646c21b164c7f326ef41c890d9f02f0d97874f28f3117ab6c
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 25, 2026.

Transparency log

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

Download URL mars_agents-0.18.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 3.7 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
c23c0b0e9833d2b7f147a407508dafba5f79089a2dcd7a3b2ba925bd1764cf70
BLAKE2b-256 checksum
How to use checksums
e9052c4003ea1c0c718290ef3c5a38be5a5a7428010156f20fc1aeb69c9c909b
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 25, 2026.

Transparency log

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

Download URL mars_agents-0.18.4-py3-none-macosx_11_0_arm64.whl
Size 3.7 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9a1941d318567c2fc21bb9d6c5a5a6857521ea51bd8a581a937367b5d610bf6a
BLAKE2b-256 checksum
How to use checksums
9bcfa0042858df85b607b0b676006eecccf5a9765aba14872972931e9d99354d
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 25, 2026.

Transparency log

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

Download URL mars_agents-0.18.4-py3-none-macosx_10_12_x86_64.whl
Size 3.8 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
d447fe84339ffbc45c91083dbe97a1345745a6deaf90ce774be807e86fb23aaf
BLAKE2b-256 checksum
How to use checksums
9c4149b4ad66e1dbf3d51a02a2c529e5d1e2784e4ccfd2e8500f1ed3537126ec
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 25, 2026.

Transparency log

Security for mars-agents 0.18.4

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.18.4.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 25, 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.18.4 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