Back to Docs

iri AI for VS Code

Optimize AI API costs directly in your IDE. Works with VS Code, Cursor, and other VS Code-based editors.

Download Extension

Version 0.1.0 • Compatible with VS Code 1.85+

Download .vsix

Smart Caching

Cache AI responses locally. Same question = instant answer at zero cost.

Real-time Savings

See exactly how much you're saving in the status bar.

Security Scanning

Automatically detect API keys and secrets before sending.

Privacy First

All processing happens locally. Your code never leaves your machine.

Installation

1

Install from Downloaded File

  1. 1.Click the "Download .vsix" button above
  2. 2.Open VS Code or Cursor
  3. 3.Press Ctrl+Shift+P (or Cmd+Shift+P on Mac)
  4. 4.Type "Install from VSIX" and press Enter
  5. 5.Select the downloaded .vsix file
  6. 6.Restart VS Code when prompted
2

Install from Command Line

# For VS Code
code --install-extension ~/Downloads/iri-optimizer.vsix
 
# For Cursor
cursor --install-extension ~/Downloads/iri-optimizer.vsix

Getting Started

  1. 1After installation, press Ctrl+Shift+P and run "iri: Login"
  2. 2A browser window opens - sign in with your iri AI account
  3. 3Once connected, the extension starts automatically
  4. 4Look for "iri: $0.00 saved" in the status bar - you're ready!

Requirements

  • VS Code 1.85 or higher (or Cursor/other VS Code-based editor)
  • An iri AI account (free to create)
  • Node.js 18+ (for proxy server)