agents-cli-langchain
Skill6.1k starsChanged 3 months agoApache-2.0View on GitHub
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.
- Reads credentials
Trending
Less talk lately.about the whole repository
Who's talking about google/agents-cli
- @jeanphi-baconnais.gitlab.io“⛅ Deploying an agent on Agent Runtime is very easy with agents-cli github.com/google/agent... This raises …”Bluesky · Jun 25, 2026 · 3 likes
- @epicvibecoder.bsky.social“google turns your coding assistant into an ai agent expert. agents cli is google's cli and skills for …”Bluesky · Jul 1, 2026 · 2 likes
- A Hacker News story“Google: CLI and skills for building agents on Gemini Enterprise Agent Platform”Hacker News · Apr 23, 2026 · 2 points
- @pythonhub.dev“google / agents-cli The CLI and skills that turn any coding assistant into an expert at creating, …”Bluesky · Jul 28, 2026 · 1 likes
- sudosubin/agents.nix“agent-plugins.github.google.agents-cli: 1.8.0 → 1.9.0”GitHub · Oct 6, 2026
The biggest 5 of 23 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 23
Talked about on GitHub, Bluesky and Hacker News (23 times).
On GitHub · 17
- Oct 6, 2026agent-plugins.github.google.agents-cli: 1.8.0 → 1.9.0 — sudosubin/agents.nix0 reactions
- Oct 4, 2026agent-plugins.github.google.agents-cli: init at 1.8.0 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.google.agents-cli: 1.7.0 → 1.8.0 — sudosubin/agents.nix0 reactions
- Sep 28, 2026google-agents-cli: upstream update — robomotionio/robomotion-skills0 reactions
- Sep 27, 2026agent-skills.github.google.agents-cli: init at 1.7.0 — sudosubin/agents.nix0 reactions
12 more on GitHub
- Jul 10, 2026evals run_inference (local ADK agent): strips multimodal prompt parts (inline_data) before Runner.run_async — googleapis/python-aiplatform0 reactions
- Jul 3, 2026Agent Skills — leowux/blog0 reactions · 1 comment
- Jun 30, 2026📱 SNS 콘텐츠 - 2026-06-30 23:20 KST — leaf468/autothreads0 reactions
- Jun 30, 2026🤖 AI 트렌드 리포트 - 2026-06-30 23:20 KST — leaf468/autothreads0 reactions
- Jun 25, 2026New skill: /google-google-agents-cli-publish (safe risk) — aiskillstore/marketplace0 reactions
- Jun 25, 2026New skill: /google-google-agents-cli-deploy (low risk) — aiskillstore/marketplace0 reactions
- Jun 25, 2026New skill: /google-google-agents-cli-scaffold (safe risk) — aiskillstore/marketplace0 reactions
- Jun 25, 2026New skill: /google-google-agents-cli-eval (low risk) — aiskillstore/marketplace0 reactions
- Jun 25, 2026New skill: /google-google-agents-cli-observability (safe risk) — aiskillstore/marketplace0 reactions
- Jun 22, 2026New skill: /google-google-agents-cli-workflow (safe risk) — aiskillstore/marketplace0 reactions
- Jun 20, 2026New skill: /google-google-agents-cli-adk-code (low risk) — aiskillstore/marketplace0 reactions
- May 21, 2026Setup: Bootstrap KickOut backend with google-agents-cli — ale-sanchez-g/kickout0 reactions
On Bluesky · 5
- Jun 25, 2026⛅ Deploying an agent on Agent Runtime is very easy with agents-cli github.com/google/agent... This raises so many questions about the… — @jeanphi-baconnais.gitlab.io3 likes and reposts
- Jul 1, 2026google turns your coding assistant into an ai agent expert. agents cli is google's cli and skills for creating, evaluating and deploying ai… — @epicvibecoder.bsky.social2 likes and reposts
- Jul 28, 2026google / agents-cli The CLI and skills that turn any coding assistant into an expert at creating, evaluating, and deploying AI agents on… — @pythonhub.dev1 likes and repost
- Jul 6, 2026公式で確認できたのは、7スキルで scaffold/eval/deploy/publish を回せること。これは本当。 ただし前提もある。Python 3.11+、uv、Node.js、認証。公開後の Google Cloud 資源は自分の責任。… — @sara-echosphere.bsky.social0 likes and reposts · 1 reply
- Jun 30, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 google / agents-cli ⭐ 3,813 (+433) 🗒 Python The CLI and skills that turn any coding assistant into… — @github-trending.bsky.social0 likes and reposts · 1 reply
On Hacker News · 1
- Apr 23, 2026Google: CLI and skills for building agents on Gemini Enterprise Agent Platform2 points
In this repository15 other files it gives its agents.
- extensions/langchain/template/AGENTS.mdAGENTS.md
- google-agents-cli-adk-codeSkill
- google-agents-cli-deploySkill
- google-agents-cli-evalSkill
- google-agents-cli-observabilitySkill
- google-agents-cli-publishSkill
- google-agents-cli-scaffoldSkill
- google-agents-cli-workflowSkill
- google-agents-cli-adk-codeSkill
- google-agents-cli-deploySkill
- google-agents-cli-evalSkill
- google-agents-cli-observabilitySkill
- google-agents-cli-publishSkill
- google-agents-cli-scaffoldSkill
- google-agents-cli-workflowSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Keep these two, whatever you build inside them:
- Very specific: line 73
Write cases into tests/eval/datasets/ and use eval generate + eval grade.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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-enterprise 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 |
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 laterplayground, 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
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").
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 through Vertex AI 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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

