Transform your Obsidian notes into powerful AI conversations with built-in agent capabilities.
Pure Chat LLM turns Obsidian notes into interactive AI chat interfaces with unprecedented integration into your knowledge base. Unlike typical AI plugins, Pure Chat LLM provides 13 intelligent tools that allow AI models to autonomously read, write, search, and manage your vault -- with your explicit approval.
Pure Chat LLM includes 13 sophisticated tools that enable AI to work with your vault:
[[Note#Header]], [[Note#^block]])**/*.md, src/**/*.ts)Agent Mode must be enabled in settings to allow AI autonomous tool access during conversations.
[[Note name]] to include content from other notesReal-time voice conversations using OpenAI Realtime API with optional tool access:
main.js, manifest.json, and styles.css to:<vault>/.obsidian/plugins/pure-chat-llm/
Create a note in your vault
Write your message:
# role: user
What is the meaning of life?
Initiate chat with Shift + Enter or command palette -> "Complete chat response"
The AI will respond, and you can continue the conversation
Include content from other notes using WikiLinks:
# role: user
[[Meeting Notes]]
Based on the meeting notes above, create an action items list.
The content of "Meeting Notes" will be included automatically.
Customize per-note with a JSON block at the top:
{
"model": "gpt-4",
"max_completion_tokens": 4096,
"temperature": 0.7
}
# role: system
You are a helpful writing assistant specializing in technical documentation.
# role: user
Help me improve this README section...
Enable Agent Mode in settings, then:
# role: user
Search my vault for all notes about "project deadlines" and create a summary note.
The AI will:
search_vault to find relevant notesread_note_sectionwrite_note_section to create the summary (with your approval)Configure multiple endpoints for different providers:
https://api.openai.com/v1/chat/completions)Enable autonomous tool usage:
For voice call support:
{
"model": "gpt-4",
"tools": ["search_vault", "read_note_section", "smart_connections_rag"]
}
# role: system
You are a research assistant. Use the available tools to find relevant information from the user's vault.
# role: user
Find all notes related to "quantum computing" and summarize the key concepts.
{
"model": "gpt-4",
"tools": ["glob_vault_files", "read_note_section", "write_note_section"]
}
# role: user
Review all notes in my "Projects" folder and create an index note with links organized by topic.
{
"model": "claude-3-opus",
"temperature": 0.7
}
# role: system
You are a writing coach. Help improve writing clarity and structure.
# role: user
[[Draft Article]]
Review this draft and suggest improvements for clarity and flow.
See the complete Tool Documentation for detailed information on all 13 tools.
| Tool | Description | Category |
|---|---|---|
read_note_section |
Read notes with section/block support | Vault |
write_note_section |
Write/modify notes with approval modal | Vault |
search_vault |
Boolean search with context | Search |
glob_vault_files |
Pattern-based file discovery | Search |
list_vault_folders |
Directory structure listing | Search |
get_backlinks |
Analyze note connections | Vault |
generate_image |
Create AI images | AI |
smart_connections_rag |
Semantic search (requires plugin) | AI |
get_active_context |
Current file/cursor info | UI |
manage_workspace |
Tab/split operations | UI |
show_obsidian_notice |
Display notifications | UI |
manage_plugin_settings |
Update settings with confirmation | System |
manage_templates |
Apply templates programmatically | System |
Transform any note into an interactive conversation:
# role: user
What are the main themes in my literature review notes?
# role: assistant
I'll search your vault for literature review notes and analyze the themes...
All destructive operations require explicit approval with diff visualization:
+-------------------------------------+
| Review Changes |
+-------------------------------------+
| - Old content |
| + New content |
| |
| (Accept) (Reject) |
+-------------------------------------+
Real-time voice conversations with optional tool access:
+-------------------------------------+
| @ Voice Call |
+-------------------------------------+
| Status: Connected |
| Agent Mode: Enabled |
| |
| (~ Mute) (@ End Call) |
+-------------------------------------+
Q: "Complete chat response" does nothing
# role: user)Q: Note links [[Note]] aren't working
Q: AI says tools aren't available
Q: File write failed
Q: Connection fails
Q: Tools don't work during voice calls
Pure Chat LLM v2.0.0 represents a major architectural refactoring:
Contributions are welcome! Please:
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)# Clone the repository
git clone https://github.com/TheJusticeMan/pure-chat-llm.git
cd pure-chat-llm
# Install dependencies
npm install
# Build for development (watch mode)
npm run dev
# Build for production
npm run build
# Run linting
npm run lint
# Run code quality checks
npm run knip
MIT License - see LICENSE file for details.
Author: Justice Vellacott Website: thejusticeman.github.io
Star (*) this repository if you find it helpful!
Made with <3 for the Obsidian community