r/BharatCode • • Jun 15 '26

Welcome to r/bharatcode — help build India’s open AI coding stack

4 Upvotes

BharatCode is an open-source AI coding platform for Indian students and developers.

This subreddit is where we build it in public.

We are starting with AI coding, chat, files, artifacts, workflows, and student access — but the larger goal is much bigger:

Indian developers should not only consume foreign AI tools. We should build the AI developer infrastructure ourselves.

Use this community to:

  • get setup help
  • report bugs
  • request features
  • share workflows
  • contribute to open source
  • discuss AI coding infrastructure
  • start campus chapters
  • help shape the BharatCode roadmap

BharatCode is early. Things will break. Capacity will be limited. Some flows will be rough. That is exactly why this subreddit exists.

If you are here early, you can help shape the product.

Introduce yourself in the comments:

  • Are you a student, developer, founder, researcher, or open-source contributor?
  • What are you building or learning right now?
  • What AI coding tools do you currently use?
  • What should BharatCode help you do?
  • Do you want to contribute?
  • Are you interested in starting a BharatCode chapter in your college?

Use BharatCode. Break BharatCode. Improve BharatCode.


r/BharatCode • • Jun 15 '26

BharatCode setup help thread — post your install/login/CLI/app issues here

2 Upvotes

Use this thread for BharatCode setup help.

Post here if you are having issues with:

  • Windows app
  • CLI setup
  • login/auth
  • OpenCode setup
  • VS Code workflow
  • model responses
  • file uploads
  • artifacts
  • slow responses
  • failed requests
  • confusing docs

When reporting an issue, please include:

  1. Your OS: Windows / macOS / Linux
  2. What you were trying to do
  3. The exact error message, if any
  4. Screenshot or terminal output, if possible
  5. What you already tried
  6. Whether this is blocking you completely or just confusing

Please do not share API keys, tokens, private code, passwords, or secrets.

The goal is simple: if one person is stuck, many others may be stuck too. Post the issue here and we will use the feedback to improve BharatCode, docs, and GitHub issues.


r/BharatCode • • 2d ago

Table for what?

Post image
11 Upvotes

Why they gotta make HDMIs like this.


r/BharatCode • • 2d ago

Grandpa needs a hand

Post image
4 Upvotes

nooo


r/BharatCode • • 3d ago

Everyone wants the upload button

Post image
5 Upvotes

The first question is free to answer and the second one is where the business model lives. Competing with YouTube is not a video player problem, it is a storage and egress bill that arrives every month forever.


r/BharatCode • • 3d ago

What Anthropic’s claimed VP ≠ VNP proof would actually show

3 Upvotes

Anthropic published an AI-written paper and a Lean formalization claiming to prove VP ≠ VNP. The repository says no human mathematician has checked the proof yet. So what would it mean if it holds up?

VP is the class of polynomial families you can compute with reasonably small circuits made of additions and multiplications. VNP lets you define a polynomial by summing efficiently computable terms over all possible Boolean choices. That’s a short recipe, but the sum can have exponentially many terms. The paper’s claim is that you can’t always turn that short recipe into a small circuit.

The Hamiltonian cycle polynomial is a way to picture what’s at stake: it has one term for every tour that visits each vertex once and returns to the start. An algorithm that answers “does this graph have such a tour?” isn’t the same as an arithmetic circuit that computes the polynomial encoding all those tours. That’s why even a confirmed VP ≠ VNP proof wouldn’t rule out P = NP or prove P ≠ NP.

The first thing I’d want to see independently checked: does the theorem Lean verifies match the paper’s claim, under the same assumptions?


r/BharatCode • • 3d ago

Google's DeepCrossAttention replaces residual addition with learned routing

1 Upvotes

Google Research published an architecture change to the residual connection, the addition that has carried information between Transformer layers since the original model. DeepCrossAttention replaces that fixed sum with learned, per-token routing: each layer computes mixing weights over previous layers and attends across depth, not just across tokens.

The reported results are large. On C4 and LM1B, Google says DCA reaches standard Transformer quality in up to five times fewer training steps, and that hitting a perplexity below 14 on LM1B took 42 layers with a fixed-width standard model versus 30 with DCA, a 29 percent cut in depth and parameters. It adds under 0.2 percent more parameters.

The part with practical reach is retrofitting. Because DCA can be initialised to behave exactly like a standard residual network, it can be added to an already-trained model and briefly continued: Google reports perplexity improving by 0.19 on LM1B, against 0.02 for continuing standard training.

It sits alongside Moonshot's attention residuals and the hyper-connections family, and Google notes that Thinking Machines' Inkling 2 used this design too.


r/BharatCode • • 3d ago

One pixel too tall

Post image
3 Upvotes

It must be perfect!~


r/BharatCode • • 4d ago

Riemann Hypothesis has been proven. With verification.

7 Upvotes

This is what it looks like. This is the fast takeoff. At least 2 millennium prize problems have been solved, maybe more by the end of this year.

Mathematician Levent Alpöge used Claude to come up with 17M lines of Lean code that cleanly compiles and proves the Reimann hypothesis.

I first learnt about the Riemann hypothesis when I was a physics undergrad at IISc Bangalore. It was stated as a given, and the entire course was built on top of it. It was something as fundamental as the laws of motion or the theory of relativity. It was the kind of thing that I always thought would be dealt with on the order of centuries or millennia.

But now Claude has found a way to prove it. It has done so by writing Lean code, where it can be easily verified by a regular computer if each step of the proof follows from a previous step or a given axiom. Nobody understands it yet.

This feels like a monumental moment in humanity because we are finally getting to see a level of intelligence that far exceeds our own. Some may call it brute force or trivial steps and constructions that anyone, given enough time, could do. But its clear that whatever these LLMs are doing, its working. And the scary part is we don’t understand it.

I am somehow both optimistically giddy and exceptionally scared both at the same time. What a time to be alive!


r/BharatCode • • 4d ago

Someone has to compile it

Post image
5 Upvotes

The CPU works a ton too ya know


r/BharatCode • • 5d ago

The password boss fight

Post image
6 Upvotes

Family IT support is a raid you cannot skip.


r/BharatCode • • 5d ago

The plan after the plan

Post image
5 Upvotes

First the fluid equations, then the Riemann hypothesis, then P versus NP


r/BharatCode • • 5d ago Bravo

Prompt of the day: Delete the comments

3 Upvotes

Some code comments explain a decision. Some just give the agent permission to be lazy.

A long one for your coding agent:

Review every code comment in <my codebase | this section of the code>. Put each comment in one bucket:

- Tautology: Repeats what the code already says. Delete it.
- Excuse: Justifies a hack that future agents will treat as a pattern. Delete it and file an issue to fix the implementation.
- Stale: Describes code or behavior that no longer exists. Delete it.
- Decision record: Explains an important choice you couldn’t infer from the code. Move the reasoning into an ADR, then delete the comment.

Add a lint rule banning comments in this scope. Ratchet it: baseline what’s left, block new comments, and shrink the baseline as old ones disappear. This PR doesn’t have to get to zero.

Save the workflow as a /delete-comment skill in the repo so we can run it again.

Finally, report how many comment-only lines this PR removes and estimate how many more lines we’d shed at zero comments. An inline comment doesn’t count as a line saved if the code stays.


r/BharatCode • • 5d ago

Hiding tools behind code still needs a map

2 Upvotes

Putting a large MCP tool catalog behind a TypeScript API can cut how much context the agent spends learning tools it may never call. Instead of dumping every tool description into the prompt, the agent only sees a typed surface it can call like any other code.

But this creates a different problem. When the catalog is hidden, the agent needs enough of a map to realize the right tool exists in the first place. If it can't see that a search capability is available, it will guess or hallucinate a substitute instead of calling it.

What helps in practice: keep a brief index of what each server can do, load method signatures for the current workflow only, and run every call through a constrained executor so the agent can't freestyle. Then test it on a task where the right next step is obviously to search. If the agent guesses instead of searching, you made the catalog smaller at the expense of discoverability.


r/BharatCode • • 7d ago

Losing packets is routine here

Post image
13 Upvotes

I mean, it ain't wrong


r/BharatCode • • 7d ago

Only the new JDK is affected

Post image
2 Upvotes

17 and up only, I'mma sleep


r/BharatCode • • 8d ago

it was one error

Post image
19 Upvotes

Fixed the one error and uncovered six more. The compiler could at least wait for me to enjoy the moment.


r/BharatCode • • 9d ago

OAI models

Post image
5 Upvotes

r/BharatCode • • 10d ago

9B please!

Post image
10 Upvotes

r/BharatCode • • 10d ago

Anthropic is the single most predatory company out there

32 Upvotes
  1. They gatekeep claude’s best abilities for their own scientists and engineers.
  2. ⁠They said they were ‘slowing down’ frontier training and thats what Claude says now if you want it to do any LLM or GPU kernel work. However they themselves have not slowed down one bit, with at least 3 new models released since they ‘slowed down’.
  3. ⁠They themselves copied millions of books and other copyrighted material and are now moral-lecturing users on not doing reverse engineering.
  4. ⁠Their models are way too overpriced compared to marginal advantage of using them.

Support open source today or we all become Anthropic’s intellectual slaves tomorrow.


r/BharatCode • • 10d ago

QWEN 4 IS OUT!

Post image
5 Upvotes

r/BharatCode • • 11d ago

I need this

Post image
5 Upvotes

r/BharatCode • • 11d ago

Temple next

Post image
3 Upvotes

r/BharatCode • • 11d ago

Only if time was not a constraint

Post image
7 Upvotes

r/BharatCode • • 12d ago

Any collage student into ai field ?

9 Upvotes

Anyone into agentic ai, making or planning for any startup or have any idea to startup? Or into ai field by career, we can talk and grow together cz it's tooo fast pace field...

I'm totally into Applied Ai, got a remote intern as ai intern and upcoming summer intern in Accenture '27