Files
google--adk-python/contributing/agent_samples/empty_agent
Bo Yang add8ad3235 Start to build samples for features in llm agent.
Change-Id: I903a7aa485b2e4051487b68ff1484f6729f70720
2026-04-01 14:40:08 -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",
    )