Skip to main content

Agent package manager for .agents/ directories

Project description

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 Experimental Cursor CLI/config support exists, but semantics can change as Cursor's agent surface evolves.
.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.

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

Docs

  • Configmars.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

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

mars_agents-0.10.3.tar.gz (708.7 kB view details)

Uploaded Source

Built Distributions

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

mars_agents-0.10.3-py3-none-win_amd64.whl (3.5 MB view details)

Uploaded Python 3Windows x86-64

mars_agents-0.10.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mars_agents-0.10.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

mars_agents-0.10.3-py3-none-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

mars_agents-0.10.3-py3-none-macosx_10_12_x86_64.whl (3.5 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file mars_agents-0.10.3.tar.gz.

File metadata

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

File hashes

Hashes for mars_agents-0.10.3.tar.gz
Algorithm Hash digest
SHA256 ca36feca3f4345fb0f00c0b02b374e08c84713d588661d4f3b69c166d73735ca
MD5 920be2148493b785334604500203da0c
BLAKE2b-256 3e1134cb52bfb2a2d1e20d11bb1b4711deb0be933583d1ed70def6aed6cd0395

See more details on using hashes here.

Provenance

The following attestation bundles were made for mars_agents-0.10.3.tar.gz:

Publisher: release.yml on haowjy/mars-agents

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

File details

Details for the file mars_agents-0.10.3-py3-none-win_amd64.whl.

File metadata

  • Download URL: mars_agents-0.10.3-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mars_agents-0.10.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 31d6c28449e4ef741c498edfcf2f1dd5cefd8eb8fbf134cf1ac7cae745b5fce3
MD5 ba43ae6299326283cce87ca727117a08
BLAKE2b-256 0b063848f9dbef1226533a49683f46462810c07a379b55b9a27b39609919fe3d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mars_agents-0.10.3-py3-none-win_amd64.whl:

Publisher: release.yml on haowjy/mars-agents

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

File details

Details for the file mars_agents-0.10.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mars_agents-0.10.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 caba0cf4a98da6ba8f75ca8eef16f08f0953a91fcc77c39d67494fda6b6df808
MD5 24579369e99de45f2afb9d329aca2901
BLAKE2b-256 1b2c9c56d225417806c608797f63f24a7bd2cf8fd964fc286d9ef76177b010f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for mars_agents-0.10.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on haowjy/mars-agents

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

File details

Details for the file mars_agents-0.10.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mars_agents-0.10.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7659800e78e96633e69afcb84b1bb014aff20727da7eee6700afdad993bf6625
MD5 ead2ca20a2f5425aa8c999c1fed73c87
BLAKE2b-256 49f5464ef9f8b70cfecaa8334c6165bb8b6166d232d10686289e76c5f5b8698c

See more details on using hashes here.

Provenance

The following attestation bundles were made for mars_agents-0.10.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on haowjy/mars-agents

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

File details

Details for the file mars_agents-0.10.3-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mars_agents-0.10.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b55e02b790070a7cf1abb970c62a01e62adcef5d042e3e786d9ef5750e4d3efd
MD5 639137e1f3f35847f513708396a5103f
BLAKE2b-256 6d58cdbf0ef8687f47e07b3e2de4408ef52f615bc0c30f5bc048a11d7814da14

See more details on using hashes here.

Provenance

The following attestation bundles were made for mars_agents-0.10.3-py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on haowjy/mars-agents

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

File details

Details for the file mars_agents-0.10.3-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mars_agents-0.10.3-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4fc9b218e768d864bfc7730c8f5939e4afb38e75ddde7ae8d90c1f6b7268507d
MD5 061bbdb5b6c63eeac6918bde0f84f628
BLAKE2b-256 ac534de8cfbaae3e135c2b1d3bc26e0a907ca4fdd625b9217a6f07526d137952

See more details on using hashes here.

Provenance

The following attestation bundles were made for mars_agents-0.10.3-py3-none-macosx_10_12_x86_64.whl:

Publisher: release.yml on haowjy/mars-agents

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