Building Production AI with Gemini: Beyond Tutorials to Real-World Systems
Sonika Janagill32:312026
Einen Gemini-Agenten zum Laufen zu bringen ist leicht, ihn in Produktion rentabel zu machen nicht
95 Prozent der KI-Projekte liefern keinen messbaren ROI, so die Zahl, mit der dieser Vortrag beginnt, und das nicht, weil sie sich nicht deployen lassen: In Produktion treten Probleme auf, mit denen niemand gerechnet hat. Sonika Janagill, Lead Engineer bei VML und Google Developer Expert für Cloud AI, zeigt anhand eines Live-Systems mit mehreren Gemini-Agenten, wo diese Probleme stecken. Welches Modell gehört zu welcher Aufgabe, und was umfasst die Gesamtrechnung wirklich?
Erhalten Sie eine Produktions-Checkliste für Gemini-Agenten: Modellwahl, Tracing, Retries, Kosten und Rollouts
Sonika Janagill zeigt drei Wege, Gemini-basierte Apps auf Google Cloud bereitzustellen: Deployment per Klick aus Google AI Studio, No-Code-Agenten auf der Agent Platform und Code-first-Systeme mit dem Agent Development Kit (ADK). Anhand einer Live-Demo mit mehreren Agenten erklärt sie, wann sich Flash-, Pro- oder Live-Modelle eignen und wie Tracing, BigQuery-Analysen und Pausen für menschliche Freigaben funktionieren. Zum Schluss stellt sie die Praktiken für Fehlerbehandlung, Kosten und Rollouts vor, die Agenten produktionsreif machen.
“Das Problem ist: Selbst wenn es lokal oder in Ihrer Testumgebung funktioniert, gibt es in Produktion Probleme, mit denen Sie nicht gerechnet haben.”
“Warum nicht für alles Pro verwenden? Es geht um die Kosten und auch um die Latenz.”
What you will learn
Wählen Sie zwischen Google AI Studio, Agent Platform und dem Agent Development Kit danach, wie geschäftskritisch Ihre KI-App in Produktion ist.
Ordnen Sie Gemini-Modelle nach Aufgabe zu: Pro mit mittlerem Thinking für das Reasoning, leichtere Flash-Modelle für Intake und Formatierung, Live für Echtzeit-Interaktion.
Tracen Sie Aufrufe zwischen Agenten und exportieren Sie jede Interaktion nach BigQuery, um Latenz und Kosten pro Modell zu analysieren.
Begrenzen Sie Retries und richten Sie Alerts für Schleifen ein, damit ein halluzinierender Agent keine hohe Rechnung auslöst.
Planen Sie die Gesamtkosten von Agenten ein und setzen Sie auf Secrets, eigene Identitäten pro Agent, Batch-Modus und schrittweise Rollouts.
Details
Level
Intermediate
Format
Tech talk
Technical depth
Practitioner
For
Mid-career, Senior individual contributor
Length
32:31
Published
June 2026
Questions this talk answers
Warum liefern so viele KI-Projekte keinen ROI?
Laut der Referentin nicht, weil sie sich nicht deployen lassen, sondern weil in Produktion Probleme auftreten, die lokal oder beim Testen nie auftauchten, sodass sich die Investition nicht auszahlt.
Warum nicht für jede Aufgabe Gemini Pro mit hohem Thinking verwenden?
Kosten und Latenz. Sie nutzt Pro mit mittlerem Thinking für den Reasoning-Agenten, was etwa zwei Sekunden mehr kostet, aber Halluzinationen reduziert, und leichtere Flash-Modelle für unterstützende Aufgaben.
Warum reicht Logging bei Multi-Agenten-Systemen nicht aus?
Sub-Agenten können jederzeit und parallel aufgerufen werden, daher zeigen Logs nicht, welcher wann lief. Tracing gibt jedem Tool-Aufruf eine eigene Zeitachse.
Wie wirkt sich Human in the Loop auf die Kosten in Google Cloud aus?
Fällt der Konfidenzwert unter einen festgelegten Schwellenwert, speichert der Agent seinen Zustand und wartet auf Bestätigung. Auf der Agent Platform entstehen währenddessen keine Cloud Run-Kosten.
Können Agenten-Workflows lokal und offline laufen?
Ja. ADK ist Open Source und lässt sich mit lokalen Modellen wie Gemma 4 nutzen, Sie müssen aber planen, wie Sie diese Systeme überwachen.
Warum nicht für alles Gemini Pro verwenden? (50 s)
Ein Agent, der kostenlos auf Menschen wartet (54 s)
Die versteckten Kosten jenseits der Inferenz (50 s)
I'm Sonika. I'll be presenting to you a session on building and how to use Gemini in real world systems today. A little bit about myself. I've been doing IT for a long time now, almost two decades. So I started with WebSphere Commerce as a Java J2E platform to build e-commerce websites From last few years, around four, I've been doing AI and MLOps, so building production pipelines using mostly data engineering and MLOps pipelines on Google Cloud.
I'm a Google Dev expert in Cloud AI and Google Cloud, and also certified in that. I also volunteer in women coding community as a lead and a mentor. so today i wanted to take an analogy to explain the concepts to you so you'll remember it better um because they're like lots of concepts which are traditional and someone new so it'll be easier to understand if we take an example of for example this one i'm taking um an example from a movie called ocean 11 if you haven't seen but if then it's just an example of a heast, you can like, like a robbery kind of thing. So I'll explain the concepts in that way.
So this is a stat which is really important. And the whole reason we are having this session is that this stat says 95% of AI projects fail to deliver a measurable ROI. So the important point here is the ROI. So it doesn't say that we can't deploy to production or they're not ways to do that. The problem is that even if it works on your local or in your testing environment, when it goes to production, there are issues which you didn't anticipate. So it works fine, but it doesn't return, it doesn't give you any ROI, any return on investment you have done for that AI project. So basically, so we are moving away from just doing something on your laptop and dev environment and running it in production.
So they're like, "Can you comment if you have used Gemini before in any of your work?" So basically I'll be showing you some of the ways you can use AI in Google, basically. So I'll think I'm going to share my screen. So we'll look at three different ways today and we'll tell you why the last one is the best one for production systems. I'm going to share my full screen.
All right, so the first way to do it is through AI studio. If you haven't seen that before and i prefer it for my like personal work and um some stuff which doesn't need lots of public users um so i have built an app already which i want to show you so i was just sitting in my home and i thought like you know my plants doesn't look very nice so let's use ai to figure out if we can make something uh do something with the plants so this is like one of the easiest use cases, you can try at home. So this one is using Gemini Live. And so what you have to do is you just go to AI Studio and you just ask it to build this app for you. So this is the first screen you
will see when you go there. If you don't have any ideas, you can just click on this button and try. So now once you have built an app, you can see the code here. So it's most of the time I think TypeScript. So you are able to publish it from here itself. So when you are happy with what you have built, so for example, I can preview it here. This was like a live video assistant.
It could take pictures and everything from here itself. So you can click a picture and ask about it. Right now I don't have a plant nearby. So I'm just going to show you how to deploy it. So you can publish here and it uses one of your Google project and from here it will give you this URL.
Now this works fine as such and now you will have to go to your Google console and you can see your project in your cloud run. So this is the serverless way of deploying services on Google and here you will get this link which is basically what you were seeing in your demo. Now, where does the issues come with, for example, I was just trying something and I realized I set a budget for like $1 and that expired and it started giving me errors.
You can just go to observability and they're like logs to see what went wrong. So this is one of the ways and I call it like, so let's go back to screen. So I call it the window because this is like the easiest way, one click cloud run. And it's quick and it's great for personal use cases.
And if you see here, you can also publish it to your, you can also have versioning here. You can have secrets, never use keys directly, always use secrets, and you can also publish it to your GitHub from here. other way to do is Google agent platform. Let's look at the agent platform. So I've built something already, but what you have to do is just go to your console and say agent platform. This is like the second way of doing it. And it's getting quite famous because this used to be called Vertex AI before. Vertex AI agent builder. Now it's called agent platform. And this one can be used directly in your Gemini Enterprise, means if you build an agent here, you can directly call it from
your Gemini chatbot anywhere in your workspace. So, for example, your Gmail or anything. So, for example, this one, let me show you how to build a new one. okay so you can just say create agent and here you can give all the instructions and everything you want to give you can use the models available you can also give google search as to any url or context you have you can also give your mcp servers here and you can also give any databases or data stores you have in mcp there is also an option of doing different kind of authorizations and if you want sub-agent you can just click on this button. So this is like a no-code way of building multi-agent systems and if you see the one I was showing you earlier, so this one I can
just preview from here so I can talk to it, test it and also if you want to build on top of that you can also get the code from here. So this whole code is built in Google Agent Development kit and it's easy as a starting point if you want to build complex systems so most of the time like you can go here and then pick up this code um so this one um has a lot of observability as well so i'm going to show you what it looks like um let's go here So we'll go to Agents and go to our deployments.
You can see there are some agents here. The one I was showing you is this one. Now here you also have a playground if you want to try it before you share it with your customers. And there is traces identities available. So traces is basically a little more than logging. so it also traces um okay let's do a couple of days should be some traces all right um yeah so basically this is a little more than logging because in your agents uh you saw there were like four sub-agents so it could be calling any sub-agent at any any point and it could be calling it parallel so a logging doesn't work because you can't see which one was called when So this takes care of all the tool calls or any kind of searches happen.
So it will take care of every call with its own timeline and its own locking. So you can see if there is anything going on with a certain tool call from here. All right. So this is like the second way of doing no code. We'll go back to ADK in a bit. Let's go back to our slides.
so we saw the window which is uh the ai studio and the agent platform which i would call a side entrance and then there is the vault so the world is the one we'll discuss more today so why so why we we are talking here is in like in last till last year we were like building agents but the agents were doing lots of stuff because this session is about identifying different uh patterns like when to which model to use at what point. So there is like certain differences using the ADK.
So it gives you a lot of orchestration options. So you can have sequential, you can have parallel, you have graphs. There are lots of new options came in ADK 2.0. It also gives you lots of options in terms of programming languages. So you can have Java, Go, TypeScript, Python, anything in there. Earlier we would like to rely on regex parsing. Now you have PyDentic. So any output which doesn't suit your system will be ignored and it will throw an error or it will retry again. Now we already talked about Cloud Trace. So for full visibility, this is the best option. And then cost optimization, which we'll talk in the next slide. And ADK eval also will talk about. Evaluations are really important with agents. The next one is, so why can't we use the best model for everything?
So you have Gemini Flash, you have Gemini Pro, you have different thinking models. So how do you decide what to use when? So Gemini Flash, I'm using it. So in my example, which I call clarity. So it basically is a system where you can ask, is this tech stack good enough for my use case? So you need to know your use case first. So for me, I'm just building a meta technology clarity system basically to know if a fast API is good enough for this use case, if ADK is good, gen kit is better so that kind of stuff so i need to decide so i have three agents in there uh first one is the one we just saw the the gardening one where you can have a flashlight so it's a real-time
communication you can show your plants in real time and it'll tell you if there are any issues i think i had this example yesterday i was trying so it it was able to tell me which plant i had and what issues it was having because they were like yellowing leaves and all so this kind of things so it's not a static website anymore you can do a lot more because you have connected your LLMs to that so that was like a live model because I wanted to see it in real time now the the agent example the demo we have had the three agents the first one is just to identify just the intake so just to see okay what is the tech stack in and then it will call the mastermind
which i call is gemini 3.1 pro now the thinking level is set to medium there are like three levels in there high low and medium uh the medium one will be taking across like two seconds extra but it'll give you less hallucinations because it will check and verify each sources and then give you results. Now why not high all the time? Why not use pro for everything? It's the cost and also the latency in this. So I want to check all the documentation available about that tech stack, but I also want to make sure it's fast. So for the side works happening around it, I'm using different models. But for the thinking part, I'll be using the pro model with the medium thinking.
The high will sometimes takes too long to respond in a real time environment. And the last one is the flashlight. So this one basically just checks if, you know, the mastermind will be a rating for that text tag to tell you, you know, this is like five for this kind of work or use case. And then flashlight will give you a human in the loop thing, and it will wait for your response. And after that, it will convert your output to a JSON or something the way you want it so your systems can consume that. Okay, so let's go to I think we saw this one.
Let me show you the example. So this is the demo I built. right so this is clarity i'm going to start a new session in here and we are going to ask it if i'm at a question so here i asked first apis okay say is adk good enough for uh oops okay ecommerce recommendation system sorry for the caps so this one is uh so it's calling the first model uh and checking um so you can see everything in here A bit slow today.
So you can see every call, every event happening in this site. Now I'm talking to it as a chatbot, but in real system, this will be connected to another system, not like used directly as a chatbot. I mean, you can do that too, but most of the time it's like connected to real system, which need input as JSON and output as JSON.
So you can see the request response in that format as well. While it's working, I'll show you how to get stats out of it. So I have used this BigQuery agent plugin. And it extracts everything in my BigQuery table. So I have analytics set up for this. You just need to write that one line code, this one, and it extracts every call, every tool call, every interaction which is happening to a BigQuery table.
Now, what is the use of doing all this analytics? And so basically, you can build agents around it. So I build an agent in agent catalog. So here, when I-- so this is inside BigQuery. I can build agent, and I can ask questions like, what is the latency of each model? And it can also help me visualize it.
So it could tell that this one was taking the longest, the probe, and then you have Flash Preview and then you have Flashlight. So it can give you this kind of stats. You can also run cost analysis for that month. So there are lots of things you can do in here and you can extract these reports for your business users or for yourself into, for example, Data Studio, which was or whatever format you want it to be.
So this all is happening based on these tables, and you can see the sources on the right-hand side here. So this helps with, so the governance part, the basics are given to you, you just need to learn how to use that. Okay, so this one has, came back to us, so you can see it did some research.
It says there are some pros and cons, okay, and some contradictions, and it's a good match. So it just accepted it. But in case of the FastAPI one, this one said it might not be worth it for the AI system. So what happened is, because the confidence score was less than 70, which I set as a threshold, it waited for the confirmation from the human.
So the important part here is that while it's waiting for my confirmation to proceed ahead, there is no cost in Cloud Run. So this is basically waiting for you for free. So it's not like running in the background when it comes to the state. It just saves the state and waits for the human to confirm it or not confirm it.
So when I say confirm, it just goes back to that state and it accepts that text tag. And then you can publish that any way you want. All right. Let's go back to slides. So in agents, when you're having multi-agent system, there are a lot of things which can go wrong. So it's very important to understand use case and also having your different models. So if one hallucinate, it can trigger an iterative loop.
So there should be always a good error handling patterns in place, always have retries in place, but not, like, exponential back-offs, but not, like, set a limit on it. So, like, after three times, it should fail. So, things like that. So, you are not getting, like, a big bill from your LLMs. So, observability, we just talked about.
So, cloud race is really important. Human in the loop, we just talked about. So, free waiting is what I found is, like, the best part in Google Cloud agent platform. Now, you don't have to. So there is a full bill of it. It's not just LLMs costing you. So all the agent runtime I was just showing you with logging and all the analytics which is happening is also costing you.
You also have some memory saves. So sometimes, you know, you can save certain things from your agent interactions. So that also costs you. And there is also the grounding cost. So if you already have some databases, that also costs you. So it's not just inference you need to take care of. So when you build your system, so you plan according to all of these things.
Okay, now some of you might be working on different platforms. So, for example, Azure or AWS, but the basic principles are the same. You will always have some kind of tracing. In Google's case, it's cloud trace. AWS could be CloudWatch, and Azure has monitoring. And different frameworks have similar patterns in agentic systems. I think I'm going to pause.
Are there any questions? All right. I don't see any questions. So I have a few minutes. I'm going to proceed with the slides. Now, there are a few bonus things I want to tell you. So secrets and authentication never save a key as plain text anywhere in your system. And these days, there are ways where you don't even need a key.
But if you are using a key, use Secret Manager wherever you are. So, or use service accounts. Always have a different identity for each agent in your system because they will have, If something goes wrong, it's easy to track back and you have a boundary for any issues which goes wrong. So always know what is the cost.
Sometimes there are systems which runs in the background, so always run batches. Batches are cheaper. So if you have certain systems which can wait for the next day, always use the batch mode. way, way, way cheaper. Versioning and rollback. So what if the new crew is worse than the previous one? Always give some kind of, so the previous stable system should have more percentage of your public access and the new system should be in testing in the first way. I think there are different ways of doing it. But never switch back to the new system, even if it's tested and it's working well. Don't do that. And do it slowly based on your traffic. And minimum viable observability is the must. So if you're deploying on agent platform, it takes care of this thing
automatically. But if you're not using that, then you should have some kind of logging alerting system and if something goes wrong or your agent has gone in a loop there should be some flagging system for that as well. All right I think we discussed this already so a call to action for you so you don't need to know all the ADK documentation so there is this way you can use agent skills they have provided for ADK you just need to say it's called agent CLI so you just need to install it use this command in your system it will download all the skills to build it and whatever ai idees you are using you can just ask it to build your agent view and i i did it this setup i
was showing you audited like in half an hour and then on top of that you just need to monitor it and govern your system basically not focus on the building part that much thing that's it for me um any questions i'm not sure if you're allowed to speak but um okay let me stop sharing okay so thanks to Sia yes you have uh so for Lugna uh she's asking if there are agent workflows which can run locally and offline uh so we we are progressing faster in that um state so there are i have tried Gemma 4 so Gemma 4 can run locally if your system supports it i think they're like even smaller models which can run in local basically if you're using adk because it's um free um it's a kind of open source
so you can you can use adk for your local models as well um and build your systems locally especially if you are working with some devices or you don't have internet access in certain use cases um so you can yes you can build whole of the system locally the only thing you have to take care of it you have to be monitoring it constantly so you have to take care of how you will monitor those kind of systems um best learning so resources for creating agents so um i would uh because we are talking about gemini uh so just go to adk.web and it gives you everything you need um to start learning agents so click on build agents and if you're using any ai ides for example anti
gravity or gemini cli or whatever so you can click here and this is what i was showing you so you just need to set up the system and it creates all these cli commands for you and these skills so you just need to ask and it will use this and create a boiler plate code for you and um this is a good starting point to learn. There are lots of tutorials um here on the front first page home page as well and there is also community if you need any more resources.
Uh if you want to learn about like lang graphs and all there are like um Hugging Face has a very good uh agentic learning system. I think there is a I can share the link later on to use. Thank you. Maria, a very good question. I can send you some resources later on for monitoring purposes. Like there is like if you're using LangGraph, you have LangFuse in this case, because what I showed you, everything was on cloud.
So offline systems I can share with you later on. Any more questions? There is a resource from Hugging Face, and there is a new course coming up for agents from Google, and it's going to be great. So I would suggest you can register there and learn, and it's also using Vibe Coding, so it'll be a good hands-on for using new techniques to do coding as well as learning agents.
I'm also checking about local observability. I would love for you guys to try ADK this has been so easy to learn and you can build a lot of I think most of the use cases you will have using this and it's like available to you for free if you need any credits and all let me know we can do a workshop and I can share some credits for you to try.
Thank you. you can use definitely for local models you can use ADK just need a key in that case I think that's it. thank you everyone for joining I'll be happy to connect to you on my LinkedIn so please message me I would love to talk to you I'll just share
Transcribed automatically; names checked against the speaker record. Select a time to jump there.
Article based on this talk
Was braucht es, um einen Gemini-Agenten von der Demo in die Produktion zu bringen?
Sonika Janagill zeigt in einer Live-Demo mit mehreren Agenten, wie Modellwahl, Tracing, menschliche Prüfung und Kostenkontrolle darüber entscheiden, ob sich KI auszahlt.
Kurz gesagt
Eine Gemini-App zum Laufen zu bringen ist der einfache Teil, argumentiert Sonika Janagill; schwierig ist es, sie zuverlässig und ihre Kosten wert zu machen, sobald echte Nutzerinnen und Nutzer kommen. Anhand eines Live-Systems mit mehreren Agenten, gebaut mit Googles Agent Development Kit (ADK), zeigt sie, wie man Gemini-Modelle Aufgaben zuordnet, nachvollzieht, was Agenten tun, für menschliche Freigaben pausiert, ohne für ungenutzte Rechenleistung zu zahlen, und die Gesamtrechnung einplant, nicht nur die Inferenz.
Die wichtigsten Erkenntnisse
Multi-Agenten-Systeme ohne Rätsel: Ein klarer, praxisnaher Blick darauf, wie man echte Systeme strukturiert, in denen mehrere Gemini-basierte Agenten zusammenarbeiten, mit Googles Agent Development Kit als Grundlage.
Gemini-Modellwahl, die Geld spart: Konkrete Kriterien für die Wahl zwischen Flash, Pro und der Live API, denn das falsche Modell für eine Aufgabe einzusetzen ist, als würde man eine Chirurgin zum Glühbirnenwechseln engagieren.
Fehler stoppen, bevor sie sich ausbreiten: Muster für die Fehlerbehandlung, die verhindern, dass der schlechte Tag eines Agenten zu einem teuren, schwer zu debuggenden Desaster im gesamten System wird.
Observability für Systeme, die denken: Was Sie loggen, tracen und alarmieren sollten, damit Sie nicht im Blindflug unterwegs sind, sobald Ihre Agenten live sind.
Eine Produktions-Checkliste zum sofortigen Einsatz: Evaluationsstrategien, Kostenkontrollen und die praktischen Schritte, die eine funktionierende Demo von etwas trennen, das Sie mit Zuversicht ausliefern können.
Warum funktionierende Demos sich trotzdem nicht auszahlen
Janagill beginnt mit einer Statistik, die die ganze Session prägt: Wie die Referentin zitierte, liefern 95 % der KI-Projekte keinen messbaren ROI. Sie betont, dass das Problem nicht das Deployment selbst ist. „Das Problem ist: Selbst wenn es lokal oder in Ihrer Testumgebung funktioniert, gibt es in Produktion Probleme, mit denen Sie nicht gerechnet haben.“ (1:35)
Damit die Konzepte hängen bleiben, leiht sie sich eine Heist-Analogie aus dem Film Ocean's Eleven und beschreibt drei Wege in Googles KI-Stack: das Fenster, den Seiteneingang und den Tresor.
Das Fenster, der Seiteneingang und der Tresor
Das Fenster ist Google AI Studio. Janagill zeigt einen Gartenassistenten auf Basis von Gemini Live, der eine Pflanze über die Kamera betrachten und Probleme wie vergilbende Blätter erkennen kann. Aus AI Studio wird die App per Klick auf Cloud Run veröffentlicht, mit Versionierung, Secrets und einem Export nach GitHub. Sie berichtet auch von einem echten Stolperstein: Ein von ihr festgelegtes Budget von 1 $ war aufgebraucht, und die App lieferte Fehler, die sie über die Observability-Logs aufspürte. Ihr Fazit zu diesem Weg: „Und es ist schnell und großartig für persönliche Anwendungsfälle.“ (5:27)
Der Seiteneingang ist Googles Agent Platform (formerly Vertex AI Agent Builder). Sie bietet einen No-Code-Weg, Multi-Agenten-Systeme mit Anweisungen, Modellwahl, Grounding über die Google-Suche, MCP-Servern, Datenspeichern und Sub-Agenten zu erstellen, und dort gebaute Agenten lassen sich über Gemini Enterprise im gesamten Workspace aufrufen. Außerdem stellt sie den generierten ADK-Code und Traces bereit. Janagill erklärt, warum Tracing wichtig ist: Sub-Agenten können jederzeit und parallel aufgerufen werden, sodass normale Logs nicht zeigen, welcher wann lief.
Der Tresor, und der Schwerpunkt des Vortrags, ist das ADK selbst. Es unterstützt sequenzielle, parallele und Graph-Orchestrierung (mit weiteren Optionen in ADK 2.0), funktioniert mit Java, Go, TypeScript und Python und nutzt Pydantic zur Validierung von Ausgaben, statt sich auf Regex-Parsing zu verlassen.
Jedem Gemini-Modell seine Aufgabe
Ihre Demo, Clarity, beurteilt, ob ein Tech-Stack zu einem Anwendungsfall passt, etwa ob ADK für ein E-Commerce-Empfehlungssystem gut genug ist. Sie nutzt drei Agenten: einen Intake-Agenten, einen „Mastermind“ mit Gemini 3.1 Pro und auf mittel gesetztem Thinking-Level sowie einen Flash-Lite-Agenten, der die menschliche Bestätigung übernimmt und die Ausgabe für andere Systeme in JSON umwandelt. Mittleres Thinking, sagt sie, kostet etwa zwei Sekunden mehr, reduziert aber Halluzinationen, weil das Modell seine Quellen prüft und verifiziert. Warum also nicht überall die leistungsstärkste Option? „Warum nicht für alles Pro verwenden? Es geht um die Kosten und auch um die Latenz.“ (13:00) Hohes Thinking, ergänzt sie, kann in einer Echtzeitumgebung zu lange für eine Antwort brauchen.
Sehen, was Agenten tun, und kostenlos warten
Mit einer einzigen Codezeile schreibt ein BigQuery-Plugin für Agentenanalysen jeden Aufruf, jeden Tool-Aufruf und jede Interaktion in eine BigQuery-Tabelle. Janagill baut darauf einen Agenten, der Fragen wie die Latenz jedes Modells beantwortet (in ihrem Durchlauf war Pro am langsamsten, gefolgt von Flash Preview und Flash-Lite) und monatliche Kostenanalysen erstellt, die sich mit Fachanwenderinnen und -anwendern teilen lassen.
Fällt der Konfidenzwert des Masterminds unter den von ihr festgelegten Schwellenwert von 70, pausiert das System für eine menschliche Entscheidung. „Das Wichtige ist hier: Während er auf meine Bestätigung zum Weitermachen wartet, entstehen in Cloud Run keine Kosten. Er wartet also im Grunde kostenlos auf Sie.“ (18:32) Der Zustand wird gespeichert, und der Workflow läuft weiter, sobald eine Person bestätigt.
Die Gesamtrechnung und eine Produktions-Checkliste
Multi-Agenten-Systeme haben mehr Möglichkeiten zu scheitern. Ein halluzinierender Agent kann eine iterative Schleife auslösen, daher empfiehlt Janagill eine Fehlerbehandlung mit begrenzten Retries, die nach etwa drei Versuchen abbricht, um eine hohe Rechnung des LLM-Anbieters zu vermeiden. Sie weitet auch den Blick auf die Kosten: Agent-Runtime, Logging, Analysen, Memory-Speicherungen und Grounding gegen Datenbanken kosten alle Geld. „Es ist also nicht nur die Inferenz, um die Sie sich kümmern müssen.“ (20:13)
Ihre Bonus-Checkliste umfasst Secrets, Identität, Kosten, Rollout und Monitoring. „Bei Secrets und Authentifizierung gilt: Speichern Sie einen Schlüssel niemals irgendwo in Ihrem System als Klartext.“ (21:07) Sie rät, Secret Manager oder Servicekonten zu nutzen, jedem Agenten eine eigene Identität zu geben, damit sich Probleme nachverfolgen und eingrenzen lassen, den Batch-Modus für Arbeit zu verwenden, die bis zum nächsten Tag warten kann, den Großteil des Traffics auf der stabilen Version zu belassen, während eine neue getestet wird, und Alerts einzurichten, die in Schleifen hängende Agenten melden. Dieselben Prinzipien gelten auch in anderen Clouds, merkt sie an, und verweist auf CloudWatch bei AWS und das Monitoring in Azure.
Als Handlungsaufruf verweist sie auf ADK Agent Skills, die über die Agent CLI installiert werden und mit denen eine KI-gestützte IDE Boilerplate-Code für Agenten generieren kann; auf diese Weise hat sie ihr Demo-Setup in etwa einer halben Stunde gebaut. In der Q&A bestätigt sie, dass ADK als Open Source Agenten für die Offline-Nutzung mit lokalen Modellen wie Gemma 4 ausführen kann, sofern das Monitoring geplant ist, und empfiehlt die ADK-Website, einen Agenten-Kurs von Hugging Face und einen kommenden Google-Kurs zu Agenten.
Den Vortrag ansehen
„Building Production AI with Gemini: Beyond Tutorials to Real-World Systems“ von Sonika Janagill (etwa 33 Minuten): https://www.womentech.net/video/building-production-ai-gemini-beyond-tutorials-real-world-systems
Über die Referentin
Sonika Janagill ist Lead Engineer bei VML und Google Developer Expert (GDE) für Cloud AI. Ihre 19-jährige Laufbahn reicht von 14 Jahren mit Java-Unternehmenssystemen über gewonnene KI-Hackathons bis zur Implementierung produktiver agentischer Systeme auf Google Cloud; sie ist als GCP Professional Architect und Google ML Engineer zertifiziert. Über die AI Learning Series der Women Coding Community und die VML AI Guild betreut sie angehende Entwicklerinnen und Entwickler als Mentorin und leitet weltweite Wissensaustausch-Sessions zu KI-Agenten und produktiven Cloud-Systemen.
Fragen, die dieser Vortrag beantwortet
Warum liefern so viele KI-Projekte keinen ROI?
Warum nicht für jede Aufgabe Gemini Pro mit hohem Thinking verwenden?
Warum reicht Logging bei Multi-Agenten-Systemen nicht aus?
Wie wirkt sich Human in the Loop auf die Kosten in Google Cloud aus?
Können Agenten-Workflows lokal und offline laufen?
Mit KI aus dem Transkript des Vortrags erstellt. Redaktionelle Prüfung ausstehend.
Frameworks and ideas mentioned
Window, side entrance and vault analogy (Ocean's Eleven)
ADK website and documentation (Google Agent Development Kit)
ADK agent skills installed through the Agent CLI
Hugging Face agents course
Upcoming Google course on agents
Langfuse for monitoring LangGraph agents
Google AI Studio
Gemini CLI
Cite this talk
Sonika Janagill. "Building Production AI with Gemini: Beyond Tutorials to Real-World Systems." WomenTech Network, 2026. https://www.womentech.net/video/building-production-ai-gemini-beyond-tutorials-real-world-systems