← Back to Leaderboard
Opfrankov

pfrankov/obsidian-local-gpt

An Obsidian plugin for in-note AI editing and retrieval via Ollama or APIs

View on GitHub ↗
AI Plugin
Engineering Health (Methodology)
A · 81/100
Maintenance Activity
● Updated 1mo ago
Latest Release
4.3.13
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance26/35
Fork Adoption15/25
Release Cadence20/20
License Clarity20/20
Local AIAPI
Total Stars
★ 678
24h Growth
+0
7d Growth
+0
Forks
62

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

pfrankov/obsidian-local-gpt Star History (2023-12-06 - 2026-12-04) ALL-TIME STAR HISTORY (2023-12 – 2026-12) +677 in 1094d · avg +1/day 716 358 0 2023-12-06: ★ 12024-02-17: ★ 472024-04-27: ★ 1352024-07-06: ★ 1932024-09-14: ★ 2492024-11-23: ★ 3142025-02-01: ★ 3882025-04-12: ★ 4522025-06-21: ★ 4882025-08-30: ★ 5182025-11-08: ★ 5462026-01-17: ★ 5772026-03-28: ★ 6112026-06-06: ★ 6412026-08-15: ★ 6662026-10-24: ★ 6762026-12-04: ★ 678 ★ 678 2023-12 2025-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Local GPT is a TypeScript Obsidian extension that runs from the editor. A context-menu action or Action Palette prompt supplies the task, with selected text or retrieved vault context available as input. The result can be inserted below the selection or used to replace it. The separate AI Providers plugin manages provider configuration, and Local GPT depends on @obsidian-ai-providers/sdk for the integration. The SDK serializes native reasoning parameters rather than leaving Local GPT to maintain provider-specific request mappings.

Generation routing and retrieval are configured independently: a saved action can inherit the global generation provider or bind to a configured provider, while RAG uses the selected embedding provider. A palette override is scoped to the current run rather than written back to the action. The dependency manifest also includes pdfjs-dist, idb, and sortablejs; it does not establish the index storage schema or retrieval ranking algorithm.

Key Capabilities & Differentiators

The built-in actions cover writing continuation, summarization, grammar correction, and action-item extraction; custom actions can supply their own system prompts. Saved actions retain their prompt, system prompt, creativity, reasoning, and replacement behavior. The palette supports @ file mentions, while retrieval can also use links, backlinks, and PDFs. Ollama and OpenAI-like APIs cover local and API-backed generation, and image actions require a vision-capable model.

Reasoning controls use model modes declared in AI Providers. A one-request choice cannot carry across models or providers, and unsupported or stale values are omitted. API default for reasoning omits the parameter; it does not disable thinking. The same distinction applies to sampling: API default omits temperature, while an explicit None sends zero. These controls preserve endpoint defaults without silently rewriting an explicit user choice.

Trade-offs & Limitations

Compared with a standalone Ollama client, Local GPT reduces copying between chat and notes by adding editor writeback and vault context. The cost is a two-plugin setup and separate decisions about generation, embeddings, and vision support. Local inference avoids sending requests to a remote generation API when configured end to end, but model choice and context length determine the memory and latency costs. A remote endpoint shifts that load away from the device at the expense of connectivity, potential API fees, and exposure of submitted content to the endpoint.

Explicit routing makes provider choice predictable, but does not provide automatic failover: a removed provider must be reselected, and model availability or endpoint compatibility errors remain visible. Model preferences are not included when sharing a community action, so shared prompts do not guarantee matching outputs across users. The MIT license covers Local GPT, not the terms of the selected models or hosted services.

Hardware & Deployment Guide

Install Local GPT and AI Providers from Obsidian's community plugin store, then configure a generation provider in AI Providers. BRAT is another installation route for Local GPT. For offline operation, provision the necessary Ollama models beforehand and make sure both generation and any enabled retrieval stay local. For Ollama-based retrieval, select an embedding provider in Local GPT settings; the listed examples are nomic-embed-text for English and bge-m3 for other languages. An OpenAI-like remote endpoint shifts generation off-device but requires connectivity and sends request content outside the device.

The 4.3.11 and 4.3.12 changes target editor responsiveness rather than inference speed. The former removed unnecessary vault scans during ordinary typing; the latter reuses the file list for @ mentions, refreshes it on file or folder creation, deletion, or rename, and releases it when the palette closes. Version 4.3.13 added per-action provider selection and surfaces saved actions when the palette prompt is empty.

Editor integration: Run actions from the selection context menu or Action Palette, then insert the response below the selection or replace it with Alt+R.
Provider binding: Saved actions can inherit the global provider or bind to a configured one; palette overrides are scoped to the current run.
Retrieval: Linked notes, backlinks, and PDFs can supply context through a separately configured embedding provider.
Request semantics: API default omits the relevant reasoning or temperature parameter; the explicit creativity setting None sends temperature zero.
Vision routing: Use a vision-capable model for images; an explicit provider choice never silently falls back to another provider.
Large-vault interaction: 4.3.11 removed unnecessary vault scans for ordinary prompt typing, and 4.3.12 introduced a file-list cache scoped to the open palette.
Best For

Obsidian users who want reusable editing actions, direct writeback, and context from related notes or PDFs, with control over where generation and embeddings run.

Skip If

You only need a general-purpose chat client, do not want to configure a companion provider plugin, or require automatic provider failover.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/pfrankov/obsidian-local-gpt.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

pfrankov/obsidian-local-gpt Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about obsidian-local-gpt

How do Local GPT, AI Providers, and vault retrieval fit together?

Install AI Providers alongside Local GPT and configure a generation provider there. Local GPT uses that integration to run editor actions; a saved action can inherit the global provider or bind to a configured one, while a palette override applies only to the current run. Vault retrieval uses a separately configured embedding provider, so changing the generation model does not also change where embeddings are computed.

How much RAM or VRAM do I need?

There is no single VRAM requirement. With Ollama, size the machine for the chosen generation model, context length, and any embedding or vision models active in the workflow. The examples show Ollama running orca-mini and bakllava on an M1 MacBook Pro with 16 GB of memory; that is a demonstration configuration, not a minimum requirement or performance benchmark. A remote API shifts model inference off the Obsidian device.

Can a company use it commercially and keep inference on its own hardware?

Local GPT is MIT-licensed, so commercial use and modification are permitted, subject to preserving the copyright and license notices when distributing covered copies. That license does not govern model weights, companion plugins, or hosted API terms. For a local-only deployment, verify that both generation and embeddings stay local, and check image actions against the configured vision provider.

When is this a better fit than a standalone Ollama client or hosted chat UI?

Use Local GPT when selected-text replacement, reusable editor actions, and context from notes or PDFs matter. A standalone Ollama client is a simpler choice for general local chat that does not need to read from or write into Obsidian. A hosted chat UI can remove local inference setup, but you must evaluate where note and attachment content is sent.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining pfrankov/obsidian-local-gpt? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature pfrankov/obsidian-local-gpt on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare