Get started with the Pieces for Obsidian plugin

Unlock the power of AI in knowledge management with the best Obsidian plugin for developers.

Install Obsidian directly from marketplace


• Have Obsidian open in the background
• Restart your Obsidian upon installation

Note: You must download

Pieces OS

to power this plugin

13,000+

users and counting

5.0

stars average rating

Save your snippets effortlessly

Save your snippets effortlessly

With Pieces, code management is a breeze. Highlight your code, right-click and choose "Save to Pieces", or simply use the Pieces button within any cell to store snippets for later.

Navigate your codebase with ease

Open the Pieces View from the Ribbon Menu to sort by recent or language and to search through your snippets swiftly, avoiding the hassle of traversing your entire knowledge base.

Auto-enriched code in markdown

Expand your saved snippets into markdown for an in-depth view of the syntax-highlighted code and AI-generated metadata, such as titles, tags, descriptions, related links, and anchors back to your notes.

Simplify development collaboration

Use the Pieces Share button within any snippet in your personal repo to generate a custom shareable link of code and relevant context for a seamless sharing experience.

Ask questions about your code notes

Use the Pieces Copilot to generate, iterate, and curate code snippets in your knowledge base. Set custom context for more relevant answers, and leverage the LLM of your choice.

Privacy, security, and offline use

Pieces echoes Obsidian's philosophy of privacy, security, and local first design. Your data, including code snippets and copilot conversations, are stored on device for robust offline functionality.

Use Pieces across your workflow

Experience the power of our “tool in-between tools” throughout your day-to-day projects. Pieces deeply integrates with all of your favorite tools, evolving your interactions with code snippets from end-to-end.