1- # Visual Builder for agents
1+ # Use the Visual Builder
22
33<div class =" language-support-tag " >
44 <span class =" lst-supported " >Supported in ADK</span ><span class =" lst-python " >Python v1.18.0</span ><span class =" lst-preview " >Experimental</span >
55</div >
66
7- The ADK Visual Builder is a web-based tool that provides a visual workflow
8- design environment for creating and managing ADK agents. It allows you to
9- design, build, and test your agents in a beginner-friendly graphical interface,
10- and includes an AI-powered assistant to help you build agents.
7+ The ADK Visual Builder is a feature of the ADK web interface that provides a
8+ visual workflow design environment for creating and managing agents. The Visual
9+ Builder allows you to design, build, and test agents in a beginner-friendly
10+ graphical interface, and includes an AI-powered assistant to help you build
11+ agents.
1112
1213![ Visual Agent Builder] ( ../assets/visual-builder.png )
1314
1415!!! example "Experimental"
16+
1517 The Visual Builder feature is an experimental release. We welcome your
1618 [feedback](https://github.com/google/adk-python/issues/new?template=feature_request.md)!
1719
18- ## Get started
20+ ## Create an agent
1921
20- The Visual Builder interface is part of the ADK Web tool user interface.
21- Make sure you have ADK library
22- [ installed] ( /get-started/installation/#python )
23- and then run the ADK Web user interface.
22+ To use the Visual Builder, start the ADK web interface:
2423
2524``` console
26- adk web --port 8000
25+ adk web
2726```
2827
28+ Then follow the steps below to create an agent.
29+
2930??? tip "Tip: Run from a code development directory"
3031
3132 The Visual Builder tool writes project files to new subdirectories located
32- in the directory where you run the ADK Web tool . Make sure you run this
33+ in the directory where you run ADK Web. Make sure you run this
3334 command from a developer directory location where you have write access.
3435
3536![ Visual Agent Builder start] ( ../assets/visual-builder-start.png )
@@ -41,13 +42,13 @@ To create an agent with Visual Builder:
41421 . Type a name for your agent application and select ** Create** .
42431 . Edit your agent by doing any of the following:
4344 * In the left panel, edit agent component values.
44- * In the central panel, add new agent components .
45+ * In the central panel, add new agent components.
4546 * In the right panel, use prompts to modify the agent or get help.
46471 . In bottom left corner, select ** Save** to save your agent.
47481 . Interact with your new agent to test it.
48491 . In top left of the page, select the pencil icon, as shown in * Figure 1* , to continue editing your agent.
4950
50- Here are few things to note when using Visual Builder:
51+ Here are a few things to note when using Visual Builder:
5152
5253* ** Create agent and save:** When creating an agent, make sure you select
5354 ** Save** before exiting the editing interface, otherwise your new agent may
@@ -57,11 +58,19 @@ Here are few things to note when using Visual Builder:
5758* ** Add tools:** When adding existing custom Tools to a Visual Builder
5859 agent, specify a fully-qualified Python function name.
5960
60- ## Workflow component support
61+ ??? tip "Try this prompt with the Visual Builder assistant"
62+
63+ ```none
64+ Help me add a dice roll tool to my current agent.
65+ Use the default model if you need to configure that.
66+ ```
6167
62- The Visual Builder tool provides a drag-and-drop user interface for constructing agents, as
63- well as an AI-powered development Assistant that can answer questions and edit your agent workflow.
64- The tool supports all the essential components for building an ADK agent workflow, including:
68+ ## Supported components
69+
70+ The Visual Builder tool provides a drag-and-drop user interface for constructing
71+ agents, as well as an AI-powered development Assistant that can answer questions
72+ and edit your agent workflow. The tool supports all the essential components for
73+ building an ADK agent workflow, including:
6574
6675* ** Agents**
6776 * ** Root Agent** : The primary controlling agent for a workflow. All other agents in
@@ -85,15 +94,15 @@ The tool supports all the essential components for building an ADK agent workflo
8594 and end of agent workflow events.
8695
8796Some advanced ADK features are not supported by Visual Builder due to
88- limitations of the Agent Config feature. For more information, see the
89- Agent Config [ Known limitations] ( /agents/config/#known-limitations ) .
97+ limitations of the Agent Config feature. For more information, see the Agent
98+ Config [ Known limitations] ( /agents/config/#known-limitations ) .
9099
91- ## Project code output
100+ ## Generated project structure
92101
93102The Visual Builder tool generates code in the [ Agent Config] ( /agents/config/ )
94103format, using ` .yaml ` configuration files for agents and Python code for custom
95104tools. These files are generated in a subfolder of the directory where you ran
96- the ADK Web interface. The following listing shows an example layout for a
105+ the ADK web interface. The following listing shows an example layout for a
97106DiceAgent project:
98107
99108``` none
@@ -110,18 +119,6 @@ DiceAgent/
110119 You can edit the generated files in your development environment. However,
111120 some changes may not be compatible with Visual Builder.
112121
113- ## Next steps
114-
115- Using the Visual Builder development Assistant, try building a new agent using
116- this prompt:
117-
118- ``` none
119- Help me add a dice roll tool to my current agent.
120- Use the default model if you need to configure that.
121- ```
122-
123- Check out more information on the Agent Config code format used by Visual Builder
124- and the available options:
125-
126- * [ Agent Config] ( /agents/config/ )
127- * [ Agent Config YAML schema] ( /api-reference/agentconfig/ )
122+ For more information on the Agent Config code format used by Visual Builder, see
123+ [ Agent Config] ( /agents/config/ ) and [ Agent Config YAML
124+ schema] ( /api-reference/agentconfig/ ) .
0 commit comments