Emptying the Cup
  • Home
  • Start Here
  • Series
  • Topics
  • Speaking
  • About
Sign in Subscribe

The AI Operations Stack

The operational layer beneath reliable AI systems: direct API integration, quality ratchets, recovery orchestration, and cost as a P&L.
Building With AI

Cost Observability in AI-Assisted Development: Understanding What Your Agents Spend

AI agent costs scale with context complexity more than output volume, which makes them harder to predict than traditional compute. Per-task instrumentation is what makes the spend legible and optimizable.
07 Jul 2026 4 min read
Building With AI

Structured Recovery Orchestration for AI Agents: Beyond Retry

Transient agent failures yield to retry. Structural failures do not. A seven-phase recovery pipeline that classifies failures, routes them to the right response, and converts each recovery into prevention.
07 Jul 2026 5 min read
Building With AI

Unidirectional Quality Gates in AI-Assisted Development: The Ratchet Pattern

AI-assisted development can lead to gradual quality regressions. The "ratchet pattern" enforces monotonically non-decreasing quality metrics, blocking merges that lower any measured value below a recorded floor.
06 Jul 2026 4 min read
Building With AI

Direct API Integration for AI Agents: Lessons from Removing the CLI Layer

Spawning a vendor CLI as a subprocess is the fast path to AI agent integration, and it breaks down at scale. Direct API calls behind a thin adapter make production orchestration more reliable and far easier to debug.
04 Jul 2026 3 min read
Page 1 of 1
Emptying the Cup © 2026
  • Popular
  • Archive
Powered by Ghost