VS Code Extensions
CodeSetu

CodeSetu

by codesetu

Open-source AI coding assistant for VSCode with multi-provider chat and inline completions. Works with Sarvam, OpenAI-compatible APIs, and local models.

Downloads

35

Rating

— (0)

Version

0.4.15

Last updated

Jul 01, 2026

CodeSetu is an AI coding assistant for VS Code with chat and inline fill-in-the-middle completions.

Features

  • CodeSetu: Open Chat command
  • Status bar entry
  • Repo-aware chat context from the active editor and workspace snippets
  • Selected-code actions: Explain, Refactor, Write Tests, Fix Bug, Add Docs
  • Plan Mode — toggle the assistant into "produce a numbered plan, no edits"; one-click Approve & Run sends the implementation turn
  • AI Skills with a slash palette — type / in the composer to invoke /plan, /explain, /refactor, /test, /indic. Keyword auto-routing picks the right skill from natural-language prompts (toggle with codesetu.skills.autoRoute)
  • Voice (STT) — mic button in the composer with push-to-toggle and push-to-talk (hold) plus a spacebar hotkey when the composer is empty. STT backends: browser SpeechRecognition (default, free), Sarvam Saarika, OpenAI-compatible Whisper, or Hugging Face Whisper. Run CodeSetu: Setup Speech Provider to switch.
  • CodeSetu: Setup Provider guided provider configuration
  • CodeSetu: Setup Speech Provider guided speech configuration
  • CodeSetu: Diagnose Provider connection test and friendly errors
  • Inline completions for code files
  • Sarvam provider support
  • Generic OpenAI-compatible provider support for Ollama, OpenRouter, vLLM, SGLang, and similar endpoints
  • Workspace skills/checks from .codesetu/skills/*.md and .codesetu/checks/*.md

Provider Settings

Open VS Code Settings JSON and configure one provider.

Sarvam (sarvam-30b is the default; use sarvam-105b if your account/workload needs it):

{
  "codesetu.provider": "sarvam",
  "codesetu.apiKey": "YOUR_SARVAM_API_KEY",
  "codesetu.baseUrl": "https://api.sarvam.ai/v1",
  "codesetu.model": "sarvam-30b"
}

Ollama:

{
  "codesetu.provider": "openai-compatible",
  "codesetu.apiKey": "ollama",
  "codesetu.baseUrl": "http://localhost:11434/v1",
  "codesetu.model": "qwen2.5-coder:7b"
}

OpenRouter:

{
  "codesetu.provider": "openai-compatible",
  "codesetu.apiKey": "YOUR_OPENROUTER_API_KEY",
  "codesetu.baseUrl": "https://openrouter.ai/api/v1",
  "codesetu.model": "anthropic/claude-3.5-sonnet"
}

Troubleshooting

Open Output and select the CodeSetu channel to inspect provider errors.

License

Apache License 2.0.

Related extensions