Open-source AI coding assistant for VSCode and JetBrains. Multi-provider, self-hostable, made in India.
A Copilot / Cursor alternative designed for Indian developers, enterprises, public sector teams, and air-gapped deployments. Bring your own model — CodeSetu works with Sarvam, OpenAI-compatible APIs (Ollama, vLLM, OpenRouter, SGLang), and local self-hosted deployments. AI chat, inline FIM completions, tool-calling, and an extensible plugin and skill system across VSCode and JetBrains.
Highlights: AI chat in IDE · Inline (FIM) code completions · Tool-calling · Air-gapped friendly · Hindi / Indic-aware · Plugin + skill SDK · 100% open-source (Apache 2.0)
This repository is a pnpm + Gradle monorepo organized as:
apps/vscode— VSCode extension with chat and inline completion flowsapps/jetbrains— placeholder for the future Kotlin plugin (Gradle, outside the pnpm graph)packages/core— shared providers, provider factory, and tool-call registry (@codesetu/core)packages/plugin-sdk— plugin and skill type contracts for first- and third-party extensions (@codesetu/plugin-sdk)skills/— AI skill manifests (SKILL.mdper skill) loaded by hosts at activationplugins/— first-party plugins built on@codesetu/plugin-sdkdocs/ARCHITECTURE.md— full architecture, layout, and deployment notes
- Node.js 18+
- pnpm 9+
- A provider — Sarvam API key, OpenRouter key, or a local OpenAI-compatible endpoint (Ollama, vLLM, SGLang)
corepack pnpm install
cp .env.example .env
corepack pnpm build
corepack pnpm testSet SARVAM_API_KEY in .env before making real hosted Sarvam requests. For
local OpenAI-compatible servers, set CODESETU_PROVIDER=openai-compatible,
CODESETU_BASE_URL, and CODESETU_MODEL.
For local install and provider examples, see INSTALL.md. For Marketplace, Open VSX, and private VSIX hosting, see docs/PUBLISHING.md.
The VSCode extension reads these settings:
codesetu.provider-sarvamoropenai-compatiblecodesetu.apiKey- optional provider API keycodesetu.baseUrl- optional OpenAI-compatible base URLcodesetu.model- optional model namecodesetu.inlineCompletions.enabled- enable FIM inline completionscodesetu.chat.maxTokens/codesetu.chat.temperature
corepack pnpm lint
corepack pnpm build
corepack pnpm testOpen this repository in VSCode and press F5 from the extension workspace to
launch an Extension Development Host after the scaffold is expanded with debug
configuration.
- Discord — chat with users and maintainers
- GitHub Discussions — design questions, RFCs, longer-form
- GitHub Issues — bugs and feature requests
- Security: see SECURITY.md for private vulnerability reporting