May 17, 2026May, 2026

TraceAI — Inspectable AI Workflow Observability Dashboard

TraceAI is an inspectable workflow observability system for AI pipelines. It exposes execution traces, retrieval context, validation failures, latency, and model metadata through a controlled workflow demo.

Role
Solo developer — system design, workflow engine, database schema, API routes, trace UI, retrieval metadata, live/demo execution modes, deployment setup.
Stack
Next.js · TypeScript · React · Tailwind · shadcn/ui · Neon PostgreSQL · Gemini Flash · Vercel

Problem

AI workflows are difficult to debug when generation, retrieval, validation, and fallback behavior are hidden behind a single response. When a run fails, it is often unclear which step caused the failure, what context was retrieved, how long each step took, or whether the output passed validation.

Solution

I built TraceAI as a step-level observability layer for AI workflow runs. The system records each execution step, visualizes latency over time, exposes retrieved context and model metadata, and surfaces validation failures so workflow behavior can be inspected instead of guessed.

Decisions

  • Separated generation from validation to make model output failures visible
  • Used a timeline view instead of raw logs to expose execution order and bottlenecks
  • Kept the support workflow as a controlled demo scenario rather than the product itself
  • Stored workflow steps as structured trace data so each run can be inspected after execution

Architecture highlights

  • Step-level execution tracing for AI workflow runs
  • Timeline-based latency visualization
  • Retrieval context inspection with matched documents
  • Structured validation layer for AI-generated outputs
  • Failure-first debugging for incomplete or invalid workflow runs

Outcomes

  • Made failed AI workflow runs easier to inspect at the step level
  • Exposed latency, retrieval, model metadata, and validation behavior in one trace
  • Turned opaque support reply generation into a debuggable workflow execution