162279358c
Co-authored-by: Bo Yang <ybo@google.com> Co-authored-by: Wei Sun (Jack) <weisun@google.com> Co-authored-by: George Weale <gweale@google.com> Co-authored-by: Swapnil Agarwal <swapnilag@google.com> Co-authored-by: Xuan Yang <xygoogle@google.com> Co-authored-by: Shangjie Chen <deanchen@google.com> Co-authored-by: Yifan Wang <wanyif@google.com> Co-authored-by: Kathy Wu <wukathy@google.com>
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.
Sample Inputs
go
Graph
graph TD
empty_agent[Agent: empty_agent]
How To
-
Define a basic agent using the
Agentclass, specifying a unique name:from google.adk.agents import Agent root_agent = Agent( name="empty_agent", )