This integration lets Continue users search MisakaNet lessons from inside the AI
chat panel by typing @misaka <query>. It returns the lesson title, score, file
path, and a relevant snippet so the model can ground its answer in failure-memory
knowledge instead of asking you to leave the editor.
- AI-tool integration: runs inside Continue as a custom context provider.
- Stable result shape: each item includes
title,score,path, andsnippet. - Local/offline search: uses the checked-out MisakaNet repository and the existing BM25/RRF search engine.
-
Clone MisakaNet and install its core dependency:
git clone https://github.com/Ikalus1988/MisakaNet.git ~/MisakaNet cd ~/MisakaNet python3 -m pip install misakanet-core
-
Copy
config.tsinto your Continue configuration, or merge thecontextProvidersentry into your existing~/.continue/config.ts. -
If your checkout is somewhere else, update
MISAKANET_REPOinconfig.ts. -
Restart Continue.
In Continue chat, type:
@misaka database locked sqlite
Continue will inject results like:
MisakaNet search results for "database locked sqlite":
1. SQLite database locked on WSL/NTFS
Score: 0.92
Path: lessons/contrib/sqlite-database-locked-wsl-ntfs.md
Snippet: ... move the sqlite database to the ext4 filesystem ...
You can then ask the assistant to apply the relevant fix in your project.
The provider shells out to scripts/misaka_search_json.py,
which is also useful for other AI tools:
cd ~/MisakaNet
python3 scripts/misaka_search_json.py "database locked" --top 3The command prints JSON containing lesson titles, normalized scores, paths, and snippets.