Deterministic Guardrails in Stateful Multi-Agent Loops: Preventing Infinite Trajectory Drift

When autonomous multi-agent systems transition from sandbox demos to production enterprise infrastructure, they encounter a harsh operational reality: probabilistic reasoning loops are inherently prone to trajectory drift. In a single-turn prompt, an LLM error produces an inaccurate response. In a stateful, multi-agent cyclical graph (such as LangGraph or custom state machines), a single reasoning error compounds across subsequent turns. ...

September 16, 2026 · 5 min · Bharat Singh

Building Self-Discovering AI Agents: Dynamic Tool Discovery with gRPC Reflection and LangGraph

Traditional AI agents break when APIs change or new services deploy. This post demonstrates an architecture for creating truly adaptive agents by combining gRPC Server Reflection with LangGraph. The result: agents that discover, inspect, and integrate new tools at runtime without code changes, manual redeployment, or compile-time schema drift. ...

August 22, 2025 · 5 min · Bharat Singh

The Scaling Dilemma: An Analysis of Tool Quantity and its Impact on ReAct Agent Performance

When enterprise engineering teams scale autonomous agent systems, the default instinct is to expand the agent’s toolset, equipping models with dozens, hundreds, or thousands of API definitions. Empirical benchmarks across state-of-the-art models (including GPT-4o, Claude 3.5 Sonnet, and OpenAI reasoning models) reveal a stark counter-intuitive reality: agent accuracy does not scale with tool count; it collapses. ...

Published: August 15, 2025 · Updated: October 13, 2026 · 22 min · Bharat Singh