AGENCYSCRIPT
CoursesEnterpriseBlog
👑FoundersSign inJoin Waitlist
AGENCYSCRIPT

Governed Certification Framework

The operating system for AI-enabled agency building. Certify judgment under constraint. Standards over scale. Governance over shortcuts.

Stay informed

Governance updates, certification insights, and industry standards.

Products

  • Platform
  • Certification
  • Launch Program
  • Vault
  • The Book

Certification

  • Foundation (AS-F)
  • Operator (AS-O)
  • Architect (AS-A)
  • Principal (AS-P)

Resources

  • Blog
  • Verify Credential
  • Enterprise
  • Partners
  • Pricing

Company

  • About
  • Contact
  • Careers
  • Press
© 2026 Agency Script, Inc.·
Privacy PolicyTerms of ServiceCertification AgreementSecurity

Standards over scale. Judgment over volume. Governance over shortcuts.

On This Page

Choosing Your Business EntityLLC (Limited Liability Company)C-CorporationS-CorporationFormation StepsEssential ContractsMaster Services Agreement (MSA)Statement of Work (SOW)Non-Disclosure Agreement (NDA)Contractor AgreementEmployment AgreementAI-Specific Legal ConsiderationsAI Output DisclaimersData Processing and PrivacyAlgorithmic AccountabilityModel Provenance and LicensingInsuranceProfessional Liability (Errors and Omissions)General LiabilityCyber LiabilityWorkers' CompensationKey Person InsuranceIntellectual Property StrategyWhat to ProtectTrade Secrets vs. PatentsOpen Source ComplianceRegulatory Compliance by IndustryHealthcare (HIPAA)Financial Services (SOX, GLBA, SEC)Government (FedRAMP, FISMA)Your Next Step
Home/Blog/Dirty Client Data Cost Them 340K and a Lawsuit
General

Dirty Client Data Cost Them 340K and a Lawsuit

A

Agency Script Editorial

Editorial Team

·March 21, 2026·14 min read
ai agency legalagency legal setupagency contractsai compliance

A two-person AI agency in Austin delivered a customer churn prediction model to a SaaS client in 2024. The model worked beautifully in testing but produced flawed predictions in production because the client's data pipeline had an undisclosed quality issue. The client lost an estimated $340,000 in preventable churn and sued the agency for the full amount plus damages. The agency had no professional liability insurance, no limitation of liability clause in their contract, and no clear documentation of client responsibilities. They settled for $180,000 — nearly their entire annual revenue — and the founder's personal savings covered the gap.

Legal setup is not exciting. Nobody starts an agency because they love contracts. But the legal foundation you build in your first weeks determines whether a bad engagement becomes a learning experience or an existential threat.

This guide covers every legal element you need to address when launching and operating an AI agency.

Choosing Your Business Entity

LLC (Limited Liability Company)

The most common structure for new AI agencies, and for good reason.

Advantages:

  • Personal liability protection — your personal assets are separated from business debts and lawsuits
  • Tax flexibility — choose to be taxed as a sole proprietorship, partnership, or S-Corp
  • Simple formation and maintenance in most states
  • No requirement for a board of directors or corporate meetings
  • Flexible profit distribution among members

Disadvantages:

  • Cannot issue stock (relevant if you plan to raise venture capital)
  • Self-employment taxes apply to all net income unless you elect S-Corp treatment
  • Some states impose annual franchise taxes

Best for: Solo founders and small partnerships planning to grow organically without outside equity investment.

C-Corporation

Advantages:

  • Can issue stock to investors, employees, and advisors
  • Clear structure that institutional investors expect
  • No self-employment taxes on distributions
  • Unlimited growth potential in corporate structure

Disadvantages:

  • Double taxation — corporate income is taxed, then dividends are taxed again
  • More expensive to form and maintain
  • Requires corporate formalities (board meetings, minutes, annual reports)
  • Less flexibility in profit distribution

Best for: Agencies that plan to raise outside capital within the first two years or offer equity compensation to early employees.

S-Corporation

Not a separate entity type but a tax election available to LLCs and C-Corps.

Advantages:

  • Reduces self-employment taxes once income exceeds approximately $80K-$100K
  • Pass-through taxation avoids double taxation
  • Can still offer equity through the underlying entity structure

Disadvantages:

  • Restrictions on number and type of shareholders
  • Requires reasonable salary for owner-employees
  • Additional payroll complexity and cost

Best for: Established agencies with consistent net income above $100K seeking tax optimization.

Formation Steps

Regardless of entity type, follow these steps:

  1. Choose your state of formation (typically your home state or Delaware for C-Corps)
  2. File articles of organization (LLC) or articles of incorporation (Corp) with the Secretary of State
  3. Obtain an EIN from the IRS (free, available online)
  4. Draft an operating agreement (LLC) or bylaws (Corp)
  5. Open a dedicated business bank account
  6. Register for state and local business licenses
  7. File a DBA (doing business as) if operating under a different name
  8. Register in any state where you have employees or significant operations

Budget $500-$1,500 for DIY formation or $2,000-$5,000 with an attorney. The attorney route is worth it if you have a co-founder (the operating agreement needs to address separation scenarios) or if you are forming a C-Corp.

Essential Contracts

Master Services Agreement (MSA)

The MSA is your foundational contract with every client. It governs the overall relationship and includes terms that apply to all work. Individual projects are then covered by Statements of Work (SOWs) that reference the MSA.

Critical MSA clauses:

Limitation of liability: Cap your total liability at the fees paid under the contract. Without this clause, you are exposed to unlimited damages. This is the single most important protective clause in your contract.

Indemnification: Define who is responsible for what. You indemnify the client against claims arising from your negligence. The client indemnifies you against claims arising from their data, instructions, or business decisions based on your deliverables.

Intellectual property assignment: Clearly define who owns what. Typically, the client owns the custom work product created specifically for them. You retain ownership of your pre-existing tools, frameworks, and methodologies.

Confidentiality: Mutual obligations to protect each other's confidential information. Include carve-outs for information that is publicly available, independently developed, or legally required to be disclosed.

Termination: How either party can end the relationship, including notice periods (30-60 days is standard), payment for work completed, and transition obligations.

Dispute resolution: Specify mediation before litigation. Specify the governing jurisdiction. Consider mandatory arbitration for disputes under a certain dollar threshold.

Payment terms: Net 30 standard, with interest on late payments (1-1.5% per month is typical). Include a right to suspend work if payment is more than 30 days overdue.

Warranty and disclaimer: Warrant that your work will be performed in a professional and workmanlike manner. Disclaim implied warranties including merchantability and fitness for a particular purpose. This is especially important for AI work where outcomes depend on data quality and business context.

Statement of Work (SOW)

Each project gets its own SOW that references the MSA. The SOW should include:

  • Project description and objectives
  • Specific deliverables with acceptance criteria
  • Timeline and milestones
  • Pricing and payment schedule
  • Client responsibilities and dependencies
  • Assumptions that underpin the scope and price
  • Change order process for scope modifications

Non-Disclosure Agreement (NDA)

Use a mutual NDA before any substantive client conversation. Key elements:

  • Mutual obligations (both parties protect each other's information)
  • Clear definition of what constitutes confidential information
  • Duration of obligations (two to five years is standard)
  • Carve-outs for publicly available information
  • Remedies for breach

Contractor Agreement

If you engage sub-contractors (and most AI agencies do), you need a contractor agreement that covers:

  • Scope of work and compensation
  • IP assignment — work created by contractors for your clients must be assigned to your agency
  • Confidentiality obligations at least as protective as your client NDAs
  • Non-solicitation of your clients
  • Independent contractor classification (not an employee)
  • Insurance requirements

Employment Agreement

When you hire employees, include:

  • At-will employment statement (if applicable in your state)
  • Compensation and benefits
  • IP assignment for all work created during employment
  • Confidentiality obligations
  • Non-compete and non-solicitation provisions (check state law — these are unenforceable in some states)
  • Termination provisions

AI-Specific Legal Considerations

AI Output Disclaimers

AI models produce probabilistic outputs. Your contracts must make clear that AI-generated predictions, recommendations, and analyses are not guarantees. Include language such as:

"AI models and their outputs are probabilistic in nature. Results may vary based on data quality, environmental conditions, and factors outside the Agency's control. Client acknowledges that AI-based solutions do not guarantee specific business outcomes."

Data Processing and Privacy

AI work almost always involves processing client data, which triggers privacy obligations:

Data Processing Agreement (DPA): Required when you process personal data on behalf of a client. Must specify what data you process, how you protect it, and what happens when the engagement ends.

Data retention and deletion: Define how long you retain client data after the engagement and your obligations to delete it. AI agencies often need to retain data for model validation — make this explicit in your agreements.

Cross-border data transfers: If you or your cloud providers process data outside the client's jurisdiction, you may need Standard Contractual Clauses (SCCs) or other transfer mechanisms under GDPR, state privacy laws, or sector-specific regulations.

Algorithmic Accountability

The regulatory landscape for AI is evolving rapidly. As of 2026, several jurisdictions require:

  • Impact assessments for AI systems that make or influence significant decisions about individuals
  • Transparency documentation describing how AI models work and what data they use
  • Bias testing for AI systems used in employment, lending, housing, or healthcare
  • Human oversight provisions for automated decision-making

Your contracts should specify whether you or the client is responsible for these compliance obligations. In most cases, the client owns the compliance obligation, but your agency may be responsible for providing the documentation and testing that supports compliance.

Model Provenance and Licensing

When you build AI solutions using pre-trained models, foundation models, or open-source components, you must track and disclose licensing terms. Some model licenses:

  • Restrict commercial use
  • Require attribution
  • Impose share-alike obligations on derivative works
  • Limit use in certain industries or applications

Document every model and component used in client deliverables, including licensing terms. Include this documentation in your project deliverables.

Insurance

Professional Liability (Errors and Omissions)

This is your most important insurance policy. It covers claims that your professional services caused financial harm to a client.

Coverage to seek: $1M-$2M per occurrence, $2M-$5M aggregate. Costs typically $2,000-$6,000 per year for a small agency.

What it covers: Negligent acts, errors, or omissions in your professional services. Defense costs if you are sued.

What it does not cover: Intentional wrongdoing, criminal acts, or bodily injury.

General Liability

Covers bodily injury and property damage. Less critical for a service business but often required by client contracts.

Coverage to seek: $1M per occurrence, $2M aggregate. Costs $500-$1,500 per year.

Cyber Liability

Covers costs associated with data breaches, including notification costs, credit monitoring, regulatory fines, and legal defense.

Coverage to seek: $1M minimum. Costs $1,000-$3,000 per year. Essential if you handle personally identifiable information or protected health information.

Workers' Compensation

Required in most states once you have employees. Covers medical costs and lost wages for work-related injuries or illnesses.

Key Person Insurance

Consider life and disability insurance on founders and key team members whose loss would significantly impact the business. Especially important if you have co-founders or business loans.

Intellectual Property Strategy

What to Protect

Your methodologies and frameworks: The repeatable processes you use to deliver AI solutions. Protect these as trade secrets through confidentiality agreements and internal access controls.

Your tools and templates: Code libraries, assessment tools, and project templates that you use across clients. Retain ownership of these in every client contract.

Your brand: Register your agency name and logo as trademarks. File federal trademark applications for names you use in commerce.

Client-specific work: Assign this to the client. Trying to retain ownership of custom client work creates legal disputes and destroys trust.

Trade Secrets vs. Patents

For most AI agencies, trade secret protection is more practical than patents:

  • Trade secrets are free to establish, last indefinitely, and protect your competitive advantages as long as you maintain secrecy
  • Patents cost $10,000-$30,000 to file, take two to four years to issue, last 20 years, and require public disclosure of how your invention works

Unless you have a genuinely novel algorithm or technical approach, trade secret protection is the better strategy.

Open Source Compliance

Track every open-source component used in client deliverables. Maintain a software bill of materials (SBOM) for each project. Ensure compliance with all license requirements, including attribution, source code availability, and usage restrictions.

Regulatory Compliance by Industry

Healthcare (HIPAA)

If you process protected health information (PHI), you must sign a Business Associate Agreement (BAA) with the client and comply with HIPAA security and privacy rules. This includes:

  • Encryption of PHI at rest and in transit
  • Access controls and audit logging
  • Breach notification procedures
  • Workforce training on HIPAA requirements

Financial Services (SOX, GLBA, SEC)

Financial services AI work may be subject to regulatory requirements around model risk management, data security, and algorithmic fairness. Key considerations:

  • Model validation and documentation requirements
  • Data security standards exceeding general business requirements
  • Regulatory examination and audit support obligations

Government (FedRAMP, FISMA)

Federal government AI work requires compliance with federal security frameworks. These requirements extend to your infrastructure, processes, and team members.

Your Next Step

This week: Form your business entity and obtain your EIN. Open a dedicated business bank account. If you already have a client conversation scheduled, get a mutual NDA in place before sharing any detailed information.

This month: Engage an attorney to draft or review your MSA and SOW templates. Get quotes for professional liability and cyber liability insurance. Create a contractor agreement template. Set up your data handling and retention policies.

This quarter: Audit all existing client contracts for gaps in IP assignment, liability limitation, and data processing terms. Renegotiate or amend where necessary. File trademark applications for your agency name and primary service brands. Build your compliance documentation library for your target industry.

Legal protection is not about being adversarial with clients — it is about creating clarity that makes good relationships possible. The best client relationships are built on contracts that both parties understand, trust, and rarely need to reference. Build that foundation now, and you will thank yourself the first time a project goes sideways.

Search Articles

Categories

OperationsSalesDeliveryGovernance

Popular Tags

prompt engineeringai fundamentalsai toolsthe difference between AIMLagency operationsagency growthenterprise sales

Share Article

A

Agency Script Editorial

Editorial Team

The Agency Script editorial team delivers operational insights on AI delivery, certification, and governance for modern agency operators.

Related Articles

General

Prompt Quality Decides Whether AI Earns Its Keep

Prompt quality is the single biggest variable in whether AI delivers real work or expensive noise. The model matters, the platform matters — but the prompt you write determines whether you get a first

A
Agency Script Editorial
June 1, 2026·10 min read
General

Counting the Real Cost of Every Token You Send

Tokens and context windows sit at the intersection of AI capability and operational cost—yet most business cases treat them as technical footnotes. That's a mistake that costs real money. Every time y

A
Agency Script Editorial
June 1, 2026·10 min read
General

Rolling Out AI Hallucinations Across a Team

Most teams discover AI hallucinations the hard way — a confident-sounding wrong answer makes it into a client deliverable, a legal brief, or a published report. The damage isn't just to the output; it

A
Agency Script Editorial
June 1, 2026·11 min read

Ready to certify your AI capability?

Join the professionals building governed, repeatable AI delivery systems.

Explore Certification