What is the Agents CLI Langchain skill?
Agents CLI Langchain is a devops skill by Google for Claude Code, Cursor, Codex and other AI coding agents. Use when working in this project — adding tools, editing the agent, running, evaluating, serving or deploying it — or when guidance mentions ADK, LlmAgent, google.adk, adk web, or an ADK runner. This project is LangChain/LangGraph scaffolded by agents-cli, so ADK-specific instructions do not apply.
The agent is a compiled LangGraph graph exported as rootagent 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.
When to use it
Use when working in this project — adding tools, editing the agent, running, evaluating, serving or deploying it — or when guidance mentions ADK, LlmAgent, google.adk, adk web, or an ADK runner.
What the SKILL.md covers
- What ADK guidance maps to here
- The contract
- Commands
- Serving & Persistence
- Common mistakes
- References
- Author
- Pack
- google/agents-cli (9 skills)
- Category
- DevOps, #60 of 455
- Alyn Score
- 76 / 99
- Files
- 3, includes references
- License
- Apache-2.0
- Last updated
- 27 h ago
- Works with
- Claude Code, Claude, Cursor, Codex, Gemini CLI, Copilot
Agents CLI Langchain compared to similar skills
| Skill | Alyn Score | GitHub stars | Updated |
|---|---|---|---|
| Agents CLI Langchain · Google | 76 | 6.4k | 27 h ago |
| Azure Functions · managedcode | 64 | 524 | 11 days ago |
| Agent Platform Endpoint Management · Google | 82 | 25k | 28 h ago |
| Higgsfield Apps · OSideMedia | 62 | 958 | 7 days ago |
Install Agents CLI Langchain
Pick your agent. Every command is ready to paste.
npx alyn-cli add agents-cli-langchainDetects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.
npx skills add google/agents-cli --skill agents-cli-langchainOr use the open skills CLI directly.
01
Install it
Run the command above, or upload the folder in Claude.
02
Ask naturally
Describe the task. Your agent loads agents-cli-langchain when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the agents-cli-langchain skill”. In Codex, type $agents-cli-langchain.
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.pyexportsroot_agent, a compiled graph withmessagesstate. Callers only useroot_agent.invoke({"messages": [...]})androot_agent.astream(stream_mode="messages").app/fast_api_app.pyexposesapp. Every deployment target runsuvicorn 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
playground, run and eval generate are overridden by
agents-cli-extension.yaml at the project root. Prefix any command with
AGENTS_CLI_DISABLE_OVERRIDES=1 to reach the built-in instead.
Serving & Persistence
A2A only: JSON-RPC at POST /a2a/app, card at
/a2a/app/.well-known/agent-card.json, health at /health. Token streaming
comes from astream(stream_mode="messages").
app/app_utils/services.py wires both a short-term thread checkpointer (keyed by
A2A context_id as thread_id) and a long-term BaseStore (reachable in tools
via from langgraph.prebuilt import InjectedStore) onto root_agent at server
startup:
- With
--session-type cloud_sqlon Cloud Run or GKE (INSTANCE_CONNECTION_NAME+DB_PASS, orSESSION_DB_URI), it usesAsyncPostgresSaverandAsyncPostgresStoresharing one connection pool. - Without DB credentials, it falls back to
InMemorySaverandInMemoryStore. - Leave
root_agentinapp/agent.pywithout a customcheckpointerorstoreat module import time solanggraph dev(agents-cli playground) can attach its own runtime persistence.
Common mistakes
- Renaming
root_agentorapp, which breaksrun, eval and deploy. - Reaching for
eval dataset synthesizeoreval optimize: they need ADK. Write cases intotests/eval/datasets/and useeval generate+eval grade. - Expecting
/run_sseor ADK session routes; this server serves A2A. - Running
agents-cli run --url ...against a deployed agent withoutAGENTS_CLI_DISABLE_OVERRIDES=1, which invokes the local graph instead. runandeval generatecall Gemini on Gemini platform with ADC, so they needGOOGLE_CLOUD_PROJECTand credentials, orGOOGLE_API_KEY/GEMINI_API_KEYin.env.
References
references/langchain.md— framework contract and per-command detail.references/samples.md— agents worth copying from, by shape.
Tips for Agents CLI Langchain
- • Start a fresh session after installing so your agent picks up the new skill.
- • It bundles reference files. The agent reads them only when needed, so they cost no context until then.
- • It is part of a pack with 9 skills. Install only the ones you need with --skill to keep triggers precise.
- • If two skills overlap, mention the one you want by name.
Questions about Agents CLI Langchain
What does the Agents CLI Langchain skill do?
Use when working in this project — adding tools, editing the agent, running, evaluating, serving or deploying it — or when guidance mentions ADK, LlmAgent, google.adk, adk web, or an ADK runner. This project is LangChain/LangGraph scaffolded by agents-cli, so ADK-specific instructions do not apply.
How do I install Agents CLI Langchain?
Run "npx alyn-cli add agents-cli-langchain" in your project. The Alyn CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.
Does Agents CLI Langchain work in Cursor and Codex?
Yes. Agents CLI Langchain uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.
When should I use the Agents CLI Langchain skill?
Use when working in this project — adding tools, editing the agent, running, evaluating, serving or deploying it — or when guidance mentions ADK, LlmAgent, google.adk, adk web, or an ADK runner.
What is inside the Agents CLI Langchain skill?
The SKILL.md covers What ADK guidance maps to here, The contract, Commands, Serving & Persistence, Common mistakes, References, and the skill folder has 3 files.
What is a good alternative to Agents CLI Langchain?
Azure Functions by managedcode is the highest-ranked similar skill from another creator, with an Alyn Score of 64 compared to 76 for Agents CLI Langchain.
Is Agents CLI Langchain free?
Agents CLI Langchain is open source on GitHub under the Apache-2.0 license. It is free to install; check the license before commercial use.
Who made Agents CLI Langchain?
Agents CLI Langchain is published by Google in the google/agents-cli repository, together with 8 other skills.

