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 LBO Analysis

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

Overview

End-to-end process for running a deterministic leveraged buyout (LBO) analysis, computing IRR and MOIC from deal assumptions seeded from real filings.

Description

This workflow runs the standalone LBO pipeline. Every LBO assumption — entry/exit multiples, leverage, holding period, revenue growth, EBITDA margin — is seeded from the company's 3-year historical medians, Damodaran industry medians, or standard PE convention. The pipeline computes the deterministic IRR/MOIC arithmetic and a debt schedule, then hands the result to an LLM that narrates the investment memo. The LLM selects assumptions; code computes returns.

  • Goal: A deterministic IRR, MOIC, debt schedule, and entry/exit equity breakdown for a hypothetical LBO.
  • Scope: From a financial snapshot and multi-year history through seeded LBO inputs, deterministic compute, and an LLM-narrated memo.
  • Strategy: `seed_lbo_inputs` derives every parameter from filings or PE convention; `calculate_lbo` computes returns; the LLM narrates.

Usage

Execute this workflow when you need a private-equity-style buyout analysis for a public company — IRR, MOIC, debt amortization, and an ability-to-pay assessment.

  • Input State: A valid public ticker symbol for a company suitable for LBO analysis (typically with stable cash flows and meaningful EBITDA).
  • Desired Output: A deterministic IRR/MOIC, a debt schedule, entry/exit equity and EV breakdown, and a narrative investment memo.

Execution Steps

Step 1: Data Collection

Fetch the financial snapshot and price for the ticker, plus multi-year historical metrics. The data layer pulls financials and price from the primary provider (FMP) with failover to yfinance. The executor produces a validated FinancialData object carrying revenue, EBITDA, net income, and market cap.

Key considerations:

  • This step is critical — the LBO seed reads this FinancialData, so a validation failure aborts the pipeline.
  • Foreign issuers are FX-normalized to canonical USD so revenue/EBITDA/debt never mix native currency with USD market cap.
  • Multi-year history powers the 3-year-median assumption derivation; on extraction failure the seed falls back to Damodaran industry medians.

Step 2: LBO Parameter Seeding

Derive every LBO input deterministically from the company's filings or PE convention. The executor calls `seed_lbo_inputs` to build an `LBOInputs` object: entry EV/EBITDA multiple, leverage multiple, holding period, revenue growth, EBITDA margin, exit multiple, and capital structure — each sourced from 3-year historical medians, Damodaran industry medians, or standard PE convention recorded in `assumption_provenance`.

Key considerations:

  • No LLM call — the executor is deterministic.
  • Deal-structure quantities (entry/exit multiples, leverage, holding period) that are not financial-statement values come from standard PE convention.
  • Every assumption carries provenance for auditability.

Step 3: LBO Calculation

Compute the deterministic LBO returns and debt schedule. The executor runs `calculate_lbo` to produce MOIC, IRR, entry/exit equity, entry/exit EV, entry debt, and a year-by-year debt amortization schedule. It detects non-self-financing deals (levered FCF negative across the hold → debt rises on revolver draws) and leads the headline with a feasibility verdict, demoting returns to a disclosed footnote. For an impossible structure (entry equity ≤ 0), MOIC/IRR are None and a capital-structure warning explains why.

Key considerations:

  • Pure compute — no LLM, no I/O beyond the cached seed.
  • Equity value floors at 0 under limited liability; a negative exit equity is reported as a debt shortfall wipeout, never as negative equity.
  • A self-financing check flags deals where the modeled returns are exit-multiple artifacts, not achievable sponsor returns.

Step 4: Narrative Output

The report agent writes a natural-language investment memo interpreting the LBO result. The LLM receives the computed IRR, MOIC, debt schedule, and entry/exit breakdown as context, and articulates the buyout thesis — it does not select any number.

Key considerations:

  • The LLM only narrates; every figure it cites was computed by code.
  • The validator ensures the output is non-empty.

Execution Diagram