Been building a Devin-type agent from scratch this week. not using LangChain, not using any framework. pure Node.js/TypeScript. here’s what today looked like 🧵
🎬 The Cinéprism Newsletter is live
Your weekly deep dives into cinema, filmmaking, pop culture & the stories behind the screen.
If you're a cinephile or simply someone who loves movies beyond surface-level reviews, this is for you.
Do subscribe:
https://t.co/RYniLzDNjK
5/ the insight that made it click:
Claude doesn’t execute. Claude narrates.
it says “I would run npm install here” and you run it.
it says “I would write this file” and you write it.
it says “I’m done” and you stop.
your orchestration code is what makes an LLM response into actual running software.
building this without frameworks is the point. every abstraction you skip, you understand one layer deeper.
4/ what makes this hard in production isn’t the happy path.
it’s:
→ Claude calling tools in an infinite loop (add a max iterations guard)
→ Claude returning JSON wrapped in markdown fences (strip them before parsing)
→ knowing when to give Claude a fresh context vs continuing history
→ tool errors that Claude needs to see and recover from, not just throw
been handling all of these today. each one is a small thing that breaks silently if you miss it.
Been building a Devin-type agent from scratch this week. not using LangChain, not using any framework. pure Node.js/TypeScript. here’s what today looked like 🧵
Every time you use a Solana app — swap tokens, mint an NFT, stake SOL — there’s a quiet little thing called a PDA doing the heavy lifting behind the scenes.
Most devs copy-paste them without really understanding WHY they exist.
Let me fix that 🧵
#solana
TL;DR on PDAs:
→ Off-curve addresses with no private key
→ Derived deterministically from seeds + program ID
→ Programs “sign” for them via runtime verification
→ Let programs own and control accounts trustlessly
→ The foundation of almost every serious Solana app
Once this clicks, reading Anchor programs stops being scary.
RT if this helped someone understand Solana better 🙏
Every time you use a Solana app — swap tokens, mint an NFT, stake SOL — there’s a quiet little thing called a PDA doing the heavy lifting behind the scenes.
Most devs copy-paste them without really understanding WHY they exist.
Let me fix that 🧵
#solana
Common gotcha new Solana devs hit:
When you find the PDA’s bump seed, STORE IT in the account. Don’t recompute it on every transaction — that’s unnecessary hash iterations.
Pattern: save bump: u8 in your account struct at creation → pass it back as a seed when you need to sign later.
Your future self will thank you.