| Crates.io | agentpack |
| lib.rs | agentpack |
| version | 0.9.1 |
| created_at | 2026-01-21 11:30:22.229553+00 |
| updated_at | 2026-01-24 14:01:56.21711+00 |
| description | AI-first local asset control plane for Codex/Claude tooling |
| homepage | |
| repository | https://github.com/liqiongyu/agentpack |
| max_upload_size | |
| id | 2058934 |
| size | 2,782,853 |
A declarative, safe control plane for deploying coding-agent assets across tools.
Language: English | Chinese (Simplified)
Agentpack is an AI-first local “asset control plane” for managing and deploying:
AGENTS.md / instructionsSKILL.md).claude/commands)~/.codex/prompts)sync --rebase), and rely on stable automation contracts (--json / MCP) when orchestrating.agentpack update
agentpack preview --diff
agentpack deploy --apply
agentpack status
agentpack rollback --to <snapshot_id>
Notes:
deploy --apply and rollback are mutating commands; in automation prefer --json --yes and always run preview first.--json, deploy --apply returns data.snapshot_id which you can pass to rollback --to.
docs/index.md (English), docs/zh-CN/index.md (Chinese)
Agentpack is focused on deploying agent assets into tool-specific discovery locations, not managing your entire $HOME.
See: docs/explanation/compare-dotfiles-managers.md.
flowchart TD
M[agentpack.yaml<br/>manifest] --> C[Compose & materialize<br/>(per module)]
L[agentpack.lock.json<br/>lockfile] --> C
O[overlays<br/>(global / machine / project)] --> C
C --> R[Render desired state<br/>(per target)]
R --> P[Plan / Diff]
P -->|dry run| OUT[Human output / JSON envelope]
P -->|deploy --apply| A[Apply (writes)]
A --> MF[Write target manifest<br/>.agentpack.manifest.<target>.json]
A --> SS[Create snapshot<br/>state/snapshots/]
A --> EV[Record events<br/>state/logs/]
SS --> RB[Rollback]
For details, see docs/explanation/architecture.md.
cargo install agentpack --locked
If crates.io install is not available yet, install from source:
cargo install --git https://github.com/liqiongyu/agentpack --tag v0.9.1 --locked
GitHub Releases: https://github.com/liqiongyu/agentpack/releases
agentpack init
agentpack update
agentpack preview --diff
agentpack deploy --apply --yes
For a fuller walkthrough, see docs/index.md. For automation, see docs/reference/json-api.md.
cargo fmt --all
cargo clippy --all-targets --all-features -- -D warnings
cargo test --all --locked
Start with AGENTS.md and CONTRIBUTING.md.