
Perplexed: AI Content Generation for Obsidian
Perplexed is an Obsidian plugin that enables AI-powered content generation with source citations using Perplexity, Anthropic Claude, Google Gemini (with Google Search grounding), and Perplexica / Vane (self-hosted). It also integrates Exa as a retrieval layer — Exa finds and verifies the source material, and the writing model writes from it. This plugin brings research-grade AI capabilities directly into your Obsidian workspace, allowing you to generate well-cited content for your notes.
New in 0.4.0: every one of Perplexed's settings now shows up in Obsidian's settings search, the preamble and frontmatter lists are real editable lists, and number fields tell you when a value won't work. Requires Obsidian 1.13 or later. Release notes →
💼 For Venture Capital, Private Equity, and Equities-Trading Workflows
Perplexed ships a set of analyst-grade directory templates aimed at the research deliverables a VC analyst, PE associate, equity-research analyst, or trading-desk strategist produces daily. Drop an empty file into the matching folder, run Apply directory template to current file, and Perplexity Deep Research returns a 6-9K-word cited analyst draft you can curate into a memo for a partner, an IC, or a portfolio review.
| Workflow | Template | What it produces |
|---|---|---|
| Naming the players in a category (incumbents vs challengers vs innovators by financial stage) | market-category-profile.md → concepts/Market-Categories/ |
Three-tier company landscape with explicit definitions: Incumbents (public / late-stage private / PE-owned), Challengers (Series C+ scale-ups, recently public), Innovators (Pre-Seed through Series B). Plus Why Now / What's Happening sections covering CAGR + category-creation momentum, and an Industry Coverage section sub-grouped into Market Reports (Gartner, IDC, Forrester, ABI) / Industry Articles / Financial News (Bloomberg, FT, Pitchbook). |
| Authoring a market map (Known Category or Thesis-Driven) | market-map-profile.md → lost-in-public/market-maps/ |
Analyst-grade memo with 4-8 sub-segments, 20-40 named innovator cards (Offering / Funding / Why-they-matter / Coverage), Market Dynamics (Sizing / Adoption / Capital Flow), Frontier and Open Questions. Anti-incumbent editorial stance prevents big-tech over-representation. |
| Profiling an open spec or standard an investment thesis depends on | standards-and-specs-profile.md → Sources/Standards-and-Specs/ |
Five-way authority typing (de-jure / consortium / vendor-led-open / community / de-facto), three-tier adoption framing with notable holdouts, named editors, stewardship-transition stories, named public critics with their arguments. |
| Catalogue an authoritative source (book, person, channel, report, conference) | source-profile.md → Sources/ |
Type-aware emphasis (author / publisher / cadence / methodology), Google Books URL harvesting for books, signature-work catalog. |
| Encyclopedia entry on a concept, pattern, or mental model the desk repeatedly invokes | concept-profile.md → concepts/ |
Definition, usage, history, examples, case studies. Mermaid + LaTeX rendering discipline baked in for diagrams and formulas. |
Every analyst-grade template runs on sonar-deep-research, ships with idle-only timeout safety (request-timeout-ms: 0, per-chunk idle timer at 270s) and a 24,000-token output budget (max-tokens: 24000) — enough for the longest analyst drafts to land without silent mid-document truncation. See Directory Templates below for the full set and the cft-block grammar for tuning your own.
🎯 Key Features

- Source-Cited AI Responses: Get AI-generated content with proper citations and references
- Default format:
Citations
[1]: https://github.com/lossless-group/perplexed-plugin/blob/HEAD/2024, Dec 13. What is GRC (Governance, Risk and Compliance) - Metricstream. Published: 2024-05-01 | Updated: 2024-12-13
[2]: https://github.com/lossless-group/perplexed-plugin/blob/HEAD/2025, Jun 16. Governance, risk and compliance (GRC): Definitions and resources. Published: 2025-05-27 | Updated: 2025-06-16
- Multiple AI Providers: Support for Perplexity, Anthropic Claude, Google Gemini (with Google Search grounding), Perplexica / Vane (self-hosted), and LM Studio (local)
- Retrieval Before Generation: Exa finds the right company and returns structured facts — founding year, funding with round detail, headcount, named customers — which get spliced into the prompt as separately-numbered
[^E1]sources before the writing model starts - Streaming Responses: Real-time streaming of AI responses for better UX
- Flexible Configuration: Customizable endpoints, models, and parameters
- Deep Research Mode: Comprehensive research across hundreds of sources
- Local LLM Support: Integration with LM Studio for local AI processing
Network use and accounts
Perplexed contacts these remote services on your behalf when you invoke their respective commands. Nothing is sent automatically — only the prompts you submit through a command modal, and any text you have explicitly selected when invoking selection-based commands.
| Provider | Endpoint | Account | API key |
|---|---|---|---|
| Perplexity | https://api.perplexity.ai/chat/completions |
Required | Required (paid) |
| Exa (retrieval only) | https://api.exa.ai/search |
Required (dashboard) | Required (free tier: $20 signup credit + $10/month, no credit card) |
| Anthropic Claude | https://api.anthropic.com/v1/messages |
Required | Required (paid) |
| Google Gemini | https://generativelanguage.googleapis.com/v1beta/models/{model}:streamGenerateContent |
Required (AI Studio) | Required (free tier available, no credit card) |
| Perplexica / Vane (install required) | http://localhost:3030/api/search (default; user-configurable) |
Not required | Not required (self-hosted, runs locally) |
| LM Studio | http://localhost:1234/v1/chat/completions (default; user-configurable) |
Not required | Not required (runs locally) |
When Gemini's google_search grounding is enabled, the plugin also issues
follow-up GET requests to vertexaisearch.cloud.google.com/grounding-api-redirect/…
URLs to resolve them to the real source page (so your ### Citations footer
contains durable source URLs rather than short-lived Google redirects). The
follow-up requests go through Obsidian's requestUrl (Node-side), not the
browser fetch — no cross-origin permissions involved, and the request is
strictly URL-resolution, no auth header.
The plugin does not collect telemetry, ship vault content anywhere else, or update itself — Obsidian handles plugin updates through the community plugin directory.
📋 Table of Contents
- For Venture Capital, Private Equity, and Equities-Trading Workflows
- User Onboarding
- Releases
- Developer Onboarding
User Onboarding
Installation
Requires Obsidian 1.13 or later (desktop only). Perplexed 0.3.1 remains available for older Obsidian versions on the releases page.
-
Download the plugin:
- From the latest release, download
main.js,manifest.json, andstyles.css - Put the three files in a folder named
perplexedinside your vault's plugins folder:<your vault>/.obsidian/plugins/perplexed/
- From the latest release, download
-
Enable in Obsidian:
- Open Obsidian Settings → Community plugins
- Turn on community plugins if they are off, then reload the list
- Enable "Perplexed"
Every setting below is also reachable from Obsidian's settings search: type "Exa", "system prompt", or "LM Studio endpoint" and jump straight to the row.
Initial Setup
1. Configure Perplexity (Recommended for most users)
Perplexity is a commercial AI service that provides high-quality, source-cited responses.
-
Get API Key:
- Visit Perplexity AI
- Sign up for an account
- Navigate to API settings to get your API key
-
Configure in Plugin:
- Open Obsidian Settings → Community Plugins → Perplexed
- Enter your Perplexity API key
- The default endpoint should work:
https://api.perplexity.ai/chat/completions
2. Configure Google Gemini (Free tier available)
Google Gemini is Google's commercial AI service. The google_search grounding tool returns per-segment citation attribution — meaning each cited sentence is mapped back to the specific URL it came from, which becomes the verbatim quote in your ### Citations footer. AI Studio's free tier requires no credit card to get started.
-
Get API key:
- Visit Google AI Studio
- Sign in with a Google account
- Click "Create API key" → copy the
AIza…string
-
Configure in plugin:
- Open Obsidian Settings → Community Plugins → Perplexed
- Scroll to Gemini (Google)
- Paste your API key into "Gemini API key"
- Default model:
gemini-flash-latest(always-current Flash, free-tier friendly) —gemini-pro-latestand pinnedgemini-2.5-pro/gemini-2.5-flashalso available - Leave Enable Google search grounding by default on for source-cited research
- Leave Resolve citation URLs on — this is what turns the grounding-redirect URLs into the real source URLs in your citations footer
3. Configure Perplexica / Vane (self-hosted — requires local install)
Perplexica / Vane is a free, open-source AI search engine that you run locally on your own machine. This plugin does not bundle the server or proxy to a hosted instance — you must install and run it yourself before the "Ask Perplexica / Vane" command will work.
Note on naming: The maintainer (
ItzCrazyKns) renamed the open-source self-hosted repo from Perplexica to Vane on 2026-03-09 (commitfeat(app): rename to 'vane'). The old GitHub URLItzCrazyKns/Perplexicaredirects toItzCrazyKns/Vane. A hosted service at perplexica.io remains live under the Perplexica name — that's a separate hosted product, not what you self-install for use with this plugin. The local API surface this plugin talks to (/api/search, focus modes, optimization modes) is unchanged across the rename.
-
Install Perplexica / Vane locally:
- Repo and full installation docs: github.com/ItzCrazyKns/Vane
- Docker is the recommended install path; the repo's README walks
through
docker-composesetup, configuring SearXNG, and choosing your local LLM provider (Ollama, LM Studio, OpenAI-compatible endpoints, etc.). - Confirm the server is running and reachable, e.g.:
curl http://localhost:3030/api/search
-
Configure in this plugin:
- Open Obsidian Settings → Community Plugins → Perplexed
- Set the Perplexica / Vane endpoint to where your local server is
listening (default:
http://localhost:3030/api/search) - Pick a focus mode, optimization mode, and the local model you've configured the server to use
4. Configure LM Studio (Optional)
For local AI processing without internet dependency:
-
Install LM Studio:
- Download from LM Studio
- Install and start the application
-
Configure in Plugin:
- Set LM Studio endpoint:
http://localhost:1234/v1/chat/completions - Choose your preferred local model
- Set LM Studio endpoint:
Using Perplexity
Quick Start
- Open Command Palette:
Ctrl/Cmd + P - Run Command: Type "Ask Perplexity" and select it
- Enter Your Question: Type your research question
- Configure Options:
- Model: Choose from available Perplexity models
- Citations: Enable/disable source citations
- Images: Include image results
- Recency Filter: Filter results by time period
- Streaming: Enable real-time response streaming
Available Models
- sonar-pro: Balanced performance and quality (recommended)
- sonar-small: Fast responses, good for simple queries
- sonar-deep-research: Comprehensive research across hundreds of sources
- llama-3.1-sonar-small-128k-online: Extended context window
- llama-3.1-sonar-large-128k-online: Large model with extended context
Example Usage
Basic Research Query
Question: "What are the latest developments in quantum computing?"
Model: sonar-pro
Citations: Enabled
Recency: Past month
Deep Research Analysis
Question: "Analyze the impact of AI on healthcare in the last 5 years"
Model: sonar-deep-research
Citations: Enabled
Recency: Past 5 years
Note: Deep research mode conducts exhaustive analysis across hundreds of sources and may take 30-60 seconds.
Response Format
Perplexity responses include:
- Main Answer: Comprehensive response to your question
- Citations: Numbered references with source links
- Images: Relevant images (if enabled)
- Related Questions: Additional questions for exploration (if enabled)
Text Enhancement
Enhance selected text using Perplexity AI to improve clarity, add details, and make content more comprehensive.
Quick Start
- Select Text: Highlight the text you want to enhance in your note
- Open Command Palette:
Ctrl/Cmd + P - Run Command: Type "Enhance Selected Text with Perplexity" and select it
- Configure Options:
- Model: Choose from available Perplexity models
- Citations: Enable/disable source citations
- Images: Include image results
- Streaming: Enable real-time response streaming
Enhancement Options
- Replace Original: Replace the selected text with the enhanced version
- Insert Below: Insert the enhanced text below the current cursor position
- Preview: Review the enhanced text before applying changes
Example Usage
Original Text:
AI is changing how we work.
Enhanced Text:
Artificial Intelligence (AI) is fundamentally transforming how we work across various industries and sectors. From automating routine tasks to enabling more sophisticated decision-making processes, AI technologies are reshaping traditional workflows and creating new opportunities for productivity and innovation.
Using Google Gemini
Quick start
- Open Command Palette:
Ctrl/Cmd + P - Run Command: Type "Ask Gemini" and select it
- Enter your question in the textarea
- Configure options in the modal:
- Model:
gemini-flash-latest(recommended, free-tier friendly),gemini-pro-latest, or pinned 2.5 versions - Enable Google search grounding: server-side
google_searchtool; emits per-segment citations - Append Google searches list: appends a Markdown bullet list of the queries Gemini ran, each linked to
google.com/search(Markdown-native substitute for Google's required Search Suggestions chip) - Resolve citation urls: resolves the
vertexaisearch.cloud.google.comgrounding-redirect URLs to durable source URLs + real page titles before writing the citations footer - Stream response: incremental writing to the note as the response arrives
- Model:
Available models
- gemini-flash-latest: Google's always-current Flash alias, free-tier friendly (recommended default)
- gemini-pro-latest: Always-current Pro alias for deepest reasoning
- gemini-2.5-pro: Pinned Pro version (free-tier quota typically exhausted; paid tier required)
- gemini-2.5-flash: Pinned Flash version for reproducibility
Why Gemini's citations are different
Gemini's groundingSupports[] carries per-segment attribution that survives the full response round-trip — meaning the ### Citations footer contains the verbatim quote per source, attached to the prose above it. Compare to Claude's web_search_20260209, where the dynamic-filter sandbox post-processes search results and per-claim attachment doesn't survive: text blocks come back with citations: null.
The plugin walks two layers of provenance:
| Layer | Field | What it gives you |
|---|---|---|
| Page-level | groundingChunks[] |
URL + title per page Gemini consulted |
| Segment-level | groundingSupports[] |
Text span (segment.text) → indices into groundingChunks[] |
Page-level chunks become URL-and-title fallbacks; segment-level supports enrich them with the verbatim quote Gemini grounded against. Citation footer mirrors Claude's exactly ([N]: [Title](https://github.com/lossless-group/perplexed-plugin/blob/HEAD/url). > cited_text) so cite-wide's hex-substitution pass works on Gemini output too.
Example usage
Basic research with grounding
Question: "Who won the 2024 Nobel Prize in Physics and what was the citation?"
Model: gemini-flash-latest
Grounding: Enabled
Resolve URLs: Enabled
Lands in the note with prose like:
The 2024 Nobel Prize in Physics was jointly awarded to John J. Hopfield and Geoffrey Hinton.
The Nobel Prize Committee cited them "for foundational discoveries and inventions that enable machine learning with artificial neural networks".
…followed by a ### Google Searches section listing the queries Gemini issued, and a ### Citations footer where each entry is [N]: [Real Page Title](https://nobelprize.org/…) with the verbatim segment as a blockquote.
Using Perplexica / Vane
Quick Start
- Open Command Palette:
Ctrl/Cmd + P - Run Command: Type "Ask Perplexica / Vane" and select it
- Enter Your Question: Type your research question
- Configure Options:
- Focus Mode: Choose search specialization
- Optimization: Balance speed vs. quality
- Streaming: Enable real-time response streaming
Focus Modes
- webSearch: General web search (default)
- academicSearch: Academic and research papers
- writingAssistant: Writing and content creation
- wolframAlpha: Mathematical and computational queries
- youtubeSearch: Video content search
- redditSearch: Reddit community discussions
Optimization Modes
- speed: Fastest responses
- balanced: Good balance of speed and quality
- quality: Highest quality responses
Example Usage
Academic Research
Question: "What are the current theories about dark matter?"
Focus Mode: academicSearch
Optimization: quality
Content Writing
Question: "Help me write an introduction about climate ch