Basics
Services
KV Storage
Key-Value Store
Store and retrieve data by key, with auto-expiration.
Vector Search
Semantic Search
Find content by meaning, not just keywords.
Object Storage
File Storage (Bun S3)
Store files with presigned URLs for sharing.
AI Gateway
Multi-Provider Routing
Use any AI provider with a single API key.
Queues
Publish & Consume
Publish messages, receive with ack/nack, and explore the dead letter queue.
Email
Send & Receive
Preview the email, send it to your inbox, and inspect delivery status.
Database
Drizzle ORM
Query a PostgreSQL database with type-safe Drizzle ORM.
I/O Patterns
Text Stream
Raw Streaming
Stream responses as they're generated.
SSE Stream
Server-Sent Events
Structured streaming with event types and auto-reconnect.
Durable Streams
Shareable URLs
Generate content and get a permanent, shareable URL.
Agent Calls
Invocation Patterns
Call agents from routes or other agents.
Cron Jobs
Scheduled Tasks
Run tasks on a schedule with cron expressions.