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

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

Uploaded Python 3Windows x86-64

mars_agents-0.2.8-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.8-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.8-py3-none-macosx_11_0_arm64.whl (2.7 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

mars_agents-0.2.8-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.8.tar.gz.

File metadata

  • Download URL: mars_agents-0.2.8.tar.gz
  • Upload date:
  • Size: 397.2 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.8.tar.gz
Algorithm Hash digest
SHA256 d40e0fe0c70e6d991ddb821fa2071c18b94f7b7539ca6fb1ffe0e6e91e869c2c
MD5 bce9d1c9a5f437de067b22ad2488bf4c
BLAKE2b-256 a41fbca902647ea5b5aae7ac78b212184f7be6c4875ca0e7dae6c50b4847d19f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mars_agents-0.2.8-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.8-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 c05c0e6e8a9a5f332596356bcd72eb21b3b340fdf6a4fbce956377df8fa1212a
MD5 3ebc3354aa60ce6b41fa5e3562131849
BLAKE2b-256 6a07bd44c8df03b18c722c5126a15ce20cb5f499e2eacd92b1898988e0dd19bc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.2.8-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3079dbebac1bdd7247adeb88bb9426585f4de8031828128c1a858f140ffa1299
MD5 434d34040ad109ebecf58e8577c1027b
BLAKE2b-256 d4c16561eb7d6f164e31d570631410fb0c36a327d7812ce6f24a22912f477601

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.2.8-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bd536e55e63967a51f709ad2492f49f278321f6e46cf1f5cf6cbd9e382964358
MD5 f0bc657d464b7f11a966a06176aa1a34
BLAKE2b-256 026fe0643990e997d13d7b60675c5d66d23ec995bc53e9f2b15c7e3e99408441

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.2.8-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1493387ec056492d3ef492b3cb285d1a18438c6b5ea5aba1797d7168ffbbb557
MD5 4f6cd3a9626b7b967f705f7f0ef6ea3e
BLAKE2b-256 728102d64c18b2c2031cd69ad280c7d7ec9fec86d501954c62ecc6762debdc7b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.2.8-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 de3d442b298a3fcc7454f39ba614389064d81c07187491e5695f483c68865c5e
MD5 564f0fdd2a6b7f410727f5d9fa3b1221
BLAKE2b-256 7d50ecf190fb16dfb30446c2b31289010cc3d71eed00e36084432463a04b51e6

See more details on using hashes here.

Provenance

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