# Document Agent

An agent’s draft beside its chat, each claim sourced.

Part of the paid library — see https://kobra.systems/pricing. Install it with a registry token in the headers.

```bash
npx shadcn@latest add @kobra/document-agent
```

Exports: DocumentAgent, DocumentAgentAnswer, DocumentAgentContent, DocumentAgentDocument, DocumentAgentHeader, DocumentAgentMessages, DocumentAgentPage, DocumentAgentPanel, DocumentAgentPassage, DocumentAgentQuestion, DocumentAgentSource
Installs alongside: @kobra/ai-editor, @kobra/conversation
Packages: @base-ui/react, motion
Built on Base UI's `direction-provider` primitive.

Preview: https://kobra.systems/components/document-agent
