Don’t have PiecesOS yet? Click here to install and get started instantly!

Welcome to the Pieces for Developers Web Extension!

Let's take your coding research and problem-solving in the browser to the next level.

Pieces team during team outings
Pieces team during team outings

try below

Save your first snippet

Hover over the code below to see snippet actions

const deepClone = (obj: any) => {
	if (obj === null) return null;
  let clone = { ...obj };

  Object.keys(clone).forEach(
	  (key) =>
      (clone[key] = typeof obj[key] === "object" ? deepClone(obj[key]) : obj[key])
   );
	 return Array.isArray(obj) && obj.length
	   ? (clone.length = obj.length) && Array.from(clone)
	   : Array.isArray(obj)
     ? Array.from(obj)
     : clone;
};

Pro tip: We recommend pinning the extension for a better experience. You can also save snippets to pieces via the right-click context menu.

Save your first snippet

Hover over a code block, then click Copy and Save to store the snippet in the app with enriched context.

Share your snippet

Hover over a code block and click Share to generate a personal link that will be copied to your clipboard.

Chat with the Pieces Copilot

Hover over a code block and click Ask Copilot, or open your browser sidebar and select Pieces.

Our features

Endless discovery, personalized assistance

Discover snippets

Discover snippets on any page by opening up Pieces in the sidebar. Easily save valuable code to your Pieces drive without scrolling endlessly.

Choose your copilot's runtime

Leverage your choice of local and cloud LLMs for secure, customized assistance.

Integrate your IDE and browser

Augment your existing dev tools with real-time AI assistance

VSCode

Manually save snippets and view your snippets

JetBrains Suite

Auto-save and auto-complete code and view snippets

Google Chrome

Single-click save code from any website

JupyterLab

Ask questions about your code, save useful scripts, and streamline your workflow.