Long-term work for self-building or running open source directly falls into four groups. Platform procurement also requires a separate review of vendor support responsibility. List person-days and service scope by group so the three-year TCO is comparable.
Capability path4 items compared
Work group
Self-build / direct open source
Platform procurement
Validation method
Parsing, retrieval, and knowledge maintenance
Maintain multi-layout parsing, indexes, citations, and retraining queues in-house
Use the platform's existing knowledge-engineering chain and verify version boundaries
Same golden set and parsing-sample POC
Agent and workflow runtime
Build failure recovery, human interaction, debugging, and evaluation in-house
Configure platform capabilities and verify interactive state and tool boundaries
Same workflow fault-injection and recovery test
Security and governance
Own model adaptation, secrets, sandboxing, permissions, audit, and multi-tenancy
Verify governance capabilities and responsibility boundaries by version and contract
Same threat cases and permission matrix
Publishing, operations, and support
Maintain channels, upgrades, backup, monitoring, on-call, and user support in-house
Verify channels, upgrade path, and support tiers by procurement model
Three-year TCO and launch rehearsal
2.1 Group One: Parsing, Retrieval, and Knowledge Maintenance
Document parsing, chunking, indexing, retrieval, ReRank, citation tracing, and retraining queues.
Production needs fallback parsing for multiple layouts, adjustable chunking, multiple indexes for one body, independent index editing, single-item training queue repair, retrieval history review, and citation location.
2.2 Group Two: Agent and Workflow Runtime
Agent / workflow runtime, failure recovery, human interaction, debugging, logs, and evaluation.
The three key items are failure recovery (node retry idempotency and queue backlog), human interaction (pause, form confirmation, and in-place recovery), and evaluation (fixed question-set regression).
2.3 Group Three: Security and Governance
Model adaptation, tool security, secrets, SSRF, code sandboxing, authentication, RBAC, SSO, audit, and multi-tenancy.
Security review and customer compliance will ask for model adaptation, tool security, secrets, SSRF, code sandboxing, authentication, RBAC, SSO, audit, and multi-tenancy. Code sandboxing and tenant isolation belong to runtime architecture and should be checked early in solution design.
2.4 Group Four: Publishing, Operations, and Support
Publishing channels, API compatibility, upgrade rollback, backup recovery, monitoring and alerts, on-call, and user support.
An all-hands knowledge base needs on-call, alerts, backup recovery, and user support. Wrong answers, slow answers, and outages all need clear handlers and person-day budgets.
Vendor support is the fifth cost variable. The self-build side carries it through team on-call, while the platform side defines it through support tiers and service checklists:
Cost and boundaries5 items compared
Item
Self-build / direct open source
Platform procurement
Coverage hours and first-response target
Internal on-call schedule and rotation
Divided by support tier, coverage can reach 7x24, and first-response targets increase by tier
Security patches and version upgrades
Track upstream, upgrade, and rehearse rollback internally
Paid tiers include security patches and new-feature support; upgrade support scope follows the contract
Fault location and recovery responsibility
Entirely on the internal team
Divided by responsibility matrix and written item by item in the service checklist
Initial deployment and debugging
Internal team owns it
Delivery scope can include installation, debugging, and vendor technical maintenance
Support channel
Community channels, with no response commitment
Tickets and dedicated support groups, with an account manager in the highest tier
Convert self-build on-call into person-days and put it into three-year TCO. On the platform side, write coverage hours, first-response targets, repair responsibility, and upgrade rollback into the service checklist. Record first-response targets separately from repair time limits. Final commitments should be based on the contract.
2.5 Use Requirement Priority to Decide the Self-Build Boundary
Mark each item as "required / optional / future": required items cover parsing, retrieval, basic permissions, and publishing channels; optional items include evaluation systems, cost split, and session labeling; future items include multi-tenancy, clustering, and cross-region disaster recovery.
Internal knowledge bases with few required items, deferrable optional items, and clear future items are good candidates for self-build. When SSO, audit, multi-tenancy, and code sandboxing enter the required list together, the self-build scope expands into platform engineering. The requirement-priority table should become the direct input for the POC and both quotes.