What Is Being Compared: In-House LangGraph Agent vs. Managed Fixed-Scope Pilot
The two options under evaluation are: (A) an in-house AI agent built on LangChain and LangGraph, where the company’s engineering team (or a product studio) designs the orchestration graph, manages the model calls, and owns the integration code; and (B) a managed workflow-orchestration service delivered as a fixed-scope pilot, where a vendor such as Forfis scopes one back-office workflow, ships a human-in-the-loop pipeline in 8 weeks, and hands over a measured before/after baseline on cycle time and error rate. Both options target the same use case: reducing the error rate in HR and recruiting back-office tasks (candidate data extraction, application triage, internal knowledge search) for a 201-500-person company in the Swiss healthcare and medtech sector, with round-the-clock candidate response as a secondary goal. The comparison is not “build vs. buy” in the abstract; it is “own the orchestration layer” versus “outsource the orchestration layer under a fixed-scope contract” while keeping the same model-agnostic architecture and the same Google Workspace integration points.
Seven Criteria for the Comparison
We judge the two options against seven criteria that matter for a Swiss healthcare company running isolated pilots:
- Time to first measurable result — weeks from kickoff to a working pipeline with a logged baseline.
- Error-rate reduction — percentage of extracted fields a human must correct, measured before and after.
- GDPR compliance overhead — effort to satisfy Articles 28, 30, 32 and the Swiss FDPIC guidance on automated decision-making.
- Vendor lock-in — how easily the orchestration layer can be swapped or taken in-house after the pilot.
- Integration effort — number of API connections (Gmail, Drive, ATS, CRM) and the maintenance burden.
- Model-agnosticism — ability to swap between OpenAI, Anthropic, and open-weight models without re-architecting.
- Total cost of ownership over 12 months — build cost, API inference cost, and ongoing maintenance.
Each criterion is scored in the table below with concrete figures where available.
Side-by-Side Comparison
| Criterion | Option A: In-House LangGraph Agent | Option B: Managed Fixed-Scope Pilot |
|---|---|---|
| Time to first result | 10-14 weeks (design, build, test, baseline) | 8 weeks (fixed scope, pre-built integration templates) |
| Error-rate reduction | Depends on prompt engineering; typically 8-15% residual after 3 iterations | 4-6% residual at pilot close-out, with logged human corrections |
| GDPR compliance overhead | Internal legal + engineering must map data flows, sign DPA, document Article 30 records | Vendor provides DPA, data-flow map, and Article 30 log as pilot deliverables |
| Vendor lock-in | None — code is owned; LangGraph is open-source | Low — orchestration graph is documented; model calls are API-based, not proprietary |
| Integration effort | 3-5 engineer-weeks for Gmail, Drive, ATS, CRM OAuth + API wiring | Included in pilot scope; vendor maintains integration during the 8 weeks |
| Model-agnosticism | Full — swap any OpenAI/Anthropic/open-weight model at the node level | Full — same architecture; vendor configures the model endpoint per workflow |
| 12-month TCO | ~CHF 180 000-250 000 (1 FTE engineer + API costs ~CHF 4 000/month) | ~CHF 95 000-130 000 (pilot fee + managed operation ~CHF 3 500/month) |
The TCO figures assume a single workflow with two integration points and moderate inference volume (roughly 500 candidate applications per month).
When the In-House Agent Wins
Option A wins when the company already has a dedicated engineering team of at least two full-time developers who can maintain the LangGraph codebase, write integration tests, and iterate on prompts after the pilot. A 201-500-person medtech company with an in-house platform team and a clear long-term roadmap for multiple AI workflows (candidate screening, invoice processing, clinical-trial document extraction) will amortise the build cost across those workflows. The in-house agent also gives the team full control over the state machine in LangGraph, which matters when the workflow has complex conditional routing (for example, pausing at a human-approval node for any candidate data that touches health records under GDPR Article 9).
Option B wins when the company’s engineering team is small or fully allocated to product development and cannot spare 3-5 engineer-weeks for integration wiring. The 8-week fixed-scope pilot ships a working pipeline with a measured baseline, a signed DPA, and a data-flow map. The vendor handles the Google Workspace OAuth setup, the ATS API connection, and the human-in-the-loop approval gate. For a company running isolated pilots for the first time, the managed service removes the operational overhead of standing up the orchestration infrastructure, monitoring model calls, and logging every transition for the Article 30 record.
Recommendation for the Swiss Healthcare Scenario
Option B is the better fit for the stated scenario. A 201-500-person Swiss healthcare and medtech company running isolated pilots, with an 8-week timeline, a fixed-scope delivery model, and a primary need to reduce the error rate in HR back-office work, does not have the engineering bandwidth to build and maintain a LangGraph agent in parallel with product development. The managed pilot delivers the same model-agnostic architecture (OpenAI or Anthropic APIs for high-quality extraction, open-weight models on the client’s own hardware for regulated data that cannot leave the building) but wraps it in a fixed-scope contract with a measured before/after baseline. The Google Workspace integration (Gmail for inbound applications, Drive for policy documents feeding the internal knowledge search, Calendar for recruiter scheduling) is handled by the vendor during the 8 weeks. The human-in-the-loop gate ensures that any output touching candidate personal data or health-related information is approved by a person before it enters the ATS, satisfying GDPR Article 22 and the Swiss FDPIC guidance on automated decision-making. After the pilot close-out, the company can either continue with managed operation or take the documented orchestration graph in-house; the model-agnostic design means neither path requires re-architecting the integrations.