Check my levelCoursesProgramsFor teamsPricing
UKSign inSign up
Check my levelCoursesProgramsFor teamsPricingClaude quizPromptsBlogFAQSearchSign upUK
AcademlCoursesGemini in Practice: Real Google Examples
Get started free

Online course, Engineering, Gemini

Gemini in Practice: 8 Projects from the Google Team — Agents, Data Extraction, Search

8 lessons of 30–35 minutes, about 4 hours in total: Python code from the Gemini Cookbook examples, a task and a 3-question quiz in each.

Start: 7 days freePreview the first lesson, no sign-in

No card needed. The first two lessons are free after sign-up, all lessons come with Pro at $9 a month.

An order receipt built by a barista bot calling add_to_orderLesson 1, 35 minReAct Agent: Reasoning + Acting
  • Advancedlevel
  • 4 h 5 min8 lessons, 4 modules
  • At your own paceupdated Dec 2, 2026
  • Certificatewith a check code
What you will learnLessonsCertificateQuestionsStart the course

What you will learn

  • Write a ReAct agent: a Thought → Action → Observation loop with Wikipedia and a calculator, few-shot formatting and an iteration limit, then the same agent on native function calling and thinking
  • Generate reports for a list of companies with the Google Search tool and save each to its own file
  • Build an ordering agent on automatic function calling: menu, order, confirmation, totals and promo codes
  • Extract addresses, phone numbers, links and other entities from free text as JSON via response_mime_type
  • Upload PDF invoices and handwritten forms through the File API and get JSON by a Pydantic schema
  • Find outlier texts by their distance from the cluster center and show clusters with t-SNE
  • Build a search pipeline: Wikipedia search via function calling, re-ranking by cosine similarity, a final answer
  • Analyze repository issues with PyGithub and function calling: labels, stale issues, statistics

What you build in Gemini in Practice

The course walks through eight projects from the examples folder of the Gemini Cookbook: a ReAct agent with Wikipedia search, a company report generator with Google Search, a coffee-shop ordering agent on function calling, entity extraction, PDF invoices to JSON by schema, anomaly detection and re-ranking with embeddings, and GitHub issue analysis. 8 lessons of 30–35 minutes.

Pricing and what's free →
02
Free lesson

Search Grounding: Real-Time Data in Responses

Gemini with the Google Search tool writes a company report from fresh data: overview, latest news, financials. In the task the agent reads a list of companies from a CSV and saves a report for each to its own file. The lesson uses google-genai and gemini-2.5-flash: in a new project, use gemini-3.8-flash. Search runs on the paid Gemini API tier: 5,000 requests a month free, then $14 per 1,000.

Open the lesson →

Lessons

Agents and tools → structured data extraction → embeddings for search and anomaly detection → data analysis and integrations. The first two lessons are free.

Module 1 · 3 lessons · 1 h 35 min

Agents and Tools

ReAct agent, search grounding, automatic function calling — patterns for building agentic systems with Gemini.

1ReAct Agent: Reasoning + Actingfree35 minImplement the ReAct (Reasoning + Acting) pattern with Gemini 2.0 Flash and the Wikipedia API. The model generates Thought→Action→Observation chains to answer complex questions.2Search Grounding: Real-Time Data in Responsesfree30 minConnect Google Search Tool to Gemini 2.0+ to generate current business reports with live data. Understand the difference between search grounding and the new search tool.3Barista Bot: Agent with Automatic Function Calling30 minBuild a fully functional coffee shop ordering agent using automatic function calling. The SDK generates schemas from docstrings, calls functions, and returns results to the model automatically.
Module 2 · 2 lessons · 1 h

Structured Data Extraction

Entity extraction from text and PDF documents using Pydantic schemas and structured output.

4Entity Extraction from Text30 minUse Gemini to extract structured entities from arbitrary text: addresses, phone numbers, URLs, street names, and transportation routes.5Structured Output from PDFs: Invoices and Forms30 minUpload PDFs via the File API, define Pydantic schemas for invoices and handwritten forms, and receive structured JSON with guaranteed type validation.

Who it is for

  • Developers who have made their first Gemini API calls and want to build a working project
  • Teams automating document flows: invoices, forms and contracts in PDF
  • Search and RAG teams that need re-ranking and outlier detection with embeddings
  • DevOps engineers and team leads who want weekly reports on repository issues

How the lessons work

  1. A 30–35-minute lessonOne project from the Gemini Cookbook examples: its architecture, Python code and the reasoning behind each step.
  2. A hands-on task in every lessonThe task extends the project: for example, a pipeline for a folder of PDF invoices that exports to CSV and handles unreadable files, or a repository dashboard with issue counts by category, the five oldest issues and Gemini's prioritization advice. AI checks your solution and explains the result (after sign-up).
  3. Ready-made prompt and common mistakesMistakes that break projects: an agent with no iteration limit, functions without docstrings and type hints for automatic function calling, pull requests counted as issues, files left undeleted after PDF processing.
  4. 3-question quiz and AI tutorThe quiz checks the lesson; the AI tutor answers questions on the topic.
  5. CertificateAfter all lessons you get a certificate with a unique verification code.

Certificate of completion

You get it when you finish every lesson. Each certificate has its own code, so an employer can check it on our site. You can add it to LinkedIn.

See how a certificate is checked
Sample

What to change in the code before running it

The course projects come from the examples folder of the google-gemini/cookbook repository (Apache 2.0 license): the notebooks Search_Wikipedia_using_ReAct, Search_grounding_for_research_report, Agents_Function_Calling_Barista_Bot, Entity_Extraction, Pdf_structured_outputs_on_invoices_and_forms, Anomaly_detection_with_embeddings, Search_reranking_using_embeddings and GitHub_issue_analyzer.

All eight lessons use the google-genai SDK. The ReAct agent lesson was updated on Nov 9, 2026 and uses the Interactions API and gemini-3.8-flash. The Barista Bot lesson uses gemini-2.0-flash, which was shut down on Jun 1, 2026. gemini-2.5-flash in the other lessons is open only to users who have used it before, and Google recommends gemini-3.8-flash or gemini-3.5-flash-lite for new projects.

The anomaly detection and re-ranking lessons use text-embedding-004, shut down on Jan 14, 2026: replace it with gemini-embedding-001, where task_type (CLUSTERING, RETRIEVAL_QUERY, RETRIEVAL_DOCUMENT) works as in the lesson, or with gemini-embedding-2, where you put the task at the start of the text. Google Search on Gemini 3 and newer models is on the paid tier: 5,000 requests a month free, then $14 per 1,000. Dates and prices checked on Nov 9, 2026.

  • Gemini Cookbook — examples folder on GitHub
  • Gemini API — deprecations and shutdown dates
  • Gemini API — libraries and migrating to google-genai
  • Gemini API — embeddings and task types
  • Gemini API — Grounding with Google Search
  • Gemini API — structured output
  • Gemini API — pricing

What's free and what it costs

  • The first two lessons, the ReAct agent and Google Search reports, are free after a free sign-up.
  • After sign-up you get 7 days of full access to all 8 lessons and the whole catalog, no card needed.
  • After that, Pro costs $9 a month or $79 a year. Online card payment is not connected yet: write to info@academl.com and we open access manually.
  • Gemini API calls run on your own key: Google has a free tier with limits, and the paid tier and Google Search are billed by Google.

Gemini in Practice: questions

How is this different from Gemini Cookbook and Gemini API & Google AI?+

Gemini API & Google AI and Gemini Cookbook explain API features one at a time: the first request, function calling, caching, embeddings. Gemini in Practice is an Advanced course: each lesson builds a whole project from several features, for example Wikipedia search through function calling plus re-ranking with embeddings.

How do I extract data from a PDF to JSON with Gemini?+

Upload the PDF through the File API, wait until the file is ready and pass it in a request with a Pydantic schema in response_schema and response_mime_type=application/json. The model returns JSON with the fields and types from the schema. The lesson shows this on invoices and handwritten forms; for accounting, check the totals in your own code.

What is a ReAct agent?+

A pattern where the model writes its reasoning (Thought) at each step, picks an action (Action) such as a Wikipedia search and gets the result (Observation) until it finds the answer. The lesson builds such an agent on Gemini with few-shot format examples and an iteration limit so it cannot loop forever, then rebuilds it on native function calling.

Do I need a paid API key for the course?+

The free Gemini API tier with its limits covers most projects. The exception is the Google Search lesson: on Gemini 3 and newer models, search is paid tier only, with 5,000 requests a month free, then $14 per 1,000. The paid tier needs a $5 minimum prepayment.

Will the lesson code run today?+

Yes, after you swap the models. Use gemini-3.8-flash instead of gemini-2.0-flash and gemini-2.5-flash, and gemini-embedding-001 or gemini-embedding-2 instead of text-embedding-004. The ReAct agent lesson is already updated for google-genai, the Interactions API and gemini-3.8-flash. The project logic, prompts and data schemas stay the same.

What experience do I need?+

The course in short

level
Advanced
For whom
For developers
Task
Code and products
Tool
Gemini
Format
Lessons, quizzes and tasks checked by AI
Lesson language
English

Is this course right for you?

Check your level in 3 minutes. We will show which course to start with.

Check my level

More courses on this topic

Full catalog
Advanced, Claude

Prompt Evaluations: Based on Anthropic Materials

An LLM evals course based on Anthropic's materials: test cases and golden answers, Playground, code-graded evals, promptfoo, LLM as a judge. 8 Python lessons.

4 h 10 min, 8 lessonsCertificate
Advanced

Advanced Prompt Engineering

14 lessons for developers: chain-of-thought, self-consistency, Tree-of-Thoughts, ReAct, injection defense, LLM-as-judge, promptfoo, DSPy, prompts in production.

6 h 50 min, 14 lessonsCertificate
Intermediate, Claude

Design with Claude: from idea to design system

7 lessons: how to give Claude design tasks, build a DESIGN.md with tokens and components, generate screens in Stitch and code from Figma over MCP.

3 h 12 min, 7 lessonsCertificate
Intermediate, Claude

Claude Code & Agentic Development

10 lessons on Claude Code in real projects: CLAUDE.md, slash commands, task plans, git and PRs, test-first debugging, MCP servers, VS Code, JetBrains and CI.

4 h 10 min, 10 lessonsCertificate

Keep going

Gemini Cookbook: Based on Google Materials →Gemini API & Google AI: from the first request to the Live API →AI agents fundamentals: tool use and failure modes →RAG & Vector Databases: hybrid search and re-ranking →OpenAI Cookbook: Based on OpenAI Materials →Tool Use in Claude: function calling at Anthropic →

Build your first Gemini project

The first two lessons are open after a free sign-up. Sign up with email or Google to get 7 days of full access to the whole course and catalog.

Sign up
CoursesLLM coursesFor teamsPricingFAQBlogAboutPrivacy
© 2026 AcademlDevelopment & promotion —MMIX — Marketing Mix
Module 3 · 2 lessons · 1 h

Embeddings: Search and Anomaly Detection

Practical applications of embeddings: detecting anomalies in data and re-ranking search results by semantic similarity.

6Anomaly Detection with Embeddings30 minUse text-embedding-004 (since shut down) to vectorize 20 Newsgroups texts, visualize clusters with t-SNE, and detect outliers by distance from the cluster centroid.7Search Re-Ranking with Embeddings30 minCombine Gemini function calling with the Wikipedia API for search, then use embeddings and cosine similarity to re-rank found results by relevance.
Module 4 · 1 lesson · 30 min

Data Analysis and Integrations

Analyzing GitHub issues via function calling and PyGithub, automating tasks that interact with external APIs.

8GitHub Issue Analyzer: Repository Analysis with Gemini30 minUse PyGithub to fetch repository issue data and Gemini with function calling for interactive analysis: label filtering, stale issues, and statistics.
Certificate
Your name
for the course
Gemini in Practice: Real Google Examples
ACADEML · VERIFIED · ACADEML · VERIFIED · SAMPLE

Solid Python and some Gemini API experience: this is an Advanced course. pandas and Pydantic help, and the last lesson needs a GitHub token. If you have not used the Gemini API yet, start with Gemini Cookbook or Gemini API & Google AI.

How long is the course and what does it cost?+

8 lessons of 30–35 minutes, about 4 hours in total, with a certificate with a verification code after all lessons. The first two lessons are always free, sign-up gives 7 days of full access with no card, then Pro is $9 a month or $79 a year. API calls are billed by Google separately.