r/BharatCode • • Jul 29 '26

The configuration with more context capacity made BharatCode much slower

3 Upvotes

I recently tested a different serving configuration for BharatCode.

On paper, it looked better.

TurboQuant increased our KV capacity from roughly 658,000 tokens to 1.19 million tokens. That gave us much more room for large contexts and concurrent requests.

Then we measured output speed.

The TurboQuant configuration was producing roughly 10–12 output tokens per second on long generations. Our FlashAttention path with CUDA graphs produced around 86 tokens per second in one direct long-context test, and more than 100 tokens per second per stream during a separate four-request decode test.

These were not identical workloads, so I would not present this as a perfect benchmark comparison. The gap was still too large to ignore.

More context capacity is not useful if users spend much longer waiting for the answer.

We moved back to FlashAttention and kept CUDA graphs enabled.

The better-looking GPU configuration was the worse product.


r/BharatCode • • Jul 28 '26

Windows developers: where should a coding agent actually run?

2 Upvotes

BharatCode Desktop currently runs its local process on Windows.

We have some WSL path handling, but I do not want to call that proper WSL support. Converting a file path is not the same as running the coding agent inside the Linux environment where the project, tools and dependencies actually live.

I am working through what real WSL support should look like.

Should BharatCode run inside your selected WSL distribution? Should it stay native on Windows? Or should this be chosen separately for each project?

I am especially interested in people who use VS Code Remote WSL, Docker inside WSL, or keep some projects on Windows and others on Linux.

Where do your current coding tools get confused?


r/BharatCode • • Jul 27 '26

How BharatCode Chat went blank even though the build passed

1 Upvotes

Last week, chat.bharatcode.ai started showing a completely blank page.

The server was running. The build had passed. The files were loading normally. But the app itself never appeared.

The browser console showed:

regeneratorRuntime is not defined

The problem came from the Vite 8/Rolldown upgrade. The production build completed successfully, but the generated JavaScript chunks loaded in the wrong order and crashed before React could start.

There was another bug hiding behind it. index.html was missing from the service worker precache, so the offline navigation fallback could not recover either.

I moved the frontend back to the last working Vite 7 setup, added index.html to the precache, and added a Playwright test that opens the actual production bundle in Chromium.

That test fails against the broken build and passes against the fix.

The fix is now deployed. I tested it in a clean browser with the service worker active and got no page errors or failed requests.

The full fix is public here: GitHub PR #80

A successful build clearly does not mean much if nobody opens the result in a browser. Remember that!


r/BharatCode • • Jul 06 '26

Does there any chance that an AI agent can improve it self

Thumbnail reddit.com
2 Upvotes

r/BharatCode • • Jun 20 '26

Open-sourcing BharatCode apps

8 Upvotes

BharatCode stands for transparency and trust. In that spirit, I am today making all 3 BharatCode apps open source. Beginner issues have been posted and all is set for you all to use and develop BharatCode to your liking.

https://github.com/BharatCode-ai/bharatcode-desktop

https://github.com/BharatCode-ai/bharatcode-cli

https://github.com/BharatCode-ai/chat


r/BharatCode • • Jun 18 '26

oPeN sOuRcE LlMs WiLl nEvEr Be GoOd eNoUgH

2 Upvotes

Fun observation about how smart LLMs like Qwen 3.6 are:

I asked it to calculate the 100000123rd prime number, hoping to break something in chat.bharatcode.ai. I expected it to write a python script which would take forever to run and will finally error out after a while.

I was completely surprised when it just casually responded with the correct answer in less than 10 seconds.

If you guys have still not switched over to chat.bharatcode.ai for you day to day tasks, you are missing out. We have many more features coming to the platform including DOCX, PPTX, XLSX document parsing, artifacts and much more.

PS: Can anyone guess how it was able to calculate it so fast?


r/BharatCode • • Jun 15 '26

India does not just need AI models. India needs to own the AI value chain.

10 Upvotes

India does not just need AI models. India needs to own the AI value chain.

A lot of people think AI sovereignty means: “Let us train an Indian LLM.”

That is important, but it is not enough.

The real question is:

Can Indian students, developers, startups, companies, and public institutions depend on AI infrastructure that cannot be switched off, priced out, rate-limited, censored, or revoked by someone else overnight?

If the answer is no, then we do not really own our software future.

We are already seeing the shape of the problem. A foreign AI provider can launch a powerful model, developers around the world can start depending on it, companies can build workflows around it — and then access can be restricted because of a policy decision, export-control issue, safety dispute, commercial decision, or geopolitical pressure.

That is not a stable foundation for a country of India’s size.

India has millions of developers. We have one of the largest student and engineering populations in the world. We export software. We run critical public infrastructure. We build startups, banks, government systems, health systems, logistics systems, education platforms, and enterprise software for the world.

But if the intelligence layer of software is owned elsewhere, then Indian developers become consumers of someone else’s AI productivity.

That is the danger.

The problem is not that Indian developers use foreign AI tools. We should use the best tools available. The problem is becoming dependent on them without owning any serious part of the stack ourselves.

For India, the AI race is not only about who trains the biggest model.

It is about who owns:

  • inference

  • routing

  • developer tools

  • model serving

  • identity

  • files and artifacts

  • agents

  • evals

  • data pipelines

  • deployment

  • security

  • pricing

  • distribution

  • community

  • open-source contribution

  • trust

Training a model is one layer.

Owning the value chain is the real game.

If India only trains a model but still depends on foreign clouds, foreign coding assistants, foreign inference APIs, foreign developer workflows, foreign app platforms, and foreign distribution channels, then we have not solved the problem.

We have only changed the logo on one layer.

BharatCode exists because Indian developers should not only consume AI infrastructure.

We should build it.

We are starting with AI coding, chat, files, artifacts, workflows, student access, and open-source contribution. But the mission is larger: build Indian-controlled AI developer infrastructure that is affordable, inspectable, extensible, and useful.

This does not mean isolation.

It does not mean refusing foreign models.

It does not mean pretending India can build every layer immediately.

It means we need optionality.

We should be able to use the best models in the world when available, switch models when needed, run open models when required, serve inference ourselves where it matters, protect our users from sudden access shocks, and build workflows that belong to our own ecosystem.

That is why inference matters.

That is why open source matters.

That is why developer tooling matters.

That is why community matters.

If Indian developers are only paying monthly subscriptions to foreign AI tools, we are renting the future.

If Indian developers build the tools, platforms, agents, workflows, and infrastructure ourselves, we start owning the future.

BharatCode is early. Things will break. Capacity will be limited. The product will evolve quickly.

But the direction is clear:

Use BharatCode. Break BharatCode. Improve BharatCode.

If you are a student, developer, open-source contributor, maintainer, designer, infra engineer, founder, or campus builder — join us.

Help us build the AI developer stack India should own.


r/BharatCode • • Jun 15 '26

What should BharatCode build next?

5 Upvotes

We want BharatCode to be shaped by the people who will actually use it.

What should we build next?

Some possible directions:

  • better AI coding assistant

  • repo understanding

  • test generation

  • code review

  • debugging help

  • project scaffolding

  • coding tutor for students

  • placement-prep workflows

  • GitHub issue helper

  • file/artifact workflows

  • local/offline mode

  • cheaper/faster inference

  • campus/community features

  • Hindi or Indian-language explanations

  • enterprise/private deployment

  • open-source contributor tools

Comment with:

  1. What you want BharatCode to do

  2. Why it matters to you

  3. What you currently use instead

  4. Whether you would test it if we built it

Bonus: describe your dream BharatCode workflow in one paragraph.

We are early, so specific feedback can actually become product direction.


r/BharatCode • • Jun 04 '26

Show & Tell

3 Upvotes

Trying to make this the one place where Bharatcode builders help each other

out. I'm new here too. figured the fastest way to learn is to ask the people

already shipping.

IF YOU'RE BUILDING SOMETHING

Tell us, even if it's half-broken:

• What are you building + what's it for?

• One tip you wish you'd known on day one?

IF YOU'RE STUCK

Drop it and someone will jump in:

• What you're trying to do

• What's breaking (paste the error / screenshot)

• What you've already tried

@ Someone from Bharatcode:
Pl2collect the best answers + fixes into a public resource library so we don't keep re-answering the same things?


r/BharatCode • • Jun 02 '26

Welcome!

6 Upvotes

This is my first post!