Anki AI Helper

AnkiWeb addon 1340372901

Shows AI-generated explanations under Anki card answers using an API key, with customizable prompts, without modifying cards.
AI-generated summary; may contain mistakes.

ai

Open on AnkiWeb GitHub Ask about alternatives

AnkiWeb

Rating
0 (πŸ‘ 0 Β· πŸ‘Ž 0)
Updated
2026-08-08
Anki versions
unknown
Description language
en

Maintenance

active

  • Last update or commit was 54 days before the snapshot (2026-08-08).
  • The repository has 3 test files.

GitHub

Repository
malarau/anki-ai Β· more by malarau
Stars
⭐ 0 · forks 0 · open issues 0
Last commit
2026-08-07
Languages
Python, HTML
Tests
3

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.0–2026-08-08
History across monthly snapshots

Loading…

Similar addons

AnkiExplain

Adds an Explain sidebar to Anki reviews, providing Gemini AI explanations, follow-up chat, customizable prompts, streaming responses, model choices, and accessibility improvements.

aireview-flowshortcutsappearanceaccessibility

Rating 5 πŸ‘ 5 Β· πŸ‘Ž 0 Anki 2.1.1~ Updated 2026-02-12
AI Explainer

Generates concise, exam-focused AI explanations for existing Anki cards during review or batch, using OpenAI or Gemini, writing to a chosen field.

card-creationainote-managementobsolete

Rating 0 πŸ‘ 0 Β· πŸ‘Ž 0 ⭐ 3 Anki 23.10~ Updated 2026-01-11

README

πŸ€– Anki AI Helper

Anki Compatibility License: MIT

Ever wished you had a personal tutor inside Anki?

Anki AI Helper is a simple, powerful add-on that brings Artificial Intelligence directly to your flashcards. Whether you need a quick explanation, a catchy mnemonic, or a detailed translation, this tool acts as your personal study buddy!

🌟 What to Expect (How it Works)

Using Anki AI Helper is completely effortless:

  • Works with EVERYTHING: It works universally with all your existing decks and card types out-of-the-box. You do not need to create special cards or change your templates!
  • Safe & Non-Destructive: It never modifies or permanently alters your actual cards in the database. The AI response is simply injected visually onto the screen underneath your normal card back.
  • Instant Explanations: You just review your cards normally. When you press "Show Answer," the AI instantly reads the card and generates a helpful explanation right below your usual answer.

πŸš€ Getting Started in 3 Simple Steps

Even if you've never used an add-on before, setup takes less than a minute:

  1. Install the Add-on: Download the latest .ankiaddon file from the Releases page. Open Anki and go to Tools β†’ Add-ons β†’ Install from file.... Select the .ankiaddon file and restart Anki.
  2. Get an API Key: To use AI, you need a "key" from an AI provider (like OpenAI/ChatGPT, Google Gemini, or Claude). Google Gemini offers a free tier that works perfectly for this!
  3. Plug it in: In Anki, go to Tools β†’ Anki AI Helper Settings. Paste your API key in the box, select your provider, and click Save.

That's it! Start reviewing your cards and watch the AI magic happen. ✨

βš™οΈ Customize Your Tutor (Advanced)

Want the AI to do something specific? You can fully customize exactly how it talks to you!

In the settings (Tools β†’ Anki AI Helper Settings), you can edit the Prompt Template. For example, you can tell the AI:

Example 1: Language Learning

You are a native language teacher.
Please provide 2 simple example sentences using the vocabulary word on this flashcard:

FRONT: {front}
BACK: {back}

Example 2: Medical School / Heavy Memorization

You are my medical school tutor. 
Based on this flashcard, give me a funny mnemonic to help me memorize the answer:

FRONT: {front}
BACK: {back}

The add-on will automatically replace {front} and {back} with your actual card text before asking the AI!

πŸ› οΈ Development

Built with modern Python tooling and Anki Add-on Developer Tools (AADT).

# Clone the repository
git clone https://github.com/malarau/anki-ai-helper.git
cd anki-ai-helper

# Install dependencies using uv
uv sync

# Link and launch a local Anki test instance
uv run aadt test

# Build release package (.ankiaddon)
uv run aadt build

❓ Troubleshooting

Issue Solution
AI response not showing Ensure you are connected to the internet and have pasted a valid API key in the settings.
Error message on the card This usually means your API key is invalid, or your AI provider is experiencing high traffic. Try clicking "Test API" from the settings menu to diagnose.
Detailed Logs View detailed error logs by pressing Ctrl+Shift+A inside Anki.

πŸ“ License

This project is licensed under the MIT License.