Skip to content

jeremylongshore/tons-of-skills-marketplace / plugins/ai-ml/jeremy-google-adk/skills/adk-agent-builder

adk-agent-builder

Verified

Scaffold production-ready AI agents on Google's Agent Development Kit (ADK): ReAct-style single agents, multi-agent orchestration (Sequential/Parallel/Loop), tool wiring, evaluation, and optional Vertex AI Agent Engine deployment. Use when building, scaffolding, or deploying ADK agents on Google Cloud, or when wiring ADK tools and orchestration patterns. Trigger with "build an ADK agent", "scaffold an agent on ADK", or "deploy to Agent Engine".

FileKindSize
ARD.mdmarkdown3.8 KB
PRD.mdmarkdown6.8 KB
SKILL.mdskill md3.8 KB
references/errors.mdmarkdown3.2 KB
references/examples.mdmarkdown3.7 KB
references/implementation.mdmarkdown4.7 KB

references/examples.md

View on GitHub
# ADK Agent Builder — Usage Examples

## Example 1: Single ReAct Agent — PR Summarizer

**Request**: "Create an ADK agent that summarizes GitHub PRs and suggests test updates."

**What the skill produces**:

```
my-pr-agent/
├── src/
│   ├── agents/
│   │   └── pr_summarizer.py
│   └── tools/
│       ├── github_fetcher.py
│       └── test_analyzer.py
├── tests/
│   ├── test_github_fetcher.py
│   └── test_pr_summarizer.py
├── pyproject.toml
└── README.md
```

**Agent entrypoint** (`src/agents/pr_summarizer.py`):

```python
from google.adk.agents import Agent
from google.adk.tools import Tool
from src.tools.github_fetcher import fetch_pr_diff
from src.tools.test_analyzer import suggest_tests

agent = Agent(
    name="pr-summarizer",
    model="gemini-2.0-flash",
    system_prompt="You summarize PR changes and suggest missing test coverage.",
    tools=[fetch_pr_diff, suggest_tests],
)
```

**Smoke test**: `adk run --prompt "Summarize PR #42 in repo owner/project"`

---

## Example 2: Multi-Agent Team — Research → Write → Review

**Request**: "Build a 3-agent team: researcher finds info, writer drafts content, reviewer checks quality."

**Architecture**: Sequential orchestration (researcher → writer → reviewer)

```python
from google.adk.agents import Agent, SequentialAgent

researcher = Agent(name="researcher", model="gemini-2.0-flash",
    system_prompt="Find relevant information on the given topic.",
    tools=[web_search, doc_reader])

writer = Agent(name="writer", model="gemini-2.0-flash",
    system_prompt="Draft content based on research findings.",
    tools=[text_formatter])

reviewer = Agent(name="reviewer", model="gemini-2.0-flash",
    system_prompt="Review draft for accuracy, clarity, and completeness.",
    tools=[fact_checker])

pipeline = SequentialAgent(
    name="content-pipeline",
    agents=[researcher, writer, reviewer],
)
```

---

## Example 3: Deploy to Vertex AI Agent Engine

**Request**: "Deploy my agent to Agent Engine with health checks."

**Commands produced**:

```bash
# Build and deploy
adk deploy --project=my-gcp-project --region=us-central1 --agent=src/agents/pr_summarizer.py

# Verify deployment
gcloud ai agent-engines list --project=my-gcp-project --region=us-central1

# Test deployed agent
curl -X POST "https://us-central1-aiplatform.googleapis.com/v1/projects/my-gcp-project/locations/us-central1/agents/pr-summarizer:generate" \
  -H "Authorization: Bearer $(gcloud auth print-access-token)" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Summarize PR #42"}'

# Check logs
gcloud logging read "resource.type=aiplatform.googleapis.com/Agent AND resource.labels.agent_id=pr-summarizer" --limit=20
```

---

## Example 4: Add a Custom Tool

**Request**: "Add a Slack notification tool to my existing agent."

**Tool file** (`src/tools/slack_notifier.py`):

```python
from google.adk.tools import Tool
import os, requests

@Tool(description="Send a message to a Slack channel")
def send_slack_message(channel: str, message: str) -> str:
    webhook_url = os.environ["SLACK_WEBHOOK_URL"]
    response = requests.post(webhook_url, json={"channel": channel, "text": message})
    return f"Sent to {channel}: {response.status_code}"
```

**Register in agent**:

```python
from src.tools.slack_notifier import send_slack_message

agent = Agent(
    name="pr-summarizer",
    tools=[fetch_pr_diff, suggest_tests, send_slack_message],  # Added
)
```

**Environment**: `export SLACK_WEBHOOK_URL=https://hooks.slack.com/services/...`

---
*[Tons of Skills](https://tonsofskills.com) by [Intent Solutions](https://intentsolutions.io) | [jeremylongshore.com](https://jeremylongshore.com)*
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 323kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall