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 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

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.11.0.tar.gz (716.2 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.11.0-py3-none-win_amd64.whl (3.5 MB view details)

Uploaded Python 3Windows x86-64

mars_agents-0.11.0-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.11.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

mars_agents-0.11.0-py3-none-macosx_10_12_x86_64.whl (3.4 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for mars_agents-0.11.0.tar.gz
Algorithm Hash digest
SHA256 917a097b9fc783a3c1bf2809337332135d65433de89615f4c638dff74411e054
MD5 743e9eb9efe296221bb96f54d2eb1b9a
BLAKE2b-256 e577dfdb45c20145e36de57f012f8572f97b893b8f2827abc7033abbc65f3c83

See more details on using hashes here.

Provenance

The following attestation bundles were made for mars_agents-0.11.0.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.11.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: mars_agents-0.11.0-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.14

File hashes

Hashes for mars_agents-0.11.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 18d6c38fe4f7b1cb81c9baf24057a47d5a9493978ef4cbb278bf9f4d82afe482
MD5 a8b81911345c326681c4dc8a665ba9c1
BLAKE2b-256 33555069808d3d77c72a8db3faa92084f632d02cb2461ce61a8020da71068c90

See more details on using hashes here.

Provenance

The following attestation bundles were made for mars_agents-0.11.0-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.11.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mars_agents-0.11.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 08c9b719c39568872f6543d47125f3b170b45bc6dd0f30e3b3adc6e88af4bf74
MD5 5522ed2334ee4a52ee57d6c1eab09726
BLAKE2b-256 1eb8692d561533a7e814634e1e3cfcfaf158289dfa1a6629ca7d57fbb6a8663e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mars_agents-0.11.0-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.11.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mars_agents-0.11.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 676daf0732d0c24501349ab2fcd34c917286210de974c4d17ffae8db1b5dce8e
MD5 827bfb8ec227f2061b6fc00107357809
BLAKE2b-256 f8f58461944113b664236ebf76c25200cdbfbb91fe2da4eb5c0f62bdb43d4adf

See more details on using hashes here.

Provenance

The following attestation bundles were made for mars_agents-0.11.0-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.11.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mars_agents-0.11.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c88040656b4cae3ec563f1faf3d06941515b3e85526d0ad5179c531e9d673ed6
MD5 9855ce3ff3cefaf38c69ba6678e1bcd4
BLAKE2b-256 f8c739f5cf91f3b6eb58b003a50dbddffd43ed6faf08498dbda76eabebe75007

See more details on using hashes here.

Provenance

The following attestation bundles were made for mars_agents-0.11.0-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.11.0-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mars_agents-0.11.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e7c9e2d1f7459f5f35b42ae5d53809e786ec031466d6b8cab09e82dcfe5e88b5
MD5 ad1786ceb815c643f5eb69fc0c6140b4
BLAKE2b-256 926f6d6a73baa0cb4933681e37c27cc1fb08031f8c4eca0e9c3ed7b141686a0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for mars_agents-0.11.0-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.

Release history Release notifications | RSS feed

0.13.0

6 files

0.12.1

6 files

0.12.0

6 files

This release

0.11.0 This release

6 files

0.10.6

6 files

0.10.5

6 files

0.10.4

6 files

0.10.3

6 files

0.10.2

6 files

0.10.1

6 files

0.10.0

6 files

0.9.0

6 files

0.8.12

6 files

0.8.11

6 files

0.8.10

6 files

0.8.9

6 files

0.8.8

6 files

0.8.7

6 files

0.8.6

6 files

0.8.5

6 files

0.8.4

6 files

0.8.3

6 files

0.8.2

6 files

0.8.1

6 files

0.8.0

6 files

0.7.17

6 files

0.7.16

6 files

0.7.15

6 files

0.7.14

6 files

0.7.13

6 files

0.7.12

6 files

0.7.11

6 files

0.7.10

6 files

0.7.9

6 files

0.7.8

6 files

0.7.7

6 files

0.7.6

6 files

0.7.5

6 files

0.7.4

6 files

0.7.3

6 files

0.7.2

6 files

0.7.1

6 files

0.7.0

6 files

0.6.5

6 files

0.6.4

6 files

0.6.3

6 files

0.6.2

6 files

0.6.1

6 files

0.6.0

6 files

0.5.0

6 files

0.4.8

6 files

0.4.6

6 files

0.4.5

6 files

0.4.4

6 files

0.4.3

6 files

0.4.2

6 files

0.4.1

6 files

0.4.0

6 files

0.3.3

6 files

0.3.2

6 files

0.3.0

6 files

0.2.9

6 files

0.2.8

6 files

0.2.7

6 files

0.2.6

6 files

0.2.5

6 files

0.2.4

6 files

0.2.3

6 files

0.2.2

6 files

0.2.1

6 files

0.2.0

6 files

0.1.21

6 files

0.1.20

6 files

0.1.19

6 files

0.1.18

6 files

0.1.17

6 files

0.1.16

6 files

0.1.15

6 files

0.1.14

6 files

0.1.13

6 files

0.1.12

6 files

0.1.11

6 files

0.1.10

6 files

0.1.9

6 files

0.1.8

5 files

0.1.6

5 files

0.1.5

5 files

0.1.4

5 files

0.1.3

5 files

0.1.2

5 files

0.1.1

5 files

0.0.14

5 files

0.0.13

5 files

0.0.9

5 files

0.0.8

5 files

0.0.7

5 files

0.0.6

5 files

0.0.5

5 files

0.0.4

5 files

0.0.3

5 files

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