Finance Modelling
Discounted cash-flow valuation. Returns implied enterprise + equity value with a small sensitivity grid.
dcf_modelSits 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.
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.
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%
Real scenarios where agents put this tool to work.
Implementation lives at swarmai-tools/src/main/java/ai/intelliswarm/swarmai/tool/finance/DcfModelTool.java in the swarm-ai repository.