agents-cli-langchain

agents-cli-langchain is a skill for Claude Code from google/agents-cli. It costs 76 tokens per session (1,213 once invoked), scanned A, original, Apache-2.0.

Project-specific instructions for a LangChain/LangGraph agent, where an agent is a program that uses tools and connected steps to complete work. They explain how to develop, run, evaluate, serve, and deploy this project.

In plain words
What is it for?
Use them when editing the agent, adding tools, running the local playground, evaluating behavior, or deploying the application.
Why use it?
They prevent developers from applying incompatible Google ADK instructions to a LangChain/LangGraph project.

Skill for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin. Also seen: installed under .agents/ (shared by several agents).

Part of the google-agents-cli plugin — 9 skills shipped together

Good fit Use them when editing the agent, adding tools, running the local playground, evaluating behavior, or deploying the application.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/google/agents-cli/agents-cli-langchain
About the project

agents-cli is a command-line tool and collection of skills that guides coding assistants through building, evaluating, and deploying AI agents on Google's Gemini Enterprise Agent Platform. Developers use it with assistants such as Claude Code, Codex, and Antigravity CLI to work with Google Cloud agent services. The catalogue entries provide skills and a plugin for that development workflow.

google/agents-cli · 6,461 stars · on GitHub · google.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add google/agents-cli --skill agents-cli-langchain
Clone the repo
git clone --depth 1 https://github.com/google/agents-cli

Made for: Claude Code.

Or install google-agents-cli, the plugin that ships this one along with the rest of its 9 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for agents-cli-langchain

README.md
[![agentmods](https://agentmods.dev/badge/skills/google/agents-cli/agents-cli-langchain/github.svg)](https://agentmods.dev/skills/google/agents-cli/agents-cli-langchain)
Your own site
<a href="https://agentmods.dev/skills/google/agents-cli/agents-cli-langchain"><img src="https://agentmods.dev/badge/skills/google/agents-cli/agents-cli-langchain/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for agents-cli-langchain

Your own site · 80×15
<a href="https://agentmods.dev/skills/google/agents-cli/agents-cli-langchain"><img src="https://agentmods.dev/badge/skills/google/agents-cli/agents-cli-langchain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,213 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00076 $0.01213
Opus 5.5 $0.00030 $0.00485
Sonnet 5.5 $0.00015 $0.00243
Haiku 4.5 $0.00008 $0.00121

Measured 5d ago against content hash 968c595d8e6d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

agents-cli-langchain scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

extensions/langchain/template/.agents/skills/agents-cli-langchain/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

LangChain project (agents-cli)

The agent is a compiled LangGraph graph exported as root_agent from app/agent.py. There is no google.adk dependency and no ADK runner. Other google-agents-cli-* skills assume ADK; where they describe the agent itself, this skill wins.

Experimental, and Agent Runtime is degraded. Deploy to cloud_run or gke. On agent_runtime the app serves, but publish gemini is refused, the Console playground cannot invoke it, and Console sessions/traces stay empty: all three want the ADK reasoning_engine routes this project does not serve. Say so before recommending it.

What ADK guidance maps to here

ADK guidance This project
LlmAgent, Agent, google.adk.tools langchain.agents.create_agent, plain Python functions as tools, or any compiled StateGraph
adk web, adk run agents-cli playground (runs langgraph dev)
ADK runner behind agents-cli run agents-cli run invokes the graph in-process and prints tool calls and responses the same way
agents-cli eval dataset synthesize, eval optimize Unavailable: both drive the agent through ADK. The command says so and exits
Add an LlmAgent in app/agent.py Change the graph in app/agent.py; keep the name root_agent

The contract

Keep these two, whatever you build inside them:

  • app/agent.py exports root_agent, a compiled graph with messages state. Callers only use root_agent.invoke({"messages": [...]}) and root_agent.astream(stream_mode="messages").
  • app/fast_api_app.py exposes app. Every deployment target runs uvicorn app.fast_api_app:app.

Adding a tool means writing a typed function with a docstring and passing it in tools=[...]. Switching frameworks (LangGraph StateGraph, deepagents.create_deep_agent) means rewriting app/agent.py only. Pre-1.0 LangChain (LCEL chains, AgentExecutor) is not supported: not compiled graphs.

Commands

agents-cli install                  # uv sync
agents-cli playground               # langgraph dev, port 8080
agents-cli run "hello"              # invoke the graph in-process
agents-cli eval generate --dataset tests/eval/datasets/basic-dataset.json -o tests/eval/output/
agents-cli eval grade --traces tests/eval/output/<dataset>.json --config tests/eval/eval_config.yaml
agents-cli deploy                   # unchanged
agents-cli scaffold enhance -d cloud_run --cicd-runner github_actions   # add infra later

Read the full file on GitHub · 97 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed 968c595d8e6d
  2. 12d ago Changed · +12 lines 22184ec6de0c
  3. 1mo ago Changed 6b03f6964c42
  4. 2mo ago First seen · 85 lines · 76 tokens per session scan A b8035ffe8051

Subscribe to this mod's changes

agents-cli-langchain is a skill published in the GitHub repository google/agents-cli (6,461 stars, last pushed 6d ago), licensed Apache-2.0. It adds 76 tokens to every session and 1,213 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-02.

Related

agents-cli-langchain compared with skills from other repositories

agents-cli-langchain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agents-cli-langchaingoogle/agents-cliSkill6.5k6d agoApache-2.0A76Claude Code
adk-student-evaluatormauripsale/doc-adk-trainingSkill883d agononeA59Claude Code, Codex
adk-skillmauripsale/doc-adk-trainingSkill883d agononeA33Claude Code, Codex
adk-go-self-reviewgoogle/adk-goSkill9.0k2d agoApache-2.0A87Claude Code, Codex
potpie-clipotpie-ai/potpieSkill5.8k5d agoApache-2.0A60Codex
grocery-pricesgoogle/adk-goSkill9.0k2d agoApache-2.0A16Claude Code, Codex
potpie-infra-architecturepotpie-ai/potpieSkill5.8k5d agoApache-2.0A43Claude Code, Codex