Welcome to CodeSetu
++ A privacy-aware, open-source AI coding assistant. + Bring your own model — Sarvam, Hugging Face, or any OpenAI-compatible API + (Ollama, vLLM, local). Your key is stored in the OS keychain; your prompts go only to + the provider you configure. +
+ +Get started in 30 seconds
+-
+
- Click Configure provider below. +
- Pick a provider, paste your API key (stored in the OS keychain). +
- Type a question and hit send. +
What you can do
+-
+
- + Repo-aware chat — your active file and selection are attached automatically. + Toggle this off any time from the + menu in the composer. + +
- + Selected-code actions — select code, right-click, then pick + Explain / Refactor / Write Tests / Fix Bug / Add Docs with CodeSetu. + +
- + Switch on the fly — click the provider · model chip in the composer to + change models or providers without leaving the chat. + +
-
+ Workspace skills — drop
.codesetu/skills/*.mdfiles at the project + root; they're folded into the system prompt for every message. +
+
Try these prompts
+-
+
- + Understand: “Explain what this file does and how the main function fits + in.” + +
- + Refactor: “Refactor the selected function for readability without + changing behavior. List the changes.” + +
- + Test: “Write unit tests for the selected function — happy path plus edge + cases.” + +
- + Debug: “Why might this function throw a null-pointer exception? Give the + smallest safe fix.” + +
- + Document: “Add JSDoc comments to the selected function — describe each + parameter and the return value.” + +
- + Translate: “Translate the selected Python snippet to TypeScript with + equivalent types.” + +
- + Generate: “Generate a regex that matches Indian phone numbers (+91, 10 + digits, optional spaces).” + +
+ Tip: Open the + menu in the composer to toggle + Include IDE context off when asking a general question — keeps prompts small and + your code out of the request. +
+