Table and index bloat and unused indexes are well-known Postgres problems — and direct cloud-cost problems: wasted storage, write amplification, and extra I/O. How to measure both with read-only queries and remediate safely.
Chat is request-response; agents are task systems that plan, call tools, iterate, and stop when done. The minimum architecture — loop, tools, bounded memory, stopping conditions — required to make the transition from chat reliable.