google-agents-cli-adk-code

tarafından google

Bu beceri, kullanıcı "ajan kodu yazmak", "ADK ile ajan oluşturmak", "araç eklemek", "geri çağrı oluşturmak", "ajan tanımlamak", "durum yönetimi kullanmak" istediğinde veya ADK (Agent Development Kit) Python API kalıpları ve kod örneklerine ihtiyaç duyduğunda kullanılmalıdır. Google ADK beceri paketinin bir parçasıdır. Ajan türleri, araç tanımları, orkestrasyon kalıpları, geri çağrılar ve durum yönetimi için hızlı bir başvuru sağlar. Yeni projeler oluşturmak (google-agents-cli-scaffold kullanın) veya dağıtım için KULLANMAYIN...

npx skills add https://github.com/google/agents-cli --skill google-agents-cli-adk-code

ADK Code Reference

Activate /google-agents-cli-workflow first for required development phases and scaffolding steps.

1. Study Recipes (No Project Needed)

Python — read the topic index in references/recipes.md before answering "how do I build X". Worked implementations exist for: sandboxed/per-user code execution, agent-loadable SKILL.md skills, cross-session memory, approval gates before risky actions, tool guardrails, per-user credentials, and scheduled/event-driven runs.

Go — read the upstream examples/. clone the repo and read the one matching the capability you need before implementing it.

2. Prerequisites for Writing Code

Do NOT write agent code until a project is scaffolded.

  1. Verify project: run agents-cli info (proceed if config exists).
  2. New project: run agents-cli scaffold create <name> --agent adk_python --deployment-target <target> — use --agent adk_go for Go.
  3. Existing code: run agents-cli scaffold enhance ..

Quick Reference — Most Common Patterns

See references/adk-python.md and references/adk-go.md for Python and Go code examples, respectively.


References

Use the cheatsheets for common patterns. For deep knowledge, fetch the docs index or inspect the installed package.

ReferenceLanguageWhen to read
references/recipes.mdPythonTopic-indexed catalog of ADK reference recipes. Read in workflow Phase 1 — before scaffolding and before writing code — maps a capability to the recipe that implements it.
references/adk-python.mdPythonCore ADK API: Agent, tools, callbacks, plugins, state, artifacts, multi-agent systems, SequentialAgent / ParallelAgent / LoopAgent, custom BaseAgent, ManagedAgent (server-hosted first-party agents), A2A protocol, A2UI. Default for most agents.
references/adk-python-workflows.mdPythonGraph-based Workflow API (ADK Python 2.0): nodes, edges, fan-out/fan-in, HITL, parallel processing. Use when you need explicit graph topology.
references/adk-python-live.mdPythonLive and voice agents: Runner.run_live, LiveRequestQueue, model and regional availability, voice/speech_config, VAD, session limits, /run_live serving. Use for real-time voice or video agents.
references/adk-go.mdGoCore ADK Go API: llmagent, tools, callbacks, plugins, state, artifacts, multi-agent systems, sequential/parallel/loop agents, custom agents, the runner, serving over HTTP, A2A protocol, and ambient triggers. Default for most agents.
references/adk-go-workflows.mdGoGraph-based Workflow API: nodes, edges, fan-out/fan-in, HITL, parallel processing. Use when you need explicit graph topology.
examples/GoRunnable upstream programs — the closest thing to a recipe catalog for Go.
curl https://adk.dev/llms.txtPythonDocs index (every page title + URL). Fetch it, then WebFetch the specific page for anything beyond the cheatsheets.
Installed ADK packagePythonExact signatures and symbols — inspect the source (see "Inspecting ADK Source Code" in references/adk-python.md).

Related Skills

  • /google-agents-cli-workflow — Development workflow, coding guidelines, and operational rules
  • /google-agents-cli-scaffold — Project creation and enhancement with agents-cli scaffold create / scaffold enhance
  • /google-agents-cli-eval — Evaluation methodology, dataset schema, and the eval-fix loop
  • /google-agents-cli-deploy — Deployment targets, CI/CD pipelines, and production workflows

google tarafından daha fazla skill

google-agents-cli-eval
google
Bu beceri, kullanıcının "bir değerlendirme çalıştırmak", "ADK ajanımı değerlendirmek", "bir değerlendirme veri seti yazmak", "değerlendirme başarısızlıklarını analiz etmek", "değerlendirme sonuçlarını karşılaştırmak", "ajanı optimize etmek" istediğinde veya Agent Platform değerlendirme metodolojisi ve Kalite Çarkı hakkında rehberliğe ihtiyaç duyduğunda kullanılmalıdır. Değerlendirme metriklerini, veri seti şemasını, LLM-as-judge puanlamasını ve yaygın başarısızlık nedenlerini kapsar. API kod kalıpları (google-agents-cli-adk-code kullanın), dağıt
developmenttestingdata-analysis
google-agents-cli-workflow
google
Bu beceri, kullanıcının "bir ajan geliştirmek", "ADK kullanarak bir ajan oluşturmak", "ajanı yerel olarak çalıştırmak", "ajan kodunda hata ayıklamak", "bir ajanı test etmek", "bir ajanı dağıtmak", "bir ajanı yayınlamak", "bir ajanı izlemek" istediğinde veya ADK (Ajan Geliştirme Kiti) geliştirme yaşam döngüsü ve kodlama yönergelerine ihtiyaç duyulduğunda kullanılmalıdır. ADK ajanları oluşturmak için giriş noktasıdır. Her zaman aktiftir — tam iş akışını (iskelet oluşturma, derleme, değerlendirme, dağıtma, yayınlama
developmentdevopstesting
google-agents-cli-deploy
google
Bu beceri, kullanıcı "bir ajan dağıtmak", "ADK ajanımı dağıtmak", "CI/CD kurmak", "sırları yapılandırmak", "bir dağıtım sorununu gidermek" istediğinde veya Agent Runtime, Cloud Run ya da GKE dağıtım hedefleri hakkında rehberlik gerektiğinde kullanılmalıdır. Dağıtım iş akışlarını, servis hesaplarını, geri almayı ve üretim altyapısını kapsar. Google ADK (Agent Development Kit) beceri paketinin bir parçasıdır. API kod kalıpları için (google-agents-cli-adk-code kullanın), değerlendirme için (google-agents-cli-eval kullanın) veya... KULLANMAYIN.
developmentdevops
google-agents-cli-scaffold
google
This skill should be used when the user wants to "create an agent project", "start a new ADK project", "build me a new agent", "add CI/CD to my project", "add deployment", "enhance my project", or "upgrade my project". Part of the Google ADK (Agent Development Kit) skills suite. Covers `agents-cli scaffold create`, `scaffold enhance`, and `scaffold upgrade` commands, template options, deployment targets, and the prototype-first workflow. Do NOT use for writing agent code (use...
developmentdevops
google-agents-cli-observability
google
Bu beceri, kullanıcı "izlemeyi ayarlamak", "ADK ajanımı izlemek", "günlüğü yapılandırmak", "gözlemlenebilirlik eklemek", "üretim trafiğini hata ayıklamak" istediğinde veya dağıtılmış ADK (Agent Development Kit) ajanlarının izlenmesi konusunda rehberlik gerektiğinde kullanılmalıdır. Cloud Trace, istem-yanıt günlüğü, BigQuery Agent Analytics, üçüncü taraf entegrasyonları (AgentOps, Phoenix, MLflow, vb.) ve sorun gidermeyi kapsar. Google ADK (Agent Development Kit) beceri paketinin bir parçasıdır. Dağıtım kurulumu için KULLANMAYIN (kullan...
developmentdevopsapi
google-agents-cli-publish
google
Bu beceri, kullanıcı "bir ajan yayınlamak", "ADK ajanımı yayınlamak", "Gemini Enterprise'a bir ajan kaydetmek", "Gemini Enterprise'a yayınlamak" istediğinde veya agents-cli publish gemini-enterprise komutu hakkında rehberlik gerektiğinde kullanılmalıdır. ADK ve A2A kayıt modlarını, programatik ve etkileşimli kullanımı, bayrak referansını, dağıtım meta verilerinden otomatik algılamayı ve sorun gidermeyi kapsar. Google ADK (Agent Development Kit) beceri paketinin bir parçasıdır. Dağıtım için KULLANMAYIN (kullan...
developmentdevopsapi