Recipes by Category
Streaming
Patterns for handling real-time AI response streams.Resumable Streams
Continue AI responses after connection interruptions using Redis pub/sub
Tool Part
Connect backend tools to frontend UI components with loading states
Data
Database patterns and state management.Provisional IDs
Seamless client-side navigation without page reloads using pre-generated UUIDs
Credit Tracking
Track and limit AI usage with credit budgets
Neon Branching
Isolated database environments for schema development
Auto-Updating Models
Fetch model catalogs at runtime with fallback to a static snapshot