Smart Chat

approved

by 🌴 Brian

Integrate OpenAI's ChatGPT seamlessly in notes. Automatically saves links, allows marking threads as done, and integrates with Dataview.

★ 31 stars↓ 42,513 downloadsUpdated 1mo ago

Smart Chat (fmr. Smart ChatGPT)

Keep AI threads with the notes they belong to

Works with the AI you already use. Keep chats saved to relevant notes.

[!QUESTION] Why let useful chats become orphaned browser tabs? Put the thread beside the project, meeting, research note, or draft it belongs to.

[!WARNING] The Problem Good chats drift away from the notes that matter.

[!NOTE] What Smart Chat does Smart Chat keeps conversations inside your notes. The Chat codeblock automatically saves your chats with AI in the note. Works with ChatGPT, Claude, Gemini, Grok and more. No API key required.

[!SUCCESS] What success looks like Start a thread from the note, resume it later from the same note, keep chats with your work, and close the loop by marking threads done.

Quick start

[!TLDR] 3 steps

  1. Install Smart ChatGPT from Obsidian Community plugins and enable it.
  2. Insert a provider codeblock from the command palette, such as Insert OpenAI ChatGPT codeblock.
  3. Chat in the embedded view. Smart Chat saves the thread URL back into the note so you can resume later.

chat-codeblock-native-selector-core-crop-highlighted-desktop-2026-07-27

Flow

  1. Add a provider codeblock to the note where the thread belongs.
  2. Start or resume the conversation inside the embedded chat UI.
  3. Let Smart Chat save the thread URL directly into the note.
  4. Mark the thread done when the work is complete, or surface it later with Dataview.

chat-codeblock-chatgpt-workflow-chatgpt-active-2026-01-04

Getting started with codeblocks

Minimal example

```smart-chat
```

Example of a saved block

```smart-chat
chat-active:: 1767302492 https://chatgpt.com/c/6956e559-8060-8329-8150-7167e477c05a
chat-done:: 1767132305 https://chatgpt.com/c/69544c91-0c78-832e-8e49-d21049a33e51
```

chat-codeblock-threads-grouped-menu-pro-crop-desktop-2026-07-27

Supported provider codeblocks

CodeblockProvider
smart-chatAll providers and API chat (Pro).
smart-chatgptChatGPT, including recognized Codex and Sora links
smart-claudeClaude
smart-geminiGemini
smart-grokGrok
smart-perplexityPerplexity
smart-deepseekDeepSeek
smart-aistudioGoogle AI Studio
smart-openwebuiOpen WebUI
smart-kimiKimi

Dataview snippets

Because Smart Chat stores thread state directly in your notes, Dataview can turn your vault into an async dashboard.

# In Progress
```dataview
LIST WITHOUT ID file.link
WHERE chat-active
SORT file.mtime DESC
```
# Completed
```dataview
LIST WITHOUT ID file.link
WHERE chat-done
SORT file.mtime DESC
```

FAQ

  • Claude won't sign in: Enable Obsidian's Web viewer core plugin, log in via Web viewer, then refresh the embedded chat.
  • Google sign-in errors: Use Web viewer to complete authentication, then return to the note and refresh.
  • Do I need an API key? No. Use the web UIs you already use.
  • Where does my data live? The codeblock stores thread links in your notes.
  • Does Smart Chat work on mobile? The saved thread links are accessible on mobile, but the full embedded web UI experience depends on Obsidian desktop webview support.
  • Can I use Open WebUI (Ollama) with Smart Chat? Yes. Use the smart-openwebui codeblock and set the base URL in Settings → Smart ChatGPT → Open WebUI base URL.

Developed by Brian | smartconnections.app

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.