Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>llessNew to Visual Studio Code? Get it now.
lless

lless

Greg Leo

|
1 install
| (0) | Free
Agentless, chatbotless LLM interface for working in text and code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

lless

Agentless, chatbotless LLM interface for working in text and code. Do more with lless

Author

Greg Leo: (Website).

What is it?

Lless is a tool that lets you use language models at your discretion. There is no chatbot. There is no agent. Just a single command. When text is selected, the selection is replaced with the LLM response. If no text is selected, the response is inserted at the cursor position. Context surrounding the cursor or selection is included for context‑awareness. The amount of context can be adjusted. Works across multiple cursors. Works with remote inference (OpenRouter / Similar) or locally (Ollama).

Usage

Run the command LLESS: LLM Process (lless.process) from the command palette (Ctrl+Shift+P). Try assigning it to a keyboard shortcut. Try Ctrl+Shift+t.

If there is no selection, LLESS: LLM Process will append the response at the cursor.

lless Add Gif

If you select text, run LLESS: LLM Process, and enter the transofmration you want in the prompt, the LLM response replaces the selection.

lless Transform Gif

Work in prose, code, or whatever. Create a .lless file in your project root for custom instructions to be included with all LLM prompts.

Try working inside a diff buffer like workbench.files.action.compareWithSavedto see exactly how text is transformed.

lless Diff Gif

These settings in your VS Code settings.json help with visualization:

  "diffEditor.renderSideBySide": false,
  "workbench.colorCustomizations": {
    "diffEditor.insertedTextBackground": "#00ff007c",
    "diffEditor.removedTextBackground": "#ff00007c",
    "diffEditor.insertedLineBackground": "#12360e66",
    "diffEditor.removedLineBackground": "#72333666"
  }

Both operations work across multiple cursors.

lless Multi Cursor Gif

Setup

OpenRouter

  1. Get an API key from OpenRouter enter it in the lless:Api Key setting.
  2. Set Open Router as your model provider.
  3. Use base url https://openrouter.ai/api/v1.
  4. Select a model from here and enter it in the lless:Model setting.
  5. (Optional) Change the default context lines to send with the prompt in the lless:Context Lines setting.

Ollama

  1. Install Ollama.
  2. Set Ollama as your model provider.
  3. Pull a model. For example ollama pull qwen3-coder:30b
  4. Run ollama server ollama serve
  5. Set your model in lless:Model setting.
  6. (Optional) Change the default context lines to send with the prompt in the lless:Context Lines setting.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft