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

Uploaded Python 3Windows x86-64

mars_agents-0.10.1rc1-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.1rc1-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.1rc1-py3-none-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

mars_agents-0.10.1rc1-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.1rc1.tar.gz.

File metadata

  • Download URL: mars_agents-0.10.1rc1.tar.gz
  • Upload date:
  • Size: 707.0 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.1rc1.tar.gz
Algorithm Hash digest
SHA256 3e29425bacd7abb85580dde144a9fbc5252bf0968f6782f9db23636faeeb61a4
MD5 1312232e417d6f27be9cc7218f422b00
BLAKE2b-256 9950d62983daa0fb5576e6dce1fead6a9416663d5529a0e206cdbb28b10fe534

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.10.1rc1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9a3a72b51d2e8d84bd2318211581437ef96d63a148d5fd7ec7e7fc4140fde090
MD5 8b6c7a53aa5046ef261bed622f40a164
BLAKE2b-256 92e0471ec6b665402656c6e821f23e17ecb65f7a8321c7ae156e29f566ad1f8e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.10.1rc1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bcfa86bed296b6caffd5a6587add4c7e028c2d0b4a5b33b1581d22339eeb25ed
MD5 8358a8de51c7ec8bb0d89aff3708f1d2
BLAKE2b-256 9301382362d759aaed07433e7ac55d42152722320a08a25b74f2d5d849aa0211

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.10.1rc1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7efb603ebd4c3fb8094c679e1c187220d46c11beaeba54e9dad01ce7db6ee16e
MD5 3971829bd3ff2abc7d09e753a8ba0252
BLAKE2b-256 d0c03df3ec6d6d312d772ca5f465fc77c516c445df1a319fb21dd10b26eec837

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.10.1rc1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2ea551cf023342a29700a085ab25602b4f8a95daab85629aeedf5ffb4fc7d7c1
MD5 ce151e64be26e17ee41c741bc249f7f4
BLAKE2b-256 ef37657c9825ba7dee31dc5b64584d5b801cc5f5be8e4231a9860e677bb856de

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.10.1rc1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e9e76ceedc74ee065b446fee62e3b742b740bf4e5ac92f9a11022216ab0d5d6c
MD5 b707269f5e5ecbd17718e89fda3fe2ee
BLAKE2b-256 7ee81c4deb0a38bcb382df2922d130c9f9e4af738b9db077bb44fab9544e9d9f

See more details on using hashes here.

Provenance

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