Calculate build buy partner npv

Compare build, buy, and partner lifecycle NPV under coherent joint scenarios, explicit strategic option and switching value, downside CVaR, and governed value gates.

What it's for

Compares build, buy and partner over the full lifecycle under shared scenarios, and prices the switching and option value that spreadsheets usually leave out.

Makes build-versus-buy-versus-partner decisions financially comparable across the full lifecycle, including strategic capability, exit cost, downside, and the explicit status quo.

What you give it

Inputs split into evidence read from your connected systems, calibration your team owns, and numerical controls that affect precision but never the result's meaning.

Field Type Role Required
discount_rate_per_period number ≥ 0, ≤ 1 Your calibration Optional
max_detail_rows integer ≥ 1, ≤ 500 Numerical control Optional
maximum_cvar_loss number ≥ 0 Your calibration Optional
minimum_expected_npv number Your calibration Optional
options array of objects (7 fields) ≥ 2 items Evidence Yes
risk_aversion number ≥ 0 Your calibration Optional
scenarios array of objects (2 fields) ≥ 2 items Evidence Yes
status_quo_option_id string non-empty Your calibration Optional
tail_probability number ≥ 0.001, ≤ 0.5 Your calibration Optional

Each options record

Field Type Required
exit_and_switching_cost_scenarios array of number (≥ 2 items) Yes
id string (non-empty) Yes
initial_investment number (≥ 0) Yes
period_cash_flows_by_scenario array of array (≥ 2 items) Yes
sourcing_mode one of "build", "buy", "partner" Yes
strategic_option_value_scenarios array of number (≥ 2 items) Yes
terminal_value_scenarios array of number (≥ 2 items) Yes
Example input
{
  "options": [
    {
      "exit_and_switching_cost_scenarios": [
        10,
        10
      ],
      "id": "internal-build",
      "initial_investment": 100,
      "period_cash_flows_by_scenario": [
        [
          100,
          100
        ],
        [
          20,
          20
        ]
      ],
      "sourcing_mode": "build",
      "strategic_option_value_scenarios": [
        30,
        30
      ],
      "terminal_value_scenarios": [
        20,
        20
      ]
    },
    {
      "exit_and_switching_cost_scenarios": [
        30,
        30
      ],
      "id": "vendor-buy",
      "initial_investment": 20,
      "period_cash_flows_by_scenario": [
        [
          60,
          60
        ],
        [
          40,
          40

Truncated for display — the full payload is 97 lines.

What you get back

This is the actual output of running the example above — computed by the same function the platform calls, not an illustration.

Example output
{
  "assumptions": [
    "Every build, buy, and partner option uses the same coherent scenario columns, period cadence, currency, tax and discount basis; cash flows are incremental to a common counterfactual and include implementation, migration, staffing, operations, financing, decommissioning, support, reliability, compliance, and opportunity costs that differ by option.",
    "Terminal value, separately declared strategic option value, and exit or switching cost are executable, non-duplicated and measured at the same horizon; capability value cannot be counted again inside cash flows, and contractual limits, lock-in, reversibility and dependency consequences must be represented in scenarios.",
    "Risk-adjusted NPV subtracts a governed multiple of downside CVaR and is not an accounting valuation, procurement quote, causal estimate, or guarantee; scenarios and probabilities require finance, architecture, security, legal, procurement and operating-owner review.",
    "Options are aggregate sourcing strategies, never employee comparisons; selection supports an accountable build/buy/partner decision and does not authorize contracting, layoffs, outsourcing, investment, or migration without due diligence and approval."
  ],
  "configuration": {
    "discount_rate_per_period": 0,
    "maximum_cvar_loss": null,
    "minimum_expected_npv": 0,
    "risk_aversion": 0.5,
    "scenario_alignment_preserved": true,
    "status_quo_option_id": "vendor-buy",
    "tail_probability": 0.1
  },
  "decision": "retain_status_quo_sourcing_option",
  "method": "coherent_scenario_build_buy_partner_lifecycle_npv_v1",
  "option_diagnostics": [
    {
      "cvar_loss": -35,
      "downside_cvar_loss": 0,
      "eligible": true,
      "expected_npv": 55,
      "initial_investment": 20,
      "npv_standard_deviation": 20,
      "option_id": "vendor-buy",
      "passes_cvar_gate": true,
      "passes_expected_npv_gate": true,
      "probability_positive_npv": 1,
      "risk_adjusted_npv": 55,
      "selected": true,
      "sourcing_mode": "buy",
      "value_at_risk_loss": -35
    },
    {
      "cvar_loss": -40,
      "downside_cvar_loss": 0,
      "eligible": true,
      "expected_npv": 53,
      "initial_investment": 10,
      "npv_standard_deviation": 13,
      "option_id": "strategic-partner",
      "passes_cvar_gate": true,

Truncated for display — the full payload is 97 lines.

How it works

Decision analysis — Turn uncertainty, cost and risk appetite into a defensible choice, with the reasoning left inspectable.

  1. 1 Freeze at least two sourcing modes on one incremental counterfactual, currency, horizon and discount basis, with initial investment, period cash flows, terminal value, non-duplicated strategic option value, and executable exit or switching cost in every common scenario.
  2. 2 Discount each option's scenario lifecycle value, calculate expected NPV, probability of positive NPV, VaR and CVaR loss, then subtract a governed multiple of downside CVaR from expected value.
  3. 3 Apply minimum expected-value and maximum-tail-loss gates, select the highest eligible risk-adjusted option, and expose its scenario path plus advantage over the runner-up and declared status quo.

Before you trust it

Every tool in the catalog ships with the conditions under which its answer is meaningful — and the conditions under which it should abstain instead of guessing.

Assumptions & guardrails

  • Actions, outcomes, utilities, evidence boundaries, uncertainty representation, and accountable ownership match the actual decision.
  • All sourcing options contain complete incremental implementation, migration, staffing, operating, support, reliability, compliance, financing, decommissioning and opportunity economics; terminal, capability and switching values do not overlap.
  • The result structures a governed choice; it does not replace accountable judgment or authorize action outside the declared decision boundary.
  • Risk-adjusted NPV is model-conditional decision support, not a quote, valuation, causal estimate or authority to outsource; options are aggregate strategies and must never become named-employee comparisons.

Minimum evidence

  • options: at least 2 rows/items
  • scenarios: at least 2 rows/items

How to validate it

Validate on future periods or held-out aggregate units, compare with a simple baseline, and require stability across plausible metric definitions and decision thresholds.

Calibrating it to your org

Same for everyone

The mathematical kernel, validation rules, method version, and JSON output semantics are organization-independent; no tenant-trained coefficients or company benchmark is embedded in the function.

Specific to you

  • one coherent option-by-scenario-by-period lifecycle cash-flow cube reconciled to finance records and preserving common demand, delivery, reliability, security, pricing, lock-in, migration, and capability shocks
  • decision perimeter and counterfactual, currency and tax basis, period cadence, horizon, scenario vintage and probabilities, discount rate, tail level, risk aversion, value and CVaR gates, status quo, option-value non-duplication, and accountable approvals

Calibration workflow

  1. 1 Define the management decision, target outcome, aggregate unit, privacy boundary, cadence, and prediction/intervention horizon for this organization.
  2. 2 Build a tenant-scoped historical cohort using only information available before each prediction or decision; preserve zero periods, censoring, assignment probabilities, and unresolved outcomes when the method requires them.
  3. 3 Estimate statistical parameters on training history, but obtain costs, utilities, risk tolerance, practical-effect thresholds, capacity, and policy constraints from accountable decision owners.
  4. 4 Validate on later time windows or held-out aggregate units at the deployment grain, against a simple baseline and the function-specific validation strategy.
  5. 5 Deploy only if the returned decision clears evidence, overlap, calibration, robustness, and guardrail checks; warning, unsupported, schema-gap, and fallback decisions are abstentions.
  6. 6 Monitor realized outcomes, data drift, coverage, and decision regret; recalibrate at a governed cadence or after a detected regime/definition change, never merely because a stakeholder dislikes the result.

Call it from your AI

You don't wire up 388 tools in your MCP client. The GitRevio MCP server exposes 18 tools, three of which let an agent search the catalog, read a tool's schema, and run it — so the assistant finds this one on its own.

gitrevio_capabilities_search
  { "q": "compare build buy and partner lifecycle" }
  → finds "calculate_build_buy_partner_npv"

gitrevio_capability_describe
  { "capability_id": "calculate_build_buy_partner_npv" }
  → returns the input schema and agent guidance shown on this page

gitrevio_capability_run
  { "capability_id": "calculate_build_buy_partner_npv", "arguments": { ... } }
  → returns the result shown above

Works in Claude Desktop, Claude Code, Cursor, Cline, Continue.dev, Goose and Aider. See the MCP server.

Related tools

Forecast vendor spend at risk

Forecast correlated vendor spend with lognormal marginals, a Gaussian copula, contractual floors and caps, budget-overrun uncertainty, total-spend CVaR, and reconciled vendor tail contributions.

Forecasting & survival

Optimize vendor contract terms

Optimize vendor contract terms across coherent usage, service-credit, exit, and fallback-price scenarios using exact option evaluation, CVaR, Pareto screening, and total-variation probability robustness.

Constrained optimization

Audit vendor lock in exposure

Audit whether every vendor-dependent business capability has a complete, scenario-executable exit portfolio; solve minimum-loss set cover exactly inside a governed state boundary, disclose heuristic fallback, and report infeasible-exit probability, expected loss, CVaR, lead time, and value concentration without converting vendor exposure into misconduct evidence.

Constrained optimization

Estimate platform network option value

Value when to activate a shared platform under endogenous network adoption with an exact finite-horizon Markov dynamic program; optimize the invest/wait policy by observed adopter state, compare it with every fixed launch date and never investing, and reconcile option value, investment timing, and adoption quantiles.

Markov & state-space control

Value architecture migration option

Value an irreversible architecture migration as a finite-horizon, signal-contingent optimal-stopping policy that cannot see future information; compare its expected and tail cost with never migrating, every fixed migration date, and a perfect-information ceiling, then expose the option value of waiting for real evidence.

Constrained optimization

See every tool in Vendors, sourcing & build-vs-buy →

Ready to See Your Engineering work clearly?

Request a free demo