Skip to main content

agent-container-pack (acpack)

CLI tool that generates CLAUDE.md/AGENTS.md and MCP configurations from a single agentpack.yml manifest.

Why acpack?

Claude Code and Codex CLI have different configuration formats. acpack uses a single YAML manifest (agentpack.yml) as the source of truth, generating the appropriate files for each tool:

  • CLAUDE.md / AGENTS.md - Project instructions
  • .claude/settings.json - Claude Code MCP configuration
  • codex.config.toml - Codex CLI MCP configuration

Installation

# With uvx (no install required)
uvx --from acpack acpack --help

# Or install globally (recommended)
uv tool install acpack
acpack --help

# Or with pip
pip install acpack

Usage

New Project

# 1. Initialize project (creates .devcontainer/ and agentpack.yml)
cd my-project
acpack init

# 2. Edit agentpack.yml (project name, MCP servers, etc.)
vim agentpack.yml

# 3. Generate configuration files
acpack generate --write

Existing Project

# 1. Create agentpack.yml manually or via init
acpack init

# 2. Edit agentpack.yml to match your project
vim agentpack.yml

# 3. Generate
acpack generate --write

Team Workflow

# Team members clone the repo and run:
git clone <repo>
cd <repo>
acpack generate --write
# → Ready to use Claude Code / Codex CLI

Workflow Diagram

acpack init          # Run once
       ↓
agentpack.yml           # Edit this file (single source of truth)
       ↓
acpack generate      # Run after each yml change
       ↓
CLAUDE.md, AGENTS.md    # Auto-generated (don't edit manually)
.claude/settings.json
codex.config.toml

Commands

acpack init

Initialize a new agentpack project with devcontainer and manifest skeleton.

acpack init [directory] [--template <source>] [--stack <id>] [--force]
Option Description Default
directory Target directory .
--template Template source github:ryoooo/acpack-template-default
--stack Stack to use (python, node, etc.) python
--force Overwrite existing files false

acpack generate

Generate configuration files from agentpack.yml.

acpack generate [--write] [--directory <path>]
Option Description Default
--write Write files to disk (otherwise dry-run) false
--directory Project directory .

Manifest Format

Create an agentpack.yml in your project root:

version: "1"

project:
  name: "my-project"
  description: "Project description"

stack: python

stacks:
  python:
    detect:
      any: ["pyproject.toml", "requirements.txt"]
    deps: "uv sync"
    lint: "uv run ruff check ."
    typecheck: "uv run ty check"
    test: "uv run pytest"
    run: "uv run python main.py"

mcp:
  servers:
    Ref:
      transport: http
      url: "https://api.ref.tools/mcp"
      env:
        X_REF_API_KEY: "${env:X_REF_API_KEY}"

workflows:
  - name: "Development Flow"
    steps:
      - "uv run ruff format . && uv run ruff check ."
      - "uv run pytest"

pre_commit: ["prettier", "ruff", "ty"]

safety:
  preset: default

See docs/plans/2026-01-02-agentpack-v0.1-design.md for full manifest specification.

Generated Files

File Purpose
CLAUDE.md Claude Code project instructions
AGENTS.md Codex CLI project instructions (same content)
.claude/settings.json Claude Code MCP server configuration
codex.config.toml Codex CLI MCP server configuration

Development

# Install dependencies
uv sync

# Run tests
uv run pytest

# Lint and format
uv run ruff format .
uv run ruff check .

# Type check
uv run ty check

License

MIT

Release files for acpack 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for acpack 0.1.1
File Size Uploaded
acpack-0.1.1.tar.gz 55.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for acpack 0.1.1
File Interpreter ABI Platform
acpack-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 73.2 kB

Release files / acpack-0.1.1.tar.gz

Download URL acpack-0.1.1.tar.gz
Size 55.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6a58f46fd63f2dab826a426e726e9c36780fcdcf22b612321290a99e78bd6a37
BLAKE2b-256 checksum
How to use checksums
1e868cd753333cbf63964a0e520c01d04aef5f22e08f3716ecc5d67db488f10a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / acpack-0.1.1-py3-none-any.whl

Download URL acpack-0.1.1-py3-none-any.whl
Size 18.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53c2a9d8661e0fcd6223db4cc0e0bfa543bfce42a4f09b9fe9dd3e28c7e4b4eb
BLAKE2b-256 checksum
How to use checksums
b81e0d1fb38a7383458a6b2ca42a11b380741e5f79b65b64394dfe0c344113e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page