Paradoc
Open source · MIT

The document layer for AI agents.

Paradoc enables AI agents to populate, validate, render, and reason over real-world documents. Deterministically, every time.

Validating form
Running compliance checks
BankingInsuranceHealthcareLawGovernment+ more

Built for regulated industries

Documents as code

Testable. Type-safe. Portable. The building blocks code gives you, now for documents.

import { w9 } from "@paradoc/essentials/tax";
import { pdfRenderer } from "@paradoc/sdk";

const pdf = await w9
  .fill({
    parties: { taxpayer: { name: "Jane Q. Public" } },
    fields: {
      taxClassification: "individual_or_sole_proprietor",
      ssn: "123-45-6789",
      mailingAddress: { … },
    },
  })
  .render({ renderer: pdfRenderer(), layer: "pdf" });

The problem

Document infrastructure was painful even before AI.

The world runs on documentation. AI only amplifies the fragility and brittleness of traditional document infrastructure.

Rebuilt everywhere

Every app reimplements the same canonical forms.

Scattered infrastructure

Schemas, validation, rendering, and field mappings live across disconnected systems.

Inaccessible to agents

Context and code are trapped in backend systems, not machine readable to AI agents.

Compliance riskErrors & omissionsMaintenance burdenApp latency

How Paradoc differs

One source of truth for software and agents.

One typed artifact. One SDK. Used by your code and your agents alike.

Source Documents

Traditional SaaS

Field mapping configs
Validation spreadsheets
Template engines
Glue code + maintenance
Tribal knowledge
Software

AI agents today

PDF-to-image conversion
Vision API parsing
Field inference loops
Back-and-forth retries
Manual error patching
Agents

Paradoc

Artifact
PartiesFieldsDefsRulesLayersInstructionsMetadata
Tools
FillValidateRender
Software+Agents
Lower latencyLower token spendHigher reliability

How it Works

Type-safe from definition to render.

import { para } from '@paradoc/sdk';

const lease = para
  .form()
  .name('lease-agreement')
  .parties({
    landlord: para.party().signature({ required: true }),
    tenant: para.party().signature({ required: true }),
  })
  .fields({
    address: para.field.address().required(),
    monthlyRent: para.field.money().required(),
    startDate: para.field.date().required(),
    endDate: para.field.date().required(),
  })
  .layers({
    markdown: para.layer.inline().mimeType('text/markdown'),
    // ...
  })
  .build();

Registry

Pre-built, production-grade artifacts.

Import instead of building from scratch. Forms, contracts, checklists, and bundles across tax, banking, healthcare, insurance, legal, and government.

w9Tax

Request for Taxpayer Identification Number

PDFMarkdown
1099-necTax

Nonemployee Compensation

PDFMarkdown
ach-debit-authBanking

ACH Debit Authorization

PDFMarkdown
ach-credit-authBanking

ACH Credit Authorization

PDFMarkdown
ach-direct-depositBanking

ACH Direct Deposit Enrollment

PDFMarkdown
TaxBankingLendingInsuranceHealthcare

Start with the @paradoc/essentials package.

Need a specific form? Talk to us or build your own.

Built for agents

Drop into any agent framework.

Conversational and agent-driven workflows, without the glue code.

Intake agentApplication agentPurchase order agentOnboarding agentClaims agent

See it in action with the interactive demo.

I need to fill out a W-9 form.
Sure, let me help you do that.
searchRegistry("w-9 form")
getArtifact(w-9)
preFillForm
Alright, let's start with your full name?

Surfaces

One artifact. Every surface.

Pick your entry point. Same artifact wherever your code runs.

TypeScript

Embed artifacts directly in product and backend code.

@paradoc/sdk

CLI

Author, validate, and render in local and CI pipelines.

paradoc-cli

JSON Schema

Validate artifacts in any language or stack.

@paradoc/schemas

MCP Server

Expose fill, validate, and render tools to agents via MCP.

mcp.paradoc.dev

Agent Skills

Pre-built agent workflows built on Paradoc artifacts.

GitHubparadoc/skills

AI Tools

AI tools for AI SDK and TanStack AI.

@paradoc/ai-sdk

@paradoc/tanstack-ai

Start building in minutes

Install. Import. Ship. Open source and MIT licensed.

# Add the SDK to your project

$ npm install @paradoc/sdk

# Or install the CLI globally

$ npm install -g paradoc-cli