logancyang_obsidian-copilot/README.md
Yizong ZHOU 3ccbcda9ec
readme revamp: 1. added table of content 2. replace youtube videos wi… (#1915)
* readme revamp: 1. added table of content 2. replace youtube videos with updated screenshots.

* added create command, quick command and add selection to context section

* replace screenshots with bigger texts; add table of contents for usage section

* change screenshot resolution to correct distortion; modify a prompt to match the prompt in screenshot
2025-10-16 17:59:48 -07:00

334 lines
16 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1 align="center">Copilot for Obsidian</h1>
<h2 align="center">
The Ultimate AI Assistant for Your Second Brain
</h2>
<p align="center">
<img src="https://img.shields.io/github/v/release/logancyang/obsidian-copilot?style=for-the-badge&sort=semver" alt="GitHub release (latest SemVer)">
<img src="https://img.shields.io/badge/dynamic/json?logo=obsidian&color=%23483699&label=downloads&query=%24%5B%22copilot%22%5D.downloads&url=https%3A%2F%2Fraw.githubusercontent.com%2Fobsidianmd%2Fobsidian-releases%2Fmaster%2Fcommunity-plugin-stats.json&style=for-the-badge" alt="Obsidian Downloads">
</p>
<p align="center">
<a href="https://www.obsidiancopilot.com/en/docs">Documentation</a> |
<a href="https://www.youtube.com/@loganhallucinates">Youtube</a> |
<a href="https://github.com/logancyang/obsidian-copilot/issues/new?template=bug_report.md">Report Bug</a> |
<a href="https://github.com/logancyang/obsidian-copilot/issues/new?template=feature_request.md">Request Feature</a>
</p>
<p align="center">
<a href="https://example.com](https://obsidian.md/blog/2024-goty-winners/">
<img src="./images/reward-banner.svg" alt="Reward Banner" width="400"/>
</a>
</p>
## Overview
Copilot for Obsidian is your ultimate invault AI assistant with chat-based vault search, web and youtube support, powerful context processing and ever-expanding agentic capabilities—all within Obsidian's highly customizable workspace.
## Key Features
- **🔒 Your data is 100% yours**: Local search and storage, and full control of your data if you use self-hosted models.
- **🧠 Bring Your Own Model**: Tap any OpenAI-compatible or local model to uncover insights, spark connections, and create content.
- **🖼️ Multimedia understanding**: Drop in webpages, YouTube videos, images, PDFs, EPUBS, or real-time web search for quick insights.
- **🔍 Smart Vault Search**: Search your vault with chat, no setup required. Embeddings are optional. Copilot delivers results right away.
- **✍️ Composer and Quick Commands**: Interact with your writing with chat, apply changes with 1 click.
- **🗂️ Project Mode**: Create AI-ready context based on folders and tags. Think NotebookLM but inside your vault!
- **🤖 Agent Mode (Plus)**: Unlock an autonomous agent with built-in tool calling. No commands needed. Copilot automatically triggers vault, web searches or any other relevant tool when relevant.
<p align="center">
<em>Copilot's Agent can call the proper tools on its own upon your request.</em>
</p>
<p align="center">
<img src="./images/product-ui-screenshot.png" alt="Product UI screenshot" width="800"/>
</p>
## Table of Contents
- [Get Started](#get-started)
- [Install Obsidian Copilot](#install-obsidian-copilot)
- [Set API Keys](#set-api-keys)
- [Usage](#usage)
- [Free User](#free-user)
- [Copilot Plus/Believer](#copilot-plusbeliever)
- [Need Help?](#need-help)
- [FAQ](#faq)
## Copilot V3 is a New Era 🔥
After months of hard work, we have revamped the codebase and adopted a new paradigm for our agentic infrastructure. It opens the door for easier addition of agentic tools (MCP support coming). We will provide a new version of the documentation soon. Here is a couple of new things that you cannot miss!
- FOR ALL USERS: You can do vault search out-of-the-box **without building an index first** (Indexing is still available but optional behind the "Semantic Search" toggle in QA settings).
- FOR FREE USERS: Image support and chat context menu are available to all users starting from v3.0.0!
- FOR PLUS USERS: **Autonomous agent** is available with vault search, web search, youtube, composer and soon a lot other tools! **Long-term memory** is also a tool the agent can use by itself starting from 3.1.0!
Read the [Changelog](https://github.com/logancyang/obsidian-copilot/releases/tag/3.0.0).
## Why People Love It ❤️
- *"Copilot is the missing link that turns Obsidian into a true second brain. I use it to draft investment memos with text, code, and visuals—all in one place. Its the first tool that truly unifies how I search, process, organize, and retrieve knowledge without ever leaving Obsidian. With AI-powered search, organization, and reasoning built into my notes, it unlocks insights Id otherwise miss. My workflow is faster, deeper, and more connected than ever—I cant imagine working without it."* - @jasonzhangb, Investor & Research Analyst
- *"Since discovering Copilot, my writing process has been completely transformed. Conversing with my own articles and thoughts is the most refreshing experience Ive had in decades.”* - Mat QV, Writer
- *"Copilot has transformed our family—not just as a productivity assistant, but as a therapist. I introduced it to my nontechnical wife, Mania, who was stressed about our daughters upcoming exam; within an hour, she gained clarity on her mindset and next steps, finding calm and confidence."* - @screenfluent, A Loving Husband
## Get Started
### Install Obsidian Copilot
1. Open **Obsidian → Settings → Community plugins**.
2. Turn off **Safe mode** (if enabled).
3. Click **Browse**, search for **“Copilot for Obsidian”**.
4. Click **Install**, then **Enable**.
### Set API Keys
**Free User**
1. Go to **Obsidian → Settings → Copilot → Basic** and click **Set Keys**.
2. Choose your AI provider(s) (e.g., **OpenRouter, Gemini, OpenAI, Anthropic, Cohere**) and paste your API key(s). **OpenRouter is recommended.**
**Copilot Plus/Believer**
1. Copy your license key at your [dashboard](https://www.obsidiancopilot.com/en/dashboard). *Dont forget to join our wonderful Discord community!*
2. Go to **Obsidian → Settings → Copilot → Basic** and paste the key into in the **Copilot Plus** card.
## Usage
### Table of Contents
- [Free User](#free-user)
- [Chat Mode](#chat-mode-reference-notes-and-discuss-ideas-with-copilot)
- [Vault QA Mode](#vault-qa-mode-chat-with-your-entire-vault)
- [Command Palette](#copilots-command-palette)
- [Relevant Notes](#relevant-notes-notes-suggestions-based-on-semantic-similarity-and-links)
- [Copilot Plus/Believer](#copilot-plusbeliever)
- [Time-Based Queries](#get-precision-insights-from-a-specific-time-window)
- [Agent Mode](#agent-mode-autonomous-tool-calling)
- [Image Understanding](#understand-images-in-your-notes)
- [Multi-Source Analysis](#one-prompt-every-sourceinstant-summaries-from-pdfs-videos-and-web)
### Free User
#### **Chat Mode: reference notes and discuss ideas with Copilot**
Use `@` to add context and chat with your note.
<p align="center">
<img src="./images/Add-Context.png" alt="Chat Mode" width="700">
</p>
Ask Copilot:
> *Summarize [[Q3 Retrospective]] and identify the top 3 action items for Q4 based on the notes in {01-Projects}.*
<p align="center">
<img src="./images/Chat-Mode.png" alt="Chat Mode" width="700">
</p>
#### **Vault QA Mode: chat with your entire vault**
Ask Copilot:
> *What are the recurring themes in my research regarding the intersection of AI and SaaS?*
<p align="center">
<img src="./images/Vault-Mode.png" alt="Vault Mode" width="700">
</p>
#### Copilot's Command Palette
Copilot's Command Palette puts powerful AI capabilities at your fingertips. Access all commands in chat window via `/` or via
right-click menu on selected text.
**Add selection to chat context**
Select text and add it to context. Recommend shortcut: `ctrl/cmd + L`
<p align="center">
<img src="./images/Add-Selection-to-Context.png" alt="Add Selection to Context" width="700">
</p>
**Quick Command**
Select text and apply action without opening chat. Recommend shortcut: `ctrl/cmd + K`
<p align="center">
<img src="./images/Quick-Command.png" alt="Quick Command" width="700">
</p>
**Edit and Apply with One Click**
Select text and edit with one RIGHT click.
<p align="center">
<img src="./images/One-Click-Commands.png" alt="One-Click Commands" width="700">
</p>
**Create your Command**
Create commands and workflows in `Settings → Copilot → Command → Add Cmd`.
<p align="center">
<img src="./images/Create-Command.png" alt="Create Command" width="700">
</p>
**Command Palette in Chat**
Type `/` to use Command Palette in chat window.
<p align="center">
<img src="./images/Prompt-Palette.png" alt="Prompt Palette" width="700">
</p>
#### **Relevant Notes: notes suggestions based on semantic similarity and links**
Appears automatically when there's useful related content and links.
Use it to quickly reference past research, ideas, or decisions—no need to search or switch tabs.
<p align="center">
<img src="./images/Relevant-Notes.png" alt="Relevant Notes" width="700">
</p>
### Copilot Plus/Believer
Copilot Plus brings powerful AI agentic capabilities, context-aware actions and seamless tool integration—built to elevate your knowledge work in Obsidian.
#### **Get Precision Insights From a Specific Time Window**
In agent mode, ask copilot:
> *What did I do last week?*
<p align="center">
<img src="./images/Time-Based-Queries.png" alt="Time-Based Queries" width="700">
</p>
#### **Agent Mode: Autonomous Tool Calling**
Copilot's agent automatically calls the right tools—no manual commands needed. Just ask, and it searches the web, queries your vault, and combines insights seamlessly.
Ask Copilot in agent mode:
> *Research web and my vault and draft a note on AI SaaS onboarding best practices.*
<p align="center">
<img src="./images/Agent-Mode.png" alt="Agent Mode" width="700">
</p>
#### **Understand Images in Your Notes**
Copilot can analyze images embedded in your notes—from wireframes and diagrams to screenshots and photos. Get detailed feedback, suggestions, and insights based on visual content.
Ask Copilot to analyze your wireframes:
> *Analyze the wireframe in [[UX Design - Mobile App Wireframes]] and suggest improvements for the navigation flow.*
<p align="center">
<img src="./images/Note-Image.png" alt="Image Understanding" width="700">
</p>
#### **One Prompt, Every Source—Instant Summaries from PDFs, Videos, and Web**
In agent mode, ask Copilot
> *Compare the information about [Agent Memory] from this youtube video: [URL], this PDF [file], and @web[search results]. Start with your
conclusion in bullet points in your response*
<p align="center">
<img src="./images/One-Prompt-Every-Source.png" alt="One Prompt, Every Source" width="700">
</p>
## **Need Help?**
- Check the [documentation](https://www.obsidiancopilot.com/en/docs) for setup guides, how-tos, and advanced features.
- Watch [Youtube](https://www.youtube.com/@loganhallucinates) for walkthroughs.
- If you're experiencing a bug or have a feature idea, please follow the steps below to help us help you faster:
- 🐛 Bug Report Checklist
-Use the [bug report template](https://github.com/logancyang/obsidian-copilot/issues/new?template=bug_report.md) when reporting an issue
-Enable Debug Mode in Copilot Settings → Advanced for more detailed logs
-Open the dev console to collect error messages:
- Mac: Cmd + Option + I
- Windows: Ctrl + Shift + I
-Turn off all other plugins, keeping only Copilot enabled
-Attach relevant console logs to your report
-Submit your bug report [here](https://github.com/logancyang/obsidian-copilot/issues/new?template=bug_report.md)
- 💡 Feature Request Checklist
-Use the [feature request template](https://github.com/logancyang/obsidian-copilot/issues/new?template=feature_request.md) for requesting a new feature
-Clearly describe the feature, why it matters, and how it would help
-Submit your feature request [here](https://github.com/logancyang/obsidian-copilot/issues/new?template=feature_request.md)
## **FAQ**
<details>
<summary><strong>Why isnt Vault search finding my notes?</strong></summary>
If you're using the Vault QA mode (or the tool <code>@vault</code> in Plus), try the following:
- Ensure you have a working embedding model from your AI model's provider (e.g. OpenAI). Watch this video: [AI Model Setup (API Key)](https://www.youtube.com/watch?v=mzMbiamzOqM)
- Ensure your Copilot indexing is up-to-date. Watch this video: [Vault Mode](https://www.youtube.com/watch?v=hBLMWE8WRFU)
- If issues persist, run <strong>Force Re-Index</strong> or use <strong>List Indexed Files</strong> from the Command Palette to inspect what's included in the index.
- ⚠️ <strong>Dont switch embedding models after indexing</strong>—it can break the results.
</details>
<details>
<summary><strong>Why is my AI model returning error code429: Insufficient Quota?</strong></summary>
Most likely this is happening because you havent configured billing with your chosen model provider—or youve hit your monthly quota. For example, OpenAI typically caps individual accounts at $120/month. To resolve:
- ▶️ Watch the “AI Model Setup” video: [AI Model Setup (API Key)](https://www.youtube.com/watch?v=mzMbiamzOqM)
- 🔍 Verify your billing settings in your OpenAI dashboard
- 💳 Add a payment method if one isnt already on file
- 📊 Check your usage dashboard for any quota or limit warnings
If youre using a different provider, please refer to their documentation and billing policies for the equivalent steps.
</details>
<details>
<summary><strong>Why am I getting a token limit error?</strong></summary>
Please refer to your model providers documentation for the context window size.
⚠️ If you set a large <strong>max token limit</strong> in your Copilot settings, you may encounter this error.
- <strong>Max tokens</strong> refers to <em>completion tokens</em>, not input tokens.
- A higher output token limit means less room for input!
🧠 Behind-the-scenes prompts for Copilot commands also consume tokens, so:
- Keep your message length short
- Set a reasonable max token value to avoid hitting the cap
💡 For QA with unlimited context, switch to the <strong>Vault QA</strong> mode in the dropdown (Copilot v2.1.0+ required).
</details>
## **🙏 Thank You**
If you share the vision of building the most powerful AI agent for our second brain, consider [sponsoring this project](https://github.com/sponsors/logancyang) or buying me a coffee. Help spread the word by sharing Copilot for Obsidian on Twitter/X, Reddit, or your favorite platform!
<p align="center">
<img src="https://camo.githubusercontent.com/7b8f7343bfc6e3c65c7901846637b603fd812f1a5f768d8b0572558bde859eb9/68747470733a2f2f63646e2e6275796d6561636f666665652e636f6d2f627574746f6e732f76322f64656661756c742d79656c6c6f772e706e67" alt="BuyMeACoffee" width="200">
</p>
**Acknowledgments**
Special thanks to our top sponsors: @mikelaaron, @pedramamini, @Arlorean, @dashinja, @azagore, @MTGMAD, @gpythomas, @emaynard, @scmarinelli, @borthwick, @adamhill, @gluecode, @rusi, @timgrote, @JiaruiYu-Consilium, @ddocta, @AMOz1, @chchwy, @pborenstein, @GitTom, @kazukgw, @mjluser1, @joesfer, @rwaal, @turnoutnow-harpreet, @dreznicek, @xrise-informatik, @jeremygentles, @ZhengRui, @bfoujols, @jsmith0475, @pagiaddlemon, @sebbyyyywebbyyy, @royschwartz2, @vikram11, @amiable-dev, @khalidhalim, @DrJsPBs, @chishaku, @Andrea18500, @shayonpal, @rhm2k, @snorcup, @JohnBub, @obstinatelark, @jonashaefele, @vishnu2kmohan
## **Copilot Plus Disclosure**
Copilot Plus is a premium product of Brevilabs LLC and it is not affiliated with Obsidian. It offers a powerful agentic AI integration into Obsidian. Please check out our website [obsidiancopilot.com](https://obsidiancopilot.com/) for more details!
- An account and payment are required for full access.
- Copilot Plus requires network use to faciliate the AI agent.
- Copilot Plus does not access your files without your consent.
- Copilot Plus collect server-side telemetry to improve the product. Please see the privacy policy on the website for more details.
- The frontend code of Copilot plugin is fully open-source. However, the backend code facilitating the AI agents is close-sourced and proprietary.
- We offer a full refund if you are not satisfied with the product within 14 days of your purchase, no questions asked.
## **Authors**
Brevilabs Team | Email: logan@brevilabs.com | X/Twitter: [@logancyang](https://twitter.com/logancyang)