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.1rc1.tar.gz (569.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.1rc1-py3-none-win_amd64.whl (3.2 MB view details)

Uploaded Python 3Windows x86-64

mars_agents-0.7.1rc1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mars_agents-0.7.1rc1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.1 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

mars_agents-0.7.1rc1-py3-none-macosx_11_0_arm64.whl (3.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

mars_agents-0.7.1rc1-py3-none-macosx_10_12_x86_64.whl (3.2 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file mars_agents-0.7.1rc1.tar.gz.

File metadata

  • Download URL: mars_agents-0.7.1rc1.tar.gz
  • Upload date:
  • Size: 569.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.1rc1.tar.gz
Algorithm Hash digest
SHA256 2b02ef20dac985bcfbd29a2634a5fbde5932301112cbeaf77be003ee8d3defc1
MD5 e426e56bd5987954f5bb48be58bbfa67
BLAKE2b-256 13561abd25e339d7932d8b0478cb648aa73bcb695c3d7cafe7f43b34aa112aac

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.7.1rc1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 2a95d2f0c1bdae6db608a7487df2624c6c73b1c432736770cb2c21419b98f2eb
MD5 c2a42816bfe0847f7310c3cde1b5d20a
BLAKE2b-256 275371614f174f285fd3bb8f01804e843f1701ad35192ccf312c70f08c16e1db

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.7.1rc1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 343a51dddf49ddb040da9a7153c09ea03d1f36612fbab486dee288330795515a
MD5 81c92d24c29dff9d5499e486ac2c028d
BLAKE2b-256 79a7c3ce8c057e9852b252b337395faa30ad7ef67ac4fe75f43b5d494f2184fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.7.1rc1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 7dccad6cd358cb84e7f65eee674bf1e7c6622db83d51063cc3de7276c0f97bfb
MD5 c8107c75ba9465d087cb05c949b23962
BLAKE2b-256 1d9c47615333793004c336b91a91087f4f6d212af0995c06dfee34fcf5047ae8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.7.1rc1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0ffe73269617731e978fffe6f10ad12a073c78f5fcde385780b99032819bfe01
MD5 de35bd3c94db8a5f1f55663f41b5464a
BLAKE2b-256 20c2fd1e88021b66ef41d1f351789738ccc836b0735150754cd1dcb5f38b6367

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.7.1rc1-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 aa32ab224a8f2124ec562e8d2ddb40691486ca97df8e929ccc109fd8b21ed3c0
MD5 d43348887f9d1edfaa290804dec78e06
BLAKE2b-256 93ff6f4eebba92ed02bdb693abeac8030fcf9f47176eb430bdd511c5843c829c

See more details on using hashes here.

Provenance

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