matt g (@mat_gajda) header
matt g (@mat_gajda) profile picture

💻 Writing about Software Development, Node.js, Python, AI Agents

Poland
Joined August 2018
Photo by matt g (@mat_gajda)Photo by matt g (@mat_gajda)Photo by matt g (@mat_gajda)Photo by matt g (@mat_gajda)Photo by matt g (@mat_gajda)Photo by matt g (@mat_gajda)Photo by matt g (@mat_gajda)Photo by matt g (@mat_gajda)Photo by matt g (@mat_gajda)Photo by matt g (@mat_gajda)
You can now set Claude Code's output style to Concise. Claude leads with the result, keeps responses short, and still gives full detail when you ask. Turn it on in /config → Output style, or set "outputStyle": "Concise" in settings.json.
935
987
767
19,281
3,370,665
Imagine that some people believe they have cracked it
18
It is a really good explanation about differences between all these fancy buzzwords, such as loop and graph engineering. Author covers implementation strategies and explain each concept. Worth watching.
A Chinese developer just explained the shift from Loop Engineering to Graph Engineering better than anyone. most people are still building agents the way that's about to be obsolete. > why single-agent loops break and go "goal blind" > the 4 parts of a graph: nodes, edges, state, policy > 3 topologies that run everything: diamond, supervisor, pipeline > Anthropic's 5 official workflow patterns the punchline: it's not how many agents you run. it's the determinism you build with verifiers, code fallbacks, and reality anchors. I broke the same architecture down with Kimi K3. Full A-Z guide below.
16
I think people are overcomplicating agent harnesses. I've been building backend systems for almost 20 years. When I look at an AI agent harness, I recognize 70% of it. In simple terms, an AI harness is the infrastructure around the model, and it is what makes it reliable enough for production. The way I see it: → Tool routing looks like an API gateway. → Memory builds on storage, retrieval, and context management. → Agent workflows are state machines. → Checkpoints are durable workflow state. → Retries, timeouts, and fallbacks are resilience patterns. → Guardrails and tool permissions are authorization. → Tracing is observability. → Evals test non-deterministic behavior. → Human approval is a workflow gate. We have used many of these concepts for decades. Now, the remaining 30% is where AI changes the rules. The model is probabilistic, so the same input can produce a different decision, tool call, or execution path. It can also produce something that looks correct while being completely wrong. Traditional software executes the path we define. An agent may help choose the path while it is running. And that unpredictability is why evaluations, observability, permissions, and constraints matter so much. I think that many of these "ground-breaking" concepts are just old backend patterns with a new name. If you take a 10,000-foot view, things will start to look similar. Thoughts?
39
21
5
288
21,822
If your #codex automation cannot reach the internet due to sandbox restrictions, try revisiting your configuration page in settings. Took me some time to figure it out 😅
2
28
We are entering an era of reading code rather than writing it. I wonder if, in the long term, this will actually expand our attention spans beyond what they are now in a world dominated by Instagram, TikTok, and the like.
2
13
For decades, the hardest part of being a programmer was writing the software in the first place. In the age of agentic coding, that has flipped: the hardest part is reading code you didn’t write and deciding whether to trust it. And careful reading, with all the hidden assumptions and trade-offs that aren’t obvious until you’ve sat with them, can genuinely be harder than writing the thing from scratch. mattgajda.com/blog/2026/05/1…
1
1
19
I was wiring up a bash-js sandbox in Next.js and hit a weird question: If bash-js is a JavaScript emulator (no real shell), why does it need HOME? new Bash({ cwd: WORKSPACE_PATH, env: { HOME: '/home/user' }, ... }) Turns out: a lot of reasons. 🧵
1
34
Even when the shell isn't real, the environment has to be. HOME, cwd, and the language flags aren't ornamental. They're the contract that makes the emulation usable. Skip them → you'll chase bugs that only reproduce on someone else's machine.
1
22
`cwd` is the same idea, one level down: relative paths resolve against it. The mental model: • HOME = where the user *lives* (configs, cache, `~` resolution) • cwd = where you *are right now* (where ls, cd, git status operate) HOME is identity. cwd is location.
1
16
`javascript: true` and `python: true` aren't magic interpreters. They're switches that decide which commands the pseudo-bash accepts: • javascript: true → node, npm, npx work • python: true → python, pip, venv work Flip off → unknown command. Rest of shell still works.
11