<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: leslysandra</title>
    <description>The latest articles on Forem by leslysandra (@leslysandra).</description>
    <link>https://forem.com/leslysandra</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F18559%2F30c7b45e-8dc2-443e-a443-16a1535cb054.jpg</url>
      <title>Forem: leslysandra</title>
      <link>https://forem.com/leslysandra</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/leslysandra"/>
    <language>en</language>
    <item>
      <title>GemmaChallenge: Build a Socratic Study Buddy with Gemma 4</title>
      <dc:creator>leslysandra</dc:creator>
      <pubDate>Mon, 18 May 2026 01:29:33 +0000</pubDate>
      <link>https://forem.com/leslysandra/gemmachallenge-build-a-socratic-study-buddy-with-gemma-4-5c44</link>
      <guid>https://forem.com/leslysandra/gemmachallenge-build-a-socratic-study-buddy-with-gemma-4-5c44</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/google-gemma-2026-05-06"&gt;Gemma 4 Challenge: Build with Gemma 4&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I built a local &lt;strong&gt;Socratic Study Buddy&lt;/strong&gt; application. It pairs the localized inference engine of LM Studio with a custom-built Streamlit Web UI frontend. Instead of acting as a lazy "answer engine" that does a student's homework for them, this tool forces the underlying Gemma 4 model to plan pedagogical strategies and use structured dialogue to guide critical thinking.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Here is how the complete architecture interacts within the custom Python frontend workspace:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhmizqj3gaxw5q0zspakv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhmizqj3gaxw5q0zspakv.png" alt=" " width="800" height="664"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Check out more details in this &lt;a href="https://dev.to/gde/build-a-socratic-study-buddy-with-gemma-4-a-beginners-guide-to-running-ai-locally-505a"&gt;blogpost&lt;/a&gt; :) &lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;The entire layout—including the Python automation scripts, system prompt templates, configurations, and the Streamlit frontend architecture—is completely open-source:&lt;br&gt;
👉 Check out the GitHub Repository &lt;a href="https://github.com/leslysandra/socratic-study-buddy-gemma4" rel="noopener noreferrer"&gt;Here&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Used Gemma 4
&lt;/h2&gt;

&lt;p&gt;Gemma 4 powers the core logic of this project through its Chain-of-Reasoning process. Gemma 4 has the capacity for a native Chain-of-Reasoning process.&lt;/p&gt;

&lt;p&gt;Instead of jumping straight to an answer, Gemma 4 works through logical steps internally before it speaks. This makes it a perfect mentor. While other models might just do your homework, Gemma 4 is trained to identify where you are stuck and nudge you toward the solution.&lt;/p&gt;




&lt;h3&gt;
  
  
  Team Submissions:
&lt;/h3&gt;

&lt;p&gt;Developed by &lt;a class="mentioned-user" href="https://dev.to/leslysandra"&gt;@leslysandra&lt;/a&gt; along gemini and claude.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>gemmachallenge</category>
      <category>gemma</category>
    </item>
    <item>
      <title>Build a Socratic Study Buddy with Gemma 4: A Beginner’s Guide to Running AI Locally</title>
      <dc:creator>leslysandra</dc:creator>
      <pubDate>Mon, 18 May 2026 01:21:13 +0000</pubDate>
      <link>https://forem.com/gde/build-a-socratic-study-buddy-with-gemma-4-a-beginners-guide-to-running-ai-locally-505a</link>
      <guid>https://forem.com/gde/build-a-socratic-study-buddy-with-gemma-4-a-beginners-guide-to-running-ai-locally-505a</guid>
      <description>&lt;p&gt;The landscape of AI has shifted from "bigger is better" to "smarter is better." We are entering the era of &lt;strong&gt;intelligence-per-parameter&lt;/strong&gt;—a metric of how much reasoning power is packed into a compact model. Gemma 4, built on the latest research from Google DeepMind, brings high-level, multi-step reasoning directly to your own hardware.&lt;/p&gt;

&lt;p&gt;This guide will show you how to build a Socratic Study Buddy—a tutor that doesn't just give you answers but helps you think through problems—while keeping your data 100% private using a custom local web interface.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I built a local &lt;strong&gt;Socratic Study Buddy&lt;/strong&gt; application. It pairs the localized inference engine of LM Studio with a custom-built &lt;strong&gt;Streamlit Web UI&lt;/strong&gt; frontend. Instead of acting as a lazy "answer engine" that does a student's homework for them, this tool forces the underlying Gemma 4 model to plan pedagogical strategies and use structured dialogue to guide critical thinking.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Gemma 4 Matters for Learning
&lt;/h2&gt;

&lt;p&gt;Gemma 4 is a "Thinking Model." Older AI models functioned like advanced autocomplete, predicting the next word based on patterns. Gemma 4 has the capacity for a native &lt;strong&gt;Chain-of-Reasoning&lt;/strong&gt; process.&lt;/p&gt;

&lt;p&gt;Instead of jumping straight to an answer, Gemma 4 works through logical steps internally before it speaks. This makes it a perfect mentor. While other models might just do your homework, Gemma 4 is trained to identify where you are stuck and nudge you toward the solution.&lt;/p&gt;

&lt;h2&gt;
  
  
  Choosing Your Brain: The Official Model Sizes
&lt;/h2&gt;

&lt;p&gt;To run this locally, you need to pick the right "size" for your computer. Gemma 4 comes in four official variants:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Effective 2B (E2B)&lt;/strong&gt;: Tiny and lightning-fast. Optimized for high-end phones or older laptops with 4GB–8GB of RAM.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Effective 4B (E4B)&lt;/strong&gt;: The "Sweet Spot" for most modern laptops with 8GB–12GB of RAM. This is the entry point for high-quality image and audio understanding.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;26B A4B (Mixture-of-Experts)&lt;/strong&gt;: The speed demon. It has 26 billion parameters but only uses 4 billion at a time to answer. You get high-quality reasoning with fast speeds. Requires 16GB–24GB of RAM.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;31B Dense&lt;/strong&gt;: The flagship. This is the smartest model in the family, providing maximum reasoning quality for complex math. Use this if you have a powerful workstation with 32GB+ of RAM.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Setup: Bringing the Brain to Your Frontend
&lt;/h2&gt;

&lt;p&gt;Instead of staying restricted to standard desktop setups, we bridge the model into a lightweight web dashboard.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 1. Weight Retrieval &amp;amp; Backend Hosting
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;1. Search for Gemma 4&lt;/strong&gt;: Open &lt;a href="https://lmstudio.ai/" rel="noopener noreferrer"&gt;LM Studio&lt;/a&gt; and click the Magnifying Glass. Type &lt;code&gt;"Gemma 4"&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Select a GGUF&lt;/strong&gt;: Look for files labeled &lt;strong&gt;GGUF&lt;/strong&gt; (a compressed file format that lets heavy models run on consumer hardware).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Choose Your Quantization&lt;/strong&gt;: Look for &lt;strong&gt;Q4_K_M&lt;/strong&gt; (a version that balances intelligence with low memory usage).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Start the Local Server:&lt;/strong&gt;: Head to the Local Server tab in LM Studio, load your downloaded model, ensure your &lt;code&gt;system prompts&lt;/code&gt; are injected, and start the service on port &lt;code&gt;1234&lt;/code&gt;. Turn &lt;strong&gt;GPU Offload&lt;/strong&gt; to "Max" to leverage your graphics card.&lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2. Running the Custom Web UI
&lt;/h3&gt;

&lt;p&gt;To spin up the clean web chat interface shown below, clone the repository, install the dependencies, and launch the frontend file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;streamlit openai
streamlit run app.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Here is how the complete architecture interacts within the custom Python frontend workspace:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc50llw3ri2957mm8c3zt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc50llw3ri2957mm8c3zt.png" alt=" " width="800" height="664"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  The UI Environment Overview
&lt;/h3&gt;

&lt;p&gt;The implementation splits backend configuration details directly away from the active learning space, allowing seamless swaps between running models:&lt;/p&gt;

&lt;h4&gt;
  
  
  The Project: The Socratic Study Buddy Prompt
&lt;/h4&gt;

&lt;p&gt;In your local configuration workspace or the core application prompt files, we pass this instruction using the official &lt;code&gt;&amp;lt;|think|&amp;gt;&lt;/code&gt; control token sequence to isolate the reasoning channel:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;|think|&amp;gt;
You are an expert academic tutor. You are forbidden from giving the final answer. Instead, use your internal reasoning to identify the core concept the student is struggling with and ask guiding questions.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  The "Thinking" Advantage in Action
&lt;/h4&gt;

&lt;p&gt;When you ask the web component: &lt;em&gt;"I don't understand how recursion works in coding."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Gemma 4 enters its &lt;strong&gt;Internal Thought Channel&lt;/strong&gt;. Within your local terminal execution or dashboard view, you will see it process its strategy before printing its output:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Gemma 4 (Internal Reasoning)&lt;/strong&gt;: The user wants to know recursion. Giving code directly violates the Socratic constraint. I will use a structural stack analogy, like a line of people or nesting boxes, to force them to identify the concept of a terminating condition.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4&gt;
  
  
  Tutor Output Response:
&lt;/h4&gt;

&lt;blockquote&gt;
&lt;p&gt;"To understand recursion, we first need to understand a 'base case.' If you were standing in a line of people, how would you know your position without counting everyone yourself?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Beyond Chat: Real-World Visuals
&lt;/h3&gt;

&lt;p&gt;One of the best ways to study is to visualize logic. You can ask your Study Buddy to &lt;code&gt;"Draw the logic of this concept."&lt;/code&gt; It will generate clean &lt;strong&gt;Mermaid.js&lt;/strong&gt; code directly in the conversation panel:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;User:&lt;/strong&gt; "Show me the logic of the Socratic method we just used."&lt;br&gt;
&lt;strong&gt;Gemma 4:&lt;/strong&gt; "Here is the flowchart of our session:"&lt;br&gt;
&lt;/p&gt;
&lt;/blockquote&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;graph TD
    A[Student Asks Question] --&amp;gt; B{Model Thinks}
    B --&amp;gt; C[Identify Missing Concept]
    C --&amp;gt; D[Ask Guiding Question]
    D --&amp;gt; E[Student Responds]
    E --&amp;gt;|Correct| F[Nudge to Next Step]
    E --&amp;gt;|Incorrect| G[Simplify Analogy]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjvxfuah6ufdmll4vbkxk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjvxfuah6ufdmll4vbkxk.png" alt=" " width="800" height="755"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;The entire layout—including the Python automation scripts, system prompt templates, configurations, and the Streamlit frontend architecture—is completely open-source:&lt;br&gt;
👉 Check out the GitHub Repository &lt;a href="https://github.com/leslysandra/socratic-study-buddy-gemma4" rel="noopener noreferrer"&gt;Here&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Digital Sovereignty &amp;amp; Ethical AI Safety
&lt;/h2&gt;

&lt;p&gt;Building with open-source models like Gemma 4 is a foundational ethical choice:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Privacy (Digital Sovereignty)&lt;/strong&gt;: Every question you ask stays on your machine. Your learning struggles aren't being used to train a corporate model.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Trade-off&lt;/strong&gt;: Unlike cloud models, a local model is your responsibility. You must verify its facts, as it doesn't have an external "safety filter" monitoring the conversation.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Advantages:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Transparency: You can inspect the weights and the "thinking" process, which is impossible with closed-source models.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Privacy: Since it runs locally in LM Studio or on your private GKE cluster, your data never leaves your environment.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Disadvantages:
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Resource Intensity: High-reasoning models still require significant compute power compared to lightweight "dumb" bots.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Guardrail Responsibility: Unlike a managed API that filters every word, an open-source model places the "Safety Filter" responsibility on you. You must implement your own output classifiers to ensure the model stays within educational boundaries.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;You’ve gone from raw local model files to running a custom, world-class educational reasoning platform directly on your laptop. You’ve built an app that doesn't just echo stored training text—it actively fosters critical thinking.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your Challenge:&lt;/strong&gt; Use your newly built Web UI Study Buddy to tackle a topic you’ve always found intimidating—maybe organic chemistry or financial engineering. How does having an interface powered by a "Thinking Model" change the way you interact with complex documentation?&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Next Steps:&lt;/strong&gt; Ready to scale from a chat interface to fully autonomous pipelines? Check out the &lt;a href="https://patloeber.com/gemma-4-pi-agent/" rel="noopener noreferrer"&gt;Pi Coding Agent by Patrick Loeber&lt;/a&gt;—a minimal terminal client that bridges local Gemma 4 instances straight to your terminal environment so it can write, debug, and run code directly for you!&lt;/p&gt;

</description>
      <category>gemma</category>
      <category>handson</category>
      <category>lmstudio</category>
      <category>ai</category>
    </item>
    <item>
      <title>Your Prompts are Legacy Code Now: The Google Cloud Next '26 Developer Breakdown</title>
      <dc:creator>leslysandra</dc:creator>
      <pubDate>Tue, 05 May 2026 17:32:00 +0000</pubDate>
      <link>https://forem.com/gde/your-prompts-are-legacy-code-now-the-google-cloud-next-26-developer-breakdown-hc3</link>
      <guid>https://forem.com/gde/your-prompts-are-legacy-code-now-the-google-cloud-next-26-developer-breakdown-hc3</guid>
      <description>&lt;p&gt;The era of "chatting with an LLM" is officially legacy.&lt;/p&gt;

&lt;p&gt;I've attended the &lt;a href="https://www.youtube.com/live/A01DQ8_xy7Q?si=ZZ3Holy0jz9rdxFn" rel="noopener noreferrer"&gt;Google Cloud Next ‘26 Developer Keynote&lt;/a&gt;, and saw the pivot point. We aren’t just writing better prompts anymore; we are architecting &lt;strong&gt;Production-Ready Autonomous Systems&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Google's showcase centered on a multi-agent system coordinating a full city-scale marathon simulation—Planner, Evaluator, and Simulator agents working in concert.&lt;br&gt;
But the marathon wasn't the point. The architecture behind it is what you need to steal for your own systems to move from "vibes" to engineering rigor.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwar1gja4rlkg6g8v07pg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwar1gja4rlkg6g8v07pg.png" alt=" " width="800" height="489"&gt;&lt;/a&gt;&lt;/p&gt;



&lt;p&gt;&lt;strong&gt;From Hype to Architecture&lt;/strong&gt;&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;What It Replaces&lt;/th&gt;
&lt;th&gt;Why It Matters&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;ADK&lt;/strong&gt; (Agent Development Kit)&lt;/td&gt;
&lt;td&gt;Custom agent SDKs&lt;/td&gt;
&lt;td&gt;Provides a standardized, modular framework for building autonomous "skills."&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;MCP&lt;/strong&gt; (Model Context Protocol)&lt;/td&gt;
&lt;td&gt;Brittle, hard-coded glue code&lt;/td&gt;
&lt;td&gt;Enables native, secure service integration across the entire Google Cloud ecosystem.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Memory Bank&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;In-context hacks &amp;amp; long prompts&lt;/td&gt;
&lt;td&gt;Delivers true, long-term stateful memory so agents "learn" from previous executions.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk6hksc9uv2s822xy5sp8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk6hksc9uv2s822xy5sp8.png" alt=" " width="800" height="617"&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h3&gt;
  
  
  🏗️ Shift 1: The Standardized Framework (ADK &amp;amp; MCP)
&lt;/h3&gt;

&lt;p&gt;Production agents require a modular stack.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdxb0oqbyjbe2m88r97p6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdxb0oqbyjbe2m88r97p6.png" alt=" " width="800" height="592"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;a href="https://adk.dev/" rel="noopener noreferrer"&gt;Agent Development Kit (ADK)&lt;/a&gt;&lt;/strong&gt;: Announced at Next '25, this is your SDK for autonomy. It allows you to build agents with specific "Skills" (YAML/Markdown) and "Tools." And in 2026 is the core for building Agentic Systems.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;a href="https://blog.modelcontextprotocol.io/posts/2026-mcp-roadmap/" rel="noopener noreferrer"&gt;Model Context Protocol (MCP)&lt;/a&gt;&lt;/strong&gt;: Every Google Cloud service is now MCP-enabled. Your agents can now "speak" directly to Maps, BigQuery, or Vertex AI (today is called, Agent Platform) without you writing brittle glue code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;&lt;a href="https://a2ui.org/" rel="noopener noreferrer"&gt;A2UI (Agent-to-User Interface)&lt;/a&gt;&lt;/strong&gt;: A new standard for generative UI. Instead of walls of text, agents dynamically render Flutter or Angular components based on the task context.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Monday Morning Advice:&lt;/em&gt; Use ADK to wrap your existing Python logic. It turns a script into a "Skill" that any agent in your ecosystem can call.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# ADK Agent skeleton (Conceptual)
&lt;/span&gt;&lt;span class="n"&gt;agent&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;ADKAgent&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Planner&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;skills&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;marathon_routing.yaml&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="n"&gt;tools&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;MapsClient&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;BigQueryClient&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
    &lt;span class="n"&gt;memory&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;MemoryBank&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;connect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;run-session-01&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7542lf2j4jg1jd2fcdfv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7542lf2j4jg1jd2fcdfv.png" alt=" " width="800" height="730"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3t7vy0t3s329hqf6mycl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3t7vy0t3s329hqf6mycl.png" alt=" " width="800" height="759"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🧠 Shift 2: Context Engineering (Memory Bank &amp;amp; Event Compaction)
&lt;/h3&gt;

&lt;p&gt;The biggest bottleneck for production agents has been "forgetting" or hitting token limits during complex reasoning.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The Memory Bank:&lt;/strong&gt; A fully managed service that allows agents to store long-term learnings. If an agent fails a simulation in Run A, it "remembers" the failure in Run B.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Event Compaction:&lt;/strong&gt; This allows an agent to periodically summarize its own workflow using Gemini. It keeps the context window lean and prevents crashing during long-running tasks.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Monday Morning Advice:&lt;/em&gt; Implement Event Compaction for any reasoning loop longer than ~15 steps or any workflow running &amp;gt;10 minutes. If you've ever hit a 400 context error, this is your fix.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0ayiz4wlb4lu84q9mb7k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0ayiz4wlb4lu84q9mb7k.png" alt=" " width="800" height="782"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🛡️ Shift 3: Governance (Agent Identity &amp;amp; Gateway)
&lt;/h3&gt;

&lt;p&gt;The real risk isn't just malice—it's an agent with Write access to production following a hallucinated plan.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Agent Identity:&lt;/strong&gt; Individual agents now have unique, immutable credentials.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Agent Gateway:&lt;/strong&gt; This acts as a centralized blast radius limiter. You can enforce "Read-Only" policies on a per-agent basis, ensuring a Planner agent can't accidentally spend your entire OPEX budget.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Monday Morning Advice:&lt;/em&gt; Before deploying, map your Agentic Attack Surface. Use the Agent Gateway to strip "Write" permissions from any agent that only needs to analyze data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0jdzwl5ptt1knmawx91w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0jdzwl5ptt1knmawx91w.png" alt=" " width="800" height="775"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6461rvg2jlbwf3kwm2u6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6461rvg2jlbwf3kwm2u6.png" alt=" " width="800" height="789"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  🚀 Start Architecting Now
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/live/A01DQ8_xy7Q?si=ZZ3Holy0jz9rdxFn" rel="noopener noreferrer"&gt;Don't just watch the recording&lt;/a&gt;; break the code. Google has released the hands-on materials to replicate the "Agentic Marathon" architecture today.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl3wxqt22f3bcu144vbkt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl3wxqt22f3bcu144vbkt.png" alt=" " width="800" height="712"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Official CodeLab (guided):&lt;/strong&gt; &lt;a href="https://codelabs.developers.google.com/next26/dev-keynote/building-agents-with-skills#0" rel="noopener noreferrer"&gt;Next ‘26 Developer Keynote:Building ADK Agents with Skills and Tools&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3z2ph78tz7vcypm20u78.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3z2ph78tz7vcypm20u78.png" alt=" " width="800" height="951"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;The question isn't whether your company will adopt agentic systems—it's whether you'll be the one who architected them or the one who was handed them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Which one are you building toward? Let’s discuss in the comments.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>googlecloudnext</category>
      <category>agenticai</category>
      <category>gemini</category>
    </item>
    <item>
      <title>Andrew Ng's new open-source project, Context Hub, attempts to solve a problem every API provider has right now whether they know it or not. Coding agents are getting your API wrong.</title>
      <dc:creator>leslysandra</dc:creator>
      <pubDate>Mon, 23 Mar 2026 19:41:08 +0000</pubDate>
      <link>https://forem.com/leslysandra/andrew-ngs-new-open-source-project-context-hub-attempts-to-solve-a-problem-every-api-provider-3kh7</link>
      <guid>https://forem.com/leslysandra/andrew-ngs-new-open-source-project-context-hub-attempts-to-solve-a-problem-every-api-provider-3kh7</guid>
      <description>&lt;div class="ltag__link--embedded"&gt;
  &lt;div class="crayons-story "&gt;
  &lt;a href="https://dev.to/aws/context-hub-has-68-apis-add-yours-33ma" class="crayons-story__hidden-navigation-link"&gt;Context Hub Has 68 APIs. Add Yours.&lt;/a&gt;


  &lt;div class="crayons-story__body crayons-story__body-full_post"&gt;
    &lt;div class="crayons-story__top"&gt;
      &lt;div class="crayons-story__meta"&gt;
        &lt;div class="crayons-story__author-pic"&gt;
          &lt;a class="crayons-logo crayons-logo--l" href="/aws"&gt;
            &lt;img alt="AWS logo" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F1726%2F2a73f1e6-7995-4348-ae37-44b064274c59.png" class="crayons-logo__image" width="320" height="320"&gt;
          &lt;/a&gt;

          &lt;a href="/mikegcaws" class="crayons-avatar  crayons-avatar--s absolute -right-2 -bottom-2 border-solid border-2 border-base-inverted  "&gt;
            &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3633726%2F06ab21ab-df5c-42ee-ab3e-e678756010f4.png" alt="mikegcaws profile" class="crayons-avatar__image" width="172" height="172"&gt;
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div&gt;
          &lt;div&gt;
            &lt;a href="/mikegcaws" class="crayons-story__secondary fw-medium m:hidden"&gt;
              Mike Chambers
            &lt;/a&gt;
            &lt;div class="profile-preview-card relative mb-4 s:mb-0 fw-medium hidden m:inline-block"&gt;
              
                Mike Chambers
                
              
              &lt;div id="story-author-preview-content-3333163" class="profile-preview-card__content crayons-dropdown branded-7 p-4 pt-0"&gt;
                &lt;div class="gap-4 grid"&gt;
                  &lt;div class="-mt-4"&gt;
                    &lt;a href="/mikegcaws" class="flex"&gt;
                      &lt;span class="crayons-avatar crayons-avatar--xl mr-2 shrink-0"&gt;
                        &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3633726%2F06ab21ab-df5c-42ee-ab3e-e678756010f4.png" class="crayons-avatar__image" alt="" width="172" height="172"&gt;
                      &lt;/span&gt;
                      &lt;span class="crayons-link crayons-subtitle-2 mt-5"&gt;Mike Chambers&lt;/span&gt;
                    &lt;/a&gt;
                  &lt;/div&gt;
                  &lt;div class="print-hidden"&gt;
                    
                      Follow
                    
                  &lt;/div&gt;
                  &lt;div class="author-preview-metadata-container"&gt;&lt;/div&gt;
                &lt;/div&gt;
              &lt;/div&gt;
            &lt;/div&gt;

            &lt;span&gt;
              &lt;span class="crayons-story__tertiary fw-normal"&gt; for &lt;/span&gt;&lt;a href="/aws" class="crayons-story__secondary fw-medium"&gt;AWS&lt;/a&gt;
            &lt;/span&gt;
          &lt;/div&gt;
          &lt;a href="https://dev.to/aws/context-hub-has-68-apis-add-yours-33ma" class="crayons-story__tertiary fs-xs"&gt;&lt;time&gt;Mar 10&lt;/time&gt;&lt;span class="time-ago-indicator-initial-placeholder"&gt;&lt;/span&gt;&lt;/a&gt;
        &lt;/div&gt;
      &lt;/div&gt;

    &lt;/div&gt;

    &lt;div class="crayons-story__indention"&gt;
      &lt;h2 class="crayons-story__title crayons-story__title-full_post"&gt;
        &lt;a href="https://dev.to/aws/context-hub-has-68-apis-add-yours-33ma" id="article-link-3333163"&gt;
          Context Hub Has 68 APIs. Add Yours.
        &lt;/a&gt;
      &lt;/h2&gt;
        &lt;div class="crayons-story__tags"&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/ai"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;ai&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/api"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;api&lt;/a&gt;
            &lt;a class="crayons-tag  crayons-tag--monochrome " href="/t/productivity"&gt;&lt;span class="crayons-tag__prefix"&gt;#&lt;/span&gt;productivity&lt;/a&gt;
        &lt;/div&gt;
      &lt;div class="crayons-story__bottom"&gt;
        &lt;div class="crayons-story__details"&gt;
          &lt;a href="https://dev.to/aws/context-hub-has-68-apis-add-yours-33ma" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left"&gt;
            &lt;div class="multiple_reactions_aggregate"&gt;
              &lt;span class="multiple_reactions_icons_container"&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/raised-hands-74b2099fd66a39f2d7eed9305ee0f4553df0eb7b4f11b01b6b1b499973048fe5.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/fire-f60e7a582391810302117f987b22a8ef04a2fe0df7e3258a5f49332df1cec71e.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
                  &lt;span class="crayons_icon_container"&gt;
                    &lt;img src="https://assets.dev.to/assets/sparkle-heart-5f9bee3767e18deb1bb725290cb151c25234768a0e9a2bd39370c382d02920cf.svg" width="24" height="24"&gt;
                  &lt;/span&gt;
              &lt;/span&gt;
              &lt;span class="aggregate_reactions_counter"&gt;20&lt;span class="hidden s:inline"&gt; reactions&lt;/span&gt;&lt;/span&gt;
            &lt;/div&gt;
          &lt;/a&gt;
            &lt;a href="https://dev.to/aws/context-hub-has-68-apis-add-yours-33ma#comments" class="crayons-btn crayons-btn--s crayons-btn--ghost crayons-btn--icon-left flex items-center"&gt;
              Comments


              1&lt;span class="hidden s:inline"&gt; comment&lt;/span&gt;
            &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="crayons-story__save"&gt;
          &lt;small class="crayons-story__tertiary fs-xs mr-2"&gt;
            6 min read
          &lt;/small&gt;
            
              &lt;span class="bm-initial"&gt;
                

              &lt;/span&gt;
              &lt;span class="bm-success"&gt;
                

              &lt;/span&gt;
            
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;


</description>
      <category>ai</category>
      <category>api</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Gemini 3.1 Pro &amp; "Nano Banana 2": A Technical Review and Real-World Tests for Devs</title>
      <dc:creator>leslysandra</dc:creator>
      <pubDate>Sat, 28 Feb 2026 02:51:27 +0000</pubDate>
      <link>https://forem.com/gde/gemini-31-pro-nano-banana-2-a-technical-review-and-real-world-tests-for-devs-2jog</link>
      <guid>https://forem.com/gde/gemini-31-pro-nano-banana-2-a-technical-review-and-real-world-tests-for-devs-2jog</guid>
      <description>&lt;p&gt;While the hype around new AI models in the last week of February has everyone distracted generating "cool images" 🍌🍌🍌, the real workhorse for developers was quietly released: &lt;strong&gt;Gemini 3.1 Pro&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;As an AI educator, I was incredibly curious about these new models, so I put them through a series of specific stress tests: advanced reasoning in ARC-AGI-2, the new 65k output token limit, and UI text consistency with Nano Banana.&lt;/p&gt;

&lt;p&gt;If you are a dev, a data scientist, or a tech enthusiast building digital products, here is exactly what you need to know.&lt;/p&gt;

&lt;h2&gt;
  
  
  Gemini 3.1 Pro: Your New Logic Sidekick
&lt;/h2&gt;

&lt;p&gt;Launched this February 2026, the most interesting thing about Gemini 3.1 Pro isn't just that it's "smarter." It's the architecture. Google is promising an impressive 77.1% score on ARC-AGI-2.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fek2e73cxueqz3qhi6o9o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fek2e73cxueqz3qhi6o9o.png" alt="Models evaluation" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you're new to AI benchmarks: ARC is the "final boss" of reasoning. Most models just memorize answers from their training data; ARC forces them to solve entirely novel patterns they have never seen before.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Pain Point it Solves: The Output Limit
&lt;/h3&gt;

&lt;p&gt;Have you ever asked an AI to refactor a 2,000-line file, only for it to cut off halfway through? It leaves you with a broken JSON, forcing you to type "continue..." while praying it doesn't lose context.&lt;/p&gt;

&lt;p&gt;Gemini 3.1 Pro raises the output limit to a massive &lt;strong&gt;65,536 tokens&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The Test: I asked it to refactor a Flask codebase (three separate Python files) in a single shot.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The prompt:&lt;br&gt;
Act as a Senior Backend Architect. You are tasked with refactoring a legacy Flask application where views, models, and business logic are tightly coupled. You must migrate this entire codebase to a modern FastAPI (Asynchronous) architecture using Pydantic v2 for schema validation and SQLAlchemy 2.0 (Async) for the data layer.&lt;br&gt;
Strict Requirements:&lt;br&gt;
No Summarization: I need the full, complete implementation. Do not use placeholders like # ... rest of code here.&lt;br&gt;
Architectural Separation: Clearly separate the code into Pydantic Models (Schemas), Database Models, and API Endpoints (Routers).&lt;br&gt;
Logic Integrity: Maintain 100% of the original business logic, including complex relationships like tags, favorites, and follower/user relationships.&lt;br&gt;
Modern Standards: Use Python type hints throughout, implement async/await for all DB operations, and utilize SQLAlchemy 2.0's Mapped and mapped_column syntax.&lt;br&gt;
Output Format: Generate a single, massive code block using comments (e.g., # models.py, # schemas.py, # main.py) to indicate the suggested file structure for a production-ready repository.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkfu9jspoo7v9gfr76joj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkfu9jspoo7v9gfr76joj.png" alt="Prompt + Code" width="800" height="581"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzx411ngcpe3j24qdo5ay.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzx411ngcpe3j24qdo5ay.png" alt="Response after a while" width="800" height="579"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;With Gemini 3.1 Pro and the 65k tokens enabled, the generation just keeps going. By the time it finishes, it has written:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;All Pydantic schemas (UserSchema, ArticleSchema…)&lt;/li&gt;
&lt;li&gt;The asynchronous DB configuration.&lt;/li&gt;
&lt;li&gt;All CRUD endpoints converted to async def.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;(If you want to try this yourself, I used the &lt;a href="https://github.com/gothinkster/flask-realworld-example-app" rel="noopener noreferrer"&gt;flask-realworld-example-app&lt;/a&gt; repo. I fed it conduit/articles/views.py for complex route logic, conduit/articles/models.py, and conduit/user/models.py for relational database models).&lt;/p&gt;

&lt;h3&gt;
  
  
  Testing the Logic: The ARC-AGI-2 Challenge
&lt;/h3&gt;

&lt;p&gt;To see if it actually "reasons," I used the new parameter thinking_mode='medium'. This allows the model to "think" before responding, perfectly balancing speed and intelligence.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fftoprxxj9kc0uog2xlmr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fftoprxxj9kc0uog2xlmr.png" alt="Gemini 3.1 en AI Studio" width="800" height="932"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Test: I gave it a medium-level "trace and fill" test (essentially a hidden pattern puzzle).&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The prompt:&lt;br&gt;
Observe the transformation pattern between the input and output arrays. Identify the underlying rule and solve the final case.&lt;br&gt;
Example 1:&lt;br&gt;
Input: [1, 0, 0, 0, 2]&lt;br&gt;
Output: [1, 8, 8, 8, 2]&lt;br&gt;
Example 2:&lt;br&gt;
Input: [0, 1, 0, 2, 0]&lt;br&gt;
Output: [0, 1, 8, 2, 0]&lt;br&gt;
Final Problem:&lt;br&gt;
Input: [0, 0, 1, 0, 0, 0, 2]&lt;br&gt;
Output: ?&lt;br&gt;
Explain your reasoning.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyfr46regbpkssqn71loe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyfr46regbpkssqn71loe.png" alt="Response" width="800" height="585"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Did you catch the hidden sequence? Are you convinced by Gemini 3.1 Pro’s result?&lt;br&gt;
🤫 Psst... the hidden pattern is: Convert any zero (0) located between a 1 and a 2 into an eight (8). ⚡️⚡️⚡️&lt;/p&gt;

&lt;p&gt;I tested this on older versions of Gemini, and the majority failed to get the correct answer. 🤓🤓🤓&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Note: AI models don't 'see' these images the way we do. I passed the puzzle raw as 2D JSON matrices to prevent basic image recognition and force the model to use pure mathematical reasoning.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  2. Nano Banana 2: Fast, Furious, and... Can it Read?
&lt;/h2&gt;

&lt;p&gt;Let's move on to the model with the funny name 🍌🍌🍌. Nano Banana 2 (officially Gemini 3.1 Flash Image) promises Pro-level quality at Flash-level speeds.&lt;/p&gt;

&lt;p&gt;For Frontend Devs, there are two game-changers here:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Text Rendering: Finally, an AI that doesn't write alien hieroglyphs.&lt;/li&gt;
&lt;li&gt;Search Grounding: It can search Google before generating the image.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Try It Yourself (Hands-on Tests)
&lt;/h3&gt;

&lt;p&gt;I encourage you to open Google AI Studio or the Gemini App and try this right now.&lt;/p&gt;

&lt;h4&gt;
  
  
  Test A: The UI Mockup (Perfect for Frontend)
&lt;/h4&gt;

&lt;p&gt;Image models are notoriously bad at prototyping interfaces. &lt;br&gt;
Let's test this prompt on Nano Banana 2:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Prompt: A high-fidelity mobile banking dashboard. The header says 'Total Balance: $14,250.55'. A green button at the bottom says 'Transfer Funds'. Dark mode, material design.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff1uhpcqhgqvqfeqw5mq5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ff1uhpcqhgqvqfeqw5mq5.png" alt="Response from Nano Banana" width="800" height="584"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It generated in under 2 seconds, and the text was flawless! Imagine connecting this to your workflow, essentially "compiling" text into UI mockups in real-time for your clients.&lt;/p&gt;

&lt;h4&gt;
  
  
  Test B: Search Grounding (What wasn't in the dataset)
&lt;/h4&gt;

&lt;p&gt;This is the killer feature. I asked for something that didn't exist when the model was trained—something based on today's breaking news (simulated).&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Prompt: A realistic photo of the stage at today's tech convention, showing the leaked triangular camera design of the new VR device.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fznnej4177oci5ffb68bv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fznnej4177oci5ffb68bv.png" alt="Response from Nano Banana" width="800" height="622"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The model actively searched for the reference and generated the correct design. This opens the door to generating dynamic content based on real-time, real-world events.&lt;/p&gt;

&lt;h3&gt;
  
  
  Extra: One more test
&lt;/h3&gt;

&lt;p&gt;To truly push Nano Banana 2's new features to the limit, I crafted a highly complex prompt. Here is the prompt and the resulting image:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyczbb5a9lvweku3ledda.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyczbb5a9lvweku3ledda.png" alt="Nano Banana response" width="768" height="1376"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Prompt: Using the two uploaded images for character reference, create a single, high-quality 4K vertical infographic titled 'The 1920s Lunar Landing.' The main subject is the person, standing on the lunar surface, dressed as a vintage 1920s-style astronaut in a polished brass helmet and detailed leather straps. They must retain their exact facial features. Next to them, integrate the cat (exactly as referenced in the second image) into its own miniature, customized vintage brass and glass bubble helmet. The cat is sitting upright near a clear, legible sign that says: 'One small step for a Flapper, one giant leap for Feline-kind.' The overall art style must be sophisticated 1920s Art Deco. The dramatic lighting from the Earth in the background must realistically reflect off both of their brass helmets, showcasing intricate texture and form.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;This is a demanding prompt because it requires three distinct levels of advanced reasoning:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Parallel Subject Preservation: I uploaded two reference photos (one of me, one of my cat), and the model successfully maintained both of our exact identities.&lt;/li&gt;
&lt;li&gt;Multitasking Lighting Logic: It had to calculate complex light reflections from the Earth onto two different brass helmets.&lt;/li&gt;
&lt;li&gt;Complex Spatial Relationships: It logically placed the cat "next to me" and "near the sign," maintaining perfect scene coherence.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion: Where Should You Start?
&lt;/h2&gt;

&lt;p&gt;Sometimes, we hesitate to adopt new tools, assuming they are "too complex" or "too expensive." The reality is that this technology is more accessible than ever.&lt;/p&gt;

&lt;p&gt;My recommendation to start experimenting today:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If you have heavy Python scripts or complex RAG pipelines, migrate to Gemini 3.1 Pro. That 65k output token limit will give you immense peace of mind.&lt;/li&gt;
&lt;li&gt;If you are building any app that generates images, switch to Nano Banana 2. The sheer speed combined with perfect text accuracy will finally allow you to create highly usable interfaces.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Try it yourself 😉. Here are the launch links and references to get you started:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Gemini 3.1 Pro: A smarter model for your most complex tasks &lt;a href="https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-1-pro/" rel="noopener noreferrer"&gt;https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-1-pro/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Nano Banana 2: Combining Pro capabilities with lightning-fast speed &lt;a href="https://blog.google/innovation-and-ai/technology/ai/nano-banana-2/" rel="noopener noreferrer"&gt;https://blog.google/innovation-and-ai/technology/ai/nano-banana-2/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>gemini</category>
      <category>google</category>
      <category>llm</category>
    </item>
    <item>
      <title>Last part! (3 out of 3) to Get started with Gemini CLI</title>
      <dc:creator>leslysandra</dc:creator>
      <pubDate>Mon, 09 Feb 2026 19:21:49 +0000</pubDate>
      <link>https://forem.com/leslysandra/last-part-3-out-of-3-to-get-started-with-gemini-cli-1hmd</link>
      <guid>https://forem.com/leslysandra/last-part-3-out-of-3-to-get-started-with-gemini-cli-1hmd</guid>
      <description>&lt;div class="ltag__link"&gt;
  &lt;a href="/leslysandra" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F18559%2F30c7b45e-8dc2-443e-a443-16a1535cb054.jpg" alt="leslysandra"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="https://dev.to/leslysandra/part-3-mastering-gemini-cli-content-creation-learning-and-multimodality-2jmj" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;Part 3: Mastering Gemini CLI – Content Creation, Learning, and Multimodality&lt;/h2&gt;
      &lt;h3&gt;leslysandra ・ Feb 9&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#gemini&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


</description>
      <category>gemini</category>
    </item>
    <item>
      <title>Part 3: Mastering Gemini CLI – Content Creation, Learning, and Multimodality</title>
      <dc:creator>leslysandra</dc:creator>
      <pubDate>Mon, 09 Feb 2026 19:19:37 +0000</pubDate>
      <link>https://forem.com/gde/part-3-mastering-gemini-cli-content-creation-learning-and-multimodality-2jmj</link>
      <guid>https://forem.com/gde/part-3-mastering-gemini-cli-content-creation-learning-and-multimodality-2jmj</guid>
      <description>&lt;p&gt;Welcome to the finale of our Gemini CLI series!&lt;/p&gt;

&lt;p&gt;In &lt;strong&gt;&lt;a href="https://dev.to/leslysandra/how-to-get-started-and-build-with-gemini-cli-powered-by-gemini-3-flash-1l34"&gt;Part 1&lt;/a&gt;&lt;/strong&gt;, we installed the CLI and set up our environment. In &lt;strong&gt;&lt;a href="https://dev.to/leslysandra/how-to-get-started-and-build-with-gemini-cli-powered-by-gemini-3-flash-1l34"&gt;Part 2&lt;/a&gt;&lt;/strong&gt;, we learned about coding workflows, data analysis and extensions in workspace.&lt;/p&gt;

&lt;p&gt;Now, we are going to have some fun. We are moving beyond simple text and code. We are going to explore &lt;strong&gt;multimodality&lt;/strong&gt; (handling images, audio, and PDFs) and turn your terminal into the ultimate &lt;strong&gt;Personal Tutor&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;If you think the command line is just for boring text, this post will change your mind.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. Content Creation with Extensions (The "NanoBanana" Workflow)
&lt;/h2&gt;

&lt;p&gt;One of Gemini's greatest strengths is that it is &lt;em&gt;multimodal&lt;/em&gt;—it understands code, text, images, and audio natively. But how do we harness this in a terminal?&lt;/p&gt;

&lt;p&gt;We use &lt;strong&gt;extensions&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Google recently introduced a robust &lt;a href="https://blog.google/innovation-and-ai/technology/developers-tools/gemini-cli-extensions/" rel="noopener noreferrer"&gt;extensions framework&lt;/a&gt; that lets you plug almost anything into the CLI. A popular community extension for creative content generation is &lt;strong&gt;NanoBanana&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This tool connects your CLI to image generation models (like &lt;code&gt;gemini-2.5-flash-image&lt;/code&gt;), allowing you to create placeholder assets, icons, or visual concepts without leaving your code editor.&lt;/p&gt;

&lt;h3&gt;
  
  
  How to Connect NanoBanana
&lt;/h3&gt;

&lt;p&gt;Giving your CLI "eyes for images" takes just one command.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Install the Extension&lt;/strong&gt;&lt;br&gt;
Run this command in your terminal to pull the extension from the repository:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gemini extensions &lt;span class="nb"&gt;install &lt;/span&gt;https://github.com/gemini-cli-extensions/nanobanana
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step 2: Restart and Verify&lt;/strong&gt;&lt;br&gt;
Restart your CLI. You can now use specific slash commands like &lt;code&gt;/generate&lt;/code&gt; or &lt;code&gt;/icon&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Generate Creative Assets&lt;/strong&gt;&lt;br&gt;
Let’s say you are building a mobile app and need a quick placeholder icon for a "Cyberpunk Todo List."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Prompt:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Using the NanoBanana extension, /generate an app icon for a productivity app with a cyberpunk neon aesthetic. Make it simple, vector style, on a black background."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Why this matters:&lt;/strong&gt;&lt;br&gt;
You are orchestrating creative workflows without leaving your coding environment. You become a "technical artist" straight from the command line, rapidly prototyping UI elements while you code the backend.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjv3jqbasnw1u5mywdr3p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjv3jqbasnw1u5mywdr3p.png" alt="Instalando la extensión de nanobanana" width="800" height="539"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Ready:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F75ex5vec1x1fdgnubaoq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F75ex5vec1x1fdgnubaoq.png" alt=" " width="800" height="434"&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h2&gt;
  
  
  2. Gemini CLI as Your Personal Tutor
&lt;/h2&gt;

&lt;p&gt;The most underrated feature of Gemini 3 Flash is its massive &lt;strong&gt;Context Window&lt;/strong&gt;. It can read huge files—like entire books or long PDF research papers—in seconds.&lt;/p&gt;

&lt;p&gt;This turns the CLI into a powerful study buddy that creates active learning materials for you.&lt;/p&gt;
&lt;h3&gt;
  
  
  Scenario: The University Student / Self-Learner
&lt;/h3&gt;

&lt;p&gt;Imagine you have a 50-page PDF called &lt;code&gt;Advanced_Algorithms.pdf&lt;/code&gt; and you have an exam tomorrow.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: The Summary&lt;/strong&gt;&lt;br&gt;
Don't read the whole thing linearly. Ask Gemini to break it down.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gemini &lt;span class="s2"&gt;"Read @Advanced_Algorithms.pdf. Summarize the key concepts by chapter. Use bullet points and simple language."&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step 2: Active Recall (Flashcards)&lt;/strong&gt;&lt;br&gt;
Passive reading is inefficient. Force yourself to remember with AI-generated flashcards.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gemini &lt;span class="s2"&gt;"Based on @Advanced_Algorithms.pdf, generate 10 flashcards. Format them as: 'Front: [Question] | Back: [Answer]' so I can import them into Anki."&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step 3: The Mock Exam&lt;/strong&gt;&lt;br&gt;
Test your knowledge immediately.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gemini &lt;span class="s2"&gt;"Act as a strict professor. Create a 5-question multiple-choice quiz based on Chapter 3 of the PDF. Don't give me the answers until I try to answer them."&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  3. Grounding Your Knowledge with Web Search
&lt;/h2&gt;

&lt;p&gt;Large Language Models (LLMs) can sometimes "hallucinate" (make things up) or rely on outdated training data. To fix this, Gemini CLI has a built-in &lt;strong&gt;Google Search&lt;/strong&gt; tool (often referred to as "Grounding").&lt;/p&gt;

&lt;p&gt;This is crucial when you are learning a new technology that came out &lt;em&gt;yesterday&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example: Learning a New Framework&lt;/strong&gt;&lt;br&gt;
If you ask standard AI about the very latest version of a library, it might give you old code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Prompt:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"I want to use the new features in React 19. Search the web for the official React 19 release notes and documentation. Then, explain the top 3 breaking changes and provide a code example for each."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Why this builds authority:&lt;/strong&gt;&lt;br&gt;
By ensuring the &lt;code&gt;/google&lt;/code&gt; tool (or web search capability) is enabled in your &lt;code&gt;/settings&lt;/code&gt;, you are proving that your code is up-to-date and fact-checked against the real world.&lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion: The "All-in-One" Developer
&lt;/h2&gt;

&lt;p&gt;We have come a long way in this series.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Installation &amp;amp; Basics:&lt;/strong&gt; We learned to navigate the CLI.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Workflow Automation:&lt;/strong&gt; We connected to extensions, workspace and analyzed data.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Mastery:&lt;/strong&gt; We used Extensions like &lt;strong&gt;NanoBanana&lt;/strong&gt; for creativity and transformed PDFs into interactive learning materials.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The Gemini CLI isn't just a tool; it's a layer of intelligence over your entire operating system. It allows you to build faster, learn quicker, and create more—all from the comfort of your terminal.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Now, it’s your turn.&lt;/strong&gt;&lt;br&gt;
Download the CLI, install an extension, and build something amazing. Don't forget to share your creations!&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Special thanks to the DeepLearning.AI course &lt;a href="https://www.deeplearning.ai/short-courses/gemini-cli-code-and-create-with-an-open-source-agent/" rel="noopener noreferrer"&gt;"Gemini CLI"&lt;/a&gt; for the inspiration for this blogpost.&lt;/em&gt;&lt;/p&gt;




&lt;p&gt;&lt;a class="mentioned-user" href="https://dev.to/leslysandra"&gt;@leslysandra&lt;/a&gt; &lt;/p&gt;

</description>
      <category>gemini</category>
    </item>
    <item>
      <title>How to get started with Gemini CLI :)</title>
      <dc:creator>leslysandra</dc:creator>
      <pubDate>Mon, 09 Feb 2026 17:04:49 +0000</pubDate>
      <link>https://forem.com/leslysandra/how-to-get-started-with-gemini-cli--4cln</link>
      <guid>https://forem.com/leslysandra/how-to-get-started-with-gemini-cli--4cln</guid>
      <description>&lt;div class="ltag__link"&gt;
  &lt;a href="/leslysandra" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__pic"&gt;
      &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F18559%2F30c7b45e-8dc2-443e-a443-16a1535cb054.jpg" alt="leslysandra"&gt;
    &lt;/div&gt;
  &lt;/a&gt;
  &lt;a href="https://dev.to/leslysandra/how-to-get-started-and-build-with-gemini-cli-powered-by-gemini-3-flash-2j11" class="ltag__link__link"&gt;
    &lt;div class="ltag__link__content"&gt;
      &lt;h2&gt;How to Get Started and Build with Gemini CLI (Powered by Gemini 3 Flash)&lt;/h2&gt;
      &lt;h3&gt;leslysandra ・ Feb 9&lt;/h3&gt;
      &lt;div class="ltag__link__taglist"&gt;
        &lt;span class="ltag__link__tag"&gt;#ai&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#cli&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#gemini&lt;/span&gt;
        &lt;span class="ltag__link__tag"&gt;#tutorial&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/a&gt;
&lt;/div&gt;


</description>
      <category>ai</category>
      <category>cli</category>
      <category>gemini</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Part 2: Supercharging Your Workflow with Gemini CLI</title>
      <dc:creator>leslysandra</dc:creator>
      <pubDate>Mon, 09 Feb 2026 16:54:35 +0000</pubDate>
      <link>https://forem.com/gde/part-2-supercharging-your-workflow-with-gemini-cli-kjk</link>
      <guid>https://forem.com/gde/part-2-supercharging-your-workflow-with-gemini-cli-kjk</guid>
      <description>&lt;p&gt;In &lt;a href="https://dev.to/leslysandra/how-to-get-started-and-build-with-gemini-cli-powered-by-gemini-3-flash-2j11"&gt;Part 1&lt;/a&gt;, we covered how to install Gemini CLI and the basics of interacting with files using the @ symbol. Now, let’s unlock the real power of this tool.&lt;br&gt;
Once you have the CLI running, you aren't limited to just chatting with text files. You can connect to databases, manage GitHub repositories, and even write directly into Google Docs.&lt;br&gt;
Here are four practical ways to level up your Gemini CLI skills.&lt;/p&gt;




&lt;h2&gt;
  
  
  1. The Power of MCP (Model Context Protocol)
&lt;/h2&gt;

&lt;p&gt;This is the most "technical" sounding part, but it is actually the most exciting.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is MCP?&lt;/strong&gt;&lt;br&gt;
Think of the &lt;strong&gt;Model Context Protocol (MCP)&lt;/strong&gt; as a "Universal USB Port" for AI.&lt;br&gt;
Before MCP, if you wanted Gemini to talk to your SQL database or your Slack, you had to write complex custom code. With MCP, there is a standard way to plug these tools together.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to Connect:&lt;/strong&gt;&lt;br&gt;
Gemini CLI acts as an &lt;strong&gt;MCP Client&lt;/strong&gt;. You can run "servers" (which are just small programs that talk to your data) and Gemini can instantly interact with them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Common MCP Servers to Try:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;GitHub Server:&lt;/strong&gt; Lets Gemini search your repos, read issues, and create pull requests.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;PostgreSQL/SQLite Server:&lt;/strong&gt; Lets Gemini run SQL queries to answer questions about your data.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Filesystem Server:&lt;/strong&gt; Gives Gemini safe access to navigate your folders (built-in).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;To get started, check the &lt;code&gt;/settings&lt;/code&gt; command or the configuration file to add an MCP server configuration.&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  2. Using Extensions: The Google Docs Example
&lt;/h2&gt;

&lt;p&gt;Gemini CLI allows you to install extensions to expand its capabilities beyond the terminal. A great example of this is the &lt;strong&gt;Google Docs&lt;/strong&gt; integration.&lt;/p&gt;

&lt;p&gt;Why keep your AI drafts in the terminal? You can have Gemini write them directly into a document.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to Install Extensions:&lt;/strong&gt;&lt;br&gt;
Extensions are typically installed via npm (Node Package Manager). For example, to add Google workspace capabilities, you might look for community or official packages (always check &lt;code&gt;npm search gemini-cli-extension&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Real-Life Use Case:&lt;/strong&gt;&lt;br&gt;
Imagine you have finished coding a feature and need to write documentation.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;The Prompt:&lt;/strong&gt;
&amp;gt; "Read the code in &lt;a class="mentioned-user" href="https://dev.to/server"&gt;@server&lt;/a&gt;.js and write a technical documentation summary. Then, create a new Google Doc named 'API Documentation' and paste the content there."&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;The Result:&lt;/strong&gt; You stay in the terminal, but the work appears instantly in your Google Drive.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  3. Software Development: The GitHub Workflow
&lt;/h2&gt;

&lt;p&gt;This is where Gemini CLI shines for developers. By connecting Gemini to your GitHub (via MCP or extensions), you can automate the tedious parts of coding.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Implementing Features:&lt;/strong&gt;&lt;br&gt;
Instead of switching between your browser (to read the ticket) and VS Code, do it all in one place.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;The Scenario:&lt;/strong&gt; You have a bug reported in GitHub Issue #42.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;The Prompt:&lt;/strong&gt;
&amp;gt; "Read GitHub Issue #42. Then, look at &lt;a class="mentioned-user" href="https://dev.to/login"&gt;@login&lt;/a&gt;.py and explain why this bug is happening. Finally, suggest the code changes to fix it."&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Code Reviews &amp;amp; PRs:&lt;/strong&gt;&lt;br&gt;
You can ask Gemini to act as a senior engineer.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;The Prompt:&lt;/strong&gt;
&amp;gt; "I just finished writing &lt;a class="mentioned-user" href="https://dev.to/auth"&gt;@auth&lt;/a&gt;.ts. Review it for security vulnerabilities before I commit."&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  4. Data Analysis on the Fly
&lt;/h2&gt;

&lt;p&gt;You don't need to be a Data Scientist or open Jupyter Notebooks to get quick insights. Gemini CLI can digest raw data files and give you answers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What Data Can It Handle?&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;CSV Files:&lt;/strong&gt; Excel exports, financial data.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;JSON:&lt;/strong&gt; API responses, configuration files.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Log Files:&lt;/strong&gt; Server error logs (&lt;code&gt;.txt&lt;/code&gt;, &lt;code&gt;.log&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Example: Analyzing Sales Data&lt;/strong&gt;&lt;br&gt;
Let’s say you have a file called &lt;code&gt;q1_sales.csv&lt;/code&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;The Prompt:&lt;/strong&gt;
&amp;gt; "Analyze @q1_sales.csv. Calculate the total revenue for March. Also, tell me which product category had the highest growth percentage compared to February."&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Why this is powerful:&lt;/strong&gt;&lt;br&gt;
Under the hood, Gemini isn't just "guessing" the numbers. It can actually write and execute a small Python script to calculate the math precisely, then show you the result. It combines the reasoning of an LLM with the precision of a calculator.&lt;/p&gt;




&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;The Gemini CLI transforms your terminal from a simple command prompt into an intelligent workspace. Whether you are fixing bugs on GitHub, analyzing CSVs, or drafting docs, the goal is the same: &lt;strong&gt;keep your hands on the keyboard and stay in the flow.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Have you tried connecting an MCP server yet? Let me know in the comments what you’ve built!&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Credits: Concepts and structure inspired by DeepLearning.AI Course: &lt;a href="https://www.deeplearning.ai/short-courses/gemini-cli-code-and-create-with-an-open-source-agent/" rel="noopener noreferrer"&gt;Gemini CLI&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>gemini</category>
      <category>workplace</category>
      <category>ai</category>
    </item>
    <item>
      <title>How to Get Started and Build with Gemini CLI (Powered by Gemini 3 Flash)</title>
      <dc:creator>leslysandra</dc:creator>
      <pubDate>Mon, 09 Feb 2026 16:17:09 +0000</pubDate>
      <link>https://forem.com/leslysandra/how-to-get-started-and-build-with-gemini-cli-powered-by-gemini-3-flash-2j11</link>
      <guid>https://forem.com/leslysandra/how-to-get-started-and-build-with-gemini-cli-powered-by-gemini-3-flash-2j11</guid>
      <description>&lt;p&gt;&lt;strong&gt;By Lesly Zerna / &lt;a class="mentioned-user" href="https://dev.to/leslysandra"&gt;@leslysandra&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As developers, we are constantly looking for tools that speed up our workflow without breaking our flow state. Recently, Google made a massive splash in the open-source community by updating the &lt;strong&gt;Gemini CLI&lt;/strong&gt; with their latest model, &lt;strong&gt;Gemini 3 Flash&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;If you are tired of copy-pasting code between your browser and your IDE, or if you want to see what a true "AI Agent" looks like in your terminal, this guide is for you.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Note: Many of the concepts and examples in this post were inspired by the excellent [Insert Name of Course/Instructor Here], which I highly recommend checking out.&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  What is Gemini CLI?
&lt;/h2&gt;

&lt;p&gt;In simple terms, &lt;strong&gt;Gemini CLI&lt;/strong&gt; is a &lt;strong&gt;terminal application&lt;/strong&gt; that lets you chat with Google’s Gemini AI directly from your command line.&lt;/p&gt;

&lt;p&gt;But it is more than just a chatbot. It is an &lt;strong&gt;open-source AI agent&lt;/strong&gt; &lt;strong&gt;powered by Gemini&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;When you use ChatGPT or the Gemini web interface, you are in a "sandbox"—the AI cannot see your files or run commands unless you upload them. Gemini CLI breaks that wall. It lives &lt;em&gt;inside&lt;/em&gt; your environment, meaning it can understand your project structure, read your code directly, and help you build faster.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why is the "Gemini 3 Flash" update important?&lt;/strong&gt;&lt;br&gt;
Gemini 3 Flash is optimized for speed and low latency. When you are using an AI Agent that needs to perform multiple steps (like "read this file," then "analyze it," then "write a test"), speed is critical. Flash makes the CLI feel snappy and responsive.&lt;/p&gt;


&lt;h2&gt;
  
  
  Under the Hood: How Gemini CLI Works
&lt;/h2&gt;

&lt;p&gt;You might be wondering, "How does a text box in my terminal know how to run code?"&lt;/p&gt;

&lt;p&gt;Gemini CLI uses a concept called the &lt;strong&gt;ReAct Loop&lt;/strong&gt; (Reason + Act). Here is the simple explanation of what happens when you type a command:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Thought:&lt;/strong&gt; You ask a question (e.g., "Why is my build failing?"). The AI analyzes your request.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Tool Use:&lt;/strong&gt; Instead of just guessing, the AI sees it has "tools" available—like reading a file or running a shell command. It decides, "I should run the build command to see the error."&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Observation:&lt;/strong&gt; The CLI runs the command, captures the output (the error message), and feeds it back to the AI.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Answer:&lt;/strong&gt; The AI reads the error and gives you the specific fix.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This "Loop" allows the CLI to act like a real pair programmer rather than just a text generator.&lt;/p&gt;


&lt;h2&gt;
  
  
  Why Use the CLI? (Browser vs. Terminal)
&lt;/h2&gt;

&lt;p&gt;Working from the browser is great for general questions, but for building software, the Command Line Interface (CLI) is superior. Here is why:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Direct File System Access:&lt;/strong&gt; You don't need to copy-paste code. You can simply say, "Refactor the &lt;code&gt;utils.py&lt;/code&gt; file," and the CLI can read it and propose changes directly.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Context Awareness:&lt;/strong&gt; The CLI knows where it is. It understands your current working directory and the files inside it.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Automation &amp;amp; Scripting:&lt;/strong&gt; You can pipe output from other commands into Gemini. For example: &lt;code&gt;cat logs.txt | gemini "Find the critical error"&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Built-in Tools:&lt;/strong&gt; Gemini CLI comes battery-included with tools for:

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;File System:&lt;/strong&gt; Read, write, and list files.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Web:&lt;/strong&gt; Fetch URLs and search Google (grounding your code in real-time info).&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Shell:&lt;/strong&gt; Execute terminal commands safely.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Customization &amp;amp; Extensions:&lt;/strong&gt; Because it is &lt;strong&gt;open source&lt;/strong&gt;, you can extend it. It supports the &lt;strong&gt;Model Context Protocol (MCP)&lt;/strong&gt;, allowing you to build custom tools that connect to your database or internal APIs.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  Real-Life Examples and Ideas to Build
&lt;/h2&gt;

&lt;p&gt;Here are a few ways you can start using Gemini CLI today to boost your productivity.&lt;/p&gt;
&lt;h3&gt;
  
  
  1. The "Smart" Code Reviewer
&lt;/h3&gt;

&lt;p&gt;Instead of manually checking your code for style issues, use Gemini CLI to review it before you push.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Command:&lt;/strong&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;gemini "Review main.py for potential bugs and clean code practices. Output the suggestions as a list."&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Why it works:&lt;/strong&gt; The CLI reads the file directly and uses Gemini’s logic to find edge cases you might have missed.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  2. Instant Data Analyst
&lt;/h3&gt;

&lt;p&gt;Imagine you have a messy CSV file or a log file and you need quick insights.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Scenario:&lt;/strong&gt; You have a file called &lt;code&gt;server_logs.csv&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Command:&lt;/strong&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;gemini "Read server_logs.csv and tell me which IP address appears the most frequently. Then, use grep to count exactly how many times it appears."&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Why it works:&lt;/strong&gt; The agent combines its ability to write code (to analyze the CSV) with system tools (like &lt;code&gt;grep&lt;/code&gt;) to verify the data.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  3. Rapid Prototyping
&lt;/h3&gt;

&lt;p&gt;Need to scaffold a new feature?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Command:&lt;/strong&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;gemini "Create a new folder called 'blog-app'. Inside it, create an index.html file with a basic responsive layout and a style.css file with a dark mode theme."&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Result:&lt;/strong&gt; The CLI actually creates the folder and writes the files for you. You are ready to start coding immediately.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  How to Get Started: Installation
&lt;/h2&gt;

&lt;p&gt;Ready to try it? Installing Gemini CLI is straightforward. You will need &lt;code&gt;Node.js&lt;/code&gt; installed on your machine.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(&lt;a href="https://geminicli.com/docs/get-started/installation/" rel="noopener noreferrer"&gt;Based on the official documentation at geminicli.com&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Open your terminal.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Run the install command.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; @google/gemini-cli@latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step 3: Authenticate.&lt;/strong&gt;&lt;br&gt;
You can start the tool by simply typing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gemini
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On your first run, it will ask you to authenticate. You can usually log in directly with your Google account, which gives you a generous free tier to start experimenting.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzroulnbvrqqva9ujbh8x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzroulnbvrqqva9ujbh8x.png" alt="Source: Gemini CLI at DeepLearning.AI" width="800" height="379"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Enable Gemini 3 Flash.&lt;/strong&gt;&lt;br&gt;
Once inside the CLI, you want to make sure you are using the latest model.&lt;br&gt;
Run this command inside the tool:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;/settings
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Ensure "Preview Features" is toggled to &lt;strong&gt;True&lt;/strong&gt; (if required) or use &lt;code&gt;/model&lt;/code&gt; to select the &lt;strong&gt;Gemini 3 Flash&lt;/strong&gt; model for the best balance of speed and intelligence.&lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;The shift from chat-in-browser to agent-in-terminal is a huge leap for developer productivity. With &lt;strong&gt;Gemini 3 Flash&lt;/strong&gt; now powering the &lt;strong&gt;Gemini CLI&lt;/strong&gt;, we have a tool that is fast enough to keep up with our thoughts and smart enough to handle complex tasks.&lt;/p&gt;

&lt;p&gt;Give it a try, explore the &lt;strong&gt;open source&lt;/strong&gt; code, and let me know what you build!&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Special thanks to [Insert Course Name] for the inspiration on these use cases.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>cli</category>
      <category>gemini</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to Get Started and Build with Gemini CLI (Powered by Gemini 3 Flash)</title>
      <dc:creator>leslysandra</dc:creator>
      <pubDate>Sun, 01 Feb 2026 02:58:59 +0000</pubDate>
      <link>https://forem.com/gde/how-to-get-started-and-build-with-gemini-cli-powered-by-gemini-3-flash-2mcc</link>
      <guid>https://forem.com/gde/how-to-get-started-and-build-with-gemini-cli-powered-by-gemini-3-flash-2mcc</guid>
      <description>&lt;p&gt;&lt;strong&gt;By Lesly Zerna / &lt;a class="mentioned-user" href="https://dev.to/leslysandra"&gt;@leslysandra&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As developers, we are constantly looking for tools that speed up our workflow without breaking our flow state. Last June 2025, Google made a massive splash in the open-source community by releasing the &lt;strong&gt;Gemini CLI&lt;/strong&gt; and in December 2025, by updating with their latest model, &lt;strong&gt;Gemini 3 Flash&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;If you are tired of copy-pasting code between your browser and your IDE, or if you want to see what a true "AI Agent" looks like in your terminal, this guide is for you :)&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Note: Many of the concepts and examples in this post were inspired by this &lt;a href="https://www.deeplearning.ai/short-courses/gemini-cli-code-and-create-with-an-open-source-agent/" rel="noopener noreferrer"&gt;Gemini CLI course by DeepLearning.AI&lt;/a&gt;, which I highly recommend checking out, as well as checking the official &lt;a href="https://geminicli.com/docs/get-started/installation/" rel="noopener noreferrer"&gt;Gemini CLI documentation&lt;/a&gt; as well as &lt;a href="https://blog.google/innovation-and-ai/technology/developers-tools/introducing-gemini-cli-open-source-ai-agent/" rel="noopener noreferrer"&gt;Google for devs blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  What is Gemini CLI?
&lt;/h2&gt;

&lt;p&gt;In simple terms, &lt;strong&gt;Gemini CLI&lt;/strong&gt; is a &lt;strong&gt;terminal application&lt;/strong&gt; that lets you chat with Google’s Gemini AI directly from your command line.&lt;/p&gt;

&lt;p&gt;But it is more than just a chatbot. It is an &lt;strong&gt;open-source AI agent&lt;/strong&gt; &lt;strong&gt;powered by Gemini&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;When you use ChatGPT or the Gemini web interface, you are in a "sandbox"—the AI cannot see your files or run commands unless you upload them. Gemini CLI breaks that wall. It lives &lt;em&gt;inside&lt;/em&gt; your environment, meaning it can understand your project structure, read your code directly, and help you build faster.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why is the "Gemini 3 Flash" update important?&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://developers.googleblog.com/en/gemini-3-flash-is-now-available-in-gemini-cli/" rel="noopener noreferrer"&gt;Gemini 3 Flash&lt;/a&gt; is optimized for speed and low latency. When you are using an AI Agent that needs to perform multiple steps (like "read this file," then "analyze it," then "write a test"), speed is critical. Flash makes the CLI feel snappy and responsive.&lt;/p&gt;


&lt;h2&gt;
  
  
  Why Use the CLI? (Browser vs. Terminal)
&lt;/h2&gt;

&lt;p&gt;Working from the browser is great for general questions, but for building software, the Command Line Interface (CLI) is superior. Here is why:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Direct File System Access:&lt;/strong&gt; You don't need to copy-paste code. You can simply say, "Refactor the &lt;code&gt;utils.py&lt;/code&gt; file," and the CLI can read it and propose changes directly.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Context Awareness:&lt;/strong&gt; The CLI knows where it is. It understands your current working directory and the files inside it.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Automation &amp;amp; Scripting:&lt;/strong&gt; You can pipe output from other commands into Gemini. For example: &lt;code&gt;cat logs.txt | gemini "Find the critical error"&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Built-in Tools:&lt;/strong&gt; Gemini CLI comes battery-included with tools such as:

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;File System:&lt;/strong&gt; Read, write, and list files.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Web:&lt;/strong&gt; Fetch URLs and search Google (grounding your code in real-time info).&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Shell:&lt;/strong&gt; Execute terminal commands safely.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Customization &amp;amp; Extensions:&lt;/strong&gt; Because it is &lt;strong&gt;open source&lt;/strong&gt;, you can extend it. It supports the &lt;strong&gt;Model Context Protocol (MCP)&lt;/strong&gt;, allowing you to build custom tools that connect to your database or internal APIs.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  Real-Life Examples and Ideas to Build
&lt;/h2&gt;

&lt;p&gt;Here are a few ways you can start using Gemini CLI today to boost your productivity.&lt;/p&gt;
&lt;h3&gt;
  
  
  1. The "Smart" Code Reviewer
&lt;/h3&gt;

&lt;p&gt;Instead of manually checking your code for style issues, use Gemini CLI to review it before you push.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Command:&lt;/strong&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;gemini "Review @main.py for potential bugs and clean code practices. Output the suggestions as a list."&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Why it works:&lt;/strong&gt; The CLI reads the file directly and uses Gemini’s logic to find edge cases you might have missed.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  2. Instant Data Analyst
&lt;/h3&gt;

&lt;p&gt;Imagine you have a messy CSV file or a log file and you need quick insights.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Scenario:&lt;/strong&gt; You have a file called &lt;code&gt;server_logs.csv&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Command:&lt;/strong&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;gemini "Read @server_logs.csv and tell me which IP address appears the most frequently. Then, use grep to count exactly how many times it appears."&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Why it works:&lt;/strong&gt; The agent combines its ability to write code (to analyze the CSV) with system tools (like &lt;code&gt;grep&lt;/code&gt;) to verify the data.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  3. Rapid Prototyping
&lt;/h3&gt;

&lt;p&gt;Need to scaffold a new feature?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Command:&lt;/strong&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;gemini "Create a new folder called 'blog-app'. Inside it, create an index.html file with a basic responsive layout and a style.css file with a dark mode theme."&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Result:&lt;/strong&gt; The CLI actually creates the folder and writes the files for you. You are ready to start coding immediately.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  How to Get Started: Installation
&lt;/h2&gt;

&lt;p&gt;Ready to try it? Installing Gemini CLI is straightforward. You will need &lt;code&gt;Node.js&lt;/code&gt; installed on your machine.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(&lt;a href="https://geminicli.com/docs/get-started/installation/" rel="noopener noreferrer"&gt;More details, see the official documentation at geminicli.com&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Open your terminal.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Run the install command.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; @google/gemini-cli@latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step 3: Authenticate.&lt;/strong&gt;&lt;br&gt;
You can start the tool by simply typing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gemini
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On your first run, it will ask you to authenticate. You can usually log in directly with your Google account, which gives you a generous free tier to start experimenting.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzroulnbvrqqva9ujbh8x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzroulnbvrqqva9ujbh8x.png" alt="Source: Gemini CLI at DeepLearning.AI" width="800" height="379"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And once it is installed you can see it running in your terminal:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7h1f8kvidvlb33g9c2ug.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7h1f8kvidvlb33g9c2ug.png" alt="Welcome to Gemini CLI" width="800" height="477"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Enable the Latest Features (Crucial Step!)&lt;/strong&gt;&lt;br&gt;
To use the powerful &lt;strong&gt;Gemini 3 Flash&lt;/strong&gt; model, you need to enable preview features.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Type &lt;code&gt;/settings&lt;/code&gt; in the CLI.&lt;/li&gt;
&lt;li&gt; Look for &lt;strong&gt;"Preview Features"&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt; Set this to &lt;strong&gt;"True"&lt;/strong&gt;.
This ensures you are running on the latest, fastest, and most capable models available.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7ew2y1pvfvgyovbtmw7r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7ew2y1pvfvgyovbtmw7r.png" alt="Gemini 3 Flash in Gemini CLI" width="800" height="436"&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h2&gt;
  
  
  Under the Hood: How Gemini CLI Works
&lt;/h2&gt;

&lt;p&gt;You might be wondering, "How does a text box in my terminal know how to run code?"&lt;/p&gt;

&lt;p&gt;Gemini CLI uses a concept called the &lt;strong&gt;ReAct Loop&lt;/strong&gt; (Reason + Act). Here is the simple &lt;a href="https://docs.cloud.google.com/gemini/docs/codeassist/gemini-cli" rel="noopener noreferrer"&gt;explanation&lt;/a&gt; of what happens when you type a command:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Thought:&lt;/strong&gt; You ask a question (e.g., "Why is my build failing?"). The AI analyzes your request.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Tool Use:&lt;/strong&gt; Instead of just guessing, the AI sees it has "tools" available—like reading a file or running a shell command. It decides, "I should run the build command to see the error."&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Observation:&lt;/strong&gt; The CLI runs the command, captures the output (the error message), and feeds it back to the AI.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Answer:&lt;/strong&gt; The AI reads the error and gives you the specific fix.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This "Loop" allows the CLI to act like a real pair programmer rather than just a text generator.&lt;/p&gt;


&lt;h2&gt;
  
  
  Navigating the Terminal: Essential Commands
&lt;/h2&gt;

&lt;p&gt;Once you have installed Gemini CLI, you aren't just typing into a void. There are specific commands to help you control the agent.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;/help&lt;/strong&gt;: The most important command. Use this to see what the agent can do and how to interact with it.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;/settings&lt;/strong&gt;: Use this to explore your setup. This is where you configure your &lt;strong&gt;Assistant&lt;/strong&gt; settings and change the &lt;strong&gt;Mode&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;/docs&lt;/strong&gt;: Opens the documentation if you need to read up on advanced features.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  How to Reference Your Files
&lt;/h3&gt;

&lt;p&gt;This is the superpower of the CLI. You don't need to copy-paste code. To ask Gemini about a specific file, simply use the &lt;code&gt;@&lt;/code&gt; symbol.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Can you explain the logic inside &lt;strong&gt;&lt;a class="mentioned-user" href="https://dev.to/main"&gt;@main&lt;/a&gt;.py&lt;/strong&gt; and suggest improvements?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The agent will read that specific file and base its answer on the code inside it.&lt;/p&gt;


&lt;h2&gt;
  
  
  Understanding Context and &lt;code&gt;GEMINI.md&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What is Context?&lt;/strong&gt;&lt;br&gt;
Context is simply a collection of information that the AI agent uses to understand your specific request. It’s the "background knowledge" the AI needs so you don't have to repeat yourself.&lt;/p&gt;
&lt;h3&gt;
  
  
  The Magic of &lt;code&gt;GEMINI.md&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;You can teach the CLI about your project by creating a special file called &lt;code&gt;GEMINI.md&lt;/code&gt;. Think of this as a "ReadMe for the AI."&lt;/p&gt;

&lt;p&gt;If you place a &lt;code&gt;GEMINI.md&lt;/code&gt; file in your folder, the CLI automatically reads it to understand your project rules, coding style, or architecture. You can place this file in:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;The Global Directory:&lt;/strong&gt; For rules that apply to &lt;em&gt;all&lt;/em&gt; your projects.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;The Current Working Folder:&lt;/strong&gt; For project-specific rules.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Subdirectories:&lt;/strong&gt; For rules specific to that module.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;
  
  
  Managing Memory
&lt;/h3&gt;

&lt;p&gt;You can verify what the AI currently "knows" or add new things to its memory manually using these commands:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Check Context:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight shell"&gt;&lt;code&gt;/memory show
&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;&lt;em&gt;This will list everything currently in the agent's context.&lt;/em&gt;&lt;/p&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;&lt;strong&gt;Add Context Manually:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight shell"&gt;&lt;code&gt;/memory add &lt;span class="s2"&gt;"Remember that we are using Python 3.11 for this project"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;&lt;em&gt;Or you can point it to a specific context file:&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight shell"&gt;&lt;code&gt;/memory add path/to/another/gemini.md
&lt;/code&gt;&lt;/pre&gt;




&lt;/li&gt;

&lt;/ul&gt;




&lt;p&gt;Already excited about the topic? This is just the intro, we'll explore more about CLI Extensions, uses for Software Development, Data Analysis, MCP and more in the coming blogs! &lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion (This first part!)
&lt;/h2&gt;

&lt;p&gt;The shift from chat-in-browser to agent-in-terminal is a huge leap for developer productivity. With &lt;strong&gt;Gemini 3 Flash&lt;/strong&gt; now powering the &lt;strong&gt;Gemini CLI&lt;/strong&gt;, and the ability to customize &lt;strong&gt;Context&lt;/strong&gt; using &lt;code&gt;GEMINI.md&lt;/code&gt;, we have a tool that is fast enough to keep up with our thoughts and smart enough to handle complex tasks.&lt;/p&gt;

&lt;p&gt;Give it a try, explore the &lt;strong&gt;open source&lt;/strong&gt; code, and let me know what you build!&lt;/p&gt;

&lt;p&gt;More blogs coming up soon! Subscribe and stay tuned!, Lesly&lt;/p&gt;

</description>
      <category>gemini</category>
      <category>cli</category>
      <category>howto</category>
    </item>
    <item>
      <title>How to Get Started and Build with Gemini CLI (Powered by Gemini 3 Flash)</title>
      <dc:creator>leslysandra</dc:creator>
      <pubDate>Sun, 01 Feb 2026 02:58:59 +0000</pubDate>
      <link>https://forem.com/leslysandra/how-to-get-started-and-build-with-gemini-cli-powered-by-gemini-3-flash-1l34</link>
      <guid>https://forem.com/leslysandra/how-to-get-started-and-build-with-gemini-cli-powered-by-gemini-3-flash-1l34</guid>
      <description>&lt;p&gt;&lt;strong&gt;By Lesly Zerna / &lt;a class="mentioned-user" href="https://dev.to/leslysandra"&gt;@leslysandra&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As developers, we are constantly looking for tools that speed up our workflow without breaking our flow state. Last June 2025, Google made a massive splash in the open-source community by releasing the &lt;strong&gt;Gemini CLI&lt;/strong&gt; and in December 2025, by updating with their latest model, &lt;strong&gt;Gemini 3 Flash&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;If you are tired of copy-pasting code between your browser and your IDE, or if you want to see what a true "AI Agent" looks like in your terminal, this guide is for you :)&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Note: Many of the concepts and examples in this post were inspired by this &lt;a href="https://www.deeplearning.ai/short-courses/gemini-cli-code-and-create-with-an-open-source-agent/" rel="noopener noreferrer"&gt;Gemini CLI course by DeepLearning.AI&lt;/a&gt;, which I highly recommend checking out, as well as checking the official &lt;a href="https://geminicli.com/docs/get-started/installation/" rel="noopener noreferrer"&gt;Gemini CLI documentation&lt;/a&gt; as well as &lt;a href="https://blog.google/innovation-and-ai/technology/developers-tools/introducing-gemini-cli-open-source-ai-agent/" rel="noopener noreferrer"&gt;Google for devs blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  What is Gemini CLI?
&lt;/h2&gt;

&lt;p&gt;In simple terms, &lt;strong&gt;Gemini CLI&lt;/strong&gt; is a &lt;strong&gt;terminal application&lt;/strong&gt; that lets you chat with Google’s Gemini AI directly from your command line.&lt;/p&gt;

&lt;p&gt;But it is more than just a chatbot. It is an &lt;strong&gt;open-source AI agent&lt;/strong&gt; &lt;strong&gt;powered by Gemini&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;When you use ChatGPT or the Gemini web interface, you are in a "sandbox"—the AI cannot see your files or run commands unless you upload them. Gemini CLI breaks that wall. It lives &lt;em&gt;inside&lt;/em&gt; your environment, meaning it can understand your project structure, read your code directly, and help you build faster.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why is the "Gemini 3 Flash" update important?&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://developers.googleblog.com/en/gemini-3-flash-is-now-available-in-gemini-cli/" rel="noopener noreferrer"&gt;Gemini 3 Flash&lt;/a&gt; is optimized for speed and low latency. When you are using an AI Agent that needs to perform multiple steps (like "read this file," then "analyze it," then "write a test"), speed is critical. Flash makes the CLI feel snappy and responsive.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzl47dx4hnhg3cvmt50sa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzl47dx4hnhg3cvmt50sa.png" alt="Gemini 3 Flash in Gemini CLI annoucement" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h2&gt;
  
  
  Why Use the CLI? (Browser vs. Terminal)
&lt;/h2&gt;

&lt;p&gt;Working from the browser is great for general questions, but for building software, the Command Line Interface (CLI) is superior. Here is why:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Direct File System Access:&lt;/strong&gt; You don't need to copy-paste code. You can simply say, "Refactor the &lt;code&gt;utils.py&lt;/code&gt; file," and the CLI can read it and propose changes directly.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Context Awareness:&lt;/strong&gt; The CLI knows where it is. It understands your current working directory and the files inside it.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Automation &amp;amp; Scripting:&lt;/strong&gt; You can pipe output from other commands into Gemini. For example: &lt;code&gt;cat logs.txt | gemini "Find the critical error"&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Built-in Tools:&lt;/strong&gt; Gemini CLI comes battery-included with tools such as:

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;File System:&lt;/strong&gt; Read, write, and list files.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Web:&lt;/strong&gt; Fetch URLs and search Google (grounding your code in real-time info).&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Shell:&lt;/strong&gt; Execute terminal commands safely.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Customization &amp;amp; Extensions:&lt;/strong&gt; Because it is &lt;strong&gt;open source&lt;/strong&gt;, you can extend it. It supports the &lt;strong&gt;Model Context Protocol (MCP)&lt;/strong&gt;, allowing you to build custom tools that connect to your database or internal APIs.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  Real-Life Examples and Ideas to Build
&lt;/h2&gt;

&lt;p&gt;Here are a few ways you can start using Gemini CLI today to boost your productivity.&lt;/p&gt;
&lt;h3&gt;
  
  
  1. The "Smart" Code Reviewer
&lt;/h3&gt;

&lt;p&gt;Instead of manually checking your code for style issues, use Gemini CLI to review it before you push.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Command:&lt;/strong&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;gemini "Review main.py for potential bugs and clean code practices. Output the suggestions as a list."&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Why it works:&lt;/strong&gt; The CLI reads the file directly and uses Gemini’s logic to find edge cases you might have missed.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  2. Instant Data Analyst
&lt;/h3&gt;

&lt;p&gt;Imagine you have a messy CSV file or a log file and you need quick insights.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Scenario:&lt;/strong&gt; You have a file called &lt;code&gt;server_logs.csv&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Command:&lt;/strong&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;gemini "Read server_logs.csv and tell me which IP address appears the most frequently. Then, use grep to count exactly how many times it appears."&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Why it works:&lt;/strong&gt; The agent combines its ability to write code (to analyze the CSV) with system tools (like &lt;code&gt;grep&lt;/code&gt;) to verify the data.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  3. Rapid Prototyping
&lt;/h3&gt;

&lt;p&gt;Need to scaffold a new feature?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Command:&lt;/strong&gt; &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;gemini "Create a new folder called 'blog-app'. Inside it, create an index.html file with a basic responsive layout and a style.css file with a dark mode theme."&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Result:&lt;/strong&gt; The CLI actually creates the folder and writes the files for you. You are ready to start coding immediately.&lt;/li&gt;
&lt;/ul&gt;


&lt;h2&gt;
  
  
  How to Get Started: Installation
&lt;/h2&gt;

&lt;p&gt;Ready to try it? Installing Gemini CLI is straightforward. You will need &lt;code&gt;Node.js&lt;/code&gt; installed on your machine.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(&lt;a href="https://geminicli.com/docs/get-started/installation/" rel="noopener noreferrer"&gt;More details, see the official documentation at geminicli.com&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Open your terminal.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Run the install command.&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; @google/gemini-cli@latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step 3: Authenticate.&lt;/strong&gt;&lt;br&gt;
You can start the tool by simply typing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;gemini
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On your first run, it will ask you to authenticate. You can usually log in directly with your Google account, which gives you a generous free tier to start experimenting.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzroulnbvrqqva9ujbh8x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzroulnbvrqqva9ujbh8x.png" alt="Source: Gemini CLI at DeepLearning.AI" width="800" height="379"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And once it is installed you can see it running in your terminal:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7h1f8kvidvlb33g9c2ug.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7h1f8kvidvlb33g9c2ug.png" alt="Welcome to Gemini CLI" width="800" height="477"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Enable the Latest Features (Crucial Step!)&lt;/strong&gt;&lt;br&gt;
To use the powerful &lt;strong&gt;Gemini 3 Flash&lt;/strong&gt; model, you need to enable preview features.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Type &lt;code&gt;/settings&lt;/code&gt; in the CLI.&lt;/li&gt;
&lt;li&gt; Look for &lt;strong&gt;"Preview Features"&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt; Set this to &lt;strong&gt;"True"&lt;/strong&gt;.
This ensures you are running on the latest, fastest, and most capable models available.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7ew2y1pvfvgyovbtmw7r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7ew2y1pvfvgyovbtmw7r.png" alt="Gemini 3 Flash in Gemini CLI" width="800" height="436"&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h2&gt;
  
  
  Under the Hood: How Gemini CLI Works
&lt;/h2&gt;

&lt;p&gt;You might be wondering, "How does a text box in my terminal know how to run code?"&lt;/p&gt;

&lt;p&gt;Gemini CLI uses a concept called the &lt;strong&gt;ReAct Loop&lt;/strong&gt; (Reason + Act). Here is the simple &lt;a href="https://docs.cloud.google.com/gemini/docs/codeassist/gemini-cli" rel="noopener noreferrer"&gt;explanation&lt;/a&gt; of what happens when you type a command:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;Thought:&lt;/strong&gt; You ask a question (e.g., "Why is my build failing?"). The AI analyzes your request.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Tool Use:&lt;/strong&gt; Instead of just guessing, the AI sees it has "tools" available—like reading a file or running a shell command. It decides, "I should run the build command to see the error."&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Observation:&lt;/strong&gt; The CLI runs the command, captures the output (the error message), and feeds it back to the AI.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Answer:&lt;/strong&gt; The AI reads the error and gives you the specific fix.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This "Loop" allows the CLI to act like a real pair programmer rather than just a text generator.&lt;/p&gt;


&lt;h2&gt;
  
  
  Navigating the Terminal: Essential Commands
&lt;/h2&gt;

&lt;p&gt;Once you have installed Gemini CLI, you aren't just typing into a void. There are specific commands to help you control the agent.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;/help&lt;/strong&gt;: The most important command. Use this to see what the agent can do and how to interact with it.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;/settings&lt;/strong&gt;: Use this to explore your setup. This is where you configure your &lt;strong&gt;Assistant&lt;/strong&gt; settings and change the &lt;strong&gt;Mode&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;/docs&lt;/strong&gt;: Opens the documentation if you need to read up on advanced features.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;
  
  
  How to Reference Your Files
&lt;/h3&gt;

&lt;p&gt;This is the superpower of the CLI. You don't need to copy-paste code. To ask Gemini about a specific file, simply use the &lt;code&gt;@&lt;/code&gt; symbol.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Can you explain the logic inside &lt;strong&gt;&lt;a class="mentioned-user" href="https://dev.to/main"&gt;@main&lt;/a&gt;.py&lt;/strong&gt; and suggest improvements?"&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The agent will read that specific file and base its answer on the code inside it.&lt;/p&gt;


&lt;h2&gt;
  
  
  Understanding Context and &lt;code&gt;GEMINI.md&lt;/code&gt;
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What is Context?&lt;/strong&gt;&lt;br&gt;
Context is simply a collection of information that the AI agent uses to understand your specific request. It’s the "background knowledge" the AI needs so you don't have to repeat yourself.&lt;/p&gt;
&lt;h3&gt;
  
  
  The Magic of &lt;code&gt;GEMINI.md&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;You can teach the CLI about your project by creating a special file called &lt;code&gt;GEMINI.md&lt;/code&gt;. Think of this as a "ReadMe for the AI."&lt;/p&gt;

&lt;p&gt;If you place a &lt;code&gt;GEMINI.md&lt;/code&gt; file in your folder, the CLI automatically reads it to understand your project rules, coding style, or architecture. You can place this file in:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; &lt;strong&gt;The Global Directory:&lt;/strong&gt; For rules that apply to &lt;em&gt;all&lt;/em&gt; your projects.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;The Current Working Folder:&lt;/strong&gt; For project-specific rules.&lt;/li&gt;
&lt;li&gt; &lt;strong&gt;Subdirectories:&lt;/strong&gt; For rules specific to that module.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;
  
  
  Managing Memory
&lt;/h3&gt;

&lt;p&gt;You can verify what the AI currently "knows" or add new things to its memory manually using these commands:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Check Context:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight shell"&gt;&lt;code&gt;/memory show
&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;&lt;em&gt;This will list everything currently in the agent's context.&lt;/em&gt;&lt;/p&gt;


&lt;/li&gt;

&lt;li&gt;

&lt;p&gt;&lt;strong&gt;Add Context Manually:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight shell"&gt;&lt;code&gt;/memory add &lt;span class="s2"&gt;"Remember that we are using Python 3.11 for this project"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;&lt;em&gt;Or you can point it to a specific context file:&lt;/em&gt;&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight shell"&gt;&lt;code&gt;/memory add path/to/another/gemini.md
&lt;/code&gt;&lt;/pre&gt;




&lt;/li&gt;

&lt;/ul&gt;




&lt;p&gt;Already excited about the topic, this is the intro, we'll explore more about CLI Extensions, uses for Software Development, Data Analysis, MCP and more in the coming blogs! &lt;/p&gt;




&lt;h2&gt;
  
  
  Conclusion (This first part!)
&lt;/h2&gt;

&lt;p&gt;The shift from chat-in-browser to agent-in-terminal is a huge leap for developer productivity. With &lt;strong&gt;Gemini 3 Flash&lt;/strong&gt; now powering the &lt;strong&gt;Gemini CLI&lt;/strong&gt;, and the ability to customize &lt;strong&gt;Context&lt;/strong&gt; using &lt;code&gt;GEMINI.md&lt;/code&gt;, we have a tool that is fast enough to keep up with our thoughts and smart enough to handle complex tasks.&lt;/p&gt;

&lt;p&gt;Give it a try, explore the &lt;strong&gt;open source&lt;/strong&gt; code, and let me know what you build!&lt;/p&gt;

&lt;h2&gt;
  
  
  More blogs coming up soon! Subscribe and stay tuned!
&lt;/h2&gt;

&lt;p&gt;Lesly&lt;/p&gt;

</description>
      <category>gemini</category>
      <category>cli</category>
      <category>howto</category>
    </item>
  </channel>
</rss>
