Skip to main content
agents-cli logo

Agents CLI Extensions

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.

Available extensions

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

Prerequisites

Extensions run on top of agents-cli, so install it first. Check Agents CLI for installation steps.

Installing an extension

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.

Installing from PyPI

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.

Installing globally (--global)

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> --global

A 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-cli on Windows) and vendored under extensions/ in the same directory. Its overrides take effect in every project you run agents-cli in, including projects that weren't built for it. For example, a global LangChain extension replaces run and eval generate in your ADK projects too.
  • It works outside a project. Project scope needs an agents-cli-manifest.yaml in 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 info and agents-cli <command> --help show 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 second remove to drop the global one.

Prefer project scope unless you want the extension active everywhere on your machine.

Managing extensions

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 conflicts
  • extension update re-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, run extension add again with the new --ref; it replaces the existing pin. Nothing updates in the background.
  • extension remove acts on one scope per call, checking the project scope before the user scope. An extension installed at both scopes needs two remove calls.
  • agents-cli install re-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 list and info report the conflict.
  • extension list and info also flag an extension whose requires range no longer matches the running CLI. Run agents-cli extension update <name> to pull a version that supports it.
  • agents-cli --help marks a command that an extension overrides or adds with [↑ <extension>]. agents-cli <command> --help shows 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.

Repository layout

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.

Development

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.toml

To try a template from your checkout:

uv run agents-cli create my-agent --agent local@$PWD/core/langchain/template -p

Contributing

See CONTRIBUTING.md.

License

Apache 2.0. See LICENSE.

Metadata

Release files for google-agents-cli-extensions 1.16.0

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

Source distribution (sdist)

Source distribution for google-agents-cli-extensions 1.16.0
File Size Uploaded Provenance Actions
google_agents_cli_extensions-1.16.0.tar.gz 560.0 kB With provenance Details for google_agents_cli_extensions-1.16.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for google-agents-cli-extensions 1.16.0
File Interpreter ABI Platform Actions
google_agents_cli_extensions-1.16.0-py3-none-any.whl Python 3 none any Details for google_agents_cli_extensions-1.16.0-py3-none-any.whl

Total release size: 1.2 MB

Release files / google_agents_cli_extensions-1.16.0.tar.gz

Download URL google_agents_cli_extensions-1.16.0.tar.gz
Size 560.0 kB
Tags Source
SHA-256 checksum
How to use checksums
58ea1a7b3aad7f893830664ac7cee31e069fa49f8d738303d16aa294caa68881
BLAKE2b-256 checksum
How to use checksums
563f2c591587dc1a97188a1fddf45d0e1cbe2a0d44ad416e4972df5aa7a4bd5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.11.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by Google Cloud, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / google_agents_cli_extensions-1.16.0-py3-none-any.whl

Download URL google_agents_cli_extensions-1.16.0-py3-none-any.whl
Size 620.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1dff25570c37f86160ce9b9cdc554b44e0d09c3257366befbc9546eff34b0c8e
BLAKE2b-256 checksum
How to use checksums
900faf4aed6a69b05a83fcbbfd47c62a415c5b1f9d507d07c9362a5cfe99109b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.11.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by Google Cloud, verified by PyPI on Nov 24, 2026.

Transparency log

Security for google-agents-cli-extensions 1.16.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for google_agents_cli_extensions-1.16.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by Google Cloud, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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