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.8rc2.tar.gz (470.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.8rc2-py3-none-win_amd64.whl (3.0 MB view details)

Uploaded Python 3Windows x86-64

mars_agents-0.4.8rc2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mars_agents-0.4.8rc2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

mars_agents-0.4.8rc2-py3-none-macosx_10_12_x86_64.whl (3.0 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: mars_agents-0.4.8rc2.tar.gz
  • Upload date:
  • Size: 470.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.8rc2.tar.gz
Algorithm Hash digest
SHA256 de54f78cbab29a4df2aa56a16d77e25a31f55389c8a13a351823c27a5dbfebc2
MD5 a1f6a3ff6f542c241d52169a22657bd7
BLAKE2b-256 0b16f9c5d30c3eb6e62cc9140803b3b8ab32d8f43279dacd986342c70ce9670f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.8rc2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2f5473cb81a879aeae65d6dd1665eab54138c58647d7553c4f6ca49fdfa801c0
MD5 3ed752360c5f92adf3a800d85c7ad2dc
BLAKE2b-256 8a23174c5ee73978151dbaa4bb076ac6e7c4109868690f0ceedeb0998ec8cee3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.8rc2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d13623124f06c6f999f49be5d2e0d2ecabf097023b480b967a234eabc867f9bf
MD5 79048e9f47f3e199ca65c978d0a0dc2a
BLAKE2b-256 58ea4a48409c83abc983ed2155b842b03c6fc3bbc4076a9a3cd6323767ad810b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.8rc2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 500f1709e05f392fee2af08953fb012f9658c36d0e66e96cd81afeedff41a363
MD5 670c4ec5387cd4f85881a00a4b32f54a
BLAKE2b-256 61779bdf05382b401d25862bff86cdb926fcdb8f04fafb35cde801f0f81918a9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.8rc2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ee7769092ac62c688f20dcd0ba233cdbd504992eb8f44c568c33d02c43e95cec
MD5 dfaabe7362752a41cfce07dcaeaca1c3
BLAKE2b-256 33f17c284c0189b7d406beb1e7e6bc93db2fbaa05e40876ce59c050030a650a8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.8rc2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4bce9a635404ced8d016878cf31ea00b2bd73978a05ec2525d56b4de24bd2c7d
MD5 17ebde494389f39079835f3fa3424248
BLAKE2b-256 efde4e2507f96fece6a956fc578cb09607dd631857fe1d1367cf93c2bd0e2ede

See more details on using hashes here.

Provenance

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