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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3macOS 11.0+ ARM64

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

File metadata

  • Download URL: mars_agents-0.4.8rc4.tar.gz
  • Upload date:
  • Size: 509.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.4.8rc4.tar.gz
Algorithm Hash digest
SHA256 99bbcd0308e421d67d9612a95486f6989106dd6e440c187c033798d2dde42b76
MD5 d5637aab37fabd37350ec61aea56f527
BLAKE2b-256 4a8ac9e2647a4c263c580be3a126f9bef5181d8dfcb9f20bdfd51d10884ee302

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.8rc4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 0672b8f6516527bf517c3726599ce2e1972b4f362b833da926b2f7301c1bfa70
MD5 9189eabb01517f6e443d69dc44df74c1
BLAKE2b-256 675b4a75c63f1f94e391389797925ce491572c8a472355aa9f642d83552439b8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.8rc4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f8a12be77c91c538cf4ac160da9686ae38a8c1070d40bea7dbefb19faa78ec0f
MD5 09f00cec0b25e7953a3df991b6dca755
BLAKE2b-256 294185574c997e7cfb71e3d4a5818a37cbd37b5b70e0636e3e4c1d8dba149c6f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.8rc4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 74126aef7ed845b2e14a79012d4c219244f3fb301e5c21b06116c83a60308f64
MD5 6deb9a99fa3604a92e31706435ad3d29
BLAKE2b-256 eb3bc8a940269c7f76a5e9181e422a5a120ec51e846e5ad00dbadccca41b910b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.8rc4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 42fca5be8b35a1b97a4a1bf6aba5cba5b99d782240dd470a725a99de899284db
MD5 dcfcfd1a19812d6f5e61ac7c73f8dab0
BLAKE2b-256 6127f797d7121349d619bbe878119f3b94d23eaa032d7729e2bc4273bd3feccd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.8rc4-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e08619d0eb2c7b2c2264c03d2a25a3bca981c87cfac82829db403b9734450186
MD5 7154b3d28b247fb1369650cd6c4275fb
BLAKE2b-256 53f4539b8155d33274a7cb8e2b8581768d119ca8026103465f156e8348e2834a

See more details on using hashes here.

Provenance

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