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.4.8rc7.tar.gz (516.9 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.4.8rc7-py3-none-win_amd64.whl (3.1 MB view details)

Uploaded Python 3Windows x86-64

mars_agents-0.4.8rc7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mars_agents-0.4.8rc7-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

mars_agents-0.4.8rc7-py3-none-macosx_11_0_arm64.whl (2.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

mars_agents-0.4.8rc7-py3-none-macosx_10_12_x86_64.whl (3.1 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file mars_agents-0.4.8rc7.tar.gz.

File metadata

  • Download URL: mars_agents-0.4.8rc7.tar.gz
  • Upload date:
  • Size: 516.9 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.4.8rc7.tar.gz
Algorithm Hash digest
SHA256 a95dadcb861c16dd58f8fcbdf0ac280dbb1a832989f37727bdb7d11a14812781
MD5 c2c61e48f17f67e171faac80be122e25
BLAKE2b-256 1c9755948a51675fc1b23f0544c6e9e4cef7741875228ec9c81a84918cae9b3d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.8rc7-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 33321cc42abaf10cf329771b6f42919b9128e331b283ed3ac941fb987d1c0405
MD5 98fec78419738eca41e6f3f4cf0eb988
BLAKE2b-256 4806e7f0128a88faa4cf7516d5efa7774a07ee5cfafc667181a47151258f30a2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.8rc7-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f7fa72aa76259da5453a8923f68f0150f36bad401fe83b3297302219edf2eb97
MD5 60db447742cf4582c6469c614122e1e6
BLAKE2b-256 0be02d493dd73c2a41b4e571cb4862fbbd3cdbbc3721387f65c8456b00fad10a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.8rc7-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b2a7437adcaaa5a6f41177a3450729920bc6224650156ad3e12efc94f255b208
MD5 9fe057250984073c30d5b6820a4aef7d
BLAKE2b-256 bc14066bfa339ff7d000a9a3d9c95e5edc39d5693a007732789bd32a5ed788bd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.8rc7-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8d1ac15c0ab95786a49deecd974579fbd75a856bf8964ebdfc6ea1c5eeb7cf31
MD5 7b96f71fbea9699ffbce4b2ee19fde77
BLAKE2b-256 959d70a237ed0ed93a87636ac13f828b017a83d85479b2e6ac4929061f3e2ae3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.8rc7-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c4323d45aca69fa1386f5f0d50b26914bcd3d235d0c0787537af2a4c05432d4b
MD5 a3f127b509c528d9866192e200ec4bed
BLAKE2b-256 4a47098d42d67086654090f24807eb7493fb1948c9739c4038c3fdff09999867

See more details on using hashes here.

Provenance

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