
Gemini Code Execution: Build a Self-Fixing Analyst
Summary
Use Gemini 3.5 Flash code execution to write Python that fixes itself in a loop.
Last week at Google I/O 2026, the gemini-3.5-flash model went generally available as the new flagship for agentic and coding work. Buried in the release was a feature that quietly changes how you build AI data tools: the code execution tool can now write Python, run it, read the error, and rewrite it. Up to five times. Per request. With matplotlib included.
That last sentence is doing a lot of work. It means you can stop building "LLM writes code, you run it, you paste back the traceback" loops by hand. The model owns the loop. You ship the prompt.
Keep reading — it's free
Enter your email to keep reading — plus the best of AI & tech, daily. Free, forever.
Already a member? Sign in
Comments
Be the first to comment