Library

Volume 4 · Product Management & Agile Delivery for AI

Notebook
Sign in

Section 11

Build vs Buy Decision Framework for AI

667 words · about 3 min

11.1 Decision Tree

Is it a core differentiator?
├── Yes → Build (invest in competitive advantage)
└── No → Is it commoditized?
    ├── Yes → Buy managed service
    └── No → Is open-source available?
        ├── Yes → Use open-source + customize
        └── No → Build if ROI justifies, else buy

11.2 Component Matrix

Component Build Buy/Managed Recommendation
LLM Train from scratch Managed API (Bedrock/Azure OpenAI) Buy (99% of cases)
Embeddings Fine-tune open-source OpenAI/Cohere API Buy for start, fine-tune later
Vector DB pgvector (if existing PG) Pinecone/AI Search Buy for enterprise
RAG Pipeline Custom with LangChain Managed (Azure AI Search) Hybrid — custom logic, managed infra
Agent Framework Custom LangGraph/CrewAI Open-source + customize
Evaluation Custom pipeline RAGAS + custom Open-source + custom
Monitoring Custom dashboards Datadog/App Insights Buy + custom dashboards

11.4 Interview Q&A — Product Management & Delivery

Q1: How do you structure a GenAI engagement from POC to production?

Phase 1 — Discovery & Scoping (weeks 1–2): stakeholder interviews, data audit, define 3–5 use cases prioritized by value × feasibility, define success criteria, propose technical architecture. Phase 2 — POC (weeks 3–6): build RAG with sample data (100–500 docs), measure accuracy/latency/cost, go/no-go decision. Phase 3 — MVP (weeks 7–14): production architecture, auth integration, core features, pilot with 20–50 users, evaluation pipeline. Phase 4 — Production Launch (weeks 15–18): security review, performance testing, gradual rollout (50→500→5000 users), SLA + monitoring. Phase 5 — Optimization & Scale: continuous improvement, feature expansion, cost optimization, monthly business reviews.

Q2: How do you handle a situation where the AI product isn’t meeting quality expectations after MVP launch?

Diagnose → Prioritize → Fix → Verify. Diagnose (1 week): analyze 100 failed queries, classify failure modes, interview users, compare against golden dataset. Prioritize (2 days): impact × frequency matrix, quick wins vs structural fixes. Fix (2–4 weeks, iterative): prompt optimization, re-ranking + hybrid search, data quality improvements. Verify (ongoing): golden-dataset evaluation after every change, A/B testing, weekly quality reports. Communicate transparently — acknowledge the gap, present a data-driven plan, set realistic expectations (“industry-best is 90–95%, not 100%”).

Q3: How do you prioritize features for a GenAI product serving multiple departments?

Use a Value Matrix (impact vs. effort). Collect requests via a standardized intake form, score on business impact/reach/strategic alignment/effort, compute RICE scores, cross-review to find shared features that can be built once and serve many departments, then communicate the roadmap with clear rationale.

Q4: How do you estimate effort and timeline for a GenAI project?

Phase-based estimation, not a single number: Discovery (2 weeks, fixed), POC (2–4 weeks depending on data complexity), MVP (6–12 weeks depending on features), production hardening (4–8 weeks). Add a 30–50% buffer given the non-deterministic nature of AI work. Key risk factors: number of data formats, quality of existing data, compliance requirements. Anti-pattern: giving a single “6 months for everything” estimate instead of phased go/no-go decisions.

Q5: How do you measure ROI for a GenAI project?

Direct ROI: time saved (hours/week per employee × hourly cost × headcount), revenue impact, cost reduction (headcount avoided, less manual processing). Indirect ROI: employee satisfaction, knowledge democratization, speed to insight. Always show a payback-period calculation, not just a percentage.

Q6: How do you decide between build vs buy for an LLM gateway?

Build a thin wrapper (~2 weeks) that abstracts provider APIs — routing logic, fallback chains, caching, and rate limiting are your competitive advantage. Buy observability (LangSmith/Datadog) — not worth building. Key buy items: token counting, tracing visualization, alerting (all commoditized).

Q7: A client wants to launch their GenAI product in 6 weeks; your team says 12. How do you negotiate?

Understand the 6-week driver (business event? competitive pressure?). Do a scope analysis of what fits in 6 weeks vs. what was scoped for 12. Propose a phased launch: Week 6 — limited launch (core feature, 100 users, basic security) meeting the business deadline; Week 9 — expanded launch; Week 12 — full production hardening. Frame as risk management, not delay, and be explicit about what’s sacrificed vs. preserved at each phase.