# Run DeepSeek Locally in Obsidian: Complete Beginner's Guide

This guide shows how to run DeepSeek-R1 locally and connect it to Obsidian. You’ll be able to ask questions and generate text from inside your notes.

Author: Vladislav Guzey
Published: 2025-02-04
Canonical: https://proflead.dev/posts/deepseek-ai-r1-in-obsidian/


<div class="videoWrapper">
  <iframe width="100%" src="https://www.youtube.com/embed/qAsGO5N7OCk?si=Cbz0ZsQyGvqOiCN8" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>


This guide shows how to run DeepSeek-R1 locally and connect it to Obsidian. You’ll be able to ask questions and generate text from inside your notes.

## What is DeepSeek LLM?
DeepSeek LLM is a local large language model (LLM) that lets you run AI directly on your device. Unlike online AI tools, DeepSeek keeps your data private, works offline, and gives you full control over your workflow.


![What is DeepSeek LLM?](/assets/blog/deepseek-ai-r1-in-obsidian/2.webp)

Here are the features of DeepSeek-R1 that matter for this setup:

- **Advanced Reasoning:** DeepSeek-R1 excels in complex problem-solving and mathematical reasoning, making it ideal for research and technical tasks.
- **Efficient Resource Usage:** Despite having approximately 670 billion parameters, it was trained using only 2,000 NVIDIA H800 chips, significantly reducing costs.

- **Faster Training:** The model was trained in just 55 days at a cost of $5.6 million, far less than other large-scale models.

- **Open and Customizable**: DeepSeek-R1's open-weight framework allows users to fine-tune and adapt it for specific needs.

- **Runs on Local Devices**: Its compact size makes it feasible to run on personal computers and mobile devices, unlike many cloud-dependent AI models.

## What is Obsidian?
In case you don't know [what Obsidian is](/posts/how-to-use-obsidian-notes-for-beginners/). Obsidian is a powerful note-taking and knowledge management application that helps users organize information using a linked, graph-based structure. It is popular for its Markdown-based notes, customization through community plugins, and support for local-first, privacy-focused workflows. Many users refer to Obsidian as a "second brain" because it allows them to create a network of interconnected ideas, making it an excellent tool for researchers, writers, and productivity enthusiasts.

## How to Install DeepSeek LLM in Obsidian
### Step 1: Install Obsidian
If you haven't already, download and install Obsidian from [https://obsidian.md](https://obsidian.md)


![Step 1: Install Obsidian](/assets/blog/deepseek-ai-r1-in-obsidian/3.webp)

### Step 2: Install Ollama (Required for Running DeepSeek)
DeepSeek LLM requires [a tool called Ollama](/posts/ollama-tutorial/) to run locally. Here's how to install it:

![Install Ollama (Required for Running DeepSeek)](/assets/blog/deepseek-ai-r1-in-obsidian/4.webp)

- Go to [https://ollama.ai](https://ollama.ai) and download Ollama.
- Select your operating system (Windows, Mac, or Linux). The command for Linux `curl -fsSL https://ollama.com/install.sh | sh`
- Follow the installation instructions.
- Once installed, verify by opening a terminal and running:


```bash
ollama --version
```

If you see a version number, Ollama is installed correctly.

### Step 3: Download and Set Up DeepSeek LLM
Now, install the DeepSeek-R1 model by running this command in your terminal:

```bash
ollama run deepseek-r1:8b
```

Other DeepSeek Models can be found here.
### Step 4: Install the Obsidian AI Plugin
To connect DeepSeek with Obsidian, install an AI plugin:
- Open Obsidian and go to Settings > Community Plugins.
- Click Browse and search for Smart Second Brain or Obsidian AI.
- Click Install, then enable the plugin.


![Install the Obsidian AI Plugin](/assets/blog/deepseek-ai-r1-in-obsidian/5.webp)

### Step 5: Configure the Plugin
Once installed, configure the plugin:

- Open Settings > Plugin Settings.
- Set the API URL to `http://localhost:11434` (this is the default for Ollama).
- In the Chat Model section, select deepseek.
- Save your settings and restart Obsidian.

![Configure the Plugin](/assets/blog/deepseek-ai-r1-in-obsidian/6.webp)

### How to Access DeepSeek Inside Obsidian
Now you're ready to use AI inside Obsidian!
- Click on the AI Chat icon in the left sidebar.
- Type your query in the chatbox and hit Enter.
- DeepSeek will generate a response directly inside Obsidian.


![How to Access DeepSeek Inside Obsidian](/assets/blog/deepseek-ai-r1-in-obsidian/7.webp)



Here's what you can do:
- **Generate content**  -  Ask DeepSeek to create text, ideas, or summaries.
- **Summarize notes**  -  Select text and let AI generate a quick summary.
- **Ask questions** -  Get answers on programming, math, grammar, and more.
- **Translate text**  -  Use AI for multilingual support.
- **Extract insights** -  Pull key points from large documents.
- **Brainstorm ideas** -  Get creative suggestions for projects or writing.

## Video Tutorial



Watch on YouTube: [DeepSeek LLM in Obsidian](https://medium.com/r/?url=https%3A%2F%2Fyoutu.be%2FqAsGO5N7OCk)

## Conclusion
Using DeepSeek R1 with Obsidian gives you a powerful, private, and offline AI assistant. Give it a try, and let me know your thoughts in the comments below! If you found this guide helpful!

Cheers!

