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

Uploaded Python 3Windows x86-64

mars_agents-0.7.10-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mars_agents-0.7.10-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

mars_agents-0.7.10-py3-none-macosx_11_0_arm64.whl (3.2 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

mars_agents-0.7.10-py3-none-macosx_10_12_x86_64.whl (3.3 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: mars_agents-0.7.10.tar.gz
  • Upload date:
  • Size: 596.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.7.10.tar.gz
Algorithm Hash digest
SHA256 0bed2521c1ab9f161fe7cc4d8a3d08fc0e2cc583e3216bc41917d970a6848f32
MD5 a0b2a7f534f08825222b69464334cfd3
BLAKE2b-256 22edddd63cf7a207a2f24afe00d6fd0975ada62eda74b890da5aa2f6fc116e2c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mars_agents-0.7.10-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.3 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.7.10-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 dd1f4783e7462604ee9edca4ae01b87a9fba6e5d759bf612b01a4843c8fe976e
MD5 ddef0579550f57df55439cc4c5e86877
BLAKE2b-256 eb3f362024a26eb2692d3a869d81c13a3ec99c79ee251790d79a5ec4db50c051

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.7.10-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 72a0bdda381c5336eea90db278295a155be4ae9b7e9cae4f8f73570e22b7d5ec
MD5 7af0931e39e69f8bd58a2502d48a4b73
BLAKE2b-256 46b8c95dc3a62410b7eae231e4b520b2828c5ac241a32d47c21bbbc95fd7cbb6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.7.10-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5d2a5b3c2cf62558e6371f7ad3b82764db27570af7a3f88a15f05d9c281196b8
MD5 1984293bf868a4eafd100fd842a8f720
BLAKE2b-256 569bbff4ae9ddbe0b565c76fb135fb9c95bbe26a30fd8c71ebcb332249d99570

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.7.10-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ec0f684adec7ca81910e994bb4b5cd16634b2201a493f34b9d8d1f2572342672
MD5 5ff4d0e7144579b58f3dbad82cb9bec7
BLAKE2b-256 c6d4b5a001e6355d20cf06d814ea4be5bebe3fe7980911a50e308c041cee12bb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.7.10-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 cca41e73cb13fe7e685e75b37cfb6a7c35b93056acf724d96d1db5e93adb7b5c
MD5 d5f8bd08baabe7702fe29a37240f0bee
BLAKE2b-256 18fa6342dbd7542eb342c3d670b2ff7c9de559f776fcf66e98f6d94ffb916916

See more details on using hashes here.

Provenance

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