Joplin is a free, open source note-taking app, and with the Jarvis plugin and Ollama it can chat about your notes, find related notes by meaning and tidy up text without anything leaving your PC. This guide shows you how to connect the two for both chat and note search.
What you'll need
Step 1: Download a chat model and an embedding model
Open a terminal and pull a chat model from the Ollama library. Jarvis's own guide uses Llama 3 as its example:
ollama pull llama3
Any chat model your hardware can handle will do, so substitute a newer one if you prefer. Then pull an embedding model for note search. Ollama's library lists nomic-embed-text as an embedding model with a large token context window:
ollama pull nomic-embed-text
Check Ollama is answering on its default address, http://127.0.0.1:11434, before moving on.
Step 2: Install Jarvis
In Joplin, install Jarvis from the plugin marketplace (you can also download a release from the Jarvis GitHub page) and restart Joplin if asked. Jarvis adds commands under Tools → Jarvis, a chat panel and a related-notes panel.
Step 3: Point the chat model at Ollama
Open the Jarvis settings. Several of the fields below are under the advanced settings. Use the values from the Jarvis guide's "Offline chat model with Ollama" section:
Setting | Value |
|---|
Model: OpenAI API Key | Something, anything (a placeholder; Ollama doesn't check it) |
Chat: Model | (online) OpenAI or compatible: custom model |
Chat: Timeout (sec) | 600 |
Chat: OpenAI (or compatible) custom model ID | Your model name, for example llama3 |
Chat: Custom model is a conversation model | Yes |
Chat: Custom model API endpoint | http://127.0.0.1:11434/v1/chat/completions
|
Don't be put off by the word "online" in the model option: it simply means Jarvis talks to an OpenAI-style server, and here that server is Ollama on your own PC. Enter the full endpoint path including /v1/chat/completions.
Step 4: Point note search at Ollama
Now set the notes (embedding) model, again from the Jarvis guide:
Setting | Value |
|---|
Notes: Semantic similarity model | (offline) Ollama |
Notes: OpenAI / Ollama (or compatible) custom model ID | nomic-embed-text
|
Notes: OpenAI / Ollama (or compatible) API endpoint | http://127.0.0.1:11434/api/embed
|
Jarvis then builds its note database using that model. Note that the chat and embeddings endpoints are different: chat uses /v1/chat/completions, embeddings use /api/embed. Bear in mind that if you change the notes model later, the guide says the note database is rebuilt and every note is re-embedded.
Step 5: Chat with your notes
Open the chat panel with the Toggle chat panel command. It has three modes, cycled with Shift+Tab:
Chat for a plain conversation with the model.
Note to scope the chat to the note you have open.
Collection to ground answers in your whole notes collection.
Click Save to write a conversation to a note. You can also chat inside a note by typing a prompt and running Chat with Jarvis or Chat with your notes from the Tools → Jarvis menu; Jarvis appends its reply at the cursor.
Some other commands worth knowing:
Find related notes shows semantically similar notes in a panel, based on the open note, selected text or a search query.
Annotate note with Jarvis adds a title, summary, links and tags.
Edit selection with Jarvis rewrites selected text to your instructions.
Preview chat notes context shows which note excerpts would be sent to the model, so you can refine your prompt first.
To keep certain notes out of chat context entirely, tag them jarvis-exclude.
Step 6: Keep both models loaded and give them room
Jarvis's guide points out that it uses both models within a single chat turn. If Ollama can only keep one loaded, it will swap models on every answer and each reply pays for an extra model load. The Ollama FAQ says OLLAMA_MAX_LOADED_MODELS defaults to 3 times the number of GPUs (or 3 for CPU inference), provided the models fit in memory, so the main thing is not to set it to 1.
Ollama unloads idle models after 5 minutes by default. To keep them ready for longer, set OLLAMA_KEEP_ALIVE (for example 30m, or -1 to keep them loaded indefinitely); our guide to keeping Ollama models loaded covers the details. Ollama's default context window is 4096 tokens, and chatting with your notes sends excerpts along with your prompt, so raising it can help; see how to set Ollama's context length. Jarvis's guide also suggests increasing its own Memory tokens setting for more coherent chats with your notes.
Optional: Use Joplin's built-in AI instead
Joplin 3.7 and newer (desktop) include a built-in AI feature, marked as beta, configured in Settings → AI. According to the Jarvis guide, providers include Joplin Cloud AI, an OpenAI-compatible endpoint or Anthropic, and Jarvis can chat through it if you set Chat: Model to the Joplin AI option. That only affects chat: related notes and chat with your notes still use the Jarvis notes model you set in Step 4.
Troubleshooting
Nothing comes back. Check Ollama is running and that the model ID in Jarvis exactly matches the name shown by ollama list. Our guide to checking Ollama is using your GPU helps if replies are very slow.
Requests time out. The first reply can be slow while Ollama loads a model, which is why the guide sets a 600-second timeout. Make sure you entered it in the advanced settings.
Something is going online. The Jarvis README says it only sends queries to the models you select, plus literature search engines if you use the Research command. Keep both endpoints on 127.0.0.1 and avoid Research if you want everything local.