Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Workflow:AI4Finance Foundation FinRobot IC Memo

From Leeroopedia
Knowledge Sources
Domains Private_Equity, Valuation, Investment_Banking
Last Updated 2026-10-18 00:00 GMT

Overview

End-to-end process for generating an investment committee (IC) memo with deterministic DCF + LBO analysis and a code-enforced IRR hurdle gate.

Description

This workflow runs the IC memo pipeline. It executes a deterministic DCF and LBO inline (both seeded from real filings via their respective seed functions), then produces a five-section memo: situation overview, financial analysis, investment thesis, risk factors, and recommendation. The headline gate is deterministic: if the LBO IRR falls below the 15% sponsor hurdle, the recommendation is overridden to PASS regardless of what the LLM wrote.

  • Goal: An investment committee memo with deterministic financials, a structured thesis, ranked risks, and a gated invest/pass recommendation.
  • Scope: From a ticker through inline DCF + LBO compute, LLM thesis and risk sections, and a code-gated recommendation.
  • Strategy: `seed_dcf_inputs` and `seed_lbo_inputs` build the financial core; the LLM writes the narrative sections; a code gate enforces the IRR hurdle on the recommendation.

Usage

Execute this workflow when you need a private-equity-style investment committee memo for a ticker — a structured document with deterministic DCF + LBO returns and a gated invest/pass verdict.

  • Input State: A valid public ticker symbol.
  • Desired Output: A five-section IC memo with deterministic financials, thesis, risks, and a recommendation gated by the IRR hurdle.

Execution Steps

Step 1: Situation Overview

The analysis agent writes a company overview and transaction rationale from the fetched financials and news. The agent receives the financial snapshot and recent news as context and produces a narrative situating the company and the LBO opportunity.

Key considerations:

  • This step requires FINANCIALS and NEWS data, fetched from the data layer.
  • The validator checks that the output references revenue and EBITDA fields.

Step 2: Financial Analysis

Run the deterministic DCF and LBO inline from seeded inputs. The executor fetches the canonical financials and price, FX-normalizes to USD, fetches multi-year history and forward analyst consensus, then builds `DCFInputs` via `seed_dcf_inputs` and `LBOInputs` via `seed_lbo_inputs`. It computes the DCF base case + sensitivity and the LBO returns (MOIC, IRR, debt schedule), returning combined `ICFinancials`.

Key considerations:

  • No LLM call — pure DCF + LBO compute, zero model calls.
  • This step is critical and deterministic — without `ICFinancials` the recommendation gate cannot run, so an LLM INVEST/PASS would ship ungated.
  • Every assumption traces to a 3-year historical median, a Damodaran industry median, or PE convention.

Step 3: Investment Thesis

The synthesis agent articulates 3-5 key investment considerations based on the deterministic financials and situation overview. The agent receives the `ICFinancials` (DCF implied price, LBO IRR/MOIC) as context and produces a structured thesis.

Key considerations:

  • The LLM writes the thesis; it does not pick numbers — all figures come from the deterministic financial analysis step.
  • The validator ensures the output is non-empty.

Step 4: Risk Factors

The analysis agent generates risk factors, with code enforcing a 3-item structure. The agent receives the financials and thesis as context and produces ranked risks. Code ranks by order (impact), not by LLM discretion.

Key considerations:

  • The validator enforces that the output contains a structured risk field.
  • Risk ranking is deterministic (by position), not LLM-discretionary.

Step 5: Recommendation

The synthesis agent writes the invest/pass recommendation, then a deterministic code gate enforces the IRR hurdle. If the LBO IRR is below the 15% sponsor hurdle (or undefined for an impossible capital structure), the recommendation is overridden to PASS regardless of the LLM's output, with a machine-readable gate notice prepended.

Key considerations:

  • The IRR hurdle gate is the defining feature — the LLM's recommendation is advisory; the code gate is authoritative.
  • The hurdle rate (15%) is a shared constant with the valuation aggregator's LBO ability-to-pay discounting, so the IC gate and the football field speak the same bar.
  • An undefined IRR (None — impossible structure) cannot clear the hurdle and falls through the same PASS gate.

Execution Diagram