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, Cursor, Codex, OpenCode — any tool that reads from a config directory.

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.4.tar.gz (421.6 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.4-py3-none-win_amd64.whl (2.9 MB view details)

Uploaded Python 3Windows x86-64

mars_agents-0.4.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mars_agents-0.4.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

mars_agents-0.4.4-py3-none-macosx_11_0_arm64.whl (2.8 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

mars_agents-0.4.4-py3-none-macosx_10_12_x86_64.whl (2.9 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: mars_agents-0.4.4.tar.gz
  • Upload date:
  • Size: 421.6 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.4.tar.gz
Algorithm Hash digest
SHA256 7db33f2555f9131ecfa09275573240d5b6a904946240b33640c7e1c8bb016a22
MD5 9ec75aa244e3ce6f0ddd77f9e94bb259
BLAKE2b-256 4d751d03d048600ee0a125ee28a3557eaa83194ca749232ac55c4bec53e5ce68

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mars_agents-0.4.4-py3-none-win_amd64.whl
  • Upload date:
  • Size: 2.9 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.4.4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 22ec5b8ce52109df0621a8eb1323c158a74316b13a5103245f21eb8b48599a91
MD5 c7280effb3d4b2c3644aaddc037838f0
BLAKE2b-256 5422860b9b5fc4e21f26eaa2285b0d1a6113048273f2122554d593def995c03c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bc1502d9a36611b8c00e42793570243deab624654b229538dca943a275359f5e
MD5 b394e3285a0786760e63e4f2afec93ca
BLAKE2b-256 1fb2400b07ecaa96cd3eebf5749c3bbe1ecacea7ffa5689aac23a5b4b6da08f0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4d8a26f947fd0777867ca46781f5253f37dee88d06b97d287abc33c7c9fbfeb6
MD5 176da120f6b0e35912865b447a904062
BLAKE2b-256 cafd16035af8132117023118e751d546bc11f536539fa5fcf237db305f0bc46a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6927cba78a9af84af9bc0cc99e46dd2a6114a862bb3873e9dd53f49c7e49cb9a
MD5 0faef4a339f4390ce3a616c2816b183d
BLAKE2b-256 9a0b9ff426509eea4e54d6718c4132a9dc7843f108111f756dd7d797c4488c03

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mars_agents-0.4.4-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a7d710dcbcab5f1397abc617ae0cbda8dc3fc3b43215f1b27ed521ddb3c81517
MD5 e7784080d8ccec98f3ce3964534d9513
BLAKE2b-256 1341df7f392767404d82aec71c23d9e15c2a8266ee34f175d1e08f2e18eaac94

See more details on using hashes here.

Provenance

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