← Selected work

Independent system / 04 / Expert-led automation

FlowPilot

An expert-led workflow control-plane demonstration that moves long-running tasks through queued workers, persisted state, human approval and observable results. It shows how orchestration, execution, validation and operational visibility can be separated instead of hiding everything inside a synchronous prompt.

Independent engineering build · Not a client case study

Illustrative FlowPilot architecture infographic showing request inputs, a LangGraph multi-expert workflow with plan, execute, approve and deliver stages, output artifacts, and its PostgreSQL, Redis/RQ, FastAPI and observability foundation. Not a captured application screen.
Illustrative architecture visual — not a captured application screen or customer deployment.

The problem

What the system addresses

LLM automation becomes difficult to operate when long-running work, retries, approvals, and state are hidden inside a request-response cycle.

The implementation

How it is approached

Separate orchestration from execution, persist workflow state, and expose progress and approval boundaries explicitly.

Who it is for

Operations and product teams coordinating multi-step work across people, approvals and connected tools.

Coordinate asynchronous AI workflows with queued execution, human approval, persisted state and observable outcomes.

Independent engineering build. This reference is not a client case study; no customer deployment, testimonial or business-outcome metric is claimed.

Inspectable implementation evidence

What can be verified in the build.

  • LangGraph orchestration is separated from FastAPI request handling and Redis/RQ worker execution.
  • PostgreSQL stores workflow state; approval and audit boundaries are explicit.
  • Prometheus/Grafana and OpenTelemetry/Jaeger expose operational signals and traces.

Local validation snapshot · 16 November 2026 · Docker Compose

  • 94 automated tests passed.
  • 4 of 4 evaluation cases passed.
  • 4 of 4 named workflow smoke checks completed after services became ready: content, competitor, outreach and KPI.
  • Human approval endpoint returned a successful response in the smoke run.

A first competitor run was submitted while LiteLLM was still becoming reachable and failed with a connection error. After the services were ready, the competitor workflow was replayed successfully and all four named smoke checks completed. This is a dated local validation snapshot, not a production-availability or customer-outcome claim.

System map

Architecture and workflow

  1. 01API command center
  2. 02Workflow definition
  3. 03Queue + worker execution
  4. 04Persistence + state transitions
  5. 05Approval / validation
  6. 06Result + observability

Implementation detail

Engineering decisions and reliability

LangGraphFastAPIRedis/RQPostgreSQLObservability

Design decisions

  • Use async jobs for long-running AI work
  • Persist state outside process memory
  • Keep human approval explicit
  • Treat provider failures as recoverable states

Reliability considerations

  • Retryable workers
  • Persisted state
  • Approval gates
  • Request correlation
  • Health/readiness checks

Build notes

From problem to implementation

01 / Situation

AI automation becomes difficult to operate when long-running work, retries, approvals, and state live inside fragile synchronous requests.

02 / Task

Build a production-minded AI automation control plane that treats experts as durable workflows instead of isolated prompts.

03 / Action
  • Separated API orchestration from execution with FastAPI, Redis/RQ workers, PostgreSQL persistence, and LangGraph workflows.
  • Added human approval boundaries, evidence and validation for external-impact workflows, plus scheduled automation.
  • Instrumented the system with Prometheus/Grafana metrics and OpenTelemetry/Jaeger traces and added CI evaluation coverage.
04 / Result
  • Created an operations-oriented architecture for content, competitor, outreach, and KPI automation patterns.
  • Made workflow progress, audit state, approvals, retries, and observability first-class rather than hidden behind the LLM call.

Optional technical workbench

Go deeper with the live system.

The homepage contains no-key synthetic walkthroughs. The advanced workbench is optional and requires your own provider API key for live model requests. Hosted demonstrations may take a moment to wake from an idle state. Use synthetic or non-confidential data only; provider usage may incur charges.

TECHNICAL LAB / LIVE MODEL WORKBENCH

Go beyond the sample. Explore a live model workflow.

Use your own provider API key to run live model requests against the selected engineering demonstrations. The interactive module loads only when you open it, keeping the rest of the page lightweight.

Use a test key with a spend limit and synthetic or non-confidential data. Never enter production credentials or sensitive business information. Hosted demonstrations may take a moment to wake after inactivity, and provider usage may incur charges on your account.

01 / Expert-led automationFlowPilot

Coordinate asynchronous AI workflows with queued execution, human approval, persisted state and observable outcomes.