Regulated processes, drafted from the law

Give it the law.
Get a process you can trust.

Give it a statute and your practice sheet. It drafts the process, then checks it against your design and against the law. A named person approves the release.

Harbor Legal / Lemon law / Review v0.1 draft
  • Review
  • Process
  • Rules
  • Connectors
  • Tests
Matches your design
9match
1conflict
1added by AI
Regulated and compliant
17enforced
1referenced only
0conflict
1missing
Matches your design11 rows, 4 shown

Accept vehicles up to 24 months old.

Rule in_period, built from the statute: WLL §2 sets 18 months or 18,000 miles.

conflict
AI fix

Change the sheet to 18 months or 18,000 miles from delivery, whichever comes first. A client at 20 months could not use WLL §2, so accepting them would only raise hopes.

Acting asdesignerChange the sheet to matchRoute older vehicles to a lawyerAsk for an exception

Ask for an exception: not available, statutory clause.

Chase the client for missing documents every 3 business days.

Deadline d5

match

A lawyer approves every notice and client message before it goes.

Steps 4 and 6, approval by lawyer

match

Chase the dealer every 5 business days after a repair-order request.

Not on your sheet. Deadline d2. WLL §4(b) gives a dealer 5 business days to supply copies.

added by AI
Your call

Keep the follow-up as a calendar task every 5 business days after a request, or remove it. The AI cannot keep it without your decision.

Acting asdesignerKeep itRemove it
Regulated and compliant19 clauses, 4 shown. 8 test clients, waiting for Lena.

WLL §3(a) Presume a lemon after 3 repair attempts for the same defect

Rules same_defect and is_lemon, 1 test client, waiting for Lena

enforced

WLL §5(a) Notice goes to the manufacturer's designated address

Rule notice_recipient and the outbound gate, 1 test client, waiting for Lena

enforced

WLL §7(a) Tell the consumer about the state arbitration program

Mentioned in template t5; nothing checks it was sent.

referenced only
AI fix

Add a check to step 6: before any demand goes out, the case must show that the client was told about the arbitration program, with the date and who told them.

Acting ascontrol ownerApprove the drafted checkMark as guidance only, with a reason

WLL §5(c) Notice states the consumer's choice of refund or replacement

Nothing yet: template t1 has the defect and the history only.

missing
AI fix

Add one sentence to the notice template, and have the outbound gate test that the letter has all three statements WLL §5(c) lists. The gate check is a new control, so the control owner approves it.

Acting ascontrol ownerApprove the template change and the gate checkEdit the sentence first

Release is locked. 4 items to resolve.

Acting asdesigner Run the tests again Release v1.0: locked

The draft, drawn

Every step, rule and letter on one map.

The draft is also a diagram, with a lane for each actor: the paralegal, the lawyer, the AI and the connectors. Pick any step, rule, deadline or letter to see its details and clauses. Nobody draws it by hand. The diagram is the draft itself, and a change goes through review and becomes a new version.

Harbor Legal / Lemon law / Process diagram v0.1 draft

The diagram is drawn by JavaScript in your browser. A still picture of it is on the Design page.

One model, three stages

Design it. Run it. Improve it.

What you design is what runs, and what you learn comes back to the same screen as a proposed change.

01 / DESIGN

From the law to a draft

Give it the statute and your practice sheet. It drafts the process, the rules and the letters, each check linked to its clause.

How design works
Here is the Westland Lemon Law and our practice sheet. Draft the process.
AI drafting
  1. Read the statute
  2. Drafting rule tables
02 / RUN

Cases on a governed path

Designed paths run on rules, with no AI call where a rule decides. A case that leaves the path gets one proposed step, from an approved menu.

How cases run
LL-2047 Dana Ruiz Notice drafted
LL-2049 Priya Lindqvist Needs review
LL-2043 Tomas Reyes Waiting for manufacturer
03 / IMPROVE

Exceptions become rules

Repeated exceptions become a proposed branch, replayed on past cases before the owner approves it. A changed law maps to the cases it touches.

How it improves
Proposed branch
12 of 14past cases matched
Exception LL-2047, Dana Ruiz waiting Acting aslawyer

Norvik Motors offers $4,500 cash-and-keep

Received 11 Nov 2026, 15:48. Instead of a refund, Norvik offers Dana $4,500 to keep the vehicle and drop her claim. This is not the written response WLL §6(a) requires, which is still due on 25 Nov.

AI proposes one next step

Send the offer to the client with the lawyer's comparison. The offer is hers to decide on, and a lawyer approves the message before it goes out.

Menu action
send-offer
Clauses
WLL §8(a) WLL §8(b) WLL §11
Approve this stepChoose anotherAccept for the client

Accept for the client: not on the menu: the client decides.

Also on the approved menu

ask-in-writingescalate

Not on the menu

counteraccept

The AI picks the route, never the authority

New situations, never new powers.

When a case leaves the designed path, the AI proposes one step from the approved menu and cites the clauses behind it.

  • Some actions are not on the menu. Nobody accepts an offer on a client's behalf.
  • No approval is ever made by the AI alone: a lawyer approves the message before it goes out.

Nothing leaves until it passes

A conflicting letter is held, not sent.

Everything sent by or checked through ai4bp meets the rules and the clause checks first: a notice letter, an email, a purchase order, a payment instruction.

  • The AI can stop, but cannot release. Only an exact rule or a person lets an action through.
  • A hold cites the clause and proposes the fix. Here the notice was addressed to the dealer, and the law requires the manufacturer's address.
Outbound check / LL-2047 email.send
Notice letter held Acting aslawyer
To
Brightwater Norvik, Service Department, the dealer 1180 Quay Road, Kellbrook, Westland
Subject
Notice under WLL §5: Dana Ruiz, 2025 Norvik Atlas
  1. On the approved action menupass
  2. Rules passpass
  3. Recipient, WLL §5(a)held
  4. Disclosure, WLL §5(c)pass
  5. Approval, Maya (lawyer)waiting
AI fix

The letter is addressed to Brightwater Norvik, the dealer. WLL §5(a) requires the manufacturer's designated address. Address it to notices@norvik-motors.example, from the owner's manual stored in Vyxlo.

Use the designated addressChoose anotherSend as addressed

Send as addressed: not available, statutory clause.

Nothing was sent. The hold is recorded in the evidence ledger.

Connected through MCP, governed by ai4bp

MCP gives the AI connectivity. ai4bp gives it authority.

MCP, the Model Context Protocol, is a standard way for an AI to use other systems, such as a document store, email, a calendar or a core banking system. No agent calls a tool directly: every call goes through ai4bp first.

Gateway / call trace LL-2047
email.send the notice, after the fix sent ✓ verified Acting aslawyer
JSON in
{
  "to": ["notices@norvik-motors.example"],
  "subject": "Notice under WLL ยง5: Dana Ruiz, 2025 Norvik Atlas",
  "template": "t1",
  "attachments": ["RO-BW-48213.pdf", "RO-BW-51097.pdf", "RO-BW-55640.pdf"],
  "case": "LL-2047",
  "approval": { "by": "Maya", "role": "lawyer", "at": "2026-11-11 10:42" }
}
Gate checks
  1. On the approved action menupass
  2. Rulespass
  3. Recipient, WLL §5(a)pass
  4. Disclosure, WLL §5(c)pass
  5. Approval, Maya (lawyer)pass
  6. Sentaccepted by the mail server
  7. Outcome checked against the mail serververified
JSON out
{
  "message_id": "msg-48201",
  "status": "sent",
  "accepted_by": "mail.norvik-motors.example",
  "sent_at": "2026-11-11 10:42",
  "verification": "verified"
}

Approved menu for this pack

vyxlo.store_documentvyxlo.get_documentvyxlo.extract_fieldsemail.sendcalendar.create_eventesign.request
  • Each call is checked against the approved menu and the rules, approved where needed, then executed and verified.
  • ai4bp is also an MCP server, so other agents in your organization can send their outgoing actions through it to be checked first.

Knowledge packs

One core. A pack for each domain.

A pack brings the vocabulary, document types, connector mappings, letter skeletons and test cases for one field. The statute or policy you supply does the rest.

Lemon law, the first pack

A consumer's new vehicle has a defect the dealer could not fix. ai4bp drafts the case process from the state's statute, here the fictional state of Westland.

Pack / Lemon law synthetic cases

Westland Lemon Law, drafted into a process

  1. Intake
  2. Collect documents
  3. Decide eligibility
  4. Send written notice
  5. Final repair attempt
  6. Arbitration or demand
  7. Settlement or suit
  8. Close

Rule is_lemon: is the vehicle presumed a lemon? First matching row wins.

WhenResultClause
Same defect repaired 3 or more timesPresumed lemonWLL §3(a)
30 or more days out of service in totalPresumed lemonWLL §3(b)
Serious safety defect repaired 2 or more timesPresumed lemonWLL §3(c)
None of the aboveNot yet presumed: keep collecting repair ordersWLL §3(a)
Statute
23 clauses; 19 are checked, 4 definitions are guidance only
Connectors
vyxlo, email, calendar, esign
Deadlines
Dealer repair orders, dealer follow-up, manufacturer response, final repair attempt, client document chase, limitation date
Approval
A lawyer approves all 5 letter templates

Banking, on a BIAN core

A new personal loan, checked against your bank's own credit, affordability and consumer-protection policies, and built on the service operations your core exposes.

Personal loan / Review v0.1 draft
Matches your design2 lines of your sheet

Check the credit rating before every offer

BIAN service domain Customer Credit Rating

match

Send loans above 25,000 to the credit committee

Policy CR-4 refers every loan above 20,000

conflict
AI fix

Change the sheet to 20,000, or ask the policy's owner for an exception.

Acting asdesignerChange the sheetAsk for an exception
Regulated and compliant2 policies apply

Policy AF-2 Affordability is checked before approval

Rule affordability, tested on 5 clients

enforced

Policy CP-7 The offer states the total cost of credit

The offer template lacks it.

missing
AI fix

Add the total cost of credit to the offer template. The check before any offer goes out is a new control, so the control owner approves it.

Acting ascontrol ownerApprove the template change and the check

Release is locked. 2 items to resolve.

Acting asdesigner Release v1.0: locked

Candidates for later packs: supplier corrective actions, freight-charge disputes, warranty recovery, construction changes and commercial fit-out. See all packs

Try it

Walk the whole loop yourself.

In the demo, use the lemon-law pack: review the draft, run a case, handle an exception, approve a letter.