Processing a legal agreement made accurate fast easy

We build bespoke, AI-driven workflows that reduce the full process to under a second.

Your documents are never stored · Emails, scans and digital PDFs · Plugs into AI pipelines and agents

From Facility Agent

Subject RE: FW: Q2 compliance — margin

Following the Q2 certificate, leverage is now 2.8x, so the margin on Facility B steps down to 3.00% from the next interest period (1 July).

📎 Compliance_Certificate_Q2.pdf

Margin change

Facility
Term Facility B
New margin
3.00%
Previous
3.25%
Effective
1 July 2026
Evidence
Certificate attached

Senior Facilities Agreement · p.147 of 312

2.1 The Facilities

Subject to the terms of this Agreement, the Lenders make available to the Borrower a euro term loan facility in an aggregate amount equal to EUR 250,000,000, to be applied towards the purposes set out in Clause 3.

Facilities agreement

Borrower
Borrower Holdings Ltd
Commitment
€250,000,000
Facility
Term loan
Governing law
England and Wales
Pages read
312 of 312

DEED OF AMENDMENT

Clause 22.1 (Financial covenants) is amended so that Leverage shall not exceed 4.00:1 (previously 3.50:1).

Signed this 14th day of March 2026

Amendment (scanned)

Amends
Clause 22.1
Leverage limit
3.50x → 4.00x
Signed
14 March 2026
Source
Scanned image

lender_schedule_FINAL_v3.xlsx

LenderAmt
Bank A€60m
Bank B50,000,000
Bank CEUR 50 mn
Fund D45.0m
Fund E45000000

Lender schedule

Lenders
5
Total
€250,000,000
Largest share
Bank A, 24%
Check
Matches agreement

Already used by

Integrations for complex data parsing, legal agreements and more.

Herein is an AI agent that reads your emails and complex documents and turns them into structured, validated data. We set each one up as a bespoke, optimised, automated workflow around the way your team already works.

What comes in

  • Emails and their attachments
  • Large documents, read in full
  • Non-standard formats, scanned or digital
  • Legal agreements of any type

Herein

AI agent · reads, structures and validates

Where it goes

  • Your CRM and existing systems
  • AI pipelines and agents
  • Your team, as structured data ready to act on

Every workflow is designed around you, optimised for your documents, and runs without anyone re-keying a thing.

Talk to us about a bespoke workflow

Manual review and general-purpose AI tools both buckle once volume shows up. Herein doesn't.

Manual review Claude Code Herein
Fast Hours per document 1–2 min per document ~100× faster under a second per document, thousands at once
Accurate Error-prone, inconsistent between reviewers Prompts drift on edge cases and long documents Purpose-built model, schema-validated output
Easy Manual re-keying, no structure Needs prompting and manual checking API integrated with your system, easy

Three steps, one request.

We use a specialised AI model to parse raw bytes into valid, structured information.

  1. 01

    Select the API relevant to your contract type.

  2. 02

    Upload a list of contracts.

  3. 03

    Receive the results, ready to integrate with your workflows.

Example: Credit Agreements

Input

  • PDF senior-facilities-agreement.pdf digital
  • PDF revolving-credit-facility.pdf digital
  • PDF amendment-and-restatement.pdf scanned
  • …
AI model

Output

{
  "document": {
    "title": "Senior Facilities Agreement",
    "governing_law": "England and Wales"
  },
  "parties": [
    {
      "name": "Borrower Holdings Ltd",
      "roles": ["borrower"]
    },
    {
      "name": "Alpine Guarantee Corp",
      "roles": ["guarantor"]
    }
  ],
  "facilities": [
    {
      "id": "f1",
      "type": "term",
      "total_commitment": {
        "amount": "250000000.00",
        "currency": "EUR"
      },
      "interest": {
        "base_rate": "euribor",
        "spread_bps": 325
      }
    }
  ]
}

Structured JSON — parties, facilities, dates, all typed and ready to use.

Already running AI pipelines or agents? Herein slots straight in — call it as a step in your pipeline or as a tool your agent uses, and hand clean, structured JSON on to your models.

Sign in and view our Developer Docs for the full schema.

Anyone who handles complex legal agreements.

Banks and lenders

Terms, commitments and pricing lifted out of a signed facility and into your own systems.

Law firms

A bundle of agreements turned into structured data you can read at a glance instead of page by page.

Loan administrators

Whole portfolios processed in bulk, on the same schema every time.

Working with something else? The same approach applies to any form of complex agreement — tell us what you handle.

Your data stays protected

Your contracts aren't saved in a database, we can't even access the processes which are running on the machine so your data is hidden from us.

The system is split into three planes. Your documents only ever exist in one of them, and it is the one nobody can reach — including us.

Control plane

Accounts, tokens and billing.

  • Holds the only database
  • Records page counts and timings
  • Never receives a document

Data plane

Where your contracts are read.

  • No database
  • No disk — memory only
  • No route to the internet
  • No shell to log in to

We have no way in.

Enrichment plane

Market rates.

  • Sees a currency, a rate and a date
  • Never sees a document
  • Never sees who you are lending to

Get Started

Bespoke

Need something built around you?

Every business is different, and REST is not always the right seam. We specialise in the integration and building of automated solutions for processing complex legal agreements.

  • No developers to hand for the integration
  • Needs to sit alongside your CRM and existing systems
  • A different form of legal contract entirely
Book a call

Self-serve

Start with the API

Five free tokens, the full schema, and the developer docs. Enough to run your own contracts through and see the output before you commit to anything.

  • 5 free API tokens
  • Full schema and developer docs
  • Scanned or digital PDFs
Sign up and get 5 free API tokens