Process PDFs with AI analysis. Extract text, generate summaries, and identify key insights.
Use this when users upload PDF files and you need the model to read the raw document bytes and stream back a summary or key points.
Similar patterns, and when each one is the better fit.

Data Analysis AgentUse this when users upload a CSV or JSON dataset and need an agent to find correlations, outliers, and trends, then chart them and export a report.
Workflow - URL AnalysisUse this when you need to run a URL through fixed scrape, analyze, and summarize steps in sequence and stream each step's status to the UI.
Agent PDF ArtifactUse this when your agent writes a report or brief and users need to watch a live PDF preview fill in, then download it as a .pdf file.
AI Profile Enrichment FormUse this when users fill out a sparse profile form and you want AI to stream in the missing fields for them to review before accepting.Requirements, wiring steps, and what this pattern adds to your project.
Pick how you want to pull this pattern in. Then wire env vars and routes the same way.
Download → Next.js app
Use Download → Next.js app in the preview toolbar. You get a zip scaffold (Pro downloads rewrite preview `/view/.../api/*` paths to `/api/*` automatically).
Extract the zip and install dependencies
Unzip the archive, then run `pnpm install` (or npm / yarn) in the project folder.
Fill .env.local
The download includes .env.local placeholders when needed. Add real values for: OPENAI_API_KEY.
Customize the agent and tool files
Adapt prompts, tools, and stop conditions in the generated project for your product.
Run the app and open the pattern route
Run `pnpm dev`, open the setup/checklist page if present, then navigate to the generated pattern route and verify responses.
OPENAI_API_KEYGet keyAI SDK APIs
streamTextProviders
app/page.tsxapp/layout.tsxhooks/use-file-drop.tsxREADME.mdnpm packages
6
Registry components
lib/actions.tsCore AI PDF analysis pipeline: uses streamText with gateway, sends PDF as base64-encoded file content with mediaType in a multimodal message. Shows the pattern for PDF ingestion with AI SDK.
Process PDFs with AI analysis. Extract text, generate summaries, and identify key insights.
Use this when users upload PDF files and you need the model to read the raw document bytes and stream back a summary or key points.
Similar patterns, and when each one is the better fit.

Data Analysis AgentUse this when users upload a CSV or JSON dataset and need an agent to find correlations, outliers, and trends, then chart them and export a report.
Workflow - URL AnalysisUse this when you need to run a URL through fixed scrape, analyze, and summarize steps in sequence and stream each step's status to the UI.
Agent PDF ArtifactUse this when your agent writes a report or brief and users need to watch a live PDF preview fill in, then download it as a .pdf file.
AI Profile Enrichment FormUse this when users fill out a sparse profile form and you want AI to stream in the missing fields for them to review before accepting.Requirements, wiring steps, and what this pattern adds to your project.
Pick how you want to pull this pattern in. Then wire env vars and routes the same way.
Download → Next.js app
Use Download → Next.js app in the preview toolbar. You get a zip scaffold (Pro downloads rewrite preview `/view/.../api/*` paths to `/api/*` automatically).
Extract the zip and install dependencies
Unzip the archive, then run `pnpm install` (or npm / yarn) in the project folder.
Fill .env.local
The download includes .env.local placeholders when needed. Add real values for: OPENAI_API_KEY.
Customize the agent and tool files
Adapt prompts, tools, and stop conditions in the generated project for your product.
Run the app and open the pattern route
Run `pnpm dev`, open the setup/checklist page if present, then navigate to the generated pattern route and verify responses.
OPENAI_API_KEYGet keyAI SDK APIs
streamTextProviders
app/page.tsxapp/layout.tsxhooks/use-file-drop.tsxREADME.mdnpm packages
6
Registry components
lib/actions.tsCore AI PDF analysis pipeline: uses streamText with gateway, sends PDF as base64-encoded file content with mediaType in a multimodal message. Shows the pattern for PDF ingestion with AI SDK.
Loading preview…
Early-bird pricing — limited time


Open on desktop for the interactive preview.
Process PDFs with AI analysis. Extract text, generate summaries, and identify key insights.
Loading preview…
Early-bird pricing — limited time


Open on desktop for the interactive preview.
Process PDFs with AI analysis. Extract text, generate summaries, and identify key insights.