JavaScript · AI-Native
AI-Native JavaScript
Configuring agents, harnesses and feedback loops for this language. Updated as the tooling moves.
Start here
Set up the workspace
Build the loop
01
Testing JavaScript that calls a language model
Your function is now non-deterministic, slow, costs money per call, and streams. Here is a test strategy that still works — including for the streaming part, which is where most of the real bugs are.
02
Tracking and cutting token costs in Node
Node's specific cost problem is streaming: the user leaves, the stream keeps running, and you keep paying. That plus three other changes usually halves the bill.
Get the JavaScript agent pack
A battle-tested AGENTS.md, the review checklist, and the failure-mode cheat sheet for JavaScript. One email, then occasional updates when the tooling shifts. No course pitch.
AGENTS.md now — no email needed.