| [ Web Proxy ] |
| Viewing: https://adk.dev/integrations/../../../../../get-started/../../tutorials/../../../visual-builder/ | [Back] [Original] |
[logo]
The ADK Visual Builder is a feature of the ADK web interface that provides a visual workflow design environment for creating and managing agents. The Visual Builder allows you to design, build, and test agents in a beginner-friendly graphical interface, and includes an AI-powered assistant to help you build agents.
Experimental
The Visual Builder feature is an experimental release. We welcome your feedback!
To use the Visual Builder, start the ADK web interface:
Then follow the steps below to create an agent.
Tip: Run from a code development directoryThe Visual Builder tool writes project files to new subdirectories located in the directory where you run ADK Web. Make sure you run this command from a developer directory location where you have write access.
[Visual Agent Builder start]
Figure 1: ADK Web controls to start the Visual Builder tool.
To create an agent with Visual Builder:
Here are a few things to note when using Visual Builder:
Help me add a dice roll tool to my current agent.
Use the default model if you need to configure that.
The Visual Builder tool provides a drag-and-drop user interface for constructing agents, as well as an AI-powered development Assistant that can answer questions and edit your agent workflow. The tool supports all the essential components for building an ADK agent workflow, including:
Some advanced ADK features are not supported by Visual Builder due to limitations of the Agent Config feature. For more information, see the Agent Config Known limitations.
The Visual Builder tool generates code in the Agent Config
format, using .yaml configuration files for agents and Python code for custom
tools. These files are generated in a subfolder of the directory where you ran
the ADK web interface. The following listing shows an example layout for a
DiceAgent project:
DiceAgent/
root_agent.yaml # main agent code
sub_agent_1.yaml # sub agents (if any)
tools/ # tools directory
__init__.py
dice_tool.py # tool code
Editing generated agents
You can edit the generated files in your development environment. However, some changes may not be compatible with Visual Builder.
For more information on the Agent Config code format used by Visual Builder, see Agent Config and Agent Config YAML schema.
The Visual Builder saves agent configuration files to your project directory
through local API endpoints. For security reasons, these endpoints are available
only when the web UI is served (for example, adk web). In headless or API-only
deployments, such as the default adk deploy cloud_run, they are not
registered, which prevents unauthorized file writes.
File upload restrictions
To prevent arbitrary file writes, file uploads through the Visual Builder
accept only files with .yaml and .yml extensions. The server
automatically rejects absolute paths, path traversal sequences (..), and
YAML files containing blocked keys (such as args) that can execute
arbitrary code.
| Web Proxy Viewer | New URL | Original Page |