You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+57-39
Original file line number
Diff line number
Diff line change
@@ -16,22 +16,30 @@
16
16
</h3>
17
17
</html>
18
18
19
-
The Agent Development Kit (ADK) is designed for developers seeking fine-grained control and flexibility when building advanced AI agents that are tightly integrated with services in Google Cloud. It allows you to define agent behavior, orchestration, and tool use directly in code, enabling robust debugging, versioning, and deployment anywhere – from your laptop to the cloud.
19
+
Agent Development Kit (ADK) is designed for developers seeking fine-grained
20
+
control and flexibility when building advanced AI agents that are tightly
21
+
integrated with services in Google Cloud. It allows you to define agent
22
+
behavior, orchestration, and tool use directly in code, enabling robust
23
+
debugging, versioning, and deployment anywhere – from your laptop to the cloud.
24
+
20
25
21
26
---
22
27
23
28
## ✨ Key Features
24
29
25
-
***Code-First Development:** Define agents, tools, and orchestration logic for maximum control, testability, and versioning.
26
-
***Multi-Agent Architecture:** Build modular and scalable applications by composing multiple specialized agents in flexible hierarchies.
27
-
***Rich Tool Ecosystem:** Equip agents with diverse capabilities using pre-built tools, custom Python functions, API specifications, or integrating existing tools.
28
-
***Flexible Orchestration:** Define workflows using built-in agents for predictable pipelines, or leverage LLM-driven dynamic routing for adaptive behavior.
29
-
***Integrated Developer Experience:** Develop, test, and debug locally with a CLI and visual web UI.
30
-
***Built-in Evaluation:** Measure agent performance by evaluating response quality and step-by-step execution trajectory.
31
-
***Deployment Ready:** Containerize and deploy your agents anywhere – scale with Vertex AI Agent Engine, Cloud Run, or Docker.
32
-
***Native Streaming Support:** Build real-time, interactive experiences with native support for bidirectional streaming (text and audio).
model="gemini-2.0-flash-exp", # Or your preferred Gemini model
67
+
model="gemini-2.0-flash", # Or your preferred Gemini model
60
68
instruction="You are a helpful assistant. Answer user questions using Google Search when needed.",
61
69
description="An assistant that can search the web.",
62
70
tools=[google_search]
63
71
)
64
72
```
65
73
66
-
Create `my_agent/__init__.py`:
67
-
74
+
### Define a multi-agent system:
75
+
Define a multi-agent system with cooridnator agent, greeter agent, and task execution agent. Then ADK engine and the model will guide the agents works together to accomplish the task.
68
76
```python
69
-
# my_agent/__init__.py
70
-
from . import agent
71
-
```
72
-
73
-
Run it via the CLI (from the directory *containing*`my_agent`):
task_exectuor = CustomAgent(name="TaskExecutor") # A subclass of BaseAgent, as a Non-LLM agent.
82
+
83
+
# Create parent agent and assign children via sub_agents
84
+
coordinator = LlmAgent(
85
+
name="Coordinator",
86
+
model="gemini-2.0-flash",
87
+
description="I coordinate greetings and tasks.",
88
+
sub_agents=[ # Assign sub_agents here
89
+
greeter,
90
+
task_exectuor
91
+
]
92
+
)
74
93
75
-
```bash
76
-
adk run my_agent
77
94
```
78
95
79
-
Or launch the Web UI from the folder that contains `my_agent` folder:
96
+
### Development UI
80
97
81
-
```bash
82
-
adk web
83
-
```
98
+
A built-in development UI to help you test, evaluate, debug, and showcase your agent(s).
84
99
85
-
For a full step-by-step guide, check out the [quickstart](https://google.github.io/adk-docs/get-started/quickstart/) or [sample agents](https://github.com/google/adk-samples).
@@ -102,6 +116,10 @@ We welcome contributions from the community! Whether it's bug reports, feature r
102
116
103
117
This project is licensed under the Apache 2.0 License - see the [LICENSE](LICENSE) file for details.
104
118
119
+
## Preview
120
+
121
+
This feature is subject to the "Pre-GA Offerings Terms" in the General Service Terms section of the [Service Specific Terms](https://cloud.google.com/terms/service-terms#1). Pre-GA features are available "as is" and might have limited support. For more information, see the [launch stage descriptions](https://cloud.google.com/products?hl=en#product-launch-stages).
0 commit comments