# Opportunity Cost Prover MCP for AI Agents AI Agent Connect

> Opportunity Cost Prover is a reasoning engine that stops your AI from picking the first solution it finds. It forces the agent to map out direct costs, the value of the options you're throwing away, and whether a decision is a one-way door. Use it to move past intuition and get hard numbers on every major tradeoff.

## Overview
- **Category:** reasoning
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_ZFd8LqEVtY701O4TOCE0mGQ2ALJXVY7ItOpEKw72/ai-agent-connect
- **Tags:** opportunity-cost, tradeoffs, decision-matrix, cognitive-forcing, multilingual, cost-analysis

## Description

Opportunity Cost Prover acts as a cognitive trap for AI agents that suffer from tunnel vision. When you ask for a solution, most agents give you one path and present it as perfect. This Connector changes that by forcing the agent to measure the blood lost in every choice. Instead of just saying an option is best, your agent has to identify a real second-best alternative, calculate the actual price of the chosen path, and quantify exactly what you lose by not taking the other route. It even checks for one-way doors where reversing a decision would be catastrophic. It is designed to make your agent think like a CFO or a seasoned engineer who knows that every yes is a no to something else. You can find this and other reasoning tools in the Vinkius catalog to ensure your agent is not just guessing. It turns a simple request into a rigorous economic audit, making sure the math actually holds up before you commit resources.

## Tools

### validate_opportunity_cost
Forces the agent to map out the chosen path, the real alternative, and the math behind the decision. It identifies hidden costs and one-way doors to ensure the move is actually worth it.

## Prompt Examples

**Prompt:** 
```
Should we switch from our current SQL setup to a NoSQL database for this new project?
```

**Response:** 
```
### Opportunity Cost Analysis

| Pivot | Details |
| :--- | :--- |
| **Chosen Path** | NoSQL for horizontal scaling |
| **Discarded Alternative** | Optimized SQL (Postgres) |
| **Direct Cost** | 3 weeks migration + 2 weeks dev training |
| **Opportunity Cost** | Lost capacity to launch 2 new features |
| **Irreversible Tradeoff** | High. Data schema migration is a one-way door |
| **Math Check** | Gains ($100k/yr) > Costs ($20k) + Opp. Cost ($30k) = **PASS**
```

**Prompt:** 
```
I want to spend $20k on a new marketing campaign. Is this the best use of our budget?
```

**Response:** 
```
### Budget Tradeoff Analysis

*   **Chosen Path**: $20k Social Ads
*   **Discarded Alternative**: Hiring a Part-time SEO Specialist
*   **Direct Cost**: $20k spend + 10 hours/week management
*   **Opportunity Cost**: Estimated $15k in organic growth lost by not hiring the specialist
*   **Irreversible Tradeoff**: Low. Ads can be paused.
*   **Math Check**: Gains ($40k revenue) > Costs ($20k) + Opp. Cost ($15k) = **PASS**
```

**Prompt:** 
```
We need to decide between building a custom internal tool or buying a SaaS subscription.
```

**Response:** 
```
### Build vs Buy Analysis

*   **Chosen Path**: Custom Build
*   **Discarded Alternative**: SaaS Subscription ($5k/mo)
*   **Direct Cost**: 200 engineering hours ($40k total)
*   **Opportunity Cost**: 3 months of delayed roadmap features ($60k value)
*   **Irreversible Tradeoff**: Medium. Hard to move away from custom code once integrated.
*   **Math Check**: Gains ($120k savings over 2 years) > Costs ($40k) + Opp. Cost ($60k) = **PASS**
```

## Capabilities

### Identify second-best alternatives
Forces the agent to name a concrete path you are rejecting instead of just saying you are doing nothing.

### Calculate hidden direct costs
Measures the full price of a choice including time, attention, maintenance, and learning curves.

### Quantify lost opportunity value
Puts a specific number on what you would have gained by choosing the alternative path.

### Flag irreversible one-way doors
Identifies decisions that are impossible or extremely expensive to reverse once committed.

### Verify gains against costs mathematically
Requires the agent to prove that the gains are greater than the sum of costs and lost opportunities.

## Use Cases

### Evaluating Tech Debt vs. New Features
A lead dev asks if they should rewrite a legacy module. The agent uses validate_opportunity_cost to show that the rewrite takes 3 months and kills 5 new features.

### Cloud Migration Risks
An ops manager wants to move to serverless. The tool flags the vendor lock-in as a one-way door and calculates the cost of the lost container portability.

### Marketing Budget Allocation
A founder wants to spend 50k on a new campaign. The agent compares it to hiring a salesperson, quantifying the lost lead volume from the ad spend.

### Career Path Planning
A student wants to switch majors. The tool calculates the sunk costs of the first degree and the time cost of the second to see if the switch is mathematically sound.

## Benefits

- Stop tunnel vision by forcing agents to look at real alternatives using validate_opportunity_cost.
- Identify one-way doors early to prevent making permanent mistakes in your infrastructure or career.
- Get hard numbers on hidden costs like training time and maintenance instead of just the sticker price.
- Verify that gains actually exceed costs with mandatory math checks before you commit your budget.
- Make better investment choices by quantifying exactly what you are giving up by choosing one path.
- Move from intuition based planning to a rigorous economic audit for every major project decision.

## How It Works

The bottom line is that you get a verified decision that accounts for what you are giving up, not just what you are gaining.

1. Provide your AI client with a specific decision or project plan you are considering.
2. Invoke the tool to force a multi-pivot analysis of the chosen path versus the best alternative.
3. Review the final verdict to see if the math justifies the move or if you are falling into a trap.

## Frequently Asked Questions

**What does the Opportunity Cost Prover do?**
It forces your AI agent to perform a rigorous economic analysis of any decision. It makes sure the agent looks at what you are giving up, not just what you are gaining.

**How can it help with engineering decisions?**
It helps you validate tech choices by quantifying hidden costs like maintenance, learning curves, and the value of the features you have to delay to make the switch.

**Can I use it for personal career planning?**
Yes. You can use it to compare different career paths, calculating the sunk costs of your current role against the time and money required to switch.

**Does it help with budget allocation?**
It is excellent for budgets. It forces the agent to put a price tag on the 'lost' opportunities of every dollar spent on one project instead of another.

**How does it stop AI tunnel vision?**
It acts as a cognitive trap. By requiring a 'discarded alternative' and 'math verification,' it prevents the AI from just agreeing with your first idea.

**Is it good for identifying one-way doors?**
Yes, it specifically flags irreversible decisions. This helps you identify high-risk moves that would be very expensive or impossible to undo later.

**Why can't 'doing nothing' be the discarded alternative?**
Because comparing a solution against 'doing nothing' is a false dichotomy used to artificially inflate the value of the solution. The engine forces the AI to compare its idea against the next best active technical strategy.

**Why does the prover require an irreversible tradeoff analysis?**
Because decisions are classified into two categories: type-1 (irreversible, one-way doors) and type-2 (reversible, two-way doors). If an AI suggests a type-1 decision without acknowledging its permanent nature (e.g. schema changes, switching databases), it creates technical debt that cannot be undone.

**What does 'quantify lost opportunities' mean in practice?**
It means assigning a concrete cost (such as engineering velocity, infrastructure costs, or latency) to what you lose by choosing the path. For example, choosing custom development instead of a SaaS integration has an opportunity cost of slower time-to-market.