Skip to content

Black Friday · Save $100

All Pro plugins for Obsidian.

Find related notes, build richer context, and work with AI.

Normally $299 $199 for 12 months

14 days free for new subscriptions.

On this page

Smart Chat

Smart Chat has three distinct surfaces. Choose the one that matches the result you need.

Surface Purpose Required readiness First-win signal
Core provider codeblock Render one provider web interface in a note. Core Smart Chat enabled. Provider access or sign-in when required. The provider returns a visible response.
Universal Smart Chat codeblock (Pro) Use one smart-chat codeblock to select and track supported provider web threads or Smart Chat API Extension threads. Smart Chat Pro enabled; provider access/sign-in for web threads or one compatible working model for API Extension threads. The selected provider returns a visible response, or the selected API model completes the intended response.
Smart Chat API Extension Ask a configured local or cloud model in the Smart Chat workspace, with notes attached when needed. Smart Chat Pro plus a working model. Environment retrieval readiness only for Lookup context. A completed response appears with the intended model and context.
New to Smart Chat?

Start with Getting Started with Smart Chat for a Core provider response. Use Smart Chat API Extension Getting Started for a model-backed answer inside Obsidian.


Embed and organize AI chat threads in Obsidian

Provider codeblocks render supported provider web interfaces inside an Obsidian note. After a provider creates a recognized durable conversation URL, the block can store that URL and user-owned Active or Done state in readable Markdown.

Response success and durable saving are separate. A provider can answer while the block still represents a new or unsaved chat.


Where Smart Chat works

Provider-specific Core codeblocks and the universal Smart Chat codeblock require Obsidian desktop for the embedded provider surface and automatic URL capture. On mobile, already-saved web URLs can remain useful as external bookmarks.

The interactive codeblock must render in the main Markdown pane. If only the fence is visible, switch to Reading view in the note.


Supported providers

Provider Core fence Command Palette action
ChatGPT smart-chatgpt Insert OpenAI ChatGPT codeblock
Claude smart-claude Insert Anthropic Claude codeblock
Gemini smart-gemini Insert Google Gemini codeblock
DeepSeek smart-deepseek Insert DeepSeek codeblock
Perplexity smart-perplexity Insert Perplexity codeblock
Grok smart-grok Insert Grok codeblock
Google AI Studio smart-aistudio Insert Google AI Studio codeblock
Open WebUI smart-openwebui Insert Open WebUI codeblock
Kimi smart-kimi Insert Kimi codeblock

The ChatGPT family also recognizes supported ChatGPT, custom GPT, Codex task, and Sora routes. Open WebUI appears when its base URL is configured.

Smart Chat Pro adds the universal smart-chat fence. Its New chat menu shows Smart Chat, ChatGPT, Claude, and Gemini directly. The additional-provider branch shows AI Studio, DeepSeek, Perplexity, Grok, Kimi, and configured Open WebUI.


Insert a Smart Chat codeblock

  1. Open the owning note in edit mode.
  2. Run the exact provider action listed above.

For the universal codeblock, run Insert Smart Chat codeblock.

  1. Switch to Reading view.
  2. Enter a prompt in the provider's input.
  3. Use the provider's send control.
  4. Make sure that a visible response appears.

Universal Smart Chat codeblock showing a completed provider response inside an Obsidian note

The completed response shows that the provider can answer inside the note. Saving and reopening the conversation requires a recognized durable thread URL.


Provider-specific and universal codeblocks

A provider-specific fence keeps one web-provider identity in the codeblock language. The universal Smart Chat codeblock can store supported provider web-thread references and native smart-chat: Smart Chat API Extension references.

Use a provider-specific Core codeblock for one web provider. Use the universal codeblock when one note should track several supported web-provider threads, Smart Chat API Extension threads, or both.

Can one note track several providers?

Yes. Use several provider-specific codeblocks or the universal smart-chat codeblock.


Thread storage grammar

Saved state remains readable Markdown:

chat-active:: <unix_seconds> <thread_url>
chat-done:: <unix_seconds> <thread_url>

These fields do not store the provider transcript. They store a bookmark and user-owned review state.


Select a saved thread

When a block contains several saved threads, use the selector to choose the record the block displays. The selector shows provider, recency, and Active or Done state where supported. Selecting a thread does not remove or reorder its Markdown record.

Thread selector with the current thread checked and saved conversations listed.


Start a new provider chat

The Core provider codeblock opens its configured web provider. In the universal Smart Chat codeblock, New chat can start a supported provider web thread or a native Smart Chat API Extension thread.

Universal Smart Chat New chat menu with provider choices

Use New chat to choose a provider.

For a small, useful first request, send:

Create a five-item review checklist for this task: [describe the task in one sentence].
Keep each item specific and testable.

Replace the bracketed text with the task owned by the note.

Smart Chat writes a bookmark only after it recognizes a durable provider conversation URL. Provider home pages, temporary new-chat routes, and unsupported routes cannot be captured automatically.


Mark done and Mark active

Use Mark done when the selected thread no longer needs attention.

Active thread actions menu with Mark done available.

Done thread actions menu with Mark active available.


Build context

Build context opens or reuses thread-specific Smart Context when that integration is available. It prepares a context package. It does not send a prompt.

Review the selected notes, blocks, and size estimate before copying or sending context to the provider.

Reopened context for a newsletter thread includes its launch plan and reader feedback.

Opening Build context again from the newsletter thread brings its launch plan and reader feedback back into view.


Open, copy, and refresh

Smart Chat Pro actions for context, links, browser access, refresh, help, and display size

Build context opens Smart Context for the thread. Copy link, Open in browser, and Refresh operate on the selected provider thread.

These controls do not change Active or Done state. Use Show developer console only when following troubleshooting or support guidance.


Grow and contain

Use Grow / contain to toggle the embedded provider surface between expanded and note-width presentation.


Build a thread dashboard with Dataview

If Dataview is enabled, run Insert Smart Chat thread Dataview blocks. This action inserts the supplied dashboard blocks. Alternatively, use queries such as the following.

Because state is stored as inline fields, Dataview can list Active and Done provider bookmarks.

```dataview
LIST WITHOUT ID file.link
WHERE chat-active
SORT file.mtime DESC
```

```dataview
LIST WITHOUT ID file.link
WHERE chat-done
SORT file.mtime DESC
```

These queries read note-owned provider bookmarks. They do not list Smart Chat API Extension thread records.


Provider sign-in and browser data

When a provider does not share the expected signed-in session with the embed:

  1. Sign in through Web Viewer.
  2. Return to the codeblock.
  3. Select Refresh.

Make sure that you can recreate the sign-in before you clear Web Viewer browser data. If refresh does not restore the session, use the provider's account-recovery guidance. Alternatively, open the saved thread externally.


Desktop and mobile behavior

Desktop provides the full embedded provider surface, automatic URL recognition, and thread controls when the block is rendered in the main Markdown pane.

On mobile or another no-webview surface, saved web thread URLs can open externally. Embedded input, new-chat capture, automatic URL saving, and state actions are unavailable.


Universal Smart Chat codeblock behavior (Pro)

The universal codeblock adds shared provider selection, stable codeblock identity, managed provider surfaces, and cross-provider controls. Insert it with Insert Smart Chat codeblock.

smart-chat codeblock

Smart Chat Pro adds one universal codeblock for supported provider threads and Smart Chat API Extension thread references.

```smart-chat
chat-id:: 002a41caaf2a4be9
chat-active:: 1700000100 https://chatgpt.com/c/example
chat-done:: 1700000200 https://claude.ai/chat/example
```

chat-id::

chat-id:: <id> gives the rendered block a stable identity. Smart Chat adds it during desktop initialization when it is missing. If you copy a block, remove the copied ID from the new block. Smart Chat can then assign a different ID.

chat-active::

chat-active:: <unix_seconds> <thread_reference> tracks a saved thread that still needs attention. Text after the thread reference is preserved as a trailing annotation.

chat-done::

chat-done:: <unix_seconds> <thread_reference> tracks a thread that you reviewed and closed for now. Marking a thread done changes only the note's tracking state. It does not archive or delete the provider conversation.

Supported provider types

The universal codeblock supports ChatGPT, Claude, Gemini, AI Studio, DeepSeek, Perplexity, Grok, Kimi, and configured Open WebUI instances. Saved unknown HTTP links can still be opened as generic links, but Smart Chat cannot automatically recognize their new-thread URLs.

New chat menu

  1. Choose a provider from New chat.
  2. Send a concrete prompt.
  3. Make sure that a visible response appears.

Provider web threads are added to Markdown after Smart Chat recognizes a durable conversation URL.

A thread can remain unsaved when its page cannot be captured.

Saved thread selector

The selector shows saved active and done threads with provider and recency information. When the saved list is large, done threads move into a separate submenu so active work remains easier to reach.

Thread selector with active conversations and a Done threads group.

Thread actions

Visible controls depend on the selected provider and thread state. They can include:

The Insert into chat menu can include:

Selected editor text with Current selection available in Insert into chat

Current selection is available for the selected editor text.

Insert into chat with Current selection unavailable

Current selection is unavailable; the other insertion choices remain available.

The additional-actions menu can include:

Embedded provider surface

A saved provider thread keeps one managed embedded surface per thread and workspace document. When the same thread is already displayed elsewhere, use Show here to move the active surface to the current block.

Web Viewer user-agent

Enable Use Web Viewer user-agent when a provider requires the Obsidian Web Viewer browser identity. This setting can improve sign-in or compatibility.

Configure embedded provider webviews

Open Chat Settings to configure the shared embedded surfaces:

These settings change embedded display or routing.

Obsidian hotkeys inside the provider surface

Supported configured Obsidian modifier hotkeys can pass through the embedded provider page. Provider input and send behavior remain controlled by that provider.

Mobile and no-webview fallback

When embedded webviews are unavailable, the codeblock renders a static bookmark list:


Troubleshooting Smart Chat codeblocks

Problem Recovery
Provider surface is blank or stalled Choose Refresh. If sign-in is required, sign in through Obsidian Web Viewer. Return to the block. Choose Refresh again.
Provider returns an error instead of a response Make sure that account access works. Make sure that the provider is available. Retry the same prompt.
Response succeeds but the block remains new or unsaved The thread is not yet a durable bookmark. Continue until the provider creates a recognized conversation URL.
Saved selector opens the wrong thread Select or save the correct provider URL. Reopen it. Then change its state.
Two copied universal codeblocks share a chat-id:: Back up the note. Remove the ID only from the copied codeblock. Let desktop initialization assign a new ID.
Only static links appear Use the main Markdown pane on desktop for the interactive block. Static links are expected on mobile and no-webview surfaces.

Chat with Obsidian notes using local and API models

Smart Chat API Extension is the Smart Chat Pro workflow for configured local and cloud chat models inside Obsidian. Each completed response can record the model, user message, response, and request-specific Smart Context.

Select a model before continuing

Send and Lookup context require a compatible working model. A model marked Current is selected, but provider credentials or a local server can still prevent it from answering.


Before using local or API models

This workflow requires Smart Chat Pro and at least one compatible chat-completion model configured through Smart Environment. Make sure that its provider credential or local server works. Then run Test when that action is available.

If the test returns an authorization error such as 401, repair the credential before sending note content. Smart Environment retrieval readiness is required for Lookup context, but not for a general response or manually selected known context.


Open Smart Chat

Open Smart Chat with one of these actions:

The view reopens the active saved thread when possible. If that record is unavailable, it opens the newest non-deleted thread or creates a new one. Use New Chat when the reopened thread is not the right place for the next request.


Confirm or change the chat model

The thread status bar shows the default model for new completions. Select it to open the model menu.

To configure and select a working model:

  1. Open Browse Smart Plugins.
  2. Make sure that Chat Pro is enabled.
  3. Select Open settings on the Chat Pro row. Alternatively, open the Chat model controls in Smart Environment settings.
  4. Under Chat models, choose + New.
  5. Select an enabled provider. Examples include PRO: Open Router (cloud), PRO: OpenAI (cloud), and PRO: Ollama (local, requires Ollama app).
  6. Enter the provider fields.
  7. For a cloud provider, enter its API Key.
  8. For Ollama, enter the Ollama host.
  9. If you use Ollama, start the Ollama app.
  10. If the provider must load its model list, choose Refresh Models.
  11. Choose Chat Model.
  12. Save or close the editor.
  13. If several models exist, choose Default chat model.
  14. Make sure that the intended row is Current.
  15. Run Test on the row or Test model in the editor.

Chat model settings for selecting the current model, configuring its provider, and testing the connection.

Visible state Meaning Action
MISSING MODEL No usable chat model is selected. Configure a compatible model. Select it.
MISSING PROVIDER The selected model has no usable provider. Repair provider configuration, credentials, or local server details.
Idle or Ready The composer is available for a request. Check the context. Send a small prompt.
Typing or Generating... A request is in progress. Wait for completion or an error.
Error Generation failed. Read the error. Correct its cause. Retry the same prompt once.

Smart Chat workspace when no usable chat model is selected.


Use the thread toolbar

The toolbar contains:

A changed thread name is saved when the field is committed with Enter or loses focus.


Write and send a message

The composer accepts normal text and large pasted input. Its context hint is Use @ to add context. eg Based on my notes.


Add known notes as context

Add context opens Smart Context for the current response. After context is attached, the control changes to Open context builder.

Two-panel sequence: find Beta Reader Feedback, then review it as the only request source before Send

The selected note appears in the context tree for this request.

Each response keeps its own attached context set. A later request includes prior non-excluded conversation messages, but it does not automatically copy the prior response's attached source context. Reopen the builder or select the required sources again.


Find context with Lookup

Lookup context uses the current question to retrieve likely notes or blocks.

On the first response, enter at least three words or more than ten characters before expecting Lookup context to enable. After a completed response, it can be available for a continuation.

Review the proposed sources. Remove weak, stale, duplicated, or unrelated items before sending.

In Chat Settings, Results limit bounds the number of candidates proposed by Lookup context. Result type selects whole-note Sources or smaller Blocks.


Drag notes, results, and named contexts into a thread

Drop any of these onto the active Smart Chat thread to add them to the current response context:

Notes, blocks, and results are added directly. A named context is added as one reusable selection and expands to its saved sources.

Add a saved named context from the selector

Choose + Named contexts in the context selector. Select the saved bundle, then open Review context to inspect its sources before sending. Each source row shows that it came from the named context.

The four-item PKM Synthesis Bundle is selected once and all four notes appear in the unsent Chat request.

Review the context tree before sending. If nothing is added, the item can be unsupported, unresolved, or unavailable to the current Smart Environment. Use Add context as the fallback.


Send intentionally without context

When no context is attached, Smart Chat can offer:

Select Continue without context when the request needs no attached notes. For a request that needs specific notes, cancel the send. Then attach or retrieve those sources.

The dialog appears only after a send attempt with a usable model and no attached context.


Include or exclude prior messages

Exclude an earlier exchange when you do not want it to influence later responses. The exchange remains visible in the saved thread. Exclusion changes only the prior-message history sent with future requests.

Use Include to restore an excluded exchange to future conversation history. Neither action rewrites the completed response.


Custom instructions

Open Chat Settings. Then choose Custom instructions to manage the default instructions added to new threads. Smart Chat also supports instructions saved for one thread.

Thread instructions take precedence in that thread. Review persistent instructions when an otherwise well-grounded response behaves unexpectedly.


Chat History

Choose Chat History from the thread toolbar when you want to reopen a recent saved thread. Suggestions can show the thread name and a recent user-prompt preview.

Smart Chat History Launch picker with one saved thread selected

Type to filter the displayed suggestions. Press Enter to open the selected thread. History does not search every word in every message. See Use Chat History for deletion shortcuts and search limits.


Chat Manager

Run Open: Chat Manager view from the Command Palette under Smart Chat Pro when you need deliberate thread maintenance.

Annotated Chat Manager search, counts, and row actions

Search by thread name or key. Open uncertain records. Use the row-specific Rename or Delete action only after the intended thread is visible. See Manage Smart Chat threads for bulk selection, counts, confirmation behavior, and recovery.


Thread data, persistence, and sync

Provider codeblocks store thread URLs in Markdown. Smart Chat API Extension stores its threads, responses, and attached context as Smart Plugin application data rather than ordinary Markdown notes.

That application data can remain device-local unless your sync setup explicitly includes it. During synchronization, do not change the data on several devices at the same time. Reopen one thread. Make sure that it still contains its messages and context. Provider bookmarks stored in Markdown continue to sync with their notes.


What Smart Chat sends

The data sent depends on the Chat workflow:

Before you send sensitive material:

  1. Open the context tree.
  2. Remove unrelated sources.
  3. Make sure that the correct model or provider is selected.
  4. Review the destination's retention settings.

Are Smart Chat API Extension threads the same as provider codeblock bookmarks?

No. Provider codeblocks store URLs and active/done fields in Markdown. Smart Chat API Extension threads use Smart Environment records.


Review context before sending

Review source names, blocks, origin badges, and size estimates in the current Smart Context tree.

Prior non-excluded user and assistant messages can influence a later response. Attached source context is request-specific and does not automatically copy to the next response. Select or reuse the intended source set again. Remove stale items before sending.


Review completed responses

A completed response can show recorded model information, included context, the user message, and the assistant response. Include or Exclude affects future conversation history. It does not rewrite completed output.

To use an answer in your note:

  1. Make sure that the intended model handled the request.
  2. Open the attached context.
  3. Examine the source set.
  4. Compare factual claims with the cited or attached passages.
  5. Separate source-backed statements from suggestions.

Recover from model and completion errors

Failure Recovery
MISSING MODEL Under Chat models, choose + New.
Complete its provider and Chat Model fields.
Select it under Default chat model.
Make sure that the row is Current.
Run Test or Test model.
MISSING PROVIDER Repair the provider, credential, or local server configuration.
Model test returns 401 Replace or repair the provider credential before sending note content.
Request ends in Error Read the error.
Correct its cause.
Retry the same prompt once.
Provider rate limit, exhausted quota, or temporary unavailability Wait until the provider permits another request, repair billing or quota when applicable, or select another working provider.
Retry one request.
Unsupported attached source type or oversized request Remove the unsupported source, convert it to a supported format, or reduce the request.
Retry the request.
Response is generic or contradicts sources Keep the completed response for comparison.
Reattach the intended context.
Tighten the evidence requirement.
Send a new request.
Expected sources are missing on the next response Open Add context or Open context builder.
Select the sources again.
Attached context does not automatically carry forward.

A local model reports that it cannot accept the image request; use text only or choose an image-capable model.

This local model received the image request and reported that it could not accept multimodal input. Remove the image and ask a text-only question, or choose a model that accepts images.


Manage Smart Chat threads in Obsidian

Smart Chat API Extension stores conversations as thread records. Use Chat History to reopen a recent thread quickly and Chat Manager for deliberate maintenance.


Open Chat Manager

Run Open: Chat Manager view from the Command Palette under Smart Chat Pro.

Chat Manager lists Smart Chat API Extension thread records. It does not list provider URLs stored only in Markdown codeblocks.

Is Chat Manager the same as a Dataview Chat Inbox?

No. Chat Manager manages Smart Chat API Extension thread records. A Chat Inbox lists chat-active and chat-done fields stored in notes.


Search and filter

Use Search chats by name or key to filter visible rows.


Open a thread

Use Open to load the selected thread in Smart Chat. Open uncertain threads before renaming or deleting them.


Rename a thread inline

Rename happens inline in the row with Rename, Save, and Cancel.

  1. Enter rename mode.
  2. Change the name.
  3. Save or cancel.

After choosing Save, make sure that the changed name remains on the intended row. Then use it as a cleanup cue.


Delete one thread

Single-thread deletion requires confirmation beside the target row. Verify the thread name before confirming.

This removes the Smart Chat API Extension thread record. It does not remove provider-thread URLs stored in Markdown codeblocks.


Select and delete visible threads

Use Select all visible or select individual visible rows. Then choose Delete selected.

  1. Filter to a narrow working set.
  2. Select only the intended visible rows.
  3. Choose Delete selected.
  4. Confirm the bulk action.
  5. Review the remaining list.

No. It removes only selected visible rows after confirmation.


Review thread and message counts

The manager shows thread and completion totals for the current list.


Confirmation and refresh states

Delete confirmation stays inside the manager and beside the affected row or selection. Use Refresh after an external change or when the visible list appears stale.


Use Chat History

Chat History is optimized for opening a saved thread from the active Smart Chat workspace. Chat Manager owns deliberate filtering, row controls, and count review.

Open History

Choose Chat History from the active thread toolbar.

History lists saved, non-deleted threads.

Thread suggestions

Each suggestion identifies a saved thread and can include its name plus a recent user-message preview.

History filters saved thread names and displayed recent user-prompt previews. It does not provide exhaustive search across every word in saved messages.

Open the selected thread

Press Enter on a suggestion to open that thread in Smart Chat.

Delete from History

On macOS, press Cmd + Enter on a History suggestion to request deletion. On other platforms, press Ctrl + Enter. Confirm the named thread before deleting it.


The confirmation names the thread and states that deletion cannot be undone.

Search limitations

Search is designed for fast thread retrieval by the information shown in suggestions. Use Chat Manager for deliberate record maintenance.


Chat History vs Chat Manager

Use Chat History to reopen or delete a known recent thread quickly. Use Chat Manager to:

Neither tool searches every word in every message.


Troubleshooting thread management

When to use Connect Pro

Smart Chat does not apply arbitrary AI-generated edits to your notes. It does write its own thread/bookmark state into Markdown and Smart Plugin application data. Use Connect Pro when you want an explicit general-purpose vault change.