Topic
AI Artifacts
Chat text is rarely the deliverable. These patterns make the agent produce the thing itself: a formatted spreadsheet, a paginated PDF report, a Word document, a slide deck, an interactive chart. One family renders artifacts in-app next to the conversation; the json-render family generates typed UI, emails, PDFs, and even Remotion video from a single JSON schema. These are the most-copied patterns on the site — start with the spreadsheet artifact and adapt the pipeline to your format.
Featured patterns
A curated starting point for this topic — open a live preview, then adapt the source.

Agent XLSX Artifact
Download-first Excel artifact pattern. The agent streams CSV through a tool call, renders a spreadsheet preview, and exports a real .xlsx file with SheetJS.

Agent PDF Artifact
Download-first PDF artifact pattern. The agent streams Markdown through a tool call, renders a live PDF preview, and exports a real .pdf file.

Agent DOCX Artifact
Download-first Word artifact pattern. The agent streams Markdown through a tool call, renders a document preview, and exports a real .docx file.

Agent Sheet Artifact
Template-style sheet artifact with data-sheetDelta streaming, CSV grid editor, in-memory versions, and quick prompts — no database persistence.

Chart Artifact
Generate burn rate charts and financial analysis through AI chat. Creates interactive visualizations from conversation.

CSV Editor Artifact
Spreadsheet editor with AI chat for data analysis and manipulation. Edit tables through conversation.

Agent Slides Artifact
Template-style slide deck artifact with data-slidesDelta streaming, sortable slide list and preview, Markdown export, in-memory versions, and quick prompts — no database persistence.

JSON Render Shadcn
AI-generated UI using @json-render/shadcn. Describe a UI in natural language and watch it render with shadcn components.
More patterns
Additional patterns that fit this topic.
Related topics
Continue with adjacent topics that share the same building blocks.
AI Chat Components
10Production React components for AI chat: message threads, streaming responses, reasoning displays, source citations, tool approval cards, and chat input. Tailwind-styled, copy-paste ready.
AI Image Generation
10Generate and edit images in TypeScript with the AI SDK: Flux via AI Gateway, Gemini Flash image generation, image editing and merging, and brand-consistent image pipelines. Working code + previews.
AI Agent Tools
22Give agents real capabilities: tool() definitions with lifecycle hooks, dynamic tools, tool-call repair, web search (Exa, Firecrawl), scraping, PDF ingestion, and human approval gates.
Browse by category
Jump into the catalog filtered by category.
You’ve reached the end of AI Artifacts.













