Skip to main content

Canonical configuration manager for AI coding agent components

Project description

agentmux

PyPI version Python versions CI License: MIT

agentmux is a CLI tool that manages AI coding agent configurations — agents, commands, skills, rules, instructions, and MCP servers — from a single canonical format (Markdown + YAML frontmatter) and syncs them across all your AI tools at once.

Write your agent configurations once. Deploy everywhere.

Supported Tools

Tool Agents Commands Skills Rules Instructions MCP
Cursor
Gemini CLI
OpenCode
Claude Code

Installation

pip install agentmux

Or via Homebrew (using the agentmux tap):

brew install Omer-Sadeh/agentmux/agentmux

Quickstart

# 1. Initialize a new setup in your project directory
agentmux init

# 2. Create your first agent
agentmux new agent my-agent --description "My AI coding assistant"

# 3. Sync to all detected AI tools
agentmux sync

# 4. Check deployment status
agentmux status

How It Works

agentmux reads component files (Markdown with YAML frontmatter) from your setup directory and deploys them to each configured AI tool's global config location. Deployments use symlinks by default, so edits to your source files are instantly reflected everywhere.

Setup file (agentmux.toml)

[setup]
name = "my-setup"
version = "1.0.0"

[tools]
cursor = { enabled = true, strategy = "symlink" }
gemini = { enabled = true, strategy = "generate" }

[components]
agents      = ["agents/*.md"]
commands    = ["commands/*.md"]
skills      = ["skills/*/SKILL.md"]
rules       = ["rules/*.md"]
instructions = "instructions.md"
mcps        = "mcp.json"

Agent file (agents/my-agent.md)

---
name: My Agent
description: A helpful coding assistant
---

You are a helpful AI coding assistant. Your job is to...

CLI Reference

Command Description
agentmux init Initialize a new setup in the current directory
agentmux new <type> <name> Scaffold a new component (agent, command, skill, rule, mcp)
agentmux sync Sync all components to configured tools
agentmux sync --dry-run Preview what would be synced
agentmux status Show deployment status across all tools
agentmux validate Validate configuration and all components
agentmux install <source> Install a setup from a git URL or local path
agentmux update [name] Pull and redeploy the latest version of an installed setup
agentmux uninstall <name> Remove an installed setup and its deployed files
agentmux diff [name] Show what changed since last install/update
agentmux list List all installed setups
agentmux rollback [name] Restore files to before the last sync
agentmux watch Auto-sync on file changes
agentmux doctor Check which AI tools are installed

Sharing Setups

agentmux supports installing shared setups directly from git repositories:

# Install from GitHub
agentmux install https://github.com/user/my-agent-setup

# Preview before installing
agentmux install https://github.com/user/my-agent-setup --dry-run

# Keep it up to date
agentmux update my-agent-setup

Plugin System

Third-party tool adapters can be registered via Python entry points:

[project.entry-points."agentmux.adapters"]
my-tool = "my_package.adapter:MyToolAdapter"

agentmux will discover and load any installed adapter automatically.

Contributing

Contributions are welcome! Please open an issue or pull request on GitHub.

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentmux-1.0.1.tar.gz (90.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentmux-1.0.1-py3-none-any.whl (52.2 kB view details)

Uploaded Python 3

File details

Details for the file agentmux-1.0.1.tar.gz.

File metadata

  • Download URL: agentmux-1.0.1.tar.gz
  • Upload date:
  • Size: 90.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for agentmux-1.0.1.tar.gz
Algorithm Hash digest
SHA256 60b245a1b0300e7780ad460854212575298bcc53d23cc69377ca6a24cf501175
MD5 838e42694132564a34a36833a500c211
BLAKE2b-256 6a48b5f43efb83da682529848364c3f417aeba5fd56b4caa3d84e51397047d97

See more details on using hashes here.

File details

Details for the file agentmux-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: agentmux-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 52.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for agentmux-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 beab53dfb879d8cf0f2b413a5d509d50e2539725c9ef80e7cb6949ab5539f834
MD5 75bcfd83cca09676a8448bf3498eba98
BLAKE2b-256 069ce3dc031a3f5d6945f85343557dd42f53b3873c1f54bb677a4c34162176e5

See more details on using hashes here.

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