adk-python
* **`Agent`**: The core intelligent unit. Can be `LlmAgent` (LLM-driven) or `BaseAgent` (custom/workflow). * **`Tool`**: Callable function providing external…
Turn the user's idea into an agreed `.agents-cli-spec.md` through a collaborative dialogue — *before* any sample study, scaffolding, or code. Adapt the depth to the agent's complexity.
$ npx -y skills add google/agents-cli --agent claude-codeHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Turn the user's idea into an agreed `.agents-cli-spec.md` through a collaborative dialogue — *before* any sample study, scaffolding, or code. Adapt the depth to the agent's complexity.
Turn the user's idea into an agreed `.agents-cli-spec.md` through a collaborative dialogue — *before* any sample study, scaffolding, or code. Adapt the depth to the agent's complexity.
Do NOT clone a sample, scaffold, run `agents-cli create`, or write any code until the user has approved the spec. **Reading the recipe index is exempt** — it is not "studying a sample". Scan it before your first reply and name any matching recipe there, even when that reply is only a clarifying question. This applies even to "obvious" agents — unexamined assumptions cause the most wasted work.
→ A couple of adaptive questions, a 2–3 sentence spec, one approval. Don't force the full process.
→ Full treatment below: adaptive Q&A across all topics, 2–3 approaches, sectioned design with approval per section, self-review, and a user-review gate.
When unsure, start light and escalate as complexity surfaces.
message is a batch** — ask the one that most shapes the design first (usually problem/scope before integrations), and let the answer pick the next.
your first reply.** Jumping straight to a finished spec is the most common failure — it skips the dialogue this phase exists for. (Exceptions: a trivial agent, or a genuinely non-interactive run.)
ones in `SKILL.md`), but follow the user's lead rather than a fixed script.
Asking is always the default. But when you genuinely can't get an answer — a non-interactive run, a one-liner "just build it", **or the user defers a choice to you ("whatever's standard", "you pick", "the simplest")** — make a concrete choice and **list it in the spec under an `## Assumptions` heading**, each as a one-line decision the user can correct (e.g. "Assumed the public icanhazdadjoke API; no auth"). A deferred or vague answer is an assumption to surface, **not a fact to state in the spec body**. Always check the axes users most often leave implicit: **data sources, auth method, schedule/cadence, and which model.**
Non-interactive ≠ skip the thinking. For non-trivial agents you must still record the approaches you weighed and the one you chose, flag oversized scope, and route any capability the scaffold doesn't ship to its recipe (`/google-agents-cli-adk-code` → `references/samples.md`) — then commit to a design. The user-review gate is how they catch a wrong assumption.
Once you understand the goal, present 2–3 *agent architecture* options with trade-offs. **End with one explicit recommendation — "I recommend Option X because Y" — before asking the user to choose.** Never present a neutral menu and leave the decision unframed; a default-with-reasoning is faster to confirm or override. Typical axes:
to sub-agents.
tickets, or knowledge base"), sandboxed shell or code execution, memory across sessions, approval gates before risky actions, OAuth consent, safety guardrails, event-driven or scheduled runs. Each is a **clone-and-study recipe, never a scaffold flag**: look the need up in the topic index in `/google-agents-cli-adk-code` → `references/samples.md` and list every matching recipe in the spec's Reference Samples, to study in Phase 1. Don't silently downgrade a stated need to a plain tool call, and flag it even when it's deferred to a later phase.
For complex agents, present the design in sections and get approval after each — scale each section to its complexity (a sentence if straightforward, a short paragraph if nuanced):
Be ready to revisit earlier sections when something doesn't fit.
If the request spans multiple sub-systems — **3+ specialist/sub-agents, several integrations, or distinct data/team domains** — stop and flag it *before* designing. Over-scoped agents are the biggest cause of wasted work. Recommend the smallest end-to-end slice that proves the architecture (often one coordinator + one specialist), and defer the rest under a `## Future Phases` heading in the spec. This holds even non-interactively: name the full scope, recommend a first slice, defer the remainder — never silently spec the whole thing as one build.
Once the design is agreed, write `.agents-cli-spec.md` using `references/spec-template.md`. Write it to the **project's working directory** (the cwd where the user is building), not a temporary/scratch location — Phase 0 resumes by reading `./.agents-cli-spec.md`, so a spec saved elsewhere is lost next session. Name the path in your appr
The CLI and skills that turn any coding assistant into an expert at creating, evaluating, and deploying AI agents on Google Cloud.
Repo: google/agents-cli
* **`Agent`**: The core intelligent unit. Can be `LlmAgent` (LLM-driven) or `BaseAgent` (custom/workflow). * **`Tool`**: Callable function providing external…
Requires `google-adk >= 2.0.0`. Python only. Requires **Python >= 3.11**. The `Workflow` class itself does not support Live Streaming (`Runner.run_live`) — the…
Recipes live in [google/adk-samples](https://github.com/google/adk-samples). **`core/python/`** is the curated tier — canonical ADK patterns maintained by the…
**Assumes `/google-agents-cli-scaffold` scaffolding.** If your project isn't scaffolded yet, see `/google-agents-cli-scaffold` first.
Invoke your agent as a BigQuery Remote Function for batch inference over table rows. This requires a custom `POST /` endpoint since BQ cannot use URL paths.
**Best for:** Production applications, teams requiring staging → production promotion.