Tool-calling agents
Multi-step agents with typed tools and MCP servers, wired into real APIs and databases.
I’m Saurav Modi, a Senior Software Engineer with 10+ years building event-driven, cloud-native platforms for fintech, insurance and higher education. Now I’m bringing that reliability discipline to AI agents: tool-calling, evals, and durable workflows that hold up in production.
LLM agents fail the way microservices fail: timeouts, partial writes, retries that double-send, silent drift. I design agentic systems with the guardrails I’ve spent a decade building into event pipelines.
Multi-step agents with typed tools and MCP servers, wired into real APIs and databases.
Agent steps run as events on queues, with checkpoints, idempotent tools and human approval where it matters.
Golden datasets, LLM-as-judge scoring, PII and policy checks in CI, so prompt changes ship like code changes.
Retrieval over Postgres and pgvector with access control, freshness and citations.
Traces per run, token and cost budgets, latency targets, and replayable runs for debugging bad answers.
Coding agents in the daily loop for reviews, migrations and tests, with humans owning the merge.
The patterns carry over almost one to one.
| Event platform | Agent system | Why it matters |
|---|---|---|
| Dead-letter queue | Failed-run queue | Bad tool calls get parked and reviewed, not lost or looped. |
| Idempotency key | Safe tool retries | A retried “send notice” never sends twice. |
| Event replay | Trace replay for evals | Yesterday’s failures become tomorrow’s regression tests. |
| Backpressure | Token & rate budgets | One runaway agent can’t exhaust shared model quota. |
| Exponential backoff | Model fallback chain | Provider hiccups degrade gracefully to a smaller model. |
Building scalable systems and leading engineering teams.
Kafka cluster with deliberate partition-key design, DLQs and a Swagger-based event replay utility. Zero data loss on critical workflows for JPMorgan Chase communications.
A federated GraphQL layer for declarative data fetching across product teams, improving API consistency.
Active-passive disaster recovery with automated failover, and 25% lower infrastructure cost.
A Tailwind-based design system documented in Storybook, cutting component development time by 50%.
Have a project in mind or want to collaborate? I’d love to hear from you.