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

tune

Ilya Ovdin

|
49 installs
| (1) | Free
chat with llm in a text file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Tune your everyday LLM toolkit

Tune is a handy extension for Visual Studio Code and plugin for Neovim that lets you chat with large language models (LLMs) in a text file. With tune javascript sdk you can make apps and agents.

Demo

To start chatting create a .chat file. Use Shift+Enter to trigger chat response

Read more about

How to connect LLMs or how to use tools

Javascript SDK

npm install tune-sdk

const tune = require("tune-sdk");
const sonnet = require("./sonnet.llm.js");

require('dotenv').config();

async function main() {
  const ctx = tune.makeContext({
    echo: "You are echo, you print everything back",
    OPENROUTER_KEY: process.env.OPENROUTER_KEY,
    "default": {
      type: "llm",
      exec: sonnet
    }
  })

  const text = "s: @echo\nu: hello world";
  const messages = await tune.text2run(text, ctx)
  console.log(tune.msg2text(messages))
  // a: hello world
}
main()

read more about javascript sdk

📫 Contact

For any inquiries or support, feel free to open an issue on GitHub. Or drop a message to Tune Discord Channel

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft