Skip to content

getcodesetu/codesetu

CodeSetu

Open-source AI coding assistant for VSCode and JetBrains. Multi-provider, self-hostable, made in India.

CI License: Apache 2.0 Discord PRs Welcome

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)

Status

This repository is a pnpm + Gradle monorepo organized as:

  • apps/vscode — VSCode extension with chat and inline completion flows
  • apps/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.md per skill) loaded by hosts at activation
  • plugins/ — first-party plugins built on @codesetu/plugin-sdk
  • docs/ARCHITECTURE.md — full architecture, layout, and deployment notes

Prerequisites

  • Node.js 18+
  • pnpm 9+
  • A provider — Sarvam API key, OpenRouter key, or a local OpenAI-compatible endpoint (Ollama, vLLM, SGLang)

Setup

corepack pnpm install
cp .env.example .env
corepack pnpm build
corepack pnpm test

Set 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.

VSCode Settings

The VSCode extension reads these settings:

  • codesetu.provider - sarvam or openai-compatible
  • codesetu.apiKey - optional provider API key
  • codesetu.baseUrl - optional OpenAI-compatible base URL
  • codesetu.model - optional model name
  • codesetu.inlineCompletions.enabled - enable FIM inline completions
  • codesetu.chat.maxTokens / codesetu.chat.temperature

Development

corepack pnpm lint
corepack pnpm build
corepack pnpm test

Open 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.

Community

License

Apache License 2.0. See LICENSE and NOTICE.

About

Open-source AI coding assistant for VSCode & JetBrains. Multi-provider (Sarvam, OpenAI-compatible, Ollama, vLLM). Built for Indian developers, public-sector teams, and air-gapped enterprises. Copilot/Cursor alternative.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors