Why Letting AI Draft Your MLPA Compliance Rep Is the Most Expensive Shortcut Your Firm Will Ever Take

Letting off-the-shelf AI draft your Mortgage Loan Purchase Agreement (MLPA) compliance rep is the most expensive shortcut your firm will ever take because, in our view, its cost is set by the clauses around it. Which words your agreement carries, and what the clauses around them do, sit in an agreement the model was not trained on, beside the negotiated history that gives them meaning. The bill arrives years later, as a repurchase demand, under a sole-remedy clause where the agreement carries one. By off-the-shelf AI we mean any model, general-purpose or built for lawyers, that has not been trained on closed transactions like yours and supervised by the lawyers who negotiated them. The compliance rep is one sentence or a short list. In the four sources read for this article it is handled four ways. It is unqualified. It is qualified in the rep. It is left to a guide we did not read, beside a defined knowledge standard and the sentence after it. It is an agency obligation with a published test. The differences are the words “material” and “knowledge” and the date the rep speaks as of. What the courts did with the agreements those words sit in is in the opinions. What the clauses around them do in your agreement is in your agreement. A model that was not trained on closed transactions like yours, and was not supervised by the lawyers who negotiated them, cannot tell you which of the four a given purchaser will sign. In our view it cannot tell you what the remedy section will do to the sentence in your hands. That turns on the clauses around it and the negotiated history behind them, neither of which it was trained on. The day that matters is the day a repurchase demand arrives.

This article reads four kinds of source. The first is the compliance rep as written. One source is a mortgage loan purchase agreement filed with the Securities and Exchange Commission (SEC) in 2006 by a public originator selling into its own securitization. It was read whole and is quoted as “the 2006 agreement.” One is a second such agreement as a dissenting judge of the New York Court of Appeals quoted it in 2017. One is a mortgage loan purchase agreement filed in 2026 as an exhibit to a public mortgage company’s annual report, between a subsidiary of the company as seller and an affiliate as purchaser. It was read whole and is called the 2026 filing here. It is an affiliate agreement, not an arm’s-length correspondent form, and it is used for its mechanics. The last is the Fannie Mae Selling Guide and the Freddie Mac Single-Family Seller/Servicer Guide on compliance with laws. The 2006 agreement is a securitization sale into a trust, not a correspondent flow agreement, and it is 20 years old. It is used because agreements of that genre and vintage are the ones the four New York opinions read here construe. The second kind is four New York opinions, each read whole. Two are from the Court of Appeals on when a repurchase claim accrues. They are ACE Securities Corp., Home Equity Loan Trust, Series 2006-SL2 v. DB Structured Products, Inc. (ACE), decided in 2015, and Deutsche Bank National Trust Co. v. Flagstar Capital Markets Corp. (Flagstar), decided in 2018. One is from the Court of Appeals on the sole-remedy clause against claims of systemic breach, Nomura Home Equity Loan, Inc., Series 2006-FM2 v. Nomura Credit & Capital, Inc. (Nomura), decided in 2017. One is from the Appellate Division, First Department, which quoted a knowledge-qualified rep and the agreement’s clause on a discovered inaccuracy on the way to holding on notice and gross negligence. It is Morgan Stanley Mortgage Loan Trust 2006-13ARX v. Morgan Stanley Mortgage Capital Holdings LLC (Morgan Stanley), decided in 2016. All four arose on securitization trusts, and the article says so where it uses them. The third is the firm’s published position on AI and Mata v. Avianca, Inc. (S.D.N.Y. 2023). That order sanctioned the lawyers behind a filing that cited opinions an AI tool had invented; where we quote it, the words are the court’s, not ours. The fourth is the firm’s own reading, marked as such. Nothing here says what any model will do with any particular rep, because we did not test one; the argument is about what the model was not trained on.

What the compliance rep actually says

The compliance rep says that the loan complied with the law, and the four versions read here differ on three words. The 2006 agreement represents, as of its closing date, that each loan “has been originated, acquired, serviced, collected and otherwise dealt with in compliance with all applicable federal, state and local laws (including with respect to fraud in the origination) and regulations, including, without limitation, predatory and abusive lending laws, usury, truth in lending, real estate settlement procedures, consumer credit protection, equal credit opportunity or disclosure laws, and the terms of the related Mortgage Note and Mortgage.” There is no “material” in that sentence and no “knowledge.” The same agreement puts “in all material respects” into the schedule rep immediately before it, and “To the Seller’s best knowledge” into its litigation rep, so the same form carries both qualifiers. The compliance rep carries neither. That agreement’s remedy section carries the materiality: a breach triggers cure or repurchase where it “materially and adversely affects the value of any Mortgage Loan or the interest therein” of the purchaser, and the seller’s obligation runs to “a materially defective Mortgage Loan.”

The second agreement, from the same vintage and quoted by a dissenting judge in Nomura, wrote the qualifier into the rep itself: “Any and all requirements of any federal, state or local law including, without limitation, usury, truth in lending, real estate settlement procedures, consumer credit protection, equal credit opportunity,” “fair housing, predatory, fair lending or disclosure laws applicable to the origination and servicing of the Mortgage Loans have been complied with in all material respects.” A near-identical list of laws, one more phrase, and in that agreement the word sits in the rep as well as in the remedy section.

The 2026 filing does not state the rep at all. Its seller makes “each of the ‘Representations and Warranties Respecting the Individual Mortgage Loans’ as are set forth in the Guide as it exists on the related date such representation and warranty was made,” and the guide it incorporates is the purchaser’s own seller guide, which we did not read. What the filing does state is the knowledge construct: “the term ‘to the best of the Seller’s knowledge’ means that the Seller reasonably believes such representation and warranty to be true, and has no knowledge or notice that such representation or warranty is inaccurate or incomplete, and, consistent with the standard of care exercised by prudent lending institutions, the Seller has conducted a reasonable inquiry to assure the accuracy and completeness of the applicable representation and warranty.” The next sentence then provides that if either party discovers the rep is inaccurate or incomplete, the purchaser has every remedy “notwithstanding the Seller’s lack of knowledge with respect to the inaccuracy and/or incompleteness of the representation or warranty at the time it was made.” The 2026 filing has no sole-remedy clause for the first class of loans it sells, the class whose rep and knowledge construct are quoted above; the second class carries the same construct. The sole-and-exclusive-remedies clause it does carry is confined to that second class, loans the seller buys from third-party correspondents and resells, for which the seller’s liability for a breach of the correspondent-loan rep “shall be limited to the remedies, if any, that Seller is able to recover from the related Correspondent.” The filing also provides that a cause of action for breach of its representations “shall accrue upon Seller’s failure to satisfy its Repurchase Obligation, indemnity obligations or other obligations in the manner, and in accordance with the timeframes,” required by the agreement, and that the seller “waives the benefit of the applicable statutes of limitations,” under a New York governing-law clause.

The agency guides write the rep as an obligation and then say which breaches they will buy back. Fannie Mae’s A3-2-01 requires the seller/servicer to “comply with, all federal, state, and local laws (e.g., statutes, regulations, ordinances, directives, codes, administrative rules and orders that have the effect of law, and judicial rulings and opinions) that apply to” its “origination, selling, or servicing practices.” It then says that it “considers the following to be significant defects and may require a repurchase for a breach of the seller/servicer’s representation and warranty regarding compliance with laws when”: the failure to comply “could be expected to either impair Fannie Mae’s or its servicer’s ability to enforce the note or mortgage, or impose assignee liability on Fannie Mae,” or “a court or regulatory authority has found the loan to be in violation, or Fannie Mae has made a finding based on the facts available to it that a violation may have occurred.” UDAAP is the federal and state prohibition on unfair, deceptive, or abusive acts or practices, and MBS are mortgage-backed securities. On UDAAP, Fannie Mae “will not enforce a repurchase if: the seller/servicer cures the matter by remediation to the injured party; or after the third anniversary of the acquisition (or MBS pool issue date) of a loan (unless the seller/servicer self-reports), a federal or state enforcement authority has indicated, asserted, or claimed that such practice violates (or may) violate UDAAP, or a federal or state court has held that a specific practice violates UDAAP.” Its general remedy clause runs to violations “that may have a material effect on Fannie Mae.” Freddie Mac’s Section 1301.2 carries its own tests, worded differently. It “will only issue a repurchase request for Seller violations of law that” could be expected to impair enforcement, “Impose assignee liability,” or “[a]re found to have been violations of” a listed set of laws, or Freddie Mac has found on the facts available to it that a violation of one may have occurred. It adds that “three or more years after the Settlement Date of a Mortgage, Freddie Mac may not seek repurchase on UDAAP grounds regarding a specific practice unless” a lender self-reports, an enforcement authority asserts a violation, or a court holds one. Freddie Mac’s third-anniversary sentence is written with an “unless”; Fannie Mae’s is written as a condition on which it “will not enforce,” and we flag the difference rather than read one into the other. Fannie Mae’s A2-2-07 places compliance with laws among the “life-of-loan” matters for which “No enforcement relief is available”; we did not read Freddie Mac’s enforcement-relief rules.

In our view the thing to worry about is that the sentence is written one way where it could be written another, and the writing is not visible from the sentence alone. The 2006 agreement’s rep is unqualified and its remedy is qualified. The agreement quoted in Nomura carries the qualifier in the rep itself. The 2026 filing’s rep lives in a guide the filing does not reproduce, and its knowledge qualifier is defined, with the sentence after it quoted above in part. Fannie Mae’s rep is unqualified, unrelieved for the life of the loan, and enforced under a published list, and each guide carries a third-anniversary rule for UDAAP of its own. Which of those you signed is a fact of your paper. We have written separately on how the compliance rep’s drafting bears on your buyback tail.

Where AI fails on this rep

Off-the-shelf AI fails on this rep because what its words are worth was decided in four opinions construing the sections of other agreements that sit around the rep. The version you signed sits in an agreement the model was not trained on, beside the negotiated history that gives its words meaning. That holds for a legal-specific platform as much as for a general chatbot, since neither has been trained on your closed transactions or supervised by the lawyers who negotiated them. Take the three words in turn, starting with materiality.

In Nomura the Court of Appeals read an MLPA whose remedy section, like the 2006 agreement’s, ran to “a breach of any of the representations and warranties contained in Section 8 that materially and adversely affects the value of any Mortgage Loan or the interest therein of the Purchaser or the Purchaser’s assignee,” and whose sole-remedy clause made cure or repurchase the purchaser’s sole remedies for a breach of the loan-level reps. The trustee pleaded systemic breaches and sought general damages under a separate “no untrue statement” rep. The court dismissed those claims: “the Sole Remedy Provision, by its very terms, applies to all breaches of the section 8 Mortgage Representations, and HSBC is complaining only of breaches of those representations. Therefore, HSBC is expressly limited to the more specific Sole Remedy Provision negotiated by the parties, however many defective loans there may be.” The court said why it would not read the clause differently: courts “may not, through their interpretation of a contract, add or excise terms or distort the meaning of any particular words or phrases,” and sole-remedy terms are honored “especially when entered into at arm’s length by sophisticated contracting parties.” The court also held that a cumulative-remedies sentence in that MLPA’s security-interest section did not reach the reps: “On its face, section 13 pertains solely to the grant of a security interest in the mortgage loans; it does not address remedies for the breach of representations and warranties.” The 2006 agreement carries the same sentence in its security-interest section: “All rights and remedies of the Depositor under this Agreement are distinct from, and cumulative with, any other rights or remedies under this Agreement or afforded by law or equity.”

Knowledge is the second word. In Morgan Stanley the First Department read an MLPA that “states further that any representations and warranties are made to the ‘best of the Seller’s knowledge’” and that then provided: “if it is discovered by the Depositor, the Seller, the Servicer or the Trustee . . . that the substance of such representation and warranty is inaccurate and such inaccuracy materially and” “adversely affects the value of the related Mortgage Loan or the interest therein of the Purchaser or the Purchaser’s assignee, transferee or designee then, notwithstanding the Seller’s lack of knowledge with respect to the substance of such representation and warranty being inaccurate at the time the representation or warranty was made, such inaccuracy shall be deemed a breach of the applicable representation or warranty.” The 2006 agreement carries the same construction in its remedy section: for reps “made to the best of the Seller’s knowledge,” a discovered inaccuracy that materially and adversely affects value obliges the seller to cure or repurchase “notwithstanding the Seller’s knowledge or lack of knowledge with respect to the inaccuracy of such representation and warranty at the time it was made.” The 2026 filing carries it too, in the sentence after its definition. That court held that the seller’s alleged failure to notify the trustee of defective loans “gives rise to an independent, separate claim for breach of the parties’ agreements,” and that allegations of gross negligence survived the sole-remedy clause at the pleading stage.

The date is the third word. In ACE the Court of Appeals held that a trustee’s repurchase claim accrued “when the MLPA was executed,” so that New York’s six-year limitations period ran from that day, and in Flagstar it held that a clause written at signing to postpone accrual to an uncertain later date could not extend the statute. We take up the survival clock in the six rep-and-warranty negotiations that decide your buyback exposure, and the two opinions are why the date the rep speaks as of is the third word that matters. The 2006 agreement speaks “as of the Closing Date.” The 2026 filing speaks “as of the related Funding Date.” Fannie Mae’s rep runs for the life of the loan.

None of that is in the sentence. It is in four opinions and in the sections those opinions construed, in agreements of the genre and vintage read here; the compliance rep of one of them is quoted above. A model that was not trained on your closed transactions has not seen your purchaser’s remedy section, which version of the guide you signed under, or which state’s courts will read them. Uploading one agreement does not supply the negotiated history behind it. In our view it will draft the sentence it has seen most often, and the opinions above show what the clauses around that sentence turned on. We have written separately on whether off-the-shelf AI can review a mortgage loan purchase agreement.

The cost of getting it wrong

The cost of getting the compliance rep wrong arrives on the day of the repurchase demand, and the documents fix how that day runs. Under the 2006 agreement the reps “survive the purchase by the Depositor of any of the Mortgage Loans and shall continue in full force and effect, notwithstanding any restrictive or qualified endorsement on the Mortgage Notes,” and the termination of the agreement itself, and they “shall not be impaired by any review and examination of Mortgage Loan Documents” by the purchaser. The agreement ACE read said its reps did not survive the closing date, and the 2006 agreement’s say they do. “Upon discovery or receipt of notice” of a breach that materially and adversely affects value, the seller has 90 days to cure “in all material respects” or to repurchase “at the purchase price therefor,” and cure, repurchase, substitution, and indemnity “constitute the sole remedies of the Depositor respecting a breach of the foregoing representations and warranties.” In the agreement the First Department read, the purchase price was “100% of the unpaid principal balance of the Mortgage Loan on the date of such purchase” plus accrued interest plus “costs and damages incurred by the Trust Fund in connection with a repurchase . . . that arises out of a violation of any predatory or abusive lending law.”

The clock is the courts’. Under ACE the claim on a rep that speaks as of signing accrues at signing and runs six years in New York. Under Flagstar an accrual clause written at signing cannot push that date to an uncertain later one. The 2026 filing’s accrual clause is the shape of clause Flagstar read against the statute; the court said that, read as the trustee urged, it was “an agreement to effectively extend the limitations period that was made before a breach of contract cause of action had accrued.” The filing’s limitations waiver is a separate clause, and Flagstar read none, though the opinion quotes the rule that “[i]f the agreement to waive or extend the Statute of Limitations is made at the inception of liability it is unenforceable.” At the agencies the clock is the guides’. Fannie Mae’s A2-2-07 keeps compliance with laws outside enforcement relief for the life of the loan. Fannie Mae’s A3-2-01 and Freddie Mac’s Section 1301.2 each carry a third-anniversary rule for UDAAP, quoted above in their own words, and we do not read one into the other. In 2023 a federal judge sanctioned lawyers who filed opinions an AI tool had invented, and wrote that “there is nothing inherently improper about using a reliable artificial intelligence tool for assistance. But existing rules impose a gatekeeping role on attorneys to ensure the accuracy of their filings.” That order is about citations, not contracts. We cite it for the court’s view of where the responsibility sits, which does not move with the tool.

In our view the thing to worry about is the sentence that decides who pays for the defect, more than the defect. A defect found in year four that materially and adversely affects value is a cure or a repurchase at the agreement’s purchase price under the 2006 agreement’s remedy section. The seller chooses which within its 90 days. Nomura dismissed the damages claims under the sole-remedy clause of the agreements before it. Under Fannie Mae’s guide it is a significant defect or it is not; under Freddie Mac’s it meets a listed condition or it does not. Which of those you are in is a fact of your paper, of the sections around your rep, and of the courts that will read them. The model that drafted the sentence was not trained on the sections that decide it.

Where AI belongs, and where it does not

AI belongs where the work is administrative acceleration, and it does not belong on the provisions that define a trade’s legal economics. That is the firm’s published position: AI is “useful for administrative acceleration, dangerous for substantive drafting without attorney review.” Where we point to AI positively, we point to tooling trained on closed transactions like yours and supervised by the lawyers who negotiated them, which is the opposite of off-the-shelf. The compliance rep is a provision that defines the legal economics of a trade, and so are the clauses around it that the four opinions construed.

An earlier version of this article said a decision-maker who lets AI draft these provisions is betting the firm’s repurchase reserve on a tool never trained on the case law that governs them. The documents read here support something narrower and, in our view, worse: the tool was trained on the sentence, and the sentence is not where the money is. The money is in the clauses around the sentence, in the agency’s published test, and in the limitations statute as the courts have applied it to a rep made at signing. Which versions of those your agreement carries, and which state’s courts will read them, are facts of your paper, and that is the work.

About Goldsmith Associates

Goldsmith Associates is a leading provider of legal counsel to depository institutions, mortgage bankers, fund managers, loan servicers, and broker-dealers nationwide in connection with the purchase, sale, servicing, and financing of whole loans and servicing rights. Founded by Jason Goldsmith in 2015, Goldsmith Associates has represented its clients on 871+ secondary market transactions conveying more than $155 billion in mortgage-related assets. Visit us online at goldsmithpllc.com, email us at info@goldsmithpllc.com, call us at 833-4-GOLDSMITH, or follow us everywhere @goldsmithpllc. We are on call and at the ready 24/7.