All sections · 01 / 09

Hero

Shows the product working in the first viewport. With a provider key set (OpenAI, Anthropic or OpenRouter) the chat runs a real agent loop: reasoning, tool calls, an approval card for risky actions and a cost footer. Without a key, a clearly labelled scripted run auto-plays so the page demos on day zero.

Source
src/components/sections/hero.tsxInteractive · ships client JS
Built with
ChatHeroAI SDK useChat/api/chat
Where to edit
  • Headline, subcopy, CTAs and metrics: hero in site.config.ts
  • The scripted demo run: demo.heroRun in site.config.ts (older configs: demo.heroChat)
  • Model and system prompt: ai in site.config.ts; tools and their approval policy in src/lib/demo-tools.ts

Live preview

Rendered at full width, exactly as it appears on the home page. Copy grabs the whole hero.tsx.

AgentKit v2Interactive demo

A landing page where your agent actually works.

Visitors watch your agent reason, call tools and ask before it acts, right in the hero. Rebrand the page from one file this afternoon, and build your app from the same 48 AI components.

One-time · 14-day refund

65
Components (48 AI-native)
9
Landing sections
3
Swappable themes
Try it
AgentKit · scripted demo
ready

Ask the agent anything — weather, time, flights, etc.