Byteli

Using DeepSeek in Obsidian

I came across this article this morning, and was intrigued by the inexpensive yet powerful AI capabilities offered by Deepseek. Recently, I’ve been learning Dutch with Claude and have been considering using Obsidian + AI for note-taking, so I decided to give it a try — and it went quite smoothly.

Steps

1. Claude Code CLI

Install Claude Code CLI. On mac, I just ran the following in Terminal:

1curl -fsSL https://claude.ai/install.sh | bash

and wait for a bit:

then enter:

1which claude

you’ll get the path to Claude CLI - something like /Users/USERNAME/.local/bin/claude. Save the path somewhere (maybe Obsidian), because we’ll use this path soon.

2. DeepSeek API

2.1 Create API key

After creating a new DeepSeek account, you’ll be able to create a new API key under this page. Save the API key in a temporary place (maybe Obsidian again), as you won’t be able to view it again through your account.

2.2 Top up

The configuration failed in my first few tries, and the error message Error: Unknown didn’t help. I then ran the following test in Terminal and found out that was caused by the insufficient balance.

 1curl https://api.deepseek.com/chat/completions \
 2  -H "Content-Type: application/json" \
 3  -H "Authorization: Bearer ${DEEPSEEK_API_KEY}" \
 4  -d '{
 5        "model": "deepseek-v4-pro",
 6        "messages": [
 7          {"role": "system", "content": "You are a helpful assistant."},
 8          {"role": "user", "content": "Hello!"}
 9        ],
10        "thinking": {"type": "enabled"},
11        "reasoning_effort": "high",
12        "stream": false
13      }'
14      
15# {"error":{"message":"Insufficient Balance","type":"unknown_error","param":null,"code":"invalid_request_error"}}

After topping up here , it backed to work.

3. Claudian

Before the final step, the following should have been ready:

  1. The Claude CLI path in Step 1;
  2. The DeepSeek API key in Step 2.1.

Then, opening Obsidian, searching for the Claudian (by: Yishen Tu) in Community Plugins. Install and enable the plugin, then open the plugin options page.

Start Chatting

Exit the plug-in setting page and launch Claudian from the home page. A chatbox will appear in the top-right corner (by default), and you AI journey begins 🎉

#obsidian


Reply to this post by email ↪