# Paradoc: The document layer for agents

Paradoc enables agents to populate, validate, render, and reason over real-world documents, deterministically, every time. Open source, MIT.

Canonical URL: https://paradoc.dev/

Open source, MIT.

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

- [View the quickstart](https://docs.paradoc.dev/quickstart)
- [Try the playground](https://paradoc.dev/playground)
- [Source on GitHub](https://github.com/paradoc-dev/paradoc)

Built for regulated industries: Banking, Insurance, Healthcare, Law, Government, and more.

## Documents as code

Paradoc turns real-world documents into portable, structured, type-safe artifacts. Work with documents like you work with software.

```ts
import { w9 } from "@paradoc/essentials/tax";

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

## 95% right isn’t good enough.

When documents carry consequences, agents need the context to act and the tools to check their work.

### One source of truth

Define artifacts that capture a document’s fields, parties, rules, instructions, output layers, and other context. Version them and host them in a registry for agents and code.

### Tools to act and verify

Fill forms, extract data, assemble documents, and validate as you go. Each operation uses the document’s artifact.

Available tool interfaces: CLI, AI SDK, TanStack AI, MCP, API.

### Drop it into your stack

Bring the same artifact and tools to apps, coding agents, AI assistants, and connectors, wherever your software and agents run.

Benefits: ship faster, validate results, lower latency, lower token spend.

## Pre-built, production-grade artifacts.

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

| Artifact | Title | Category | Layers |
| --- | --- | --- | --- |
| `w9` | Request for Taxpayer Identification Number | Tax | PDF, Markdown |
| `1099-nec` | Nonemployee Compensation | Tax | PDF, Markdown |
| `ach-debit-auth` | ACH Debit Authorization | Banking | PDF, Markdown |
| `ach-credit-auth` | ACH Credit Authorization | Banking | PDF, Markdown |
| `ach-direct-deposit` | ACH Direct Deposit Enrollment | Banking | PDF, Markdown |

Categories: Tax, Banking, Lending, Insurance, Healthcare.

Start with the `@paradoc/essentials` package. Need a specific form? [Talk to us](https://paradoc.dev/contact) or [build your own](https://docs.paradoc.dev/guides).

## Import what exists. Define what doesn’t.

Type-safe from definition to render.

```ts
import { p } from '@paradoc/sdk';

const intake = p.form()
  .name('client-intake')
  .parties({
    client: p.party().label('Client'),
  })
  .fields({
    request: p.field.text().required(),
  })
  .layers({
    markdown: p.layer.inline()
      .mimeType('text/markdown')
      .text('{{parties.client.name}}: {{fields.request}}'),
  })
  .build();
```

[Learn to define an artifact](https://docs.paradoc.dev/guides)

## Start building in minutes

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

```sh
# Add the SDK to your project
npm install @paradoc/sdk

# Or install the CLI globally
npm install -g paradoc-cli
```

[Read the docs](https://docs.paradoc.dev)

## More

- [Blog](https://paradoc.dev/blog.md)
- [Documentation](https://docs.paradoc.dev)
- [About](https://paradoc.dev/about)
- [Contact](https://paradoc.dev/contact)

## For agents

- [Agent Skills index](https://paradoc.dev/.well-known/agent-skills/index.json)
- [API catalog](https://paradoc.dev/.well-known/api-catalog)
- [MCP server card](https://paradoc.dev/.well-known/mcp/server-card.json)
- [Documentation index](https://docs.paradoc.dev/llms.txt)
