Production engineering · AI agents · SRE
Production Notes
Build AI agents you can debug, evaluate, and operate.
Practical notes on runtimes, tool calls, incident investigations, and the unglamorous controls that make agent systems useful after the demo.
Featured by CNCF: You Can’t Debug What You Can’t See — Observability for AI Agents
Latest production notes
Newest notes first — no archive digging required. The six most recent posts are right here; follow the series label on any card to open its full reading order, or browse every series.
100 TB/Day ClickHouse on AWS: Continuous Spot Data Flows, NVMe Cache, and CAS Cold-Tier Cost
An interactive D3 walkthrough of a 100 TB/day (3.04 PB/month) self-managed ClickHouse cluster on AWS with On-Demand writer-0 (backup-wake coordinator), Spot ...
Three Generations of a 30 TB/Day ClickHouse Fleet: Non-CAS vs. CAS, What Broke, and a Blueprint for Self-Managed S3
We evolved a 30 TB/day self-managed ClickHouse cluster on AWS through three distinct architectures: naive S3-tiered ReplicatedMergeTree, tuned upstream 26.8 ...
Meet chinit: Running ClickHouse on Plain Cloud VMs Without Missing Kubernetes
We open-sourced chinit (Apache-2.0) — a single Go binary that boots, scales, and self-heals ClickHouse on AWS EC2 and Azure VMs without a Kubernetes cluster....
Why ClickHouse Looked 30% Busy While Maxed Out: The 125 MB/s EBS gp3 Wall
During a 30 TB/day synthetic log soak on AWS, our ClickHouse writers showed 64 concurrent background merges while CPU user utilization sat at 25–35%. Why was...
The Math of ClickHouse CAS on AWS: How Content-Addressed S3 Cuts Cold Storage from R× to 1×
An S3 Gateway Endpoint makes the network wire between your VPC and S3 free ($0/hr, $0/GB) — once you close every missing route table and region-less CLI call...
Why the Fix Didn't Fix It: Stopping a 16.8M-Request S3 API Storm in a ClickHouse Fleet
We shipped shared S3Queue keeper paths, hash-ring filtering, and online EBS disk autoscaling — and AWS Cost Explorer still billed $84.05 in a single partial ...
Browse the full archive — every series in reading order →
Start with a production problem
No need to read the whole archive. Pick the problem in front of you and follow a focused path.
Debugging
Find where an agent run went wrong
Freeze a reproducible task, inspect the trace, and replay one controlled change.
Evaluation
Test whether an RCA is trustworthy
Score evidence and named unknowns before fluency, latency, or token cost.
Architecture
Understand the agent runtime boundary
Separate the execution loop from the model, chat UI, and multi-tenant platform.
Language choice
Compare Go and Python for AI agents
Make the trade-off using deployment, concurrency, libraries, and team experience.
Operations
Interrupt or contain an active agent
Apply corrections at safe boundaries without silently dropping operator feedback.
API selection
Diagnose API, model, and latency choices
Distinguish Chat Completions, Responses, reasoning effort, retries, and tool wait.
Choose a reading path
| Path | Best for |
|---|---|
| SRE on-call starter pack | Triage, RCA, observability — 5 posts |
| SRE as service starter pack | Investigation as a service product — 5 posts |
| Go agent runtime starter pack | Runtime definition, Go vs Python, platform split — 5 posts |
| ClickHouse on AWS starter pack | Self-managed ClickHouse from first principles — full series |
| Full enterprise AI agent series | Searchable archive in full reading order |
| Service Rendered Efficiently | AI investigation as a service product for on-call |
Pocket checklists
Copy these into an incident review or agent launch review. No proprietary schemas required.
- Debug a multi-step agent — reproduce, inspect, change one thing, replay
- Review evidence-gated RCA — claims, receipts, and unknowns
- Ask whether the agent task is done — independent verification and mutation safety
- Review SRE as a service — reuse, honest partials, and handoff
Browse by topic
- AI agent runtime — execution boundaries, debugging, testing, and Go architecture
- AI agent workflows — bring-up, evidence-gated RCA, and verification
- AI agents for SRE — triage, observability, and tokenomics
- AI incident triage — on-call triage versus demo theater
- Go AI agents — language choice and platform architecture
- ClickHouse on AWS — engines, S3 storage, spot readers, and cost
- Service Rendered Efficiently — investigation product design
About these notes
I’m Sabith K S, a Principal Engineer at StackGen. I write about the systems we build, the mistakes we make, and what we can learn from them. The examples often come from building Aiden, StackGen’s platform for running agents for multiple teams, and from site reliability engineering (SRE) work.
These are engineering notes from a particular production setting, not a claim that every team needs an agent—or needs to build one in Go.
Stay in the loop — production notes on AI agents, workflows, and SRE.
Low volume — new posts and curated reading lists. Unsubscribe anytime.
Connect
- Newsletter: Subscribe on Substack · Issue #1 — Start here · RSS
- GitHub: @sks
- LinkedIn: Sabith
- Company: StackGen