BharathStaff AI Engineer · Production Multi-Agent Platforms
← All case studies

Enterprise AI platform · 2025 –

Eval Engine, CI Quality Gates & Database Reliability

Senior AI Engineer, Platform

EvaluationCI/CDReliabilityPostgresSLOs

Challenge

Agent changes were hard to ship confidently: no consistent trace-backed evaluation, slow production-readiness cycles, and shared Postgres saturation hitting identity and agent services. This was platform-wide pain, not one bad query.

Approach

Tech stack

Evaluation engine + SDK · CI integration · Postgres · Connection-pooling sidecars · Prisma · ADRs · GitOps-promoted config

Outcomes

Verifiable patterns (redacted)

Eval gate flow (redacted)

CI pipeline runs trace-backed eval suite on every agent PR. Promote job blocks if weighted score drops below threshold on any critical workflow path. Score breakdown (correctness, latency, safety) attached as build artifact for reviewer sign-off.

Connection pool ADR excerpt

Sidecar proxy pattern for shared Postgres: each service gets a dedicated PgBouncer sidecar with connection budget caps. ADR documents saturation root cause, pool sizing math, and rollback path. Identity and agent services no longer compete for raw connection slots.

Eval scorecard template (redacted)

Per-workflow eval matrix: tool-call accuracy, retrieval precision@k, multi-step completion rate, and regression delta vs. baseline. SDK decorators auto-capture traces; CI compares against last-green baseline and flags drift with failure taxonomy tags.

Context

Shared platform data plane that benefits all enterprise tenant workloads.