Vibe Coding Governance: AGENTS.md, Cursor Rules & AI Observability for Engineering Teams (2026)

Series Orientation: This article is Part 6 of the AI Code Review & Vibe Coding series, looking at team governance and developer career paths. For the preceding security chapters, see Part 5 — AI Code Security. As highlighted earlier in this series, the METR study (2025) revealed a striking paradox: experienced developers using AI tools were actually 19% slower on complex real-world tasks, even while believing they were 24% faster. ...

May 31, 2026 · 19 min · Lê Tuấn Anh

Production Agentic Search Optimization in Go

In Part 5: Critique Loop - Preventing LLM Hallucination, we successfully built an automated response auditing module to ensure logical accuracy. However, when deploying this Agentic Search system to a large-scale production environment serving millions of users, you will immediately face practical operational challenges: Unit Economics: Every user search going through multiple LLM calls (from generating answers, calling tools, to self-critiquing) will skyrocket API bills. Latency: Customers won’t patiently wait 5-10 seconds to receive the complete final answer. Observability: How do you trace which nodes a request went through, how many tokens it consumed, and where it encountered errors? The final article in this series will guide you on thoroughly solving these problems by integrating Semantic Caching (Redis), Deterministic Model Routing, Server-Sent Events (SSE) Streaming, and OpenTelemetry Tracing into the Eino (CloudWeGo) framework. ...

May 22, 2026 · 7 min · Lê Tuấn Anh

Part 6: Observability & Audit Trail

As mentioned in Part 5, the MCP08 (Lack of Audit & Telemetry) vulnerability is one of the biggest risks in Agentic systems. In the AI Driven Playbook, we agreed that: When AI automates tasks on behalf of humans, the requirements for Observability and Auditing become stricter than ever, especially under the pressure of regulations like the EU AI Act. When a human clicks a button and the system crashes, we have an error stack trace. When an Agent hallucinates, calls the wrong MCP tool, and drops a database table, we need more than a stack trace—we need the entire “Chain of Thought” leading to that disaster. ...

May 15, 2026 · 5 min · Lê Tuấn Anh

Part 9: Agentic Observability - Monitoring & Debugging the AI's Train of Thought

1. The “Black Box” Problem & The Incompetence of Traditional APM In traditional software systems (Web/App), you can use APM (Application Performance Monitoring) tools like Datadog or New Relic for monitoring. If the system returns an HTTP 200 OK code, you know everything is working fine. If it returns HTTP 500, you open the Log to see which line of code failed. But with AI Agents, this logic completely collapses. An Agentic system can swiftly return an HTTP 200 OK, without throwing any Exceptions, yet the returned content could be flawed financial advice (Hallucination) that costs the company millions of dollars. ...

May 17, 2026 · 4 min · Lê Tuấn Anh

Part 5: Observability in Memory – When Everything Shares a Single Call Stack

Part 5: Observability in Memory – When Everything Shares a Single Call Stack When it comes to operating a production system, Observability is the line between fixing an issue in 10 minutes and staying up all night searching for the root cause. Microservices architecture has made Observability extremely expensive and complex with the advent of Distributed Tracing. Conversely, the Modular Monolith brings debugging back to its most fundamental roots: Monitoring the entire system through a single Call Stack in memory. This simplicity brings overwhelming technical advantages. ...

July 3, 2026 · 4 min · Lê Tuấn Anh

Go Microservices Distributed Tracing Architecture (2026)

Answer-first: Solve observability blind spots across distributed Go microservices by implementing an OpenTelemetry pipeline. Propagate W3C trace context across HTTP/gRPC boundaries and Kafka streams, batch metrics at the local agent level, and use tail-based sampling at the collector gateway to filter noise before ingestion. What You’ll Learn That AI Won’t Tell You OpenTelemetry collector tuning for low-overhead distributed tracing. Propagating span contexts over asynchronous Kafka messaging systems without breaking tracing chains. Monitoring complex Go microservices requires more than isolated logs. When a request traverses HTTP APIs, Kafka event streams, and asynchronous worker pools, you need absolute visibility to pinpoint latency bottlenecks and failures. ...

June 8, 2026 · 5 min · Lê Tuấn Anh