AI & Automation: The Book of Life
Chapter II The Book of Life

AI & Automation

Working with AI day to day: coding assistants, vibe coding, LLM graders, context windows, and the jobs AI is changing.

This chapter is about using AI in real work, not about AI in the abstract. Most of it comes from a year of building with coding assistants and agents, and from measuring where they help and where they quietly make things worse.

22 essays in this chapter

  1. How AI Agents Changed My Development Workflow: From 13 Years of Coding to Orchestration I started with Udemy courses and StackOverflow panic. Now I run five AI agents across five projects from a CLI. Somewhere in between, my entire thought process changed. 7 min read
  2. Score Tool Call Arguments in LLM Evals: Exact Match vs AST Score tool call arguments by parsing them and comparing typed fields. Exact match rejects correct calls; AST-style comparison grades what matters. 6 min read
  3. Webhook Retries Trigger Duplicate AI Agent Runs Webhook retries trigger duplicate AI agent runs because senders redeliver any event that did not get a fast 2xx. Dedupe on event ID and on every tool call. 9 min read
  4. LLM Judge Scores Every Answer the Same: Fixing the Rubric An LLM judge scores every answer the same when its rubric has vague anchors and a coarse scale. Anchor each level, then check score spread before trusting it. 6 min read
  5. Langfuse vs Phoenix vs LangSmith for Agent Traces Langfuse vs Phoenix vs LangSmith: pick Langfuse to self-host with evals, Phoenix for OpenTelemetry tracing, LangSmith if you already run LangChain. 9 min read
  6. Synthetic vs Real Test Cases for LLM Agent Evals Synthetic vs real test cases for LLM agent evals: synthetic cases rank agents reliably but inflate scores, while real production traces catch what they miss. 6 min read
  7. AI Agent Tests Pass Locally but Fail in CI AI agent tests pass locally but fail in CI because the two environments differ in deployed code, model sampling, or skipped checks. Here is how to tell which. 9 min read
  8. API Pagination Cursor Expired Mid-Run in an Agent Tool When an API pagination cursor expires mid-run, an agent tool should resume from its last saved page key, not restart at page one or skip ahead. 8 min read
  9. Evaluate RAG Citation Accuracy: Does the Source Say It? To evaluate RAG citation accuracy, check that each cited sentence is entailed by its source passage, not that the link resolves. In one audit, a quarter failed. 9 min read
  10. Pydantic vs Zod for Validating LLM Tool Call Arguments Pydantic and Zod both silently drop unknown keys by default. How to close every schema and count rejections when validating LLM tool call arguments. 9 min read
  11. Adding an API Enum Value Is a Breaking Change for Agent Tools Adding an enum value is a breaking change for any API client or agent tool with a closed switch. Why spec diffs call it safe, and how to catch it. 9 min read
  12. LLM Structured Output: Validation, Retry or Constrained Decoding? Constrained decoding fixes JSON syntax, not silent failure. Why validate-and-retry loops for LLM structured output still lose work, and how to stop it. 8 min read
  13. LLM-as-a-Judge Reliability: Check Your Grader Against Human Labels LLM-as-a-judge reliability depends on more than an 80% agreement score. Here's what to check before you trust an AI grader. 9 min read
  14. When an Upstream API Changes, Your Agent's Tools Break Silently API breaking changes detection fails for AI agents because the break returns 200 OK. Why versioning and contract tests miss it, and what catches it. 9 min read
  15. AI-Assisted Coding vs Vibe Coding: The Difference Is Review Vibe coding and AI-assisted coding use the same tools and produce very different software. The line is review, and the data on what happens when you skip it. 9 min read
  16. AI Context Window Too Small? Why Long Prompts Lose Accuracy Your AI context window feels too small even at 200K. Lost in the Middle found 20-30% accuracy drops when the answer sits in the middle of a long prompt. 9 min read
  17. Agent Rule Conflicts: Why AI Pipelines Fail Silently When AI agents have conflicting rules, pipelines fail silently. No exception, no stack trace. How cascading deferrals break automation, and what to audit. 8 min read
  18. New Job Titles AI Is Creating, Not Just Destroying AI is killing jobs and creating stranger ones. Six new AI job titles paying real salaries in 2026, what each one does, and which will last. 10 min read
  19. Is AI Pair Programming Worth It? One Year With Copilot, Cursor and Claude Is AI pair programming worth it? After a year with GitHub Copilot, Cursor and Claude: the speed gains are real but concentrated, the bug data is sobering, and authorship quietly moves upstream. 10 min read
  20. Vibe Coding vs AI-Assisted Development: What Is the Difference? Vibe coding vs AI-assisted development: same tools, opposite workflow. The difference is whether you read, understand, and test the code before you ship. 10 min read
  21. Silent AI Code Bugs: Passing Reviews, Failing in Production AI-generated code looks right and still ships bugs review misses. Automation bias is why. How to audit it before three weeks of silence becomes an incident. 8 min read
  22. What AI Agents Still Cannot Replace About Senior Developers AI agents write code fast, but they can't replace the judgment, systems thinking, and context that senior developers bring to real problems. 7 min read