Ivan Semernyakov212 downloadsBring Groq and OpenRouter AI chat to Obsidian. Use vault notes as context, expand wikilinks, switch models with one click, and keep chat history in your vault.
PolyMind is an AI chat plugin for Obsidian that brings your notes directly into AI conversations as context. Use Groq and OpenRouter models, switch between models with one click, work with [[wikilinks]], and keep your conversations alongside your vault.
PolyMind is designed for context-aware AI workflows without leaving Obsidian.
Main Interface

Settings Interface

| Category | Features |
|---|---|
| 🤖 AI Integration | Groq and OpenRouter support Dynamic model discovery and refresh One-click model switching Model information dialog |
| 🧠 Note Context | Add notes from your vault as AI context Expand [[wikilinks]] into note contentInclude all open notes as context Configurable per-note character limits |
| 💬 Chat | Persistent conversation history Markdown rendering Code syntax highlighting Raw/Markdown source view |
| 📝 Obsidian Integration | Work directly inside your vault Create new notes from AI messages Use active and open notes as conversation context |
| ⚙️ Model Management | Model selection and grouping by provider/owner Dynamic model catalog Batch model activation/deactivation Temperature and maximum token configuration |
| 💾 Storage | Multiple history storage options: • In-memory storage • localStorage• IndexedDB • File-based storage Configurable history length and loading behavior |
| 📱 Platform | Desktop and mobile support Configurable display mode: tab or side panel |
| 🌐 Localization | English and Russian interface Automatic language detection based on Obsidian language |
| 🔐 Privacy | API keys and chat data remain on the local device No telemetry or external analytics |
| 💝 Community | Open source and community-driven Support dialog with donation links |
The main feature of PolyMind is the ability to use your Obsidian vault as context for AI conversations.
Instead of copying information from your notes into a chat manually, PolyMind can add note content directly to the conversation context.
When enabled, [[wikilinks]] in your message can be resolved to the corresponding notes and their content can be included in the AI context.
For example:
Explain the relationship between [[Project Alpha]] and [[Research Notes]].
PolyMind can expand the linked notes and provide their content to the selected AI model.
You can also configure PolyMind to automatically include all currently open notes as context for each message.
This is useful when working with several related notes, research materials, projects, or documentation.
To control the amount of information sent to the AI provider, PolyMind provides a configurable maximum character limit per note.
Set the limit to:
0 to include the entire notePolyMind supports AI models through multiple providers.
Groq provides access to fast AI inference and a dynamically updated model catalog.
OpenRouter provides access to models from multiple AI providers through a unified API.
The available models depend on the provider's current catalog and your provider configuration.
Model availability is provider-dependent and can change over time. PolyMind does not maintain a static list of available models.
PolyMind does not ship with a fixed, hand-maintained model list.
Instead, the plugin requests the current model catalog from the configured provider and refreshes the available models when needed.
This means:
To refresh the model list:
Models can be grouped by provider or owner to make large model catalogs easier to navigate.
PolyMind is actively developed and focuses on context-aware AI conversations inside Obsidian.
The current implementation supports:
[[wikilink]] expansionPolyMind's current workflows are primarily focused on text and code.
Although some providers may expose models with image, audio, or other multimodal capabilities, PolyMind does not currently guarantee support for all such model capabilities.
Provider model catalogs are therefore filtered according to the capabilities currently supported by the plugin.
Additional multimodal functionality may be introduced in future releases.
After installing PolyMind:
For Groq, obtain an API key from the Groq Console.
For OpenRouter, obtain an API key from OpenRouter.
API keys are stored locally in your Obsidian environment and are used to communicate directly with the configured provider.
The Note context settings control how Obsidian notes are included in AI conversations.
Available options include:
[[links]] in your message — resolve wikilinks in your message and include the referenced note content as context.0 to include the whole note.Suppose your vault contains:
Projects/
├── Project Alpha.md
├── Project Beta.md
└── Meeting Notes.md
You can ask:
Compare [[Project Alpha]] and [[Project Beta]]
based on the latest [[Meeting Notes]].
With note context enabled, PolyMind can use the contents of these notes when generating the response.
PolyMind supports persistent chat history with multiple storage backends.
Available storage options include:
localStorageYou can configure:
The appropriate storage option depends on your workflow and the amount of conversation history you want to retain.
PolyMind can be displayed using different Obsidian layouts.
Depending on your configuration, the chat can open as:
You can also configure whether the chat should open automatically when Obsidian starts.
PolyMind supports Obsidian on mobile devices.
The interface is designed to work with the same vault and provider configuration across supported Obsidian platforms.
You can install and test the latest development version of PolyMind using BRAT, the Beta Reviewers Auto-update Tool for Obsidian.
https://github.com/semernyakov/polymind
BRAT will install the development version of PolyMind and can automatically update it when new versions are available.
Clone the repository:
git clone https://github.com/semernyakov/polymind.git
cd polymind
Install dependencies:
npm install
Run the development build:
npm run dev
Build the plugin:
npm run build
Format the code:
npm run format
Run linting:
npm run lint
Contributions are welcome!
Please read the Contributing Guide for information about the development workflow, code of conduct, and contribution process.
For security issues, please read the Security Policy and report vulnerabilities responsibly.
🔐 Security Note: Your API keys are stored locally in your Obsidian environment and are used to communicate with the configured AI provider.
🛡️ Data Privacy: PolyMind does not collect or transmit your API keys or chat data to a PolyMind server. Conversations and plugin data are stored locally according to your configured storage options. API requests are sent directly to the AI provider you configure.
This project is licensed under the MIT License. See the LICENSE file for details.
If you find PolyMind useful, you can support development via:
💰 YooMoney: Support via YooMoney
⭐ Star the repository: Add a star on GitHub
🐛 Report issues: Create an issue
See CHANGELOG.md for the complete change history.
PolyMind — bring your Obsidian notes into the AI conversation.