Gorazen1k downloadsPimate embeds Pi Coding Agent into Obsidian as an AI collaborator for your vault.
An autonomous coding & knowledge agent for Obsidian, powered by Pi Coding Agent and Google Antigravity CLI.
Pimate embeds local coding agents directly into your Obsidian workspace. Rather than acting as a standard text-completion chatbot, Pimate acts as a full-fledged agent capable of inspecting vault files, running grep/find searches, drafting precise diffs, executing shell tools, and maintaining multi-turn task state — all within Obsidian.
The interface map above is based on the current Pimate page in Obsidian: the Vault file tree and active note remain visible on the left, while Pimate runs in the right pane. All names, note text, and counts shown in the image are generic examples and contain no user Vault data.
当前空间 (This vault), 未归属 (Unassigned), or 全部 AGY (All AGY) conversations and search by title or preview.未归属 without deleting its native AGY record; assign it back to the current Vault when needed.Pimate 是一个面向 Obsidian 的本地自主 AI Agent 协作者插件。它不仅支持在侧栏对话,更具备读写笔记、全库检索、局部 Diff 审查、命令执行与会话分支能力。
read, write, edit, grep, find, bash,支持跨笔记检索与资料整合。🌿 Fork):在任意历史消息节点一键分叉会话,方便多思路对比与回溯。pi) (Default): Full multi-provider support (Claude 3.7 with extended thinking, DeepSeek-R1/V3, OpenAI, MiniMax, etc.), custom system prompts, and Pi skills.agy): Google's autonomous agent CLI. Uses local Google OAuth credentials — no API keys required.read, write, edit, grep, find, and bash execution. The agent can search notes, check cross-references, and gather context autonomously.🌿 Fork): Branch off from any previous user turn in your conversation history to explore alternative prompts without losing context.@ to fuzzy-search and attach vault notes/folders, compact long conversations with /compact, or export sessions as Markdown notes with /export.Pimate runs as an Obsidian desktop plugin and communicates with your local CLI agent over a background stdio/RPC process.
npm install -g --ignore-scripts @earendil-works/pi-coding-agent
# Run interactive login
pi
/login
# Or export an API key directly in your shell profile:
# export ANTHROPIC_API_KEY=sk-ant-...
# export DEEPSEEK_API_KEY=sk-...
pi --version
agy) on your machine.agy once in your terminal and complete the browser OAuth sign-in.🟢 Authenticated.gorazenxu/pimatemain.js, manifest.json, and styles.css from the latest GitHub Release.pimate inside <vault>/.obsidian/plugins/.| Shortcut / Command | Action |
|---|---|
Enter |
Send message (queues follow-up if agent is streaming) |
Shift + Enter |
Insert newline in composer |
Esc |
Abort current agent response or tool execution |
Ctrl/Cmd + K |
Open Slash Command & Skill picker |
Ctrl/Cmd + N |
Open a new chat session tab |
Ctrl/Cmd + Shift + D |
Jump to the latest diff view |
Ctrl/Cmd + Shift + E |
Toggle expand/collapse for tool output |
/compact |
Summarize session history to preserve tokens |
/export |
Export the current session as a Markdown note |
/reload |
Hot-reload extensions and skill templates |
Customizable via Obsidian Settings → Pimate:
Pi Coding Agent or Antigravity CLI.fs): Used to read/write notes you target, parse @ attachments, and store local session indices.child_process): Used to spawn pi and agy binaries. The agent can use command tools (like grep, bash) within your workspace only when instructed.git clone https://github.com/gorazenxu/pimate.git
cd pimate
npm install
npm run dev # Watch mode
npm run build # Production build
Created by Gorazen & the Pimate Community.