AnkiExplain

AnkiWeb addon 1438958138 Built with AI

Adds an Explain button during Anki reviews that uses Google's Gemini AI to give explanations, mnemonics and follow-up chat, with results saveable to notes and synced to mobile.
AI-generated summary; may contain mistakes.

aireview-flownote-managementshortcutsaccessibilitymobile-compatible

Open on AnkiWeb Find alternatives

AnkiWeb

Votes
6 (👍 6 · 👎 0)
Updated
2026-11-28
Anki versions
2.1.1~
License
Not found (this does not mean that the addon has no license)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

active

  • Last update or commit: 2026-11-28 (3 days before the snapshot).

GitHub

No GitHub repository linked.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.1+2026-11-28
History across monthly snapshots

Loading…

Similar addons

Sidecar AI

Embeds an AI tutor and study dashboard into Anki's review screen, generating explanations, quizzes, comparisons, and study guides from cards and uploaded files.

aisync-integrationreview-flowshortcutsquiz

1 votes 21% approval 👍 1 · 👎 0 Anki 24.04~ Updated 2026-11-24
Gemini Chat for Anki

Adds an embedded Gemini-powered chat window to the Anki reviewer, offering context-aware grammar explanations, translations, examples, and custom per-deck prompt responses about cards.

aiservice-client

3 votes 21% approval 👍 2 · 👎 1 ⭐ 0 Anki 25.09.2~ Updated 2025-11-20
Anki AI Grader

Lets you answer flashcards by typing, speaking, or handwriting, then has a chosen LLM grade the answer as correct, partly, or totally wrong and explain mistakes.

aischedulingreview-flowquiz

1 votes 21% approval 👍 1 · 👎 0 ⭐ 0 Anki 2.1.1~ Updated 2026-10-11

Description

AnkiExplain Screenshot

AnkiExplain - AI-Powered Flashcard Explanations

Get instant, intelligent explanations for any flashcard using Google's Gemini AI.

Desktop only: works in Anki on Windows, Mac and Linux. It does not run on AnkiMobile (iPhone/iPad), AnkiDroid or AnkiWeb, but explanations you save to a card sync to them.

AnkiExplain adds an "Explain" button to your Anki review sessions. When you're struggling to understand a concept, just click the button to get a clear explanation, memory aids, and related concepts - all powered by Google's Gemini AI.

Features

  • One-Click Explanations - "Explain" button appears when you reveal a card's answer
  • Intelligent Responses - Get concise explanations with context, mnemonics, and related concepts
  • Follow-Up Questions - Chat interface lets you ask follow-up questions for deeper understanding
  • Save to Card - Put an explanation into a field of the note so it syncs and shows on your phone; existing field content is never overwritten without asking
  • Picture Cards - Sends the card's images too, so image occlusion, anatomy and radiology cards get explained
  • Current Gemini Models - Gemini 3.8 Flash (default), 3.6 Flash, 3.1 Pro Preview, 3.5 Flash-Lite and 2.5 Flash-Lite, or type any model name; if Google shuts a model down, the add-on switches to a working one and tells you
  • Clear Error Messages - Says which Gemini quota ran out and when it resets, with a Try again button
  • Reply Language - Have explanations always come back in your language
  • Customizable Prompts - Modify the AI prompt to suit your learning style
  • Dark/Light Mode - Automatically matches your Anki theme
  • Markdown Rendering - Responses display with proper formatting (bold, lists, code blocks)
  • Keyboard Shortcuts - Open the sidebar with Cmd+Shift+E (Mac) or Ctrl+Shift+E (Windows/Linux); Esc hides it

Setup

Getting Your API Key

  1. Visit Google AI Studio
  2. Sign in with your Google account
  3. Click "Create API Key"
  4. Copy the generated key

Configuring the Add-on

  1. In Anki, go to Tools → AnkiExplain Settings...
  2. Paste your API key in the "API Key" field
  3. Select your preferred Gemini model
  4. (Optional) Customize the prompt
  5. Click Save

Usage

Basic Usage

  1. Start a review session
  2. When a card appears, click "Show Answer"
  3. Click the Explain button (or press Cmd+Shift+E / Ctrl+Shift+E)
  4. A sidebar will open with an AI-generated explanation. Use the ✕ button (or Esc) to hide it.

Saving an Explanation to the Card

Click Save in the sidebar header to put the latest explanation into the card's note. It goes into the first of these fields the note has: AnkiExplain, Explanation, Extra or Back Extra (choose your own field in Settings, or pick one when asked). If the field already has something in it, you choose Append, Replace or Cancel. Sync, and the explanation shows on AnkiMobile or AnkiDroid wherever your card template shows that field (add {{AnkiExplain}} to the back template if you made a new field). Edit → Undo takes it back out.

Asking Follow-Up Questions

After receiving an explanation, you can ask follow-up questions in the input field:

  • "Can you give me another example?"
  • "How does this relate to [other concept]?"
  • "Explain this in simpler terms"

Customizing the Prompt

Go to Tools → AnkiExplain Settings... to customize how the AI responds:

  • Adjust the prompt to focus on specific aspects (mnemonics, examples, context)
  • Use {question} and {answer} as placeholders for card content
  • Click "Reset to Default" to restore the original prompt

Tips

  • For medical/science cards: The AI will automatically detect context and provide relevant explanations
  • For language learning: Ask follow-up questions about grammar, usage, or pronunciation
  • For memorization: The AI will suggest mnemonics - established ones when available, or create logical ones

Updates (v1.7 - November 27, 2026)

  • Save to card: a Save button puts the explanation into a field of the note, so it syncs to your phone. Existing field content is never overwritten without asking.
  • Picture cards: the card's images are sent to Gemini too, so image occlusion, anatomy and radiology cards get a real explanation.
  • Survives model shutdowns: if Google retires your model, the add-on switches to a working one, saves it and tells you.
  • Honest quota messages: when your key runs out of quota, you're told whether it's the daily limit (resets at midnight Pacific) or the per-minute one, and every error has a Try again button.
  • Faster, cleaner answers: only the card's words are sent (no styling or duplicated front), there's a Reply language setting, and Esc closes the sidebar.

Updates (v1.6 - November 7, 2026)

The default model is now Gemini 3.8 Flash, because Google shuts down Gemini 2.5 Flash on December 1, 2026. The model list now shows only models that are still available, and if your saved model has been retired, the add-on switches it to Gemini 3.8 Flash for you. Your API key, prompt and other settings stay as they are.

Updates (v1.5 - February 8, 2026)

A major update with significant improvements to reliability, usability, and the overall experience.

Streaming Responses

Explanations now appear word-by-word as they are generated instead of waiting for the full response. This makes the add-on feel much faster -- you can start reading within a second instead of waiting several seconds for a complete answer.

Dockable Sidebar

The explanation panel is now a proper docked sidebar instead of a popup dialog. It sits alongside your cards so you can keep reviewing without interruption. You can dock it to the left or right, pop it out as a floating window, or close it at any time. All window controls are in a clean, unified toolbar.

Sidebar Position Control

Choose where the sidebar opens by default (left, right, or floating) in Settings. An arrow button in the toolbar lets you quickly move it to the other side without opening settings.

Cancel and Copy

A cancel button lets you stop a response mid-generation if you've already gotten what you need. A copy button lets you grab the last response with one click.

Better Error Handling

Errors now appear inline in the chat with clear, actionable messages instead of disruptive popup dialogs. Rate limits, invalid API keys, and network issues each get a specific helpful message. The add-on also automatically retries when the model is temporarily overloaded.

Adjustable Font Size

Use the +/- buttons in the toolbar to resize the text. Your preference is saved between sessions, and the input field scales to match.

Test Your API Key

The settings dialog now includes a "Test API Key" button that verifies your key works before you save. No more guessing if you copied it correctly.

Custom Model Support

In addition to the preset Gemini models, you can now type any model name directly into the selector. This future-proofs the add-on as new models are released. Only applies to Gemini models.

Accessibility

Screen reader support, keyboard navigation, proper color contrast, and tooltips on all controls. The add-on now works better for everyone.

Reliability

Fixed several bugs that could cause stale responses to appear on the wrong card, chat history to break after network errors, or the sidebar to crash after switching Anki profiles. The add-on now handles edge cases gracefully and recovers cleanly from errors.