← All tools

Finance Modelling

DCF Model

Discounted cash-flow valuation. Returns implied enterprise + equity value with a small sensitivity grid.

dcf_model

Overview

Sits behind a valuation agent. Input is a structured snapshot (base revenue + margins, growth schedule, WACC, terminal growth, net debt, share count); output is the implied per-share equity value plus a sensitivity table.

How it works

READ_ONLY. Reproducible — same input, same output. Designed to compose with the comps_analysis tool and the tear_sheet writer so an agent can build a full valuation package end-to-end.

Example

When a user asks:

DCF for ACME Corp at base revenue $1bn, 30% EBITDA margin, 9% WACC, 2.5% terminal growth.

the agent calls the tool:

dcf_model(ticker="ACME", baseRevenue=1000, baseEbitdaMargin=0.30, wacc=0.09, terminalGrowth=0.025, ... )

and gets back: EV = $4,820m | Equity = $4,620m | Per share = $46.20 | Sensitivity grid: WACC 8–10% × g 2.0–3.0%

What it's good for

Real scenarios where agents put this tool to work.

Valuation agent: comps + DCF triangulation
Composite: dcf_model → tear_sheet → xlsx_author for a one-click valuation deck

Source

Implementation lives at swarmai-tools/src/main/java/ai/intelliswarm/swarmai/tool/finance/DcfModelTool.java in the swarm-ai repository.

Open dcf_model on GitHub →