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.10.2.tar.gz (708.3 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.10.2-py3-none-win_amd64.whl (3.5 MB view details)

Uploaded Python 3Windows x86-64

mars_agents-0.10.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.6 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mars_agents-0.10.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.4 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

mars_agents-0.10.2-py3-none-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

mars_agents-0.10.2-py3-none-macosx_10_12_x86_64.whl (3.5 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: mars_agents-0.10.2.tar.gz
  • Upload date:
  • Size: 708.3 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.10.2.tar.gz
Algorithm Hash digest
SHA256 25ac34e6f3d93ad9401995da693298c40f8f3c7a7cac6fc136a849832c9b4bde
MD5 6694cf54c78f6df97508f6611450b634
BLAKE2b-256 315b4d132d288574aadd8e4c8869f441bebe5504e05617455c94acb9fec4344f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mars_agents-0.10.2-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.5 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.10.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e01be5c951cb734b5d92cad07789ce62cf31eff943dc82c85f2052b081d8c141
MD5 72d59ea874059b20a97e07a08aea3213
BLAKE2b-256 373f3410f69e2bf3aa70695a6b40ae2f098f1b0f8cb7a5cdc06a1cb2e3411bb1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.10.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 346b781a96e884cb3436a7988d9a54873d66f305ad05785d844c4971f53d3119
MD5 f90b858841813dfb4be7647154b91601
BLAKE2b-256 13260fda7aaff69b50748fa76ebda094ce35fc1ecd7cfd3f2ded0fc12592bf40

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.10.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0423039970a1bb0d0494355fe663ef311d3cc3533044ca010fb8c5a9b7efa81f
MD5 061ffd2385323960c30e63cef7390071
BLAKE2b-256 4e60390331d0d2b4c2561d62654142fed66069c74ccd34759e9f060b94f667aa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.10.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cfa5f19acc6b38b3398b96dfc4007d51f6735dd0c5d00d6697a13ff830028534
MD5 15c9ca6543c3358e0b41c73e55c928ca
BLAKE2b-256 4621ec9e1c1580fc13d25eb5d78d8f1e583b3ffac327218b3e48ec3bcdd203d5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.10.2-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4e08aa3ef60fe10b85c28a20f13c4f80ca6c40fbf8bd43e0018690d5928669fc
MD5 7e2bf3ecbb5d31f1e22e9f297c9447b2
BLAKE2b-256 e45be727f3f7aec3a1d2b50042eee5e102f997eb230fb8d10fab6d24d5c693da

See more details on using hashes here.

Provenance

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