Skip to main content

CODITECT Financial Modeling Quick Start

Build a complete 60-month SaaS financial model in 10 minutes. This guide covers the /fm engine (ADR-177), 4 persona agents, and multi-persona orchestration workflows.


Prerequisites: CODITECT installed and working. Run /orient to verify. If you need setup help, see USER-QUICK-START.md.


What You Get

OutputFormatUse Case
Static WorkbookXLSX (10 sheets)Board decks, investor presentations
Formula WorkbookXLSX (10 sheets)What-if analysis — change inputs, everything recalculates
Structured DataJSONAPI consumption, BI tool ingestion
Flat DataCSVpandas/R analysis, spreadsheet import

Part 1: Build Your First Model (3 Commands)

Step 1: Create a Scenario with Defaults

/fm seed-defaults mycompany

This loads CODITECT's default SaaS assumptions:

  • 3 pricing tiers (Individual $20/mo, Team $75/mo, Enterprise $1,300/mo)
  • 8 growth rate periods (100% early-stage down to 0.5% at maturity)
  • 5 expense categories across 3 company stages
  • 5 headcount growth periods (2 to 18 employees over 60 months)

Step 2: Add Funding Rounds

/fm funding add mycompany seed 2M M6
/fm funding add mycompany series-a 15M M18

This adds a $2M seed round at month 6 and a $15M Series A at month 18. Amounts use shorthand: 2M = $2,000,000, 500K = $500,000.

Step 3: Build All Outputs

/fm build mycompany --format all

Output:

Computing model for scenario: mycompany...
Breakeven: M11
M60 ARR: $4,602,620
M60 Cash: $9,449,056
Peak Burn: $4,514
xlsx: CODITECT_FM_mycompany.xlsx
formula: CODITECT_FM_mycompany_FORMULA.xlsx
json: CODITECT_FM_mycompany.json
csv: CODITECT_FM_mycompany.csv

You now have a complete 60-month financial model with P&L, revenue breakdown, cash flow, unit economics, and a dashboard — in 4 formats.


Part 2: Customize Your Model

Adjust Pricing

/fm pricing mycompany --tier enterprise --price 1500 --cac 1200 --churn 0.08 --mix 0.15
/fm pricing mycompany --tier team --price 99 --cac 80 --churn 0.15 --mix 0.30
/fm pricing mycompany --tier individual --price 25 --cac 15 --churn 0.30 --mix 0.55
ParameterMeaning
--priceMonthly price per seat/license
--cacCustomer acquisition cost
--churnMonthly churn rate (0.08 = 8%)
--mixRevenue mix percentage (must sum to 1.0)

Adjust Growth Rates

/fm growth mycompany --range M1-M3 --rate 1.00    # 100% MoM months 1-3
/fm growth mycompany --range M4-M6 --rate 0.50 # 50% MoM months 4-6
/fm growth mycompany --range M7-M12 --rate 0.20 # 20% MoM months 7-12
/fm growth mycompany --range M13-M24 --rate 0.10 # 10% MoM year 2
/fm growth mycompany --range M25-M60 --rate 0.03 # 3% MoM at scale

Rebuild After Changes

/fm build mycompany --format all

The engine auto-invalidates cached computations when assumptions change, so every build reflects your latest inputs.


Part 3: Compare Scenarios

Create an Aggressive Variant

/fm scenario clone mycompany aggressive
/fm growth aggressive --range M1-M3 --rate 1.50
/fm growth aggressive --range M4-M6 --rate 0.80
/fm funding add aggressive series-b 40M M30

Side-by-Side Comparison

/fm compare mycompany aggressive

Output:

Metric               mycompany       aggressive      Delta
----------------------------------------------------------
M60 ARR $4,602,620 $6,728,450 +$2,125,830
M60 Cash $9,449,056 $12,183,200 +$2,734,144
Breakeven Month M11 M8 -3 months
Peak Monthly Burn $4,514 $4,514 $0
M24 NRR 106.0% 106.0% +0.0%

Export for Data Room

/fm export mycompany --output mycompany_assumptions.json
/fm build mycompany --format xlsx --output /tmp/investor-deck/

Part 4: Use Persona Agents

CODITECT provides 4 financial persona agents, each specialized for different roles and workflows. Use them instead of raw /fm commands for guided, role-appropriate financial work.

The 4 Personas

CFO (orchestrator)
|-- FP&A Analyst (specialist) -- scenarios, sensitivity, forecasting
|-- Finance Controller (specialist) -- budget, controls, audit
+-- Financial Analyst (specialist) -- model building, valuation

When to Use Which Persona

You Want To...Use This AgentCommand
Build a financial model from scratchFinancial Analyst/agent financial-analyst "Build a 60-month SaaS model for [company]"
Compare scenarios and run what-if analysisFP&A Analyst/agent fpa-analyst "Compare base vs aggressive scenarios"
Check budget alignment and audit trailFinance Controller/agent finance-controller "Review budget variance for Q1"
Prepare board deck or investor materialsCFO/agent cfo "Prepare investor package for Series A"
Run the full pipeline (all 4 phases)CFO/agent cfo "Full financial package for [company]"

Example: Financial Analyst Builds a Model

/agent financial-analyst "Build a complete SaaS financial model for Acme Corp.
Individual tier at $29/mo, Team at $99/mo, Enterprise at $1,500/mo.
Seed round $2.5M at month 6, Series A $12M at month 18.
Output all formats."

The Financial Analyst agent will:

  1. Run /fm seed-defaults acme-corp
  2. Configure pricing for all 3 tiers
  3. Add funding rounds
  4. Adjust growth rates based on your tier mix
  5. Run /fm build acme-corp --format all
  6. Validate outputs via the financial-model-validator hook
  7. Return a summary with file paths

Example: FP&A Analyst Runs Scenarios

/agent fpa-analyst "Create 3 scenarios for Acme Corp:
- Conservative: 50% slower growth
- Base: current assumptions
- Aggressive: 2x growth, add Series B at month 30
Compare all three and highlight breakeven sensitivity."

The FP&A Analyst agent will:

  1. Clone the base scenario twice
  2. Adjust growth rates for each variant
  3. Add funding to the aggressive scenario
  4. Run /fm compare between each pair
  5. Produce a sensitivity summary

Example: CFO Orchestrates Full Pipeline

/agent cfo "Full financial package for Acme Corp investor presentation.
Include model, 3 scenarios, budget validation, and board-ready materials."

The CFO agent orchestrates all 4 phases:

PhaseAgentWhat Happens
1. Model ConstructionFinancial AnalystBuilds the foundational model
2. Scenario AnalysisFP&A AnalystCreates and compares variants
3. ValidationFinance ControllerChecks budget alignment, audit trail
4. Strategic ReviewCFOProduces investor/board materials

Part 5: Use the Routing Skill

Not sure which persona to use? The routing skill decides for you:

/agent orchestrator "Route this request to the right financial persona:
I need to prepare materials for a board meeting next week showing our
financial projections and scenario analysis."

Routing Decision Tree

Your Request Contains...Routed To
"build a model", "create projections"Financial Analyst
"compare scenarios", "what-if", "sensitivity"FP&A Analyst
"budget variance", "audit", "reconciliation"Finance Controller
"investor deck", "board presentation"CFO
"full financial package"All (4-phase pipeline)

Command Reference

All /fm Subcommands

CommandPurposeExample
seed-defaultsCreate scenario with defaults/fm seed-defaults base
scenario listList all scenarios/fm scenario list
scenario cloneClone a scenario/fm scenario clone base aggressive
scenario deleteDelete a scenario/fm scenario delete old
funding addAdd funding round/fm funding add base seed 2M M6
funding listList funding rounds/fm funding list base
pricingSet tier pricing/fm pricing base --tier enterprise --price 1500
growthSet growth rates/fm growth base --range M1-M6 --rate 0.50
buildGenerate outputs/fm build base --format all
compareCompare scenarios/fm compare base aggressive
exportExport to JSON/fm export base
importImport from JSON/fm import scenario.json
historyView audit trail/fm history base

All Persona Agents

AgentRoleKey Strengths
financial-analystModel builder/fm seed-defaults, pricing, growth, build
fpa-analystScenario analyst/fm scenario clone, growth, compare
finance-controllerBudget validator/fm compare, history, build --format xlsx
cfoStrategic orchestratorDelegates to all 3, produces board materials

Output Formats

FormatSheets/StructureBest For
Static XLSXCover, Engine, P&L, Revenue, Expenses, Cash Flow, Dashboard, Unit Econ, Comparables, AssumptionsEmbedding in presentations
Formula XLSXInputs, Engine, P&L, Revenue, Expenses, Cash Flow, Dashboard, Unit Econ, Comparables, InstructionsInteractive what-if analysis
JSONmetadata, summary, assumptions, monthly_dataAPI integration
CSVFlat monthly rowsData analysis

Quick Workflows

Investor Prep (15 minutes)

/fm seed-defaults pitch
/fm funding add pitch seed 2M M6
/fm funding add pitch series-a 15M M18
/fm build pitch --format xlsx # Static for slide embedding
/fm build pitch --format formula # Interactive for due diligence
/fm export pitch # JSON for data room

Monthly Operations Review

/agent financial-analyst "Update the base model with latest actuals"
/agent fpa-analyst "Compare base vs Q1 actuals, highlight variances"
/agent finance-controller "Validate budget alignment for March"

Board Meeting Package

/agent cfo "Prepare Q1 board package:
- Updated 60-month projections
- Base vs aggressive vs conservative scenarios
- Budget variance analysis
- Investor-ready materials"

Troubleshooting

ProblemSolution
xlsxwriter not foundEngine self-provisions: pip3 install xlsxwriter
Scenario not foundRun /fm scenario list to see available scenarios
Database lockedWait for other builds to complete, retry
Validation FAILCheck reconciliation errors in build output
No output filesEnsure --format flag is specified

Architecture

/fm command  -->  coditect_fm.py (ADR-177)
|
+--------+--------+
| |
SQLite DB Output Formatters
(10 tables) (XLSX/JSON/CSV)
|
13 Cache Triggers
(auto-invalidation)

Key files:

  • Product Submodule: submodules/products/coditect-financial-model/ (ADR-179)
  • Engine: submodules/products/coditect-financial-model/src/coditect_fm.py
  • Seed data: submodules/products/coditect-financial-model/data/CODITECT_Model_Export.json
  • ADR-177: internal/architecture/adrs/ADR-177-database-driven-financial-model-engine.md
  • ADR-179: internal/architecture/adrs/ADR-179-hybrid-financial-model-distribution.md

ResourcePath
/fm Command Referencecommands/financial-model.md
Persona Routing Skillskills/financial-model-personas/SKILL.md
Orchestration Workflowdocs/workflows/fm-orchestration-workflow.md
Validation Hookhooks/financial-model-validator.md
Component Inventoryinternal/analysis/financial-model-ecosystem/financial-model-ecosystem-component-inventory-2026-02-12.md
ADR-177internal/architecture/adrs/ADR-177-database-driven-financial-model-engine.md

Track: N.6.14.1.1 ADR: ADR-177 (Database-Driven Financial Model Engine)