BXUP Track progress & test yourself — free
Forward Deployed AI Engineer · Hands-on lab · ~2 min read
FORWARD DEPLOYED AI ENGINEER · HANDS-ON LAB

Lab 08 · Capstone: The 72-Hour Enterprise Client Turnaround

The ultimate Forward Deployed Engineer capstone: inherit an enterprise client's broken, hallucinating AI prototype, refactor the ingestion pipeline, deploy hybrid RAG with reranking, implement deterministic state machine agents, package into Docker with telemetry, and deliver a client-ready Executive Architecture Defense.

Time & Tier

~180 minutes hands-on · FDE Track, Capstone difficulty.

The Challenge

You inherit legacy_prototype/, a failing internal AI copilot for an enterprise customer service department:

  • Bug 1
    Ingestion fails on scanned multi-column PDFs.
  • Bug 2
    Pure dense search misses exact product serial codes and quotes outdated 2023 policies.
  • Bug 3
    The agent enters infinite loops when external inventory APIs return HTTP 500.
  • Bug 4
    Token costs average $1.20 per query with no caching or model routing.
  • Bug 5
    The prototype only runs via a developer's local terminal with hardcoded environment secrets.

Required Deliverables

  1. Refactored Ingestion
    Layout-aware table extraction and Pydantic schema validation.
  2. Production Retrieval
    Hybrid BM25 + Qdrant search with RRF and cross-encoder reranking.
  3. Stateful Agent
    Deterministic LangGraph state machine with idempotency and rollback handlers.
  4. Optimization Gateway
    Redis semantic cache and tiered model routing (SLM vs LLM).
  5. Production Docker Deployment
    docker-compose.yml with healthcheck probes and metrics.
  6. Executive Turnaround Scorecard
    A written defense proving >92% faithfulness, <800ms latency, and 75% cost reduction.

Step-by-Step Instructions

  1. Clone and Audit the Broken Codebase: Inspect legacy_prototype/ and reproduce the five documented production failures.

  2. Phase 1: Ingestion & Hybrid RAG Refactor: Replace the naive splitter with table-aware chunking and stand up Qdrant with BM25 hybrid search.

  3. Phase 2: LangGraph State Machine: Rebuild the agent as a deterministic state machine with explicit retry limits and compensating rollback actions.

  4. Phase 3: Caching & Dockerization: Add the Redis semantic cache and package the full stack into a production multi-container Docker Compose bundle.

  5. Phase 4: Run the Automated Eval Suite: Execute the 100-question test suite. Verify that Faithfulness exceeds 0.90 and Answer Relevance exceeds 0.88.

  6. Phase 5: Author the Executive Defense: Generate EXECUTIVE_DEFENSE.md summarizing the technical before/after metrics, architecture diagram, and SRE runbook.

This is the free reading view. Open BXUP to track your progress, run the hands-on labs, and prove it with original, exam-pattern assessments.
© Anvi Innovate · BXUP — Be Exponentially Upskilled · BXUP is an independent learning platform, not affiliated with or endorsed by AWS, Microsoft, Google, NVIDIA, IBM, Salesforce, Databricks, Oracle or Anthropic. All trademarks belong to their respective owners. · bxup.in