I wanted to share my concrete implementation that I’ve been working on: GeminiCLI . It integrates the google/gemini-cli directly into Sublime Text using its --acp flag. It demonstrates how we can effectively leverage agent cli in sublime text.
GeminiCLI uses native ST components to create a seamless Agent Chat and Command Palette experience. I built the “Gemini Chat” view which is standard, read-only ST tab, with a input area
❯ at the last line of the view as prompt. the plugin heavily use the Phantom API to process permission dialogs and diff review.
This approach shows that agent cli is highly viable in Sublime Text when combined with Phantoms, command palette, and EditView.