Skip to content

Fairmark

Fairmark

Fair value, hallmarked.

The deterministic valuation engine for analysts and AI agents. Your agent reasons and writes the report. Fairmark does the math — exactly, with an audit trail.

Get started Use it with an agent

pip install fairmark
import fairmark as fm

r = fm.dcf.fcff(
    [fm.dcf.given([100, 110, 120])],                    # FCFF of years 1 to 3
    cash_flow_terms="nominal", discount_rate_terms="nominal",
    wacc="0.10", timing="end_of_period",
    terminal=fm.dcf.gordon("0.02", first_flow="last_flow_grown"),
    net_financial_position={"gross_debt": 200, "cash": 0},
)
r.equity_value        # Decimal('1221.4876033057851239669421487') — exact, reproducible
r.explain_markdown()  # every step, ready for your valuation report
  • Deterministic


    Exact decimal arithmetic and fixed solvers. Same input, same output, to the last digit, on every platform.

    The determinism contract

  • Auditable


    Every result explains itself: formula, conventions and each intermediate step, plus a fingerprint to reproduce it later.

    The audit trail

  • Agent-native


    One engine for Python, function calling, MCP, the CLI and Agent Skills for Claude Code and Codex. The model never does the arithmetic.

    Agent guides

  • Built for private companies


    Inputs come from financial statements and business plans, not tickers. European valuation practice is first-class.

    Methods

How it fits in your workflow

flowchart LR
    D[Financial statements<br/>business plan] --> L[LLM extracts<br/>the inputs]
    L --> F[Fairmark computes<br/>exact + explain]
    F --> R[LLM writes the report<br/>citing every step]

Status: pre-alpha

Fairmark is under active development. NPV, IRR and DCF (FCFF) are available today; see the roadmap for what comes next.

A calculation tool, not advice

Fairmark computes; the user decides. Every decision taken with its results, and every use of them, belongs to the user, who verifies them before relying on them. Fairmark gives no investment, financial, accounting, tax or legal advice. Read the disclaimer.