
Craft requires an LLM provider to be configured (Anthropic, OpenAI, etc.) to function.
Key Capabilities
Web Applications
Build Next.js applications with React, shadcn/ui, and Recharts for beautiful, interactive dashboards and tools.
Documents
Generate polished documents, reports, and markdown files from your company knowledge.
Slides & Images
Create presentations and visual content with nanobanana for slides and image generation.
Knowledge Integration
Access indexed documents from your connectors (Linear, Slack, Google Drive, Confluence, etc.)
directly in your outputs.
Coming soon: Spreadsheets and HTML dashboards

How It Works
- Create a Session - Start a new Craft session from the
/craftroute in Onyx - Describe What You Need - Tell the agent what you want to build in natural language
- Watch It Build - The agent creates your artifact using your company knowledge
- Preview & Iterate - See your output live and request changes or additions
- Download - Export your finished artifact
What You Can Build
Craft excels at creating artifacts that leverage your company’s knowledge:- Interactive Dashboards - Visualize metrics and KPIs from your connected data sources
- Internal Tools - Build custom web applications for specific workflows
- Documents & Reports - Generate polished documents from your indexed content
- Presentations - Create slide decks with AI-generated visuals
- Data Explorers - Interactive interfaces for browsing and analyzing documents
- Prototypes - Quickly prototype ideas using your existing data
Technical Details
Sandbox Environment
Sandbox Environment
Each Craft session runs in an isolated sandbox with:
- Next.js application framework with React
- shadcn/ui component library for polished UI elements
- Recharts for data visualization
- Python environment with numpy, pandas, and matplotlib for data processing
- Read-only access to your indexed documents
- Separate workspace for each session
File Upload Limits
File Upload Limits
- Maximum file size: 50MB per file
- Maximum files per session: 20 files
- Maximum total size per session: 200MB
- Supported formats: CSV, JSON, PDF, images, and common code files
Deployment Options
Deployment Options
Craft can run in two modes:
- Local mode - Sandboxes run as directories within the Docker Compose deployment (default)
- Kubernetes mode - Sandboxes run as isolated Kubernetes pods with automatic snapshots and cleanup (production-scale deployments)
Enabling Craft
New Deployments
When installing Onyx, use the--include-craft flag:
--include-craft flag:
- Sets
ENABLE_CRAFT=truein the.envfile - Sets
IMAGE_TAG=craft-latestto use the Craft-enabled images - Runs the Craft template setup script on container startup
Craft adds Node.js 20 and the opencode CLI to the backend image, which increases build time and image size.
The first startup may take longer while templates are set up.
Existing Deployments
If you’ve already deployed Onyx without Craft, you can enable it by running:Verify Craft is Enabled
After installation:- The backend container logs should show “Setting up Onyx Craft templates…”
- The
/craftroute should be accessible in the UI
Configuration
| Environment Variable | Description | Default |
|---|---|---|
ENABLE_CRAFT | Enable/disable Craft | false |
SANDBOX_BACKEND | Sandbox mode: local or kubernetes | local |
SANDBOX_IDLE_TIMEOUT_SECONDS | Idle timeout before sandbox cleanup | 3600 |
SANDBOX_MAX_CONCURRENT_PER_ORG | Max concurrent sandboxes per organization | 10 |