Operation
From Chat to Action: Developing Custom Gemini Enterprise Agents with the Google ADK
Gemini Enterprise is far more than an intelligent chat interface. Its true potential lies in its ability to act as a single, unified entry point for all of your organisation's workflows and data streams. Rather than merely answering questions, it can orchestrate enterprise-wide actions in real time.
This is made possible by the Google ADK (Agent Development Kit). The ADK is an exceptionally lightweight, developer-friendly framework specifically designed for building custom multi-tool AI agents. While standard LLMs simply generate text, ADK agents take action—querying databases, calling internal APIs, or orchestrating complex backend processes.
When we combine Gemini Enterprise's secure workspace with the action-oriented capabilities of custom ADK agents, the result is transformative. Employees gain a single, unified tool to securely chat with enterprise data and execute custom logic, resolving issues and triggering workflows without ever having to leave their primary AI interface.

This post is not a step-by-step coding tutorial. Instead, our goal is to show just how simple it is to build an agent using the ADK and seamlessly integrate it into Gemini Enterprise.
To demonstrate this simplicity, let's take a look at a "Billing Insight" agent. We'll show you how easily you can empower customer success and sales teams to instantly check subscription tiers, retrieve unpaid invoices, and verify account statuses directly within their familiar chat window.
Let's see the magic in action.
Step 1: Setting up the environment
Because the Agent Engine handles web serving directly "out of the box", our setup is significantly leaner and requires only the ADK itself as a dependency.
Make sure your Google Cloud project is set up and your API keys or credentials for the Agent Platform (formerly Vertex AI) are authenticated in your environment (e.g. standard GCP ADC).
Step 2: Creating the "Billing Tool"
Agents are only as smart as the tools you give them. Standard LLMs guess; ADK agents execute.
Here, we define a standard Python function that simulates a call to an internal billing platform (such as Stripe or Salesforce). By adding type hints and a clear docstring, the ADK automatically understands how and when the LLM should trigger this function.
Create a folder named billing_insight/, and inside it, create a file called agent.py and add the following:
Notice how simple that is? We return a structured JSON (dictionary). We don't have to worry about formatting for the end user—the LLM handles translating the raw data into a natural, conversational response.
Step 3: Initialising the agent
Now we need to connect our tool to the Gemini model using the Agent class. We give the agent a name, specify the model we want to use, provide its core instructions, and hand it our tool.
# Initialize the Billing Insight Agent
root_agent = Agent(
name="billing-insight-agent",
model="gemini-flash-latest",
instruction=(
"You are a helpful assistant for account managers. Your job is to check client "
"billing statuses using the check_billing_status tool. Always format the financial "
"data clearly using bullet points, and maintain a professional, helpful tone."
"If the Account Status is Past Due, you should remind the account manager to send a follow-up email."
),
tools=[check_billing_status]
)
You can test the agent by running the command adk web in your terminal. Then open the ADK web interface in your browser and start chatting with the agent.
For example, you could ask:
"What is the billing status for ABC Inc?"
Step 4: Deployment to the Agent Engine
Testing locally is great, but we want to get this into the hands of our employees. The next step is moving the agent from our local machine to Google Cloud's fully managed infrastructure.
Via the terminal or deployment scripts, you deploy your agent to the Agent Engine Runtime. This handles all the heavy lifting: sub-second cold starts, scalability, and long-lived execution states.
Run this in your terminal to deploy to the Agent Engine:
adk deploy agent_engine billing_insight \
--project GCP_PROJECT_ID \
--region europe-west1 \
--display_name 'billing insight agent'

Step 5: Native integration into Gemini Enterprise
This is where the real enterprise value unfolds. We don't want employees visiting a separate dashboard or using a standalone web app. We want this agent right inside their daily Google Enterprise chat.
Once your agent is deployed to the Agent Engine Runtime, you can integrate it into the Gemini Enterprise app in just a few simple steps:
Navigate to the Agent Engine in the Google Cloud Console.
Find the Billing Insight Agent there and copy its resource name.
Navigate to Gemini Enterprise in the Google Cloud Console. Under Apps, select the relevant Gemini Enterprise application.
Navigate to Agents in the left sidebar and click on Add agent.
Select Custom agent via Agent Engine.
Configure authentication for your agent if required, or skip this step.
Add an agent description.
In the Agent Engine reasoning engine field, paste the Resource name you previously copied from the Agent Engine.
Click on Create.
After creation, you can manage user permissions for the agent by selecting it and navigating to User permissions.
The result: Tomorrow morning, an account manager opens their standard Gemini Enterprise chat window. In the agent menu, they now see the "Billing Insight" agent. They type: "Hey, I have a call with 'Abc Inc' shortly. Are there any outstanding invoices?" Gemini Enterprise forwards the request to your ADK agent, accesses your internal (mocked) API, and replies immediately: "It looks like their account is overdue. I would recommend sending a follow-up email."
Data silos: broken down. Employee time: saved.
All in fewer than 50 lines of code.

Conclusion
Building custom agents with the Google ADK fundamentally transforms Gemini Enterprise from a standard conversational interface into a powerful, unified entry point for your company's workflows. As we saw with the "Billing Insight" agent, you can break down internal data silos, connect to your APIs, and securely execute backend logic—all in fewer than 50 lines of code.
By bringing these tools directly into your team's daily chat window, you eliminate the need to switch between tabs or platforms, saving valuable time and streamlining operations.
Unlock the power of the Google ADK
Ready to bridge the gap between chat and execution in your organisation? Whether you want to replicate this billing tool or build custom agents tailored to your specific business data, you don't have to start alone.
Contact us! As your trusted Google Cloud Premier Partner, we are here to support you in deploying custom ADK agents and maximising your investment in Gemini Enterprise.



