The central home for extensions for agents-cli.
Extensions | Install | Manage | Development | PyPI | Issues | Star us
An extension overrides or adds agents-cli commands, so the agent development lifecycle (scaffold, run, evaluate, deploy) works with something the CLI does not ship with, such as another agent framework.
| Extension | What it does | Status |
|---|---|---|
| Claude | Run Claude Agent SDK agents through the agents-cli lifecycle. |
Experimental |
| LangChain | Run LangChain agents, LangGraph graphs, and Deep Agents through the agents-cli lifecycle. |
Experimental |
Extensions run on top of agents-cli, so install it first. Check Agents CLI for installation steps.
Each extension's README, linked from the table above, explains how to install it. By default an extension is installed at project scope: it is recorded in the project's agents-cli-extensions.yaml, or loaded from an agents-cli-extension.yaml at the project root, and affects only that project.
Every release is also published to PyPI as agents-cli-extensions. The package holds the same core/ folders as the repo, so a PyPI reference selects an extension by the same path as a GitHub one:
agents-cli extension add 'pypi@agents-cli-extensions==<version>#core/langchain/template'Agents CLI pins the wheel's sha256 and reads it without running any package code. The wheel comes from PyPI, or from your package index if UV_DEFAULT_INDEX, UV_INDEX_URL or PIP_INDEX_URL is set. This requires an agents-cli release later than v1.13.0. The package isn't meant to be installed with pip.
agents-cli extension add also accepts --global, which installs the extension at user scope instead of into a project:
agents-cli extension add google/agents-cli-extensions#core/langchain/template --ref <tag|branch|sha> --globalA global install has these consequences:
- It applies to every project on your machine. The extension is recorded in
~/.config/agents-cli/agents-cli-extensions.yaml(%APPDATA%\agents-clion Windows) and vendored underextensions/in the same directory. Its overrides take effect in every project you runagents-cliin, including projects that weren't built for it. For example, a global LangChain extension replacesrunandeval generatein your ADK projects too. - It works outside a project. Project scope needs an
agents-cli-manifest.yamlin the current directory or a parent; user scope does not. Use it when you need an override before a project exists. - It isn't shared. Nothing is committed to a repository, so teammates and CI don't get the extension, and the same command can behave differently on your machine than on theirs.
- Project scope takes precedence. If a project-scope extension overrides the same command, the project's version runs.
agents-cli infoandagents-cli <command> --helpshow which one is active. - Removal checks project scope first.
agents-cli extension remove <name>removes the project-scope copy if there is one, so an extension installed at both scopes needs a secondremoveto drop the global one.
Prefer project scope unless you want the extension active everywhere on your machine.
agents-cli extension list # active extensions, their scope, and the commands they contribute
agents-cli extension update [<name>] # move the pin to the latest commit of the tracked ref
agents-cli extension remove <name> # remove the entry and delete the vendored copy
agents-cli install # restore missing or stale vendored copies from the pinned commits
agents-cli info # active extensions, their sources, and any conflictsextension updatere-resolves the ref that was pinned. A tag or SHA resolves to itself, so nothing changes. To move to a different tag, or to roll back, runextension addagain with the new--ref; it replaces the existing pin. Nothing updates in the background.extension removeacts on one scope per call, checking the project scope before the user scope. An extension installed at both scopes needs tworemovecalls.agents-cli installre-fetches vendored copies on a fresh checkout or in CI and never moves a pin.- If two extensions at the same scope claim one command, the first wins and the later one is ignored.
extension listandinforeport the conflict. extension listandinfoalso flag an extension whoserequiresrange no longer matches the running CLI. Runagents-cli extension update <name>to pull a version that supports it.agents-cli --helpmarks a command that an extension overrides or adds with[↑ <extension>].agents-cli <command> --helpshows the extension it comes from, its scope, and the command it runs.- To run the built-in command instead of an override, prefix it with
AGENTS_CLI_DISABLE_OVERRIDES=1.
The Agents CLI docs cover using and authoring extensions in more depth.
core/<name>/
├── README.md # what the extension does and how to use it
├── template/ # the project template users scaffold from
│ ├── agents-cli-extension.yaml # command overrides, scaffolded into every project
│ └── .template/templateconfig.yaml # read by the CLI, never copied
└── tests/ # contract and unit tests, run by this repo's CI
core/ holds the extensions maintained by the Agents CLI team.
Requires Python 3.11+, uv, and Go (for the license header check).
make install # install the dev tooling (google-agents-cli, pytest, ruff)
make test # contract and unit tests for every extension
make lint # fix lint, formatting, and license headers
make lint-check # the same checks without fixing, as CI runs them
make lint-templates # lint each template at its own config
make lock-check # check each template's uv.lock matches its pyproject.tomlTo try a template from your checkout:
uv run agents-cli create my-agent --agent local@$PWD/core/langchain/template -pSee CONTRIBUTING.md.
Apache 2.0. See LICENSE.