Claude Code fully dissected!
Researchers from UCL reverse-engineered the leaked Claude source. What they found changes how you should think about agent design.
Only 1.6% of the codebase is AI decision logic.
The other 98.4% is operational infrastructure. Permission gates, tool routing, context compaction, recovery logic, session persistence. The model reasons. The harness does everything else.
This is the opposite of what most agent frameworks do today.
LangGraph routes model outputs through explicit state machines. Devin bolts heavy planners onto operational scaffolding. Claude Code gives the model maximum decision latitude inside a rich deterministic harness, and invests all its engineering effort in that harness.
The core loop is a simple while-true. Call model, run tools, repeat.
But the systems around that loop are where the real design lives:
A permission system with 7 modes and an ML classifier. Users approve 93% of prompts anyway, so the architecture compensates with automated layers instead of adding more warnings.
A 5-layer context compaction pipeline. Each layer runs only when cheaper ones fail. Budget reduction, snip, microcompact, context collapse, auto-compact.
Four extension mechanisms ordered by context cost. Hooks (zero), skills (low), plugins (medium), MCP (high). Each answers a different integration problem.
Subagents return only summary text to the parent. Their full transcripts live in sidechain files. Agent teams still cost roughly 7x the tokens of a standard session.
Resume does not restore session-scoped permissions. Trust is re-established every session. That friction is the point.
The bet behind all of this is simple. As frontier models converge on raw coding ability, the quality of the harness becomes the differentiator, not the model.
Paper: Dive into Claude Code (arXiv:2604.14228)
In the next tweet, I've shared an article I wrote on Agent Harness and what every big company is building. Do check.
Creating this kind of pixel game asset animation is actually very simple.
First, use niji 7 to generate a pixel-art game character:
pixel art of an anime girl knight in blue and white armor, with pink hair, holding a sword and shield, in the style of pixel art. --ar 1:1 --niji 7
Next, use Nano Banana to create 9 different poses of the same character:
Generate a 3x3 grid on a pure white background, showing 9 different side-view poses of the same character.
Finally, use Grok to turn the 3x3 sheet into an animated sequence:
This is a 3x3 character sprite sheet containing 9 different poses of the same pixel-art character. Make each character move with subtle motion like an idle animation in a pixel game. Each frame should have slightly different movement rhythm and details, creating an overall GIF-like animated feel.
The world is a market. Dubai’s stock was flying and needed a pull back. Cost of living + doing biz will dramatically decrease, many will have left, new comers will be enticed by the government. The pull back will give a discounted entry to Dubai. In other words, this a buy the dip opportunity.
I like $near here as a longterm play
Cex’s are out, dex’s are in, near provides the infrastructure for swaps
5 years of price action to reach this point
No need to fomo it, just asymmetric gains to the upside longterm, easy dca on dips
jp morgan is already saying $base is worth $35b
when was the last time we saw the biggest tradfi bank shilling a crypto token pre-tge?????
never thats when
remember, coinbase is is a $100b company that's already owned by wall street
if the bankers are involved in letting their portco release a crypto token
you can be sure they will make sure it pumps
so what's the play??????
well, farming base is something you have *probably* been doing passively for years
that is if you're actually a crypto participant and not just some larp / gm scientist (98% of ct)
probably a good idea to use zora and the base app because surely coinbase will allocate drops to users of their native products
beyond that the thing i'm really interested in is a base onchain season
it's here already, and it's based around the ai payment rails x402 tech
how am i playing it?????
very simple tbh, just buy the winner and ride it (no homo)
> $ping
this is the first x402, the one with the best ticker, and will be the winner
i think it has a chance to hit $1b, maybe more
it's in baldy and weirdo jesse's best interests to push this
pure memes are cooked, at least this pretends to be tech
> $clanker
something something i heard a rumor buybacks are getting announced next week
and they will be using significantly all revenue to fund them
that's a rumor, dyor
> other
if the tokens above take off even further, we will see a whole szn of derivatives
i think that's coming
the play with them will be fast flips, flip the deriv, ride the king (ping)
closing thoughts
a potential base onchain szn is the most interesting thing in crypto rn
it's in coinbase's best interest to take as much attention as they can here, and they have new ai-heavy tech to use as the trojan horse
they also have strong tradfi banker tailwinds
might shape up very nicely into a $base tge and we all get paid
btw @jessepollak@brian_armstrong give me a sign if i nailed the gameplay exactly right 😉
thanks for reading
- kook
ps as for how to trade these coins, i'm using @tradingterminal
good place to be trading given pump fun just bought them...... hint hint hint
kook padre link 🔗👉 https://t.co/edlR0iqky6