AI LLM

by Sparky4567
5
4
3
2
1
Score: 64/100

Description

Category: Coding & Technical Tools

The AI LLM plugin for Obsidian allows seamless integration with local LLM models like Ollama, enhancing your note-taking experience. Once set up, users can select text within notes and interact with a local LLM to modify or expand the content. This plugin is ideal for those looking to leverage the power of local AI models for generating or editing text within Obsidian. It supports simple commands like 'ASK LLM' to query the model, making it easy to get AI-generated content directly in your notes. It is especially useful for users with local computing resources and provides an offline solution for LLM-based tasks.

Reviews

No reviews yet.

Stats

66
stars
8,434
downloads
5
forks
869
days
5
days
5
days
1
total PRs
0
open PRs
1
closed PRs
0
merged PRs
6
total issues
0
open issues
6
closed issues
51
commits

Latest Version

README file from

Github

Obsidian AI LLM Plugin

Version License: MIT ko-fi

A fast, lightweight, zero-dependency local LLM plugin for Obsidian (Desktop & Mobile). Connect seamlessly to your local or self-hosted Ollama instance and interact with models directly inside your notes and via a modern sidebar chat panel.


✨ Features

  • 📱 100% Cross-Platform (Desktop & Mobile): Built with native fetch APIs and standard Obsidian storage APIs. No node fs dependencies, fixing all mobile data.json loading errors.
  • 💬 Modern & Compact Sidebar Chat View: Sleek, responsive panel with live streaming, real-time status indicators, auto-scroll, stop generation button, and message history.
  • High Performance & Zero Heavy Dependencies: Lightweight bundle that loads instantly without third-party node packages.
  • 🛠️ Editor Shortcuts & Commands:
    • Ask LLM with selected text
    • Summarize selected text
    • Continue my story and enhance text
    • Make a story from my text
    • Fix grammar & improve writing
    • Explain selected text
  • 🚀 Quick Prompt Chips: Instant quick actions (✨ Summarize, 📝 Story, 💡 Brainstorm, 🔧 Fix Grammar, ❓ Explain) built into the sidebar chat interface.
  • ⚙️ Configurable System Prompts & Endpoints: Easily switch models, customize default system roles, and test server connection right from plugin settings.

🚀 Getting Started

1. Prerequisites (Install Ollama)

Ensure you have Ollama installed and running.

# Pull a model (e.g. tinyllama, llama3:8b, mistral, qwen, etc.)
ollama run tinyllama

Mobile Usage Tip: To use this plugin on Obsidian Mobile (iOS/Android), host Ollama on your local network (e.g. http://192.168.1.X:11434) or set OLLAMA_HOST=0.0.0.0 so your mobile device can reach your PC/server.


2. Plugin Installation

Option A: Manual Installation
  1. Clone or download this repository into your vault's plugin directory:
    cd /path/to/your/vault/.obsidian/plugins/
    git clone https://github.com/Sparky4567/obsidian_ai_plugin.git ai_llm
    cd ai_llm
    npm install
    npm run build
    
  2. Open Obsidian Settings -> Community Plugins.
  3. Reload plugins and enable AI LLM.
Option B: Release Zip
  1. Download main.js, manifest.json, and styles.css from the latest GitHub Release.
  2. Place them inside .obsidian/plugins/ai_llm/ in your vault.
  3. Enable the plugin in Obsidian Community Plugins.

🎯 Usage & Workflows

💬 Sidebar Chat View

  1. Click the bot ribbon icon on the left sidebar (or run command Open AI Chat Panel).
  2. Type your question or prompt in the compact input field at the bottom.
  3. Use the quick prompt action chips above the input box for fast formatting.
  4. Click Send (or press Enter). To stop streaming anytime, click Stop.

📝 Editor Commands (In-Note Generation)

  1. Highlight any text inside your active note.
  2. Open the Command Palette (Ctrl+P or Cmd+P).
  3. Search for any AI LLM command:
    • Ask LLM with selected text
    • Summarize selected text
    • Fix grammar & improve writing
    • Explain selected text
  4. The generated response will stream directly under or in place of your selection.

⚙️ Configuration

Go to Obsidian Settings -> AI LLM Settings:

  • Ollama Endpoint: Set your Ollama server URL (Default: http://127.0.0.1:11434). Click Test Connection to verify availability.
  • LLM Model: Select from automatically discovered models on your Ollama server.
  • Default System Role: Customize the system persona (e.g., "You are a helpful assistant providing concise answers").

🛠️ Building & Development

# Install development dependencies
npm install

# Build production bundle
npm run build

# Watch mode for live dev edits
npm run dev

📄 License & Support

Distributed under the MIT License. See LICENSE for details.

Developed with ❤️ by Sparky4567.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Smart Connections
4 years ago by Brian Petro
Find related notes and excerpts while writing. Your link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.
Canvas Conversation
4 years ago by André Baltazar
A plugin for Obsidian that allows you to create a canvas conversation using ChatGPT.
Khoj
4 years ago by Debanjum Singh Solanky
Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (gpt, claude, gemini, llama, qwen, mistral). Get started - free.
ChatGPT MD
3 years ago by Bram Adams
A (nearly) seamless integration of ChatGPT into Obsidian.
AI Commander
3 years ago by Simon Yang
GPT Assistant
3 years ago by M7mdisk
Ask GPT from your notes and get personalized answers based on your knowledge base.
AI Assistant
3 years ago by Quentin Grail
AI Assistant Plugin for Obsidian
GPT-LiteInquirer
3 years ago by ittuann
💬 Experience OpenAI ChatGPT assistance directly within Obsidian, drafting content without interrupting your creative flow.
AI Mentor
3 years ago by clementpoiret
brAIn
3 years ago by lusob
Silicon AI
3 years ago by deepfates
Add some intelligence to your notes with Silicon AI for Obsidian
Arcana
3 years ago by A-F-V
Supercharge your Obsidian note-taking through AI-powered insights and suggestions
Vault Chat
3 years ago by Exo Ascension
A ChatGPT bot trained on your vault notes. Ask your AI questions about your own thoughts and ideas!
BMO Chatbot
3 years ago by Longy2k
Generate and brainstorm ideas while creating your notes using Large Language Models (LLMs) from Ollama, LM Studio, Anthropic, Google Gemini, Mistral AI, OpenAI, and more for Obsidian.
AI Notes Summary
3 years ago by R. Ian Bull (irbull)
An Obsidian plugin that uses ChatGPT to generate a summary of referenced notes
NAI 4 Obsidian
3 years ago by SGreen
Wouldn't you like little fren who writes with you? A brother in arms? A companion? A friend? An AI? Well, here you go. This is a plugin for Obsidian that allows you to write with the helpf of NovelAI. It's a very simple plugin, but it's a plugin nonetheless.
AI Research Assistant
3 years ago by Interweb Alchemy
Prompt Engineering Research Tool for AI APIs
ChatGPT Definition
3 years ago by julix14
Flashcard Generator
3 years ago by ChloeDia
Obsidian Plug-in to automatically create a set of questions/answers on your notes !
AI Editor
3 years ago by Zekun Shen
Ollama
3 years ago by hinterdupfinger
Chat with Bard
3 years ago by Artel250
An obsidian plugin that enables you to talk to Google Gemnini directly
Canvas LLM Extender
3 years ago by Pasi Saarinen
Let the OpenAI LLM add nodes to your Obsidian canvas
ChatCBT
3 years ago by Claire Froelich
AI-powered journaling plugin for your Obsidian notes, inspired by cognitive behavioral therapy
Intelligence
3 years ago by John Mavrick
Gemini Assistant
2 years ago by eatgrass
Your AI assistant in obsidian
Smart Second Brain
2 years ago by Leo310, nicobrauchtgit
An Obsidian plugin to interact with your privacy focused AI-Assistant making your second brain even smarter!
WordWise
2 years ago by ckt1031
Writing companion for AI content generation.
AI Tagger
2 years ago by Luca Grippa
Simplify tagging in Obsidian. Instantly analyze and tag your document with one click for efficient note organization.
Quiz Generator
2 years ago by Edward Cui
Generate interactive flashcards from your notes using models from OpenAI (ChatGPT), Google (Gemini), Ollama (local LLMs), and more. Or manually create your own to use with the quiz UI.
AI Zhipu
2 years ago by Tarslab
AI-zhipu is an Obsidian plugin that helps you utilize the Zhipu API. 智谱AI obsidian 插件
AI Summarize
2 years ago by Alp Sariyer
Easy to use AI Summary tool for your notes in Obsidian
Reverse Prompter
2 years ago by Ryan Halliday
Let AI generate prompts to keep you writing
Markpilot
2 years ago by Taichi Maeda
AI-powered inline completions and chat view for Obsidian
AI for Templater
2 years ago by TfTHacker
Extends Templater with AI Chat commands using the OpenAI Client Library
Strapi Exporter AI
2 years ago by Cinquin Andy
[prod] - 🚀 Strapi Exporter: Supercharge Your Obsidian-to-Strapi Workflow, export an obsidian notes directly to your Strapi API
CoCo AskAI
2 years ago by Yukee
CoCo-AskAI is an Obsidian plugin that enables AI-powered note assistance, enhancing the writing experience with customizable functions.
AI Chat
2 years ago by arenasys
Github Copilot
2 years ago by Vasseur Pierre-Adrien
A bridge between Obsidian and Github Copilot
Ayanite
2 years ago by jemstelos
Explain Selection With AI
2 years ago by Ben Wurster
This is my first go at making an Obsidian plugin to elaborate on and describe selected bits of information and their context.
Tars
2 years ago by Tarslab
Obsidian tars plugin that supports text generation based on tag suggestions, using services like DeepSeek, Claude, OpenAI, OpenRouter, SiliconFlow, Gemini, Ollama, Kimi, Doubao, Qwen, Zhipu, QianFan & more.
Caret
2 years ago by Jake Colling
Caret, an Obsidian Plugin
Smart Templates
2 years ago by 🌴 Brian Petro
Smart Templates is an AI powered templates for generating structured content in Obsidian. Works with Local Models, Anthropic Claude, Gemini, OpenAI and more.
AI LaTeX Generator
2 years ago by Aayush Shah
An Obsidian plugin that generates latex code from natural language inputs.
Mesh AI
2 years ago by Chasebank87
InfraNodus AI Graph View
2 years ago by Nodus Labs
Advanced graph view for Obsidian: text analysis, topic modeling, and AI with InfraNodus AI text analysis tool: https://infranodus.com
Open Interpreter
2 years ago by Mike Bird
The power of Open Interpreter in your Obsidian vault
Metadata Auto Classifier
2 years ago by Beomsu Koh
AI-powered Obsidian plugin that automatically classifies and generates metadata (tags, frontmatter) for your notes.
Smart Composer
2 years ago by Heesu Suh
AI chat assistant for Obsidian with contextual awareness, smart writing assistance, and one-click edits. Features vault-aware conversations, semantic search, and local model support.
Gemini Scribe
2 years ago by Allen Hutchison
An obsidian plugin to interact with Google Gemini
AI bot
2 years ago by kuzzh
The AI Bot Plugin is a powerful tool designed to enhance your note-editing experience in Obsidian by leveraging the capabilities of AI. This plugin allows you to interact with an AI assistant directly within Obsidian, making it easier to generate, edit, and organize your notes with intelligent suggestions and automated tasks.
LLM workspace
2 years ago by Olivér Falvai
Smart Context
2 years ago by 🌴 Brian
AI Revisionist
2 years ago by Synaptic Labs
YouTube Video Summarizer
a year ago by mbramani
Generate AI-powered summaries of YouTube videos directly in Obsidian using Google's Gemini AI.
InlineAI
a year ago by FBarrca
AI Providers
a year ago by Pavel Frankov
This plugin is a hub for setting AI providers (OpenAI-like, Ollama and more) in one place.
AI integration Hub
a year ago by Hishmat Salehi
A modular AI integration hub for Obsidian
Vision Recall
a year ago by Travis Van Nimwegen
Transform screenshots into searchable Obsidian notes using AI vision and text analysis
AI Tagger Universe
a year ago by Hu Nie
An intelligent Obsidian plugin that leverages AI to automatically analyze note content and suggest relevant tags, supporting both local and cloud-based LLM services.
Memos AI Sync
a year ago by leoleelxh
obsidian-memos-sync-plugin,将 Memos 内容同步到 Obsidian 的插件,提供无缝集成体验。
Blog AI Generator
a year ago by Gareth Ng
Obsidian Plugin: generate blog via AI based on the current note.
Student Repo
a year ago by Feirong.zfr
学生知识库助手(Student Repository Helper)是一个面向学生或学生家长的Obsidian 插件,这款插件旨在解决学生在学习阶段面临的资料管理难题,将学习过程中产生的各类重要资料,如试卷、笔记、关键文档、绘画手工作品等,进行系统性的数字化整合与管理,并利用 AI 助手定期进行学习分析总结。随着时间的推移,它将助力你逐步搭建起一座专属你自己的知识宝库,这座宝库将伴随你一生,成为你知识成长与积累的见证。
LLM Test Generator
a year ago by Aldo E George
HiNote
a year ago by Kai
Add comments to highlighted notes, use AI for thinking, and flashcards for memory.
Proofreader
a year ago by pseudometa (aka Chris Grieser)
AI-based proofreading and stylistic improvements for your writing. Changes are inserted as suggestions directly in the editor, similar to suggested changes in word processing apps.
Images to Notes
a year ago by Rodolfo Terriquez
Turn photos of your handwritten notes into markdown
Notemd
a year ago by Jacob
A Easy way to create your own Knowledge-base! Notemd enhances your Obsidian workflow by integrating with various Large Language Models (LLMs) to process your notes, automatically generate wiki-links for key concepts, create corresponding concept notes, perform web research, and more.
YOLO
7 months ago by Lapis0x0
Agent-native AI assistant — chat, write, learning, all in one.
Nova
6 months ago by Shawn Duggan
Nova - AI plugin for Obsidian that edits your documents directly through natural conversation. Stop copying from chat, start collaborating with AI.
Large Language Models
a month ago by eharris128
Enables access to LLMs via remote providers (OpenAI, Claude, Gemini) and local LLMs via GPT4ALL.
AI image analyzer
17 days ago by swaggeroo
Analyze images with AI to get keywords of the image.
Claudian Plus
14 days ago by wuyifan-code
A Codex-first enhanced Claudian fork for local-first knowledge work in Obsidian. - This plugin has not been manually reviewed by Obsidian staff.
Claude Sidebar
9 days ago by derek-larson14
Run Claude Code in your sidebar. - This plugin has not been manually reviewed by Obsidian staff.
Daily News Briefing
5 days ago by Adam Chen
Get AI-powered daily news summaries in your vault. Features customizable topics, smart filtering, and automated scheduling.
Codian
4 days ago by bcs
A multi-provider AI agent workspace: connect local coding agents with your vault, conversations, skills, and tools while preserving provider-native sessions and permissions. - This plugin has not been manually reviewed by Obsidian staff.