01
The workflow layer is strategic
AI coding agents are becoming the daily interface through which developers write software, choose models, route code, and learn engineering habits.
I'm building BharatCode as a sovereign alternative to Cursor, Claude Code, and Copilot — built for Indian developers, students, freshers, enterprises, and institutions using open-source and Indian AI models.
brew install arbazkhan971/tap/bharatcodealso:npm i -g bharatcode-clicurl -fsSL …/install.sh | sh
Local-first, Rust-powered, open-source, and model-flexible — built to help India own the AI coding workflow layer while keeping private code private by default.
India should not only consume AI coding tools from the U.S. and China. India should build its own AI developer infrastructure — from compute and models to the coding agents developers use every day.
01
AI coding agents are becoming the daily interface through which developers write software, choose models, route code, and learn engineering habits.
02
The U.S. already dominates tools like Cursor, Claude Code, and Copilot while China is building its own AI model and developer ecosystem. India needs its own open developer infrastructure.
03
Millions of Indian learners should get access to AI coding workflows without being priced out or locked entirely into foreign platforms.
I'm looking for compute partners to help keep BharatCode free for Indian students and freshers for two years. Sponsored compute can turn BharatCode into a national AI coding adoption layer and help India build the data flywheel needed for stronger coding models.
Compute → adoption → models
The goal is a stronger Indian AI ecosystem powered by sponsored compute, mass adoption, and privacy-preserving consent.
BharatCode will not train on private user code by default. Any training data contribution will be opt-in, consent-based, and privacy-preserving, with clear controls for users, colleges, and organizations.
BharatCode already has a 14K+ YouTube developer community that can help educate, onboard, and mobilize Indian developers around sovereign AI coding workflows.
A terminal coding agent designed for India — sovereign by default, open-weight by choice, and shipped as a native Rust agent.
Offline + audited
Your source never has to leave the machine. An --offline mode rejects every non-localhost provider and disables web tools, while an append-only, tamper-evident audit log records each action — exportable proof for banks, enterprises, and DPDP-regulated teams.
Your model, your choice
Open weights are first-class, not an afterthought — Kimi K2, DeepSeek V3 / R1, and Qwen Coder run locally or on Indian and Asian inference, at a fraction of frontier cost. Around 24 providers are wired in; closed models stay optional, never required.
Open source
A Rust-powered terminal coding agent built for predictable local workflows, open-source extensibility, and a rupee-aware cost ledger that keeps spend legible from the first run.
LSP-backed code intelligence and a 22-tool agent loop, wrapped in the offline mode and audit trail that keep your source where it belongs.
navigate · symbols · rename
Real Language Server power, not guesswork: go-to-definition, references, and declarations via navigate, plus symbols, rename, code actions, hover, format, and live diagnostics across your project.
bash · edit · patch · grep
An autonomous loop wired to a full toolset — read/write/edit/multiedit, multi-file patch, glob/grep/ls, bash, web fetch/search, todo, and background jobs — so it can drive a repo end to end.
--offline
Run with --offline and BharatCode rejects every non-localhost provider and disables web tools — a hard guarantee that your code will not leave this machine.
bharatcode audit export
Every action is recorded to an append-only, tamper-evident audit log. Export the full trail with bharatcode audit export — compliance-grade proof of exactly what the agent did.
sarvam · krutrim · ollama …
Indian-first by design: Sarvam and Krutrim sit beside Anthropic, OpenAI, Gemini (native), OpenRouter, DeepSeek, Kimi, Mistral, Groq, Cerebras, Together, Ollama, and LM Studio — around 24 in all. Bring your own, no lock-in.
bharatcode update --apply
bharatcode update checks for releases; --apply downloads, verifies the checksum, and swaps the binary in place. Set auto_update: true to stay current automatically.
bharatcode eval
A built-in task suite measures real task success, steps-to-done, and recovery — so quality is something you can measure across every change, not just claim.
bharatcode recipes
Capture parameterized, repeatable workflows as recipes so your whole team runs the same tasks the same way every time — version-controlled alongside the repo.
One agent speaks to 23 providers. Start fully local, pin to India-built models like Sarvam and Krutrim, and your source code never has to leave the country — or reach for open-weight gateways and frontier closed models when you choose to. Your data, your call.
Inference runs on the device. Source code never leaves the box — air-gap friendly by default.
Run open models fully on your own machine. Nothing leaves the box.
Local model server with a friendly UI. Air-gap friendly.
Sovereign, India-built inference on Indian infrastructure — keep traffic in-country.
India-built sarvam-m. Sovereign, made-in-India inference.
Ola Krutrim — India-hosted models on Indian infrastructure.
Frontier-class open models — Kimi K2, DeepSeek, Qwen, GLM — often 10–20× cheaper than closed.
One key, many models — route to open weights or in-region hosts.
DeepSeek V3 / R1 — strong open-weight coding & reasoning.
Kimi K2 open weights — long-context agentic coding.
GLM-4.6 open weights — capable, low-cost agentic coding.
Mistral Large and Codestral — open-weight European models.
Open-weight models served at very high token throughput.
Wafer-scale inference for open weights at extreme speed.
Hosted open weights — Qwen Coder, Llama, DeepSeek and more.
Fast inference for open-weight coding models.
Low-cost hosted open weights — Qwen Coder and friends.
Hosted open-weight Llama and Qwen at scale.
Open-weight Qwen and Llama through one hosted gateway.
Closed frontier models for when you opt in — the same agent, your decision to make.
Grok models over an OpenAI-compatible endpoint.
Command models via Cohere’s compatibility API.
Sonar models for web-grounded answers.
Native Gemini 2.5 Pro / Flash, plus an OpenAI-compatible shim.
GPT and o-series frontier models via the native API.
Use your ChatGPT subscription via Codex OAuth — no API key.
Claude frontier models via the native Messages API.
Data stays in India. Local runtimes keep code on the device; region-pinned inference keeps it in-country. Built for banks, enterprises, and DPDP-regulated teams that can't ship source to a foreign cloud.
Every tool here is good at something. BharatCode is the one built to prove sovereignty — an enforced offline mode and a tamper-evident audit log, on top of being open-weight-first and cost-aware in rupees.
Comparison reflects each project’s typical configuration and public licensing. Capabilities of fast-moving tools change — verify against upstream docs before standardising.
Install the binary, then point it at a hosted open-weight provider or a fully local model. Same agent either way — your data stays in India.
A single static binary — no daemon, no telemetry, no Rust toolchain required. Pick whichever fits your machine.
brew install arbazkhan971/tap/bharatcodenpm install -g bharatcode-clicurl -fsSL https://raw.githubusercontent.com/arbazkhan971/bharatcode-cli/main/install.sh | shirm https://raw.githubusercontent.com/arbazkhan971/bharatcode-cli/main/install.ps1 | iexExport one key and go. Open-weight models like DeepSeek V3/R1 run 10–20× cheaper than frontier closed models.
export DEEPSEEK_API_KEY=... # or MOONSHOT_API_KEY, GROQ_API_KEY, etc.bharatcodeNo API key, no network round-trip — your source code never leaves your machine. Point at a local Ollama or LM Studio model.
bharatcode --provider ollama --model qwen2.5-coder:32bbharatcode --provider lmstudio --model qwen2.5-coder-32b-instructA few real flags
bharatcode --continueresume your most recent session.bharatcode run --jsonheadless NDJSON event stream for CI and automation./goalkick off bounded autonomous work from inside the TUI.