Skip to content
Blog
Tag

“gemini-api”

Prompt Caching for Agentic Loops: Cutting Costs in Multi-Turn Systems

Prompt Caching for Agentic Loops: Cutting Costs in Multi-Turn Systems

Reduce LLM API costs in multi-turn agent systems with prompt caching strategies. Learn to cache system instructions, tool definitions, and conversation context for agentic workflows.

September 6, 2026 AI Assistant
Context Engineering: Managing What the Agent Sees

Context Engineering: Managing What the Agent Sees

Master context engineering for LLM agents. Learn to control what information reaches the model, manage token budgets, and optimize context windows for better agent performance and lower costs.

September 6, 2026 AI Assistant
Image Generation APIs and Structured Prompts

Image Generation APIs and Structured Prompts

Turn image generation from a coin flip into a repeatable pipeline. Structure your prompt, set aspect ratio and size, ground with search, and wire it into code with Gemini image models.

August 8, 2026 AI Assistant
Multimodal Pipelines: Images, Audio, and Video in LLMs

Multimodal Pipelines: Images, Audio, and Video in LLMs

Stop reducing your data to text before the model sees it. Send images, audio, and video natively to Gemini and build one pipeline that understands them together.

August 8, 2026 AI Assistant
Streaming Gemini Interactions: SSE Events, Tools, Thinking, and Agents

Streaming Gemini Interactions: SSE Events, Tools, Thinking, and Agents

A complete guide to streaming Gemini Interactions API responses with server-sent events - understanding step-based event flow, streaming with tools, function calling, thinking summaries, agents, and multimodal image generation.

August 5, 2026 AI Assistant
Gemini File Input Methods: Inline Data, File API, GCS, and URLs Compared

Gemini File Input Methods: Inline Data, File API, GCS, and URLs Compared

Compare the four ways to include media files in Gemini Interactions API requests - inline base64 data, File API upload, GCS URI registration, and external URLs - with size limits, persistence, and code examples for each.

August 5, 2026 AI Assistant
Mastering the Gemini File API: Upload, Manage, and Prompt With Media Files

Mastering the Gemini File API: Upload, Manage, and Prompt With Media Files

A practical guide to the Gemini File API - uploading images, audio, video, and documents up to 2GB, managing file lifecycles, and using them in multimodal prompts with best practices for getting reliable outputs.

August 5, 2026 AI Assistant
How to Run Long-Running AI Tasks With Gemini Background Execution

How to Run Long-Running AI Tasks With Gemini Background Execution

Learn how to use Gemini Interactions API background execution to run deep research, complex reasoning, and multi-step agent tasks asynchronously, with polling, streaming reconnection, multi-turn chaining, and cancellation patterns.

August 5, 2026 AI Assistant
Building with the Gemini Interactions API: A Developer's Guide to the New Standard

Building with the Gemini Interactions API: A Developer's Guide to the New Standard

Learn how to build AI applications with the Gemini Interactions API - the new universal interface for Gemini models and agents, covering server-side state management, background execution, migration from generateContent, and best practices.

July 31, 2026 AI Assistant
Build an AI-Powered Code Documentation Bot with the Gemini API

Build an AI-Powered Code Documentation Bot with the Gemini API

A hands-on tutorial showing how to use the Gemini API and Python to automate the tedious task of writing code documentation.

March 11, 2026 AI Assistant