AI Tool
A deployable AI interface built for prompt-based products.
Overview
The AI Tool archetype is a deployable Next.js application shell for prompt-based products. Running the deploy command copies the full file tree into your project — no black-box abstraction, no hidden config. Every file is yours to edit from day one.
What's included:
- A main AI page with a mock response, mode selector, and chat input
- A history page with a list of previous prompts
- A settings page with model selector and temperature input
SidebarNav,Topbar, andDashboardLayoutpre-wired- Two local components:
ChatInputandChatMessage
Deploy
npx venator init ai-toolThen:
cd my-ai-tool
npm install
npm run devWhat's included
my-app/
app/
layout.tsx # Root layout with ToastProvider
page.tsx # Redirects to /ai
ai/
layout.tsx # DashboardLayout with Sidebar and Header
page.tsx # Main AI interface with prompt input and mock response
history/
page.tsx # Previous prompts list
settings/
page.tsx # Model and temperature settings
components/
chat-input.tsx # Textarea + submit button
chat-message.tsx # Card-based response display
sidebar.tsx # SidebarNav with AI sections
header.tsx # Topbar with dark mode toggle
tailwind.config.js # Pre-configured with venatorPreset
package.json # Required dependencies and scriptsVenator packages used
@venator-ui/ui—Button,Card,Input,Label,Select,Separator@venator-ui/patterns—DashboardLayout,SidebarNav,Topbar,PageHeader@venator-ui/tokens— included viavenatorPresetintailwind.config.js
Use cases
- AI assistants and chat-based tools
- Internal copilots and analysis interfaces
- Prompt-based workflows with configurable models
Customization
All files are copied into your project and are fully yours. Common entry points:
- Connect a real AI API in
app/ai/page.tsxby replacing the mock response with a fetch call - Add conversation state and API integration in
app/ai/page.tsxto turn the starter into a full chat workflow - Update
components/sidebar.tsxsections with your own routes
Next steps
Add an individual pattern:
npx venator add page-headerInstall UI components directly:
npm install @venator-ui/ui