Low-code or code: designing hybrid agents
Start low-code when the platform covers the need, move to code for control it cannot give, and expect hybrids, with a low-code experience in front of code-built agents and tools. Decide early where evaluation and identity live, because that is what a migration breaks.
Chapter 1FoundationsLesson 4 of 4ShowHide
Chapter 1 of 7 in Google Cloud Professional Agentic Architect
- Low-code or code: designing hybrid agentsYou're here
Prerequisites: The Google Cloud agent platform map
Real systems mix both
Production agent systems often mix low-code and code. A common shape is a low-code experience that people use every day, in front of code-built agents and tools that do the hard parts. Scenario questions test the judgement behind that split: when to stay low-code, when to move to code, and how to join the two.
Low-code here means Gemini Enterprise's Workflow Builder (chat agents and workflows built visually) and CX Agent Studio (customer-facing conversational agents, with flows: fixed conversation paths, reused from Dialogflow CX, for deterministic logic). Code means the Agent Development Kit (ADK), deployed to Agent Runtime, Cloud Run or GKE.
Start low-code; move to code for control
Start low-code when the platform covers the need. Its steps, connectors and tools do the job, the people who own the process can maintain it, and you get Gemini Enterprise's sharing and governance without building them. Move to code when you need control the platform cannot give.
The limits are concrete. Workflow Builder, for example, runs a chat agent's sub-agents one at a time and only one level deep. A design that needs specialists working in parallel, or a planner that delegates to agents that delegate again, has outgrown it. Evaluation is the other common trigger. Workflow Builder is tested by running simulations by hand, with no documented API for automated tests. CX Agent Studio is further along: its test cases can be run through an API (in beta), but they test the CX agent, not code you own. If logic you own must pass trajectory tests (checks of the tool calls the agent made) in a pipeline on every change, that logic needs to live in code beside its evaluation sets: files of test cases with the expected answers and tool calls.
Three scenarios
- IT helpdesk: stay low-code. Employees ask how to reset a password or request a laptop, and the agent answers from the IT knowledge base and files a ServiceNow ticket through a connector (write actions pause for a person's review). The platform covers every part, and the IT team can maintain it. Code would add a build and deploy pipeline for nothing.
- Insurance claims triage: code. Three specialist agents check policy, damage photos and fraud signals at the same time, then a fourth decides. Every release must pass evaluation sets in CI. Parallel specialists and CI-gated evaluation are both beyond the low-code limits, so this is an ADK multi-agent system.
- Sales quotes: hybrid. Sales staff live in Gemini Enterprise, but pricing is a complex, tested calculation the finance engineers own. Keep the quote workflow in Workflow Builder, put pricing behind an MCP server, and call a registered ADK agent from an existing-agent step for the drafting that needs many tools. The simulation in the next section steps through this design.
Hybrid designs
A keeps the experience low-code and puts the hard logic in code. Google documents several joins; the main ones:
- A low-code agent calls code-built tools. Workflow Builder has MCP steps, and a Gemini agent step can be given MCP tools to choose from. CX Agent Studio can call OpenAPI tools, and MCP servers that use streamable HTTP (MCP's HTTP transport; the older SSE transport isn't supported); for a server on Cloud Run, Google recommends authenticating with the CX service agent's ID token, granted the Cloud Run Invoker role. Put your logic behind an MCP server or an API, on Cloud Run for example, and the low-code agent calls it.
- A low-code agent calls a code-built agent. Workflow Builder's existing-agent step runs an ADK or A2A agent that has been published (registered) in Gemini Enterprise and shared with you, as one step of the workflow. CX Agent Studio can delegate a task to a remote ADK or A2A agent through an A2A tool.
- A code-built agent appears in Gemini Enterprise. Deploy an ADK agent to Agent Runtime and register it as a custom agent, or register an A2A agent by its agent card (the description an A2A agent publishes of itself). A2A registration is in preview, not yet generally available. Users then find the agent beside the low-code ones.
Step through the sales-quote design one path at a time. Decide first what happens on the last path.
Explain it: the last path in the simulation reaches the same ADK agent as step 3 without passing through the workflow. Why does that path need its own identity, evaluation and screening, and why can't the workflow's settings cover it?
In a hybrid agent, what usually stays low-code and what moves to code?
Decide early where evaluation and identity live
Migrations rarely break the prompt. They break what was wrapped around it:
- Evaluation. Test cases written for a low-code agent don't run against an ADK agent. Rebuild them as evaluation sets, and keep the old and new agents scoring the same cases until the switch.
- Identity. A low-code agent acts inside the platform's sign-in and sharing. A code-built agent needs its own: whose permissions it uses, and an OAuth setup if it must act for the user.
- Governance. Settings can quietly stop applying. Google documents that Model Armor settings in the Gemini Enterprise console don't automatically protect registered ADK or A2A agents (they configure screening in their own code), and that traffic to an A2A agent registered directly by its agent card bypasses Agent Gateway. Importing the A2A agent from Agent Registry instead is a separate path.
So when a design starts low-code but may grow, decide at the start where each of these will live for every part of the system.
A team is replacing a Workflow Builder agent with an ADK agent that should behave the same. How do they show the new agent is ready to take over?
Put it together
Predict, then follow the direct path
In A hybrid agent, step by step, pick whether the console's Model Armor setting screens a direct conversation with the registered agent, then step through all five paths. At step 5, check your pick against the verdict, and name the two arrows the direct path takes.
Sort the parts
Step through again and read the line under the controls at each step. List the parts that run inside the platform's sign-in and sharing, and the parts that need their own identity, evaluation and screening.
Apply it to another design
The IT helpdesk from the scenarios grows: password resets stay with the low-code agent, but laptop orders now go to a code-built ADK agent registered in Gemini Enterprise. Sketch its parts as the simulation draws them, and say where identity, evaluation and screening must be decided for the new agent before it ships.
Sources
Show 6 sourcesHide sources
| Source | Publisher | What it supports |
|---|---|---|
| Professional Agentic Architect exam guide (opens in a new tab) | Google Cloud | objectives 1.1, 1.2 and 3.1 |
| Workflow Builder documentation (opens in a new tab) | Google Cloud | manual simulation |
| CX Agent Studio documentation (opens in a new tab) | Google Cloud | test cases, runnable through the v1beta runEvaluation API |
| Register and manage ADK agents hosted on Agent Runtime (opens in a new tab) | Google Cloud, Gemini Enterprise | custom agent via Agent Runtime; console Model Armor settings don't automatically protect ADK agents |
| Register and manage A2A agents (opens in a new tab) | Google Cloud, Gemini Enterprise | preview; traffic to A2A agents added through the agent-card method does not go through Agent Gateway and its policies do not apply, while importing from Agent Registry is a separate registration method; rechecked 2026-12-02; console Model Armor settings don't automatically protect A2A agents |
| Agent Development Kit (opens in a new tab) | parallel and graph workflows, evaluation at adk.dev/evaluate (opens in a new tab), deployment to Agent Runtime, Cloud Run or GKE |
Suggested videos
Show 2 videosHide videos
Build and share no-code agents (opens YouTube in a new tab)
Next '26 developer keynote demo of high-code and no-code agents working together in Gemini Enterprise, which is the lesson's hybrid design.
Note: A short demo: it doesn't give the criteria for moving to code.
Build and share no code agents (opens YouTube in a new tab)
22-min Next '26 talk on who builds no-code agents and how Agent Registry and Gemini Enterprise let them share and govern them; good context on where low-code stops.
Note: A discussion with no chapters, more about the business than the architecture.
Review
When should an agent stay low-code?
Check yourself
HR wants an agent that collects a leave request, checks the balance through an existing HR connector, and routes it to a manager for approval. HR analysts will maintain it. What fits best?
Go deeper
Hands-on lab: Add an ADK Agent to Gemini Enterprise →
Surface an ADK agent with a BigQuery toolset inside Gemini Enterprise: the hybrid pattern end to end. About 1 h 30 min. Google Skills lab: sign-in and credits needed, temporary project provided.
LinkHands-on lab: Build a Zero-Code Multi-Agent System with Agent Studio →
Configure a multi-agent system visually in Agent Studio (Agent Platform's console workspace, formerly Vertex AI Studio, not CX Agent Studio), without code. About 51 min. Codelab, runs in your own Google Cloud project with billing on.