Back to Adk Python

ADK Agent Empty Sample

contributing/agent_samples/empty_agent/README.md

2.0.0b1658 B
Original Source

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

text
Agent (name="empty_agent")

How To

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

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