Building Production AI with Gemini: Beyond Tutorials to Real-World Systems
Sonika Janagill32:312026
Uruchomienie agenta Gemini jest łatwe; trudniej sprawić, by opłacał się na produkcji
Według danych przytoczonych na początku wystąpienia 95% projektów AI nie przynosi mierzalnego ROI, i to nie dlatego, że nie da się ich wdrożyć: produkcja ujawnia problemy, których nikt nie przewidział. Sonika Janagill, Lead Engineer w VML i Google Developer Expert w dziedzinie Cloud AI, prezentuje na żywo wieloagentowy system Gemini, aby pokazać, gdzie kryją się te problemy. Który model pasuje do którego zadania i co naprawdę obejmuje pełny rachunek?
Otrzymają Państwo listę kontrolną dla agentów Gemini na produkcji: wybór modelu, tracing, ponowienia, koszty i wdrożenia
Sonika Janagill pokazuje trzy sposoby wdrażania aplikacji opartych na Gemini w Google Cloud: wdrożenie jednym kliknięciem z AI Studio, agentów no-code w Agent Platform oraz systemy code-first budowane za pomocą Agent Development Kit. Na przykładzie wieloagentowego demo na żywo wyjaśnia, kiedy używać modeli Flash, Pro lub Live oraz jak działają tracing, analityka w BigQuery i pauzy human-in-the-loop. Na koniec omawia obsługę błędów, koszty i praktyki wdrożeniowe, dzięki którym agenci są gotowi na produkcję.
“Problem w tym, że nawet jeśli działa lokalnie albo w środowisku testowym, to na produkcji pojawiają się problemy, których się nie przewidziało.”
“Dlaczego nie używać Pro do wszystkiego? Chodzi o koszt, a także o opóźnienia.”
What you will learn
Wybór między AI Studio, Agent Platform a Agent Development Kit w zależności od tego, jak krytyczna produkcyjnie jest aplikacja AI.
Przydział modeli Gemini według zadań: Pro ze średnim poziomem myślenia do rozumowania, lżejsze modele Flash do przyjmowania danych i formatowania, Live do interakcji w czasie rzeczywistym.
Śledzenie wywołań wieloagentowych i eksport każdej interakcji do BigQuery w celu analizy opóźnień i kosztów każdego modelu.
Ograniczanie ponowień i alerty o pętlach, aby jeden halucynujący agent nie wywołał lawinowo wysokiego rachunku.
Uwzględnienie pełnych kosztów agentów oraz stosowanie sekretów, osobnych tożsamości agentów, trybu wsadowego i stopniowych wdrożeń.
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
Dlaczego tak wiele projektów AI nie przynosi ROI?
Według prelegentki nie dlatego, że nie da się ich wdrożyć, lecz dlatego, że na produkcji pojawiają się problemy niewidoczne lokalnie ani w testach, więc inwestycja się nie zwraca.
Dlaczego nie używać Gemini Pro z wysokim poziomem myślenia do każdego zadania?
Ze względu na koszty i opóźnienia. Do agenta rozumującego używa Pro ze średnim poziomem myślenia, co dodaje około dwóch sekund, ale ogranicza halucynacje, a do zadań pomocniczych lżejszych modeli Flash.
Dlaczego logowanie nie wystarcza w systemach wieloagentowych?
Subagenci mogą być wywoływani w dowolnym momencie i równolegle, więc logi nie pokazują, który z nich działał i kiedy. Tracing daje każdemu wywołaniu narzędzia własną oś czasu.
Jak human in the loop wpływa na koszty w Google Cloud?
Gdy wskaźnik pewności spada poniżej ustalonego progu, agent zapisuje swój stan i czeka na potwierdzenie, a w Agent Platform podczas oczekiwania nie ma kosztów Cloud Run.
Czy przepływy agentowe mogą działać lokalnie i offline?
Tak. ADK jest open source i można go używać z modelami lokalnymi, takimi jak Gemma 4, ale trzeba zaplanować monitorowanie takich systemów.
Dlaczego nie używać Gemini Pro do wszystkiego? (50 s)
Agent, który czeka na człowieka za darmo (54 s)
Ukryte koszty poza inferencją (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
Czego potrzeba, by przenieść agenta Gemini z demo na produkcję?
Sonika Janagill na przykładzie wieloagentowego demo na żywo pokazuje, jak wybór modelu, tracing, weryfikacja przez człowieka i kontrola kosztów decydują o tym, czy AI się opłaca.
W skrócie
Uruchomienie aplikacji Gemini to łatwa część, przekonuje Sonika Janagill; trudniej sprawić, by była niezawodna i warta swoich kosztów, gdy pojawią się prawdziwi użytkownicy. Omawiając na żywo system wieloagentowy zbudowany za pomocą Agent Development Kit (ADK) od Google, pokazuje, jak dopasować modele Gemini do zadań, śledzić działania agentów, wstrzymywać pracę w oczekiwaniu na zgodę człowieka bez płacenia za bezczynne zasoby obliczeniowe oraz planować budżet na pełny rachunek, a nie tylko na inferencję.
Najważniejsze wnioski
Systemy wieloagentowe bez tajemnic: jasne, praktyczne spojrzenie na strukturę rzeczywistych systemów, w których współpracuje wielu agentów opartych na Gemini, z Agent Development Kit jako fundamentem.
Wybór modelu Gemini, który oszczędza pieniądze: konkretne kryteria wyboru między Flash, Pro i Live API, bo użycie niewłaściwego modelu to jak zatrudnienie chirurga do wymiany żarówki.
Zatrzymywanie awarii, zanim się rozprzestrzenią: wzorce obsługi błędów, które sprawiają, że gorszy dzień jednego agenta nie zamienia się w kosztowną, trudną do debugowania katastrofę w całym systemie.
Obserwowalność dla systemów, które myślą: co logować, co śledzić i o czym alarmować, aby nie działać na ślepo, gdy agenci są już produkcyjni.
Lista kontrolna gotowa do natychmiastowego użycia: strategie ewaluacji, kontrola kosztów i praktyczne kroki, które odróżniają działające demo od rozwiązania, które można pewnie wdrożyć.
Dlaczego działające demo wciąż się nie zwracają
Janagill zaczyna od statystyki, która wyznacza ramy całej sesji: jak przytoczyła prelegentka, 95% projektów AI nie przynosi mierzalnego ROI. Podkreśla, że problemem nie jest samo wdrożenie. "Problem w tym, że nawet jeśli działa lokalnie albo w środowisku testowym, to na produkcji pojawiają się problemy, których się nie przewidziało." (1:35)
Aby koncepcje zapadły w pamięć, sięga po analogię do skoku z filmu Ocean's Eleven i opisuje trzy drogi do stosu AI od Google: okno, boczne wejście i skarbiec.
Okno, boczne wejście i skarbiec
Oknem jest Google AI Studio. Janagill pokazuje asystenta ogrodniczego zbudowanego na Gemini Live, który przez kamerę ogląda roślinę i wykrywa problemy, takie jak żółknące liście. Z AI Studio aplikacja trafia do Cloud Run jednym kliknięciem, z wersjonowaniem, sekretami i eksportem do GitHub. Prelegentka dzieli się też prawdziwym problemem: ustawiony przez nią budżet 1 USD się wyczerpał i aplikacja zaczęła zwracać błędy, których przyczynę znalazła w logach obserwowalności. Jej ocena tej drogi: "Jest szybko i świetnie sprawdza się w zastosowaniach osobistych." (5:27)
Bocznym wejściem jest Agent Platform od Google, dawniej Vertex AI Agent Builder. Pozwala tworzyć systemy wieloagentowe bez kodu, z instrukcjami, wyborem modelu, groundingiem w Google Search, serwerami MCP, magazynami danych i subagentami, a zbudowanych tam agentów można wywoływać z Gemini Enterprise w całym środowisku pracy. Udostępnia też wygenerowany kod ADK i ślady. Janagill wyjaśnia, dlaczego tracing jest ważny: subagenci mogą być wywoływani w dowolnym momencie i równolegle, więc zwykłe logi nie pokażą, który z nich działał i kiedy.
Skarbcem, a zarazem głównym tematem wystąpienia, jest sam ADK. Obsługuje orkiestrację sekwencyjną, równoległą i grafową (z dodatkowymi opcjami w ADK 2.0), działa w Javie, Go, TypeScript i Pythonie oraz używa Pydantic do walidacji wyników zamiast parsowania wyrażeniami regularnymi.
Dopasowanie każdego modelu Gemini do zadania
Jej demo, Clarity, ocenia, czy dany stos technologiczny pasuje do przypadku użycia, na przykład czy ADK wystarczy do systemu rekomendacji w e-commerce. Wykorzystuje trzech agentów: agenta przyjmującego dane, "mózg operacji" działający na Gemini 3.1 Pro ze średnim poziomem myślenia oraz agenta Flash-Lite, który obsługuje potwierdzenie przez człowieka i konwertuje wynik do JSON dla innych systemów. Średni poziom myślenia, jak mówi, dodaje około dwóch sekund, ale ogranicza halucynacje, ponieważ model sprawdza i weryfikuje źródła. Dlaczego więc nie używać wszędzie najmocniejszej opcji? "Dlaczego nie używać Pro do wszystkiego? Chodzi o koszt, a także o opóźnienia." (13:00) Dodaje, że wysoki poziom myślenia może wydłużać odpowiedź za bardzo jak na środowisko czasu rzeczywistego.
Wgląd w działania agentów i darmowe oczekiwanie
Jedna linia kodu wystarcza, by wtyczka BigQuery do analityki agentów zapisywała każde wywołanie, wywołanie narzędzia i interakcję w tabeli BigQuery. Janagill buduje następnie na tych danych agenta, który odpowiada na pytania, np. o opóźnienia poszczególnych modeli (w jej przebiegu najwolniejszy był Pro, potem Flash Preview i Flash-Lite), oraz przeprowadza miesięczną analizę kosztów, którą można udostępnić użytkownikom biznesowym.
Gdy wskaźnik pewności "mózgu operacji" spada poniżej ustalonego przez nią progu 70, system wstrzymuje się w oczekiwaniu na decyzję człowieka. "Ważne jest więc to, że gdy czeka na moje potwierdzenie, by przejść dalej, w Cloud Run nie ma żadnych kosztów. Czyli w zasadzie czeka na Ciebie za darmo." (18:32) Stan zostaje zapisany, a przepływ wznawia się po potwierdzeniu przez człowieka.
Pełny rachunek i lista kontrolna na produkcję
Systemy wieloagentowe mają więcej sposobów na awarię. Jeden halucynujący agent może wywołać pętlę iteracji, dlatego Janagill zaleca obsługę błędów z ograniczoną liczbą ponowień, kończącą się niepowodzeniem po około trzech próbach, aby uniknąć wysokiego rachunku od dostawcy LLM. Poszerza też perspektywę kosztów: runtime agentów, logowanie, analityka, zapisy pamięci i grounding w bazach danych kosztują. "Więc to nie tylko inferencją trzeba się zająć." (20:13)
Jej dodatkowa lista kontrolna obejmuje sekrety, tożsamość, koszty, wdrażanie i monitorowanie. "Sekrety i uwierzytelnianie: nigdy nie zapisujcie klucza jako zwykłego tekstu w żadnym miejscu systemu." (21:07) Radzi korzystać z Secret Manager lub kont usług, nadawać każdemu agentowi własną tożsamość, aby móc śledzić i izolować problemy, używać trybu wsadowego do zadań, które mogą poczekać do następnego dnia, utrzymywać większość ruchu na stabilnej wersji podczas testowania nowej oraz konfigurować alerty sygnalizujące agentów zapętlonych. Jak zauważa, te same zasady obowiązują w innych chmurach, wskazując CloudWatch w AWS i monitorowanie w Azure.
Jako wezwanie do działania wskazuje agent skills dla ADK instalowane przez Agent CLI, które pozwalają IDE wspieranemu przez AI generować szablonowy kod agentów; w ten sposób zbudowała środowisko do swojego demo w około pół godziny. W części Q&A potwierdza, że ADK jako open source może uruchamiać agentów na modelach lokalnych, takich jak Gemma 4, do pracy offline, o ile zaplanuje się monitorowanie, i poleca stronę ADK, kurs o agentach na Hugging Face oraz nadchodzący kurs Google o agentach.
Obejrzyj wystąpienie
"Building Production AI with Gemini: Beyond Tutorials to Real-World Systems", Sonika Janagill (około 33 minut): https://www.womentech.net/video/building-production-ai-gemini-beyond-tutorials-real-world-systems
O prelegentce
Sonika Janagill jest Lead Engineer w VML i Google Developer Expert (GDE) w dziedzinie Cloud AI. Jej 19-letnia kariera obejmuje 14 lat pracy z korporacyjnymi systemami Java, zwycięstwa w hackathonach AI oraz wdrażanie produkcyjnych systemów agentowych w Google Cloud; posiada certyfikaty GCP Professional Architect i Google ML Engineer. W ramach Women Coding Community AI Learning Series i VML AI Guild jest mentorką dla początkujących programistów i prowadzi globalne sesje wymiany wiedzy o agentach AI i produkcyjnych systemach chmurowych.
Pytania, na które odpowiada to wystąpienie
Dlaczego tak wiele projektów AI nie przynosi ROI?
Dlaczego nie używać Gemini Pro z wysokim poziomem myślenia do każdego zadania?
Dlaczego logowanie nie wystarcza w systemach wieloagentowych?
Jak human in the loop wpływa na koszty w Google Cloud?
Czy przepływy agentowe mogą działać lokalnie i offline?
Wersja robocza przygotowana z pomocą AI na podstawie transkrypcji wystąpienia. Oczekuje na weryfikację redakcyjną.
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