MIT licensed · qwen-3.8-27b · deepseek-v4.1-flash · no telemetry
BharatCode is an AI coding agent that lives inside VS Code. It reads your project, edits files across it, runs terminal commands, and drives a browser to check its own work — powered by bharatcode.ai with two models: qwen-3.8-27b (262k context) and deepseek-v4.1-flash (1M context).
Fork notice. BharatCode is a fork of Kilo Code, itself a fork of OpenCode. Upstream and its contributors did the heavy lifting — this fork brings their agent to the BharatCode platform. MIT licensed, attribution preserved. We do not claim their work as ours.
Get started in three steps
- Install —
ext install thenabbu.bharatcode-vscode from the Extensions view (VS Code 1.105.1+). Prefer a platform build? Grab the .vsix from Releases.
- Connect — create a key at bharatcode.ai and paste it when BharatCode asks. That is the entire onboarding: no second account, no CLI to install.
- Chat — open the BharatCode sidebar and describe what you want.
What it does
- Code generation across multiple files, applied as real edits you review as a diff.
- Agents — switch by intent: Code (implements), Plan (designs first), Ask (answers without touching files), Debug (traces failures). Bring your own custom agents as plain-text definitions.
- Agent Manager — several sessions side by side, each isolated in its own git worktree, so parallel work cannot collide.
- Terminal and browser control — it can run what it wrote and look at the result.
- Self-checking — the agent re-reads its own output and corrects before handing back.
- MCP servers, skills and rules in plain text, shaped per project.
- Generated commit messages from your actual staged diff.
- Inline actions on any selection: explain, fix, improve, add to context.
Two models, one key
| Model |
Context |
Reach for it when |
qwen-3.8-27b |
262k |
Everyday edits, fast turnaround, most tasks |
deepseek-v4.1-flash |
1M |
Whole-repo reasoning, long sessions, large files |
Switch mid-task from the model picker in the chat header. Both are served from a single OpenAI-compatible endpoint at https://bharatcode.ai/api/model/v1.
Private by default
This build strips upstream's cloud coupling rather than hiding it: no telemetry, no session sharing, no presence, no upstream model-catalogue fetch. Only bharatcode.ai is contacted — plus any BYOK provider you configure yourself. Your API key lives in the extension backend's auth store, never in settings.json. Details: PRIVACY.md.
Developer setup
bun install
bun run extension # build + launch VS Code in dev mode
bun run extension:isolated # same, in a clean profile under .kilo-dev/
Building a single-platform .vsix:
cd packages/kilo-vscode
bun run package
Snapshot builds for sharing a development cut:
cd packages/kilo-vscode
bun run snapshot:build # VSIX into your temp dir
bun run snapshot:install # build and install into VS Code
The snapshot version embeds the commit SHA and your git username, e.g. 7.0.47-snapshot+8ff7f2d02.yourname.
Configuration, gates and per-package commands: AGENTS.md.
Contributing
Contributions are welcome from developers and writers alike. Start with the Contributing Guide, and please read the Code of Conduct first.
License
MIT — use it, modify it, ship it commercially, keeping the attribution and licence notices.