Files
Bo Yang ed8add2e9b test(cli): Make JSON test files deterministic and sequential
Sort keys when saving rebuilt JSON test files and re-assign sequential event IDs to avoid gaps from filtered events. Also applied these changes to all existing test files in the contributing folder.

Change-Id: Ib126228f016db1d28030eee4f7d9d8cbc604e038
2026-04-10 11:08:42 -07:00
..

ADK Agent Empty Sample

Overview

This sample demonstrates how to create a minimal, empty agent using the ADK framework.

It defines a simple Agent that doesn't have any specific tools or complex instructions attached to it. This is useful as a basic template or starting point for defining more complex agentic behaviors over time, ensuring it follows the core directory requirements of adk.

Graph

Agent (name="empty_agent")

How To

  1. Define a basic agent using the Agent class, specifying a unique name:

    from google.adk.agents import Agent
    
    root_agent = Agent(
        name="empty_agent",
    )