AnkiVec

AnkiWeb addon 2028823832

Generates local Ollama vector embeddings for Anki cards, stored in ChromaDB, enabling semantic natural-language searches via "vec:" queries that can combine with keyword filters.
AI-generated summary; may contain mistakes.

aisearch

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
1 (πŸ‘ 1 Β· πŸ‘Ž 0)
Updated
2025-11-20
Anki versions
23.09~
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

stale

  • Last update or commit: 2025-11-20 (346 days before the snapshot).
  • Test files: 2.
  • Commits in the last year: 21.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.123.09+2025-11-20
History across monthly snapshots

Loading…

Similar addons

Anki Semantic Search

Enables semantic and keyword search across selected Anki notes, generating cited AI answers through local or cloud providers.

aisearch

3 votes 44% approval πŸ‘ 3 Β· πŸ‘Ž 0 ⭐ 3 Anki 25.09.2~ Updated 2026-06-15
Semantic search

Enables natural-language semantic card search via Voyage AI embeddings, optional Claude reranking and smart search, plus duplicate finding, card actions, and clinical vignette/guideline review modes.

aiduplicatessearch

8 votes 68% approval πŸ‘ 8 Β· πŸ‘Ž 0 Anki 2.1.1~ Updated 2026-04-05
Smart Search

Adds a local AI panel in Anki's Browser that turns plain-English requests into Anki searches, expands synonyms, and finds matching cards privately.

aisearch

1 votes 21% approval πŸ‘ 1 Β· πŸ‘Ž 0 ⭐ 1 Anki 2.1.2~ Updated 2026-06-27
Easy Search

Enables offline AI semantic and keyword hybrid card search on local CPU, with a browser semantic: prefix, a search dialog for previewing and suspending cards, and automatic model download.

aisearch

2 votes 9% approval πŸ‘ 1 Β· πŸ‘Ž 1 Anki 2.1.1~ Updated 2026-05-30

Description

AnkiVec - Vector Search for Anki

This anki addon creates vector embeddings for your cards, allowing you to search using natural language queries rather than keywords.

Features

  • Vector Embeddings: Generate embeddings for all cards using local Ollama models
  • Semantic Search: Find cards by meaning, not just keywords
  • Fast Local Processing: Uses lightweight embedding models (nomic-embed-text by default)
  • Persistent Storage: ChromaDB stores embeddings for quick retrieval

How to Use It

When you restart Anki after installing the add-on, a vector-database will be initialized for your deck. This process may take a few minute- you should see a loading dialog with a progress bar. From this point on, any changes to your deck will be automatically indexed.

To search the vector database, use the form "vec: [your query here]" in Anki's usual search bar. You can combine keyword searches with vector searches by putting the "vec" section at the end of the query: e.g. "keyword1 keyword2 vec: [natural language description]".

Prerequisites

  1. Anki (version 2.1.45+)
  2. Ollama installed and running locally

Install Ollama

Download from ollama.ai and install.

Pull the embedding model:

ollama pull nomic-embed-text

Configuration

There are three parameters that govern how AnkiVec operates, available in the add-on's configuration dialog:

  • model_name: The name of the Ollama model to use for generating embeddings. The default is "nomic-embed-text", but you can specify any model supported by Ollama (for example, "kronos483/MedEmbed-large-v0.1" for a specialized medical model).
  • search_results_limit: The maximum number of search results to return. Default is 20.
  • ollama_host: The URL of the Ollama server. Default is "http://localhost:11434".

README

AnkiVec - Vector Search for Anki

This anki addon creates vector embeddings for your cards, allowing you to search using natural language queries rather than keywords.

Features

  • Vector Embeddings: Generate embeddings for all cards using local Ollama models
  • Semantic Search: Find cards by meaning, not just keywords
  • Fast Local Processing: Uses lightweight embedding models (nomic-embed-text by default)
  • Persistent Storage: ChromaDB stores embeddings for quick retrieval

How to Use It

When you restart Anki after installing the add-on, a vector-database will be initialized for your deck. This process may take a few minute- you should see a loading dialog with a progress bar. From this point on, any changes to your deck will be automatically indexed.

To search the vector database, use the form "vec: [your query here]" in Anki's usual search bar. You can combine keyword searches with vector searches by putting the "vec" section at the end of the query: e.g. "keyword1 keyword2 vec: [natural language description]".

Prerequisites

  1. Anki (version 2.1.45+)
  2. Ollama installed and running locally

Install Ollama

Download from ollama.ai and install.

Pull the embedding model:

ollama pull nomic-embed-text

Configuration

There are three parameters that govern how AnkiVec operates, available in the add-on's configuration dialog:

  • model_name: The name of the Ollama model to use for generating embeddings. The default is "nomic-embed-text", but you can specify any model supported by Ollama (for example, "kronos483/MedEmbed-large-v0.1" for a specialized medical model).
  • search_results_limit: The maximum number of search results to return. Default is 20.
  • ollama_host: The URL of the Ollama server. Default is "http://localhost:11434".

Future Plans

  • Other Platforms: Currently, only Mac OS is supported. Windows support should be straightforward if I can get my hands on a Windows machine. Linux support is more tricky, as the uv binary bundled with Anki will be installed in different places depending on your distribution. I need to investigate how Anki is distributed in different package managers.

  • Ordering by Relevance: Currently, Anki's search feature allows you to filter the cards you seen in the Browser, but not to order them by a specific relevance score. Implementing this as an add on might require obscene amounts of monkey patching, but I think it will be worth the effort.

  • Debugging Ollama: Ollama can be buggy. A small fraction of Anki notes cause Ollama to throw an error when generating embeddings. This is a known issue, and I'm working on figuring out what's going on.