Your AI connector for Sublime Text

Sublime Text fans, is your AI experience actually in your flow, or floating outside it? Pieces is your dedicated AI connector for Sublime Text, turning your lightweight editor into a context-aware powerhouse without breaking your groove.

Unlike generic tools or clunky terminals, Pieces delivers an integrated, fast, and personal AI experience inside Sublime Text. You’ll spend less time switching tools and more time shipping.

What makes Pieces a true AI connector for Sublime Text?

Pieces isn’t just another AI plugin. It’s a bridge between your code, your context, and the AI that helps you move faster.

Context that actually matters

Your AI assistant shouldn't start from scratch every time. With Pieces, it doesn’t.

  • Add project context on demand: Drag in files, folders, or even full repos.

  • Ask about anything: Current file, current project, or a specific snippet.

  • Get tailored results: Pieces uses that context to generate better answers, comments, explanations, and even bug fixes.

AI quick actions, right where you work

Select a chunk of code, right-click, and you’ll get:

  • Explain: Clear, accurate explanations of what the code is doing.

  • Fix a bug: AI tries three different ways to solve the issue.

  • Modify code: Instantly refactor or transform your snippet.

  • Add comments: Auto-generate documentation inline, in your style.

All of this happens directly in Sublime, no toggling tabs, no losing your place.

Long-term memory 

Enable long-term memory and your Copilot remembers previous chats, snippets, and project context. It learns with you, building a deeper understanding of your workflow over time.


Set up your free AI connector for Sublime Text

Step 1: Install PiecesOS

The engine behind your AI connector.

Step 2: Install the plugin

  • Open Sublime Text.

  • Go to Tools > Command Palette (⇧⌘P / Shift+Ctrl+P)

  • Search for: Install Package

  • Then search: Pieces for Sublime Text

  • Click install.

You now have access to both Pieces Copilot and Pieces Drive directly in your editor.

Step 3: Sign in and choose your LLM

Sign into your Pieces account and pick the LLM (like GPT-4 or Ollama) that best fits your workflow. Currentl, we support 50+ LLMs

Explore the commands and shortcuts

Want to ask the AI about your project? Refactor code? Save a snippet? There’s a shortcut for that.

Action

macOS

Windows/Linux

Ask Copilot

⌘+⌥+⇧+o

Ctrl+Alt+Shift+O

Fix a bug

⌘+⌥+⇧+f

Ctrl+Alt+Shift+F

Add comments

⌘+⌥+⇧+c

Ctrl+Alt+Shift+C

Save snippet

Right-click > Save to Pieces

Same

Search snippets

⌘+⌥+⇧+s

Ctrl+Alt+Shift+S


Tip: Use ⌘+⇧+P (macOS) or Ctrl+⇧+P (Windows/Linux) to access the full list of “Pieces:” commands — including onboarding, settings, and LLM switching.


Why use Pieces as your AI connector for Sublime Text?

  • Free to use, fully integrated

  • Works with your favorite LLMs — including Ollama

  • Keeps your code and AI workflows inside one tool

  • Remembers your work and helps you build faster

  • Works offline with on-device context (thanks to PiecesOS)


Try Pieces for Sublime Text today

Whether you’re exploring AI plugins for Sublime Text, searching for the best Sublime Text Copilot alternative, or just want to move faster this is the connector built for developers who love simplicity and speed.

Download Pieces today. 

Your AI connector for Sublime Text

DOWNLOAD FOR FREE

Stay focused, save mental energy, and keep moving with AI that works across all your tools.

Try it free

DOWNLOAD FOR FREE

Stay focused, save mental energy, and keep moving with AI that works across all your tools.

Get started

DOWNLOAD FOR FREE

Stay focused, save mental energy, and keep moving with AI that works across all your tools.

Get started