본문으로 건너뛰기
Skillpedia
에이전트6.3k · #14368

google-agents-cli-adk-code

하는 일

이 스킬은 Google의 Agent Development Kit로 AI 에이전트 코드를 작성하기 위한 빠른 참고 자료입니다. 에이전트를 만들고 흔한 패턴의 예시를 원하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓Agent Development Kit로 AI 에이전트를 만들고 싶을 때.
  • ✓ADK 에이전트에 도구, 콜백, 상태 관리를 추가해야 할 때.
  • ✓ADK로 에이전트 워크플로, 승인, 메모리 예시를 보고 싶을 때.

스킬 링크

https://github.com/google/agents-cli/blob/main/skills/google-agents-cli-adk-code/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/google/agents-cli/blob/main/skills/google-agents-cli-adk-code/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Google ADK 에이전트에 도구와 콜백을 추가하는 방법을 알려 주고, 단계 사이에서 상태를 유지하는 방법도 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 에이전트 유형, 도구, 콜백, 상태에 맞는 참고 파일과 코드 예시를 에이전트에게 알려 줍니다. 또한 에이전트 코드를 쓰기 전에 프로젝트가 설정되어 있는지 확인하도록 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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.

Reference Language When to read
references/recipes.md Python Topic-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.md Python Core 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.md Python Graph-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.md Python Live 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.md Go Core 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.md Go Graph-based Workflow API: nodes, edges, fan-out/fan-in, HITL, parallel processing. Use when you need explicit graph topology.
examples/ Go Runnable upstream programs — the closest thing to a recipe catalog for Go.
curl https://adk.dev/llms.txt Python Docs index (every page title + URL). Fetch it, then WebFetch the specific page for anything beyond the cheatsheets.
Installed ADK package Python Exact 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
자주 묻는 질문

Python뿐 아니라 Go도 되나요?

네, Python과 Go 모두에 대한 참고 자료가 있습니다.

프로젝트가 먼저 필요한가요?

네, 설명에 따르면 에이전트 코드를 쓰기 전에 agents 명령으로 프로젝트 뼈대를 먼저 만들어야 합니다.

예시는 어디에 있나요?

스킬 폴더의 참고 파일에 있으며, Go 예시는 상위 저장소에 있습니다.

상세 정보

작성자의 원본 설명

This skill should be used when the user wants to "write agent code", "build an agent with ADK", "add a tool", "create a callback", "define an agent", "use state management" — in a project that needs ADK (Agent Development Kit) API patterns and code examples. It provides a quick reference for agent types, tool definitions, orchestration patterns, callbacks, state management, the graph Workflow API, and reference recipes to study. Do NOT use for scaffolding (use google-agents-cli-scaffold) or deployment (use google-agents-cli-deploy).

repo: google/agents-cli

인기도

GitHub 스타
6.3k
순위
#14368
라이선스
Apache-2.0
업데이트
2026. 10. 27.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬