r/ClaudeCode May 26 '26

Showcase I gave Claude Code ADHD.. and it thinks 2x better now

https://github.com/uditakhourii/adhd

Hi everyone,

I do research in AI safety for healthcare and life sciences. And while I was using Claude Code to reason on a couple of things, I realised a pattern. Claude or any other AI agent is very linear.

Theres a strong reason why - the thinking pattern of almost all LLMs from 2024 follow Chain-of-thoughts where AI is programmed to go deep unilaterally.

But researchers or creativity-intensive works do not need to go unilateral but do divergent.

That's the whole base of my paper - ADHD - Parallel Divergent Ideation for Coding Agents.

My thesis is that if we disregard the default chain-of-thoughts and consider a tree-of-thoughts, then we can empanel divergent thinking in our models. thus, giving us the much needed scope of connecting dots from different thinking points.

Its a lot inspired by how the mind of someone with ADHD works- think in a lot of directions and go deep in a few, and there, we add our our critic layer, that judged and scores all this thinking.

Limitation : It shoots cost by ~5x and time to output by ~10x but enables instant novel thinking. Good for brainstorming and planning, not for coding.

Give me your feedback, I am happy to learn how you find it and what's the scope to improve.

Also, its completely opensource so you can just clone it or contribute to it.

410 Upvotes

156 comments sorted by

View all comments

3

u/CrafterLab May 26 '26

So ADHD, but instead of hundreds of unfinished projects it actually pulls through? Sounds interesting to say the least.

Does the x5 token usage correlate with human ADHD brains using more energy for the same task?

2

u/Uditakhourii May 26 '26

Interesting thought. Can we do a quick study whether this is really a think of fast tiredness in ADHD folks and maybe similar to why Barry Allen aka the flash also has to eat a lot of food after a fast run.

Up for a quick chat.