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, Cursor, Codex, OpenCode — any tool that reads from a config directory.

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

This version

0.2.9

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

Uploaded Python 3Windows x86-64

mars_agents-0.2.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mars_agents-0.2.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

mars_agents-0.2.9-py3-none-macosx_11_0_arm64.whl (2.7 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

mars_agents-0.2.9-py3-none-macosx_10_12_x86_64.whl (2.9 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: mars_agents-0.2.9.tar.gz
  • Upload date:
  • Size: 397.8 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.2.9.tar.gz
Algorithm Hash digest
SHA256 210b290b4ab24e25986c150af6882e9998eb0f07f3a5cab8f1a175cf348aa08f
MD5 dfed6bca87fc14c30402453bcd8f38b4
BLAKE2b-256 f4cca412597b86ff78766048505bb54b7e21f4300ed6f70633de10e748b07038

See more details on using hashes here.

Provenance

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

Publisher: release.yml on meridian-flow/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.2.9-py3-none-win_amd64.whl.

File metadata

  • Download URL: mars_agents-0.2.9-py3-none-win_amd64.whl
  • Upload date:
  • Size: 2.9 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.2.9-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 498ac984f37cd1318d30aabb7e31459f57208886c7e6832af27ab317f299f663
MD5 b6db923129a7fb58fc4bbff08d9a3c6e
BLAKE2b-256 32b96032b396c96acbabdf5ef5f58e213b9c38eb22295f4707a43acd20fa1533

See more details on using hashes here.

Provenance

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

Publisher: release.yml on meridian-flow/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.2.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mars_agents-0.2.9-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4745cfca83109e8ded53fea6eea6185243a6996a021e62fb0b6216c6bff7ae01
MD5 87113c41c33de4f6829a9b4a62a7b490
BLAKE2b-256 818e9dc0175ef12b6e678f616d1768202bfb378ff2d4943c5cc237acb8879ae9

See more details on using hashes here.

Provenance

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

Publisher: release.yml on meridian-flow/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.2.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for mars_agents-0.2.9-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 32e5c94debc0d6894246672b5baaeeb62c7762db91132075c6a10d461eb4ca62
MD5 fb33c0f546c8daeb251c2056812b0d03
BLAKE2b-256 13408d2ab09c58e35fc7723b987333334a53d3458909536f1150b48e23a68a47

See more details on using hashes here.

Provenance

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

Publisher: release.yml on meridian-flow/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.2.9-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mars_agents-0.2.9-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5da037eb369324acc2b628c94376e7128f091ea0d0cb81568a16098453463925
MD5 479d0e8863acd16ac080696be1418e3e
BLAKE2b-256 b00348417340b9742be7368ba1fad6460e3b4e7335f090de877d6a0ed438c2c4

See more details on using hashes here.

Provenance

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

Publisher: release.yml on meridian-flow/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.2.9-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for mars_agents-0.2.9-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4a3da6a1a0ba3d66d37d28f6022286667f945d75a92aeaf05b8cb2e936e9dd73
MD5 4e88cd93328ecd3519b7e9e703687eb5
BLAKE2b-256 4905b924b5fc88d01e62d7f9853fa6c8ddbedd0e78629af7828bf4ba1d592dd0

See more details on using hashes here.

Provenance

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

Publisher: release.yml on meridian-flow/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