Mentat

by Mentat Team
5
4
3
2
1
Score: 51/100

Description

Reviews

No reviews yet.

Stats

0
stars
359
downloads
0
forks
113
days
39
days
95
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
108
commits

Latest Version

3 months ago

Changelog

🧠 Mentat v0.3.9 Release

This is an automated release for Mentat—your local agentic cognitive partner for Obsidian.

📦 Files included:

  • main.js: Compiled production bundle.
  • manifest.json: Plugin description and metadata.
  • styles.css: Custom UI styles and themes.

To install:

  1. Download the assets.
  2. Copy them into your vault's plugin directory: <vault>/.obsidian/plugins/mentat/.
  3. Enable Mentat in Obsidian's Community Plugins settings.

README file from

Github

Mentat - Obsidian Plugin

Your local agentic cognitive partner for Obsidian. Mentat is an AI agent that lives in your vault — it reads, writes, searches, researches, and summarizes your notes through conversation.

What you can do with it

  • 💬 Chat with your vault: "Find my notes about RAG from last week and summarize them"
  • 🔍 Deep research: Create structured research plans, search the web, fetch pages, and save findings
  • ✍️ Write and edit notes: "Write a technical summary of this paper to Research/"
  • 🛠️ Automate tasks: Bulk operations, frontmatter updates, file moves with link fixing
  • 🎨 Two UI themes: Classic bubble chat or terminal-style timeline — switch anytime
  • 🧩 Extensible: Extension system, skill framework, MCP support

AI Providers

Provider Chat + Tools Embedding Local
OpenAI (and compatible) ✅ ✅ ❌
Anthropic Claude ✅ ❌ ❌
Ollama ❌ (no tool support) ✅ ✅

Set up in Settings → Mentat → Add AI Provider.

Quick start

# Install
cd /path/to/vault/.obsidian/plugins
git clone https://github.com/Secbone/obsidian-mentat mentat
cd mentat && npm install && npm run build

# Enable in Obsidian: Settings → Community plugins → Mentat
# Configure: Settings → Mentat → Add AI Provider
# Open chat: Ctrl/Cmd+P → "Open AI Chat"

Development

npm run build        # Type check + bundle → dist/
npm run deploy:dev   # Copy to ~/Documents/obsidian/.obsidian/plugins/
npm run lint         # ESLint
npm test             # Vitest

Project structure

src/
├── agents/          # Agent runtime (BaseAgent, Compactor, events)
├── chat/            # Chat orchestration (session, query, subagents)
├── context/         # Message windowing, token estimation
├── extensions/      # Extension system (EventBus, ExtensionManager)
├── providers/       # AI providers (OpenAI, Anthropic, Ollama)
├── prompts/         # System prompts, skill prompts, vault context
├── settings/        # Plugin settings & settings UI
├── skills/          # Skill framework (registry, executor, MCP, strategies)
├── ui/              # Themed UI (ChatView, bubble theme, terminal theme)
└── types/           # Shared type definitions

In-depth docs

Doc What it covers
src/ui/themes/README.md Theme system architecture, creating new themes
src/ui/README.md UI system overview, CSS conventions, icon sizing
src/agents/README.md Agent system, events, streaming, tool execution
src/skills/README.md Skill framework internals, MCP integration, custom skills
skills/README.md Adding and documenting skills
prompts/README.md Prompt system, template variables
docs/theme-system-refactor.md Theme system refactoring history

Roadmap

  • Phase 1: Agent system — conversation, tool calling, multi-turn reasoning
  • Phase 2: Skill framework — 12 built-in skills, progressive/native/auto modes, MCP
  • Phase 3: Themed UI — BubbleTheme, TerminalTheme, smart scroll, terminal presets
  • Phase 4: Extension system v1 + automatic context compaction
  • Phase 4.5: EventBus architecture (AsyncGenerator → EventBus, AgentContext.confirmHandler removed)
  • Custom skills: user-defined skills via .obsidian/plugins/mentat/skills/ with implementation.js
  • Phase 5: Tree-structured sessions with branching and comparison
  • Phase 6: Extension system v2 — dynamic loading, permission sandbox
  • Phase 7: i18n, plugin marketplace, community extension registry

Built with

License

MIT