First class Sublime Text AI assistant with gpt-5, o3 and ollama support!
# Add to your Claude Code skills
git clone https://github.com/yaroslavyaroslav/OpenAI-sublime-text[![Star on GitHub][img-stars]][stars] ![Package Control][img-downloads]
Cursor level of AI assistance for Sublime Text. I mean it.
Works with all OpenAI'ish API: llama.cpp server, ollama or whatever third party LLM hosting. Claude API support coming soon.

[!NOTE] This plugin is in its pretty much finite state as it is, with persistent dialog storage and Phantoms support. So
- No more connector will added here (Antropic, Gemini, etc)
- No more tools support will be added also.
- Same as no MCP server support will be provided as well.[^1]
The good news is that all of those available out of the box in my next CodexSublime plugin which leverages all these thing on openai/codex obviously. Check it out.
No comments yet. Be the first to share your thoughts!
Via Package Control
Package Control: Install Package.OpenAI and press Enter.Via Git Clone
Preferences: Browse Packages.git clone https://github.com/yaroslavyaroslav/OpenAI-sublime-text.git OpenAI\ completion in that folder that Sublime opened.OpenAI and press Enter.[!NOTE] Highly recommended complimentary packages:
- https://github.com/SublimeText-Markdown/MarkdownCodeExporter
- https://sublimetext-markdown.github.io/MarkdownEditing
You can interact with the AI in several ways, primarily through commands available in the Sublime Text Command Palette: