/stack

How I use the tools

Four things I use every week. No logo wall, just what each one is for and where it usually goes wrong.

01 / runtime

Node.js

The event loop sets the rules. Everything else follows.

Async work is a budget. I decide what runs inline, what goes to a queue, and what gets its own process. Large payloads get streams, not buffers, and backpressure instead of a growing array.

02 / interface

REST APIs

Predictable nouns. Honest status codes.

Resource shapes get decided before the first route handler. Validation sits at the edge. One error format across every endpoint, so a client never has to guess which key holds the message.

03 / automation

Bots

Acknowledge fast, then do the work somewhere else.

Webhooks return 200 immediately and push the job to a queue. Handlers tolerate redelivery. Every state change is logged, so a lost message can be traced to the exact step where it stopped.

04 / agents

AI agents

The model proposes. The runtime decides.

Tool calls get validated against a schema before execution. Step limits and timeouts live outside the prompt, where the model can't talk its way around them. Anything with a side effect needs permission set by the caller.

The editor and the deploy target change every couple of years. These four are the parts I keep coming back to.