Multi-agent RAG at 18-25s latency: production lessons and the micro-agent architecture that fixed it

Odd-Relation-4587 · reddit · 2026-09-05

A production postmortem on enterprise multi-agent RAG: demos querying 50 PDFs feel instant, but with hybrid search (pgvector + Elastic), legacy SQL databases, and parallel tool calls, latency hit 18-25 seconds per query.

What broke and the fixes

Engineering reality: the agent logic took a week; caching layers, async queues, connection pooling, and CI/CD for non-deterministic code took nearly two months, with external engineers brought in for infrastructure. Takeaway: agentic AI is mostly high-concurrency software engineering disguised as machine learning.

Original post →

More from coding & agent

coding & agent channel →