Building Production AI with Gemini: Beyond Tutorials to Real-World Systems
Sonika Janagill32:312026
Faire fonctionner un agent Gemini est facile ; le rendre rentable en production, beaucoup moins
Selon le chiffre qui ouvre cette conférence, 95 % des projets d'IA ne génèrent pas de ROI mesurable, et pas parce qu'ils ne peuvent pas être déployés : la production fait apparaître des problèmes que personne n'avait prévus. Sonika Janagill, Lead Engineer chez VML et Google Developer Expert en Cloud AI, présente en direct un système Gemini multi-agents pour montrer où se cachent ces problèmes. Quel modèle pour quelle tâche, et que comprend réellement la facture complète ?
Obtenez une checklist de production pour les agents Gemini : choix du modèle, traçage, relances, coûts et déploiements
Sonika Janagill présente trois façons de déployer des applications basées sur Gemini sur Google Cloud : le déploiement en un clic depuis AI Studio, les agents sans code sur Agent Platform et les systèmes code-first construits avec l'Agent Development Kit. À l'aide d'une démo multi-agents en direct, elle explique quand utiliser les modèles Flash, Pro ou Live, et comment fonctionnent le traçage, l'analytique BigQuery et les pauses avec intervention humaine. Elle conclut avec les pratiques de gestion des erreurs, de maîtrise des coûts et de déploiement progressif qui rendent les agents prêts pour la production.
“Le problème, c'est que même si cela fonctionne en local ou dans votre environnement de test, une fois en production, des problèmes que vous n'aviez pas anticipés apparaissent.”
“Pourquoi ne pas utiliser Pro pour tout ? C'est une question de coût et aussi de latence.”
What you will learn
Choisir entre AI Studio, Agent Platform et l'Agent Development Kit selon le degré de criticité de votre application d'IA en production.
Attribuer les modèles Gemini par tâche : Pro avec un niveau de réflexion moyen pour le raisonnement, des modèles Flash plus légers pour la réception et la mise en forme, Live pour l'interaction en temps réel.
Tracer les appels multi-agents et exporter chaque interaction vers BigQuery pour analyser la latence et le coût par modèle.
Limiter les relances et déclencher des alertes sur les boucles pour qu'un seul agent qui hallucine n'entraîne pas une facture élevée.
Budgéter le coût complet des agents et appliquer gestion des secrets, identités par agent, mode batch et déploiements progressifs.
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
Pourquoi tant de projets d'IA ne génèrent-ils pas de ROI ?
Selon l'intervenante, ce n'est pas parce qu'ils ne peuvent pas être déployés, mais parce que des problèmes jamais apparus en local ou en test surviennent en production, si bien que l'investissement n'est pas rentabilisé.
Pourquoi ne pas utiliser Gemini Pro avec un niveau de réflexion élevé pour toutes les tâches ?
Le coût et la latence. Elle utilise Pro avec un niveau de réflexion moyen pour l'agent de raisonnement, ce qui ajoute environ deux secondes mais réduit les hallucinations, et des modèles Flash plus légers pour les tâches de support.
Pourquoi la journalisation ne suffit-elle pas pour les systèmes multi-agents ?
Les sous-agents peuvent être appelés à tout moment et en parallèle, donc les logs ne permettent pas de savoir lequel s'est exécuté et quand. Le traçage donne à chaque appel d'outil sa propre chronologie.
Comment l'intervention humaine influe-t-elle sur les coûts sur Google Cloud ?
Lorsque le score de confiance passe sous un seuil défini, l'agent sauvegarde son état et attend une confirmation ; sur Agent Platform, cette attente ne génère aucun coût Cloud Run.
Les workflows d'agents peuvent-ils fonctionner en local et hors ligne ?
Oui. ADK est open source et peut être utilisé avec des modèles locaux comme Gemma 4, mais vous devez prévoir comment superviser ces systèmes.
Pourquoi ne pas utiliser Gemini Pro pour tout ? (50 s)
Un agent qui attend les humains gratuitement (54 s)
Les coûts cachés au-delà de l'inférence (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
Que faut-il pour faire passer un agent Gemini de la démo à la production ?
Sonika Janagill s'appuie sur une démo multi-agents en direct pour montrer comment le choix du modèle, le traçage, la validation humaine et la maîtrise des coûts déterminent la rentabilité de l'IA.
En bref
Faire tourner une application Gemini est la partie facile, estime Sonika Janagill ; le plus difficile est de la rendre fiable et rentable une fois les vrais utilisateurs arrivés. En présentant un système multi-agents en direct construit avec l'Agent Development Kit (ADK) de Google, elle montre comment associer les modèles Gemini aux tâches, tracer ce que font les agents, faire une pause pour une validation humaine sans payer de calcul inactif, et budgéter la facture complète, pas seulement l'inférence.
Points clés
Les systèmes multi-agents sans mystère : un regard clair et pratique sur la structuration de systèmes réels où plusieurs agents basés sur Gemini collaborent, avec l'Agent Development Kit de Google comme fondation.
Un choix de modèle Gemini qui vous fait économiser : des critères concrets pour choisir entre Flash, Pro et la Live API, car utiliser le mauvais modèle revient à engager un chirurgien pour changer une ampoule.
Stopper les défaillances avant qu'elles ne se propagent : les modèles de gestion des erreurs qui empêchent la mauvaise journée d'un agent de devenir un désastre coûteux et difficile à déboguer dans tout votre système.
L'observabilité pour des systèmes qui réfléchissent : quoi journaliser, quoi tracer et sur quoi déclencher des alertes, pour ne pas naviguer à l'aveugle une fois vos agents en ligne.
Une checklist de production utilisable immédiatement : stratégies d'évaluation, maîtrise des coûts et étapes pratiques qui distinguent une démo fonctionnelle de quelque chose que vous pouvez livrer en toute confiance.
Pourquoi des démos fonctionnelles ne sont toujours pas rentables
Janagill ouvre avec une statistique qui cadre toute la session : selon le chiffre cité par l'intervenante, 95 % des projets d'IA ne génèrent pas de ROI mesurable. Elle souligne que le problème n'est pas le déploiement en soi. « Le problème, c'est que même si cela fonctionne en local ou dans votre environnement de test, une fois en production, des problèmes que vous n'aviez pas anticipés apparaissent. » (1:35)
Pour rendre les concepts mémorables, elle emprunte une analogie de casse au film Ocean's Eleven et décrit trois façons d'entrer dans la stack IA de Google : la fenêtre, l'entrée latérale et le coffre-fort.
La fenêtre, l'entrée latérale et le coffre-fort
La fenêtre, c'est Google AI Studio. Janagill présente un assistant de jardinage construit sur Gemini Live, capable d'observer une plante via la caméra et de repérer des problèmes comme des feuilles qui jaunissent. Depuis AI Studio, l'application se publie sur Cloud Run en un clic, avec gestion des versions, des secrets et export vers GitHub. Elle partage aussi un vrai accroc : un budget de 1 $ qu'elle avait fixé a été épuisé et l'application a commencé à renvoyer des erreurs, ce qu'elle a identifié grâce aux logs d'observabilité. Son verdict sur cette voie : « Et c'est rapide, et c'est parfait pour des cas d'usage personnels. » (5:27)
L'entrée latérale, c'est l'Agent Platform de Google, anciennement Vertex AI Agent Builder. Elle permet de créer sans code des systèmes multi-agents avec des instructions, le choix du modèle, le grounding Google Search, des serveurs MCP, des data stores et des sous-agents, et les agents qui y sont créés peuvent être appelés depuis Gemini Enterprise dans tout un espace de travail. Elle expose aussi le code ADK généré et les traces. Janagill explique pourquoi le traçage est important : les sous-agents peuvent être appelés à tout moment et en parallèle, si bien que les logs ordinaires ne permettent pas de savoir lequel s'est exécuté et quand.
Le coffre-fort, sujet central de la conférence, c'est l'ADK lui-même. Il prend en charge l'orchestration séquentielle, parallèle et en graphe (avec davantage d'options dans ADK 2.0), fonctionne en Java, Go, TypeScript et Python, et utilise Pydantic pour valider les sorties au lieu de s'appuyer sur un parsing par regex.
Associer chaque modèle Gemini à sa tâche
Sa démo, Clarity, évalue si une stack technique convient à un cas d'usage, par exemple si ADK est adapté à un système de recommandation e-commerce. Elle utilise trois agents : un agent de réception, un « mastermind » qui fait tourner Gemini 3.1 Pro avec un niveau de réflexion moyen, et un agent Flash-Lite qui gère la confirmation humaine et convertit la sortie en JSON pour d'autres systèmes. Le niveau de réflexion moyen, explique-t-elle, ajoute environ deux secondes mais réduit les hallucinations, car le modèle contrôle et vérifie ses sources. Alors pourquoi ne pas utiliser partout l'option la plus puissante ? « Pourquoi ne pas utiliser Pro pour tout ? C'est une question de coût et aussi de latence. » (13:00) Un niveau de réflexion élevé, ajoute-t-elle, peut mettre trop de temps à répondre dans un environnement temps réel.
Voir ce que font les agents, et attendre gratuitement
Avec une seule ligne de code, un plugin d'analytique d'agents BigQuery écrit chaque appel, appel d'outil et interaction dans une table BigQuery. Janagill construit ensuite un agent sur ces données pour répondre à des questions comme la latence de chaque modèle (dans son exécution, Pro était le plus lent, suivi de Flash Preview et de Flash-Lite) et pour réaliser une analyse mensuelle des coûts partageable avec les équipes métier.
Lorsque le score de confiance du mastermind passe sous le seuil de 70 qu'elle a fixé, le système fait une pause pour une décision humaine. « Donc, ce qui est important ici, c'est que pendant qu'il attend ma confirmation pour continuer, il n'y a aucun coût dans Cloud Run. Il vous attend donc, en gros, gratuitement. » (18:32) L'état est sauvegardé et le workflow reprend dès qu'une personne confirme.
La facture complète et une checklist de production
Les systèmes multi-agents ont plus de façons d'échouer. Un seul agent qui hallucine peut déclencher une boucle itérative ; Janagill recommande donc une gestion des erreurs avec un nombre limité de relances, en échouant après environ trois tentatives, pour éviter une facture élevée du fournisseur de LLM. Elle élargit aussi la perspective sur les coûts : exécution des agents, journalisation, analytique, sauvegardes en mémoire et grounding sur des bases de données coûtent tous de l'argent. « Ce n'est donc pas seulement l'inférence dont vous devez vous occuper. » (20:13)
Sa checklist bonus couvre les secrets, l'identité, les coûts, le déploiement et la supervision. « Donc, secrets et authentification : n'enregistrez jamais une clé en texte brut où que ce soit dans votre système. » (21:07) Elle conseille d'utiliser Secret Manager ou des comptes de service, de donner à chaque agent sa propre identité pour pouvoir tracer et contenir les problèmes, d'utiliser le mode batch pour les tâches qui peuvent attendre le lendemain, de garder l'essentiel du trafic sur la version stable pendant qu'une nouvelle est testée, et de configurer des alertes signalant les agents bloqués dans des boucles. Les mêmes principes s'appliquent sur d'autres clouds, note-t-elle, en citant CloudWatch sur AWS et la supervision sur Azure.
En guise d'appel à l'action, elle recommande les agent skills ADK installés via l'Agent CLI, qui permettent à un IDE assisté par IA de générer le code de base d'un agent ; c'est ainsi qu'elle a construit l'environnement de sa démo en une demi-heure environ. Lors des questions-réponses, elle confirme qu'ADK, étant open source, peut faire tourner des agents sur des modèles locaux comme Gemma 4 pour un usage hors ligne, à condition de prévoir la supervision, et recommande le site d'ADK, un cours sur les agents de Hugging Face et un prochain cours de Google sur les agents.
Regarder la conférence
« Building Production AI with Gemini: Beyond Tutorials to Real-World Systems » par Sonika Janagill (environ 33 minutes) : https://www.womentech.net/video/building-production-ai-gemini-beyond-tutorials-real-world-systems
À propos de l'intervenante
Sonika Janagill est Lead Engineer chez VML et Google Developer Expert (GDE) en Cloud AI. Sa carrière de 19 ans va de 14 années de systèmes Java d'entreprise à des victoires en hackathons IA et à la mise en œuvre de systèmes agentiques en production sur Google Cloud ; elle détient les certifications GCP Professional Architect et Google ML Engineer. À travers la Women Coding Community AI Learning Series et la VML AI Guild, elle accompagne des développeurs en devenir et anime des sessions mondiales de partage de connaissances sur les agents IA et les systèmes cloud en production.
Questions abordées dans cette conférence
Pourquoi tant de projets d'IA ne génèrent-ils pas de ROI ?
Pourquoi ne pas utiliser Gemini Pro avec un niveau de réflexion élevé pour toutes les tâches ?
Pourquoi la journalisation ne suffit-elle pas pour les systèmes multi-agents ?
Comment l'intervention humaine influe-t-elle sur les coûts sur Google Cloud ?
Les workflows d'agents peuvent-ils fonctionner en local et hors ligne ?
Rédigé avec l'IA à partir de la transcription de la conférence. Relecture éditoriale en attente.
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