How H6.ai Builds AI-Powered Financial Automation with Lakebase Postgres
Databricks, Thursday, November 12th, 2026
H6.ai explains how per-customer Lakebase Postgres databases and copy-on-write branches support regression testing of its AP automation.
H6.ai automates accounts payable on top of a company's existing ERP, reading invoices, matching them to purchase orders, coding lines to accounts and checking policies.
Because customer data keeps changing, the team needed to tell whether a changed result came from its own code or from the data.
It gives every customer a dedicated Lakebase Postgres database and uses copy-on-write branches to freeze the exact database state behind an invoice that was handled incorrectly.
Test cases pair an invoice with a snapshot and an expected outcome, and run on disposable, schema-migrated branches without touching live data or the ERP, while a panel of AI judges helps evaluate new models and engine changes before production.