A package manager for agents/skills/MCPs across AI CLI tools
Project description
AGENTS.lock is a package manager for AI agent configurations. It keeps skills, agents, MCP servers, and instructions kept in sync across Claude, Codex, Gemini, and Copilot CLI tools. The lockfile is the single source of truth for both project and global scopes.
Install AGENTS.lock:
pip install agentslock
⚠️ Warning: This is an early release. Breaking changes may occur in future versions.
Usage:
al init # Initialize a new AGENTS.lock file
al set clients claude,codex # Set CLI clients for the project
al add skill https://github.com/anthropics/skills/tree/main/skills/frontend-design # Add a skill
al sync # Sync skills and agents as per the lockfile
This will make an entry in AGENTS.lock and sync the skill to the appropriate locations for the specified clients. From that point, it is not necessary to manually manage the skills across different clients, but simply maintain a single AGENTS.lock file and run al sync to keep everything up to date.
Currently supported clients and features:
| Client | AGENTS.md | Skills | MCP |
|---|---|---|---|
| Claude | ✓ | ✓ | ✓ |
| Codex | ✓ | ✓ | ✗ |
| Copilot | ✓ | ✓ | ✗ |
| Gemini | ✓ | ✓ | ✗ |
Lockfile basics
AGENTS.lock is a TOML file that records project metadata, default clients, and the full set of
configured resources. Each entry carries a source, which can be a pinned git revision, a path
relative to the lockfile, or inline content for instructions. Groups provide a way to filter
subsets of resources during sync so teams can target specific workflows.
Install to project or global scope
Project scope writes within the repository. Global scope writes to user-level configuration paths.
al sync
al --global sync
Use lockfile aliases (alias file workflows)
If you manage multiple lockfiles, create an alias and target it via --lockfile.
al alias add work /path/to/AGENTS.lock
al --lockfile work sync
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentslock-0.0.1.tar.gz.
File metadata
- Download URL: agentslock-0.0.1.tar.gz
- Upload date:
- Size: 39.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b10b90d4ef623db7ae14880a7c6f5c23e64329cdd75ecebde35cd6894ba966ca
|
|
| MD5 |
7213f31a5dbae49a07e99383851b6d47
|
|
| BLAKE2b-256 |
7b9bc98b07812d01c3c8299afd0af329f2852b096f1c1d25c1e19dd1f68204af
|
File details
Details for the file agentslock-0.0.1-py3-none-any.whl.
File metadata
- Download URL: agentslock-0.0.1-py3-none-any.whl
- Upload date:
- Size: 46.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eacf39a8c0fd3b187165dea6aa3fb72b4ce05999173102fb9192ca918b0534fa
|
|
| MD5 |
42eb0f4c2f264491ebe57ba61e522097
|
|
| BLAKE2b-256 |
f9fc7f1f1ab88d1cd1b91024ec3dda2f89b7dc84b68d00cc96d153f658a3304a
|