All recipes
Find a practical pattern for the work you need to run.
Runlane runs TypeScript tasks on workers you control. It provides durable runs, retries, queues, waits, and observability. Your app still provides its business data, libraries, credentials, and external services.
Choose a recipe to see the working pattern, ownership boundary, and production checks. Runlane APIs in recipe snippets are real; calls under MAKE YOUR API CALLS HERE are purpose-named pseudocode for your application or providers.
Set up and deploy
Run locally, then use Postgres and SQS
Build one application runtime, run it locally, then switch its lane for production.
Load environment variables for the CLI
Load dotenv files before the CLI constructs your application runtime.
AI and data
AI agents
Run a support agent that searches documentation and requires approval for sensitive tools.
Media generation
Generate structured content and an accompanying image.
Semantic search
Answer questions from a knowledge base with citations and sources.
Streaming
Stream model output through your application and keep the final result on the run.
Automation
Browser automation
Research a bounded set of pages and return findings with sources.
Email sequences
Send a personalized onboarding sequence over several days.
Marketing automation
Plan, create, and publish a bounded set of campaign content.
Media processing
Extract video highlights and format them for social platforms.
Run Python
Analyze data with Python and return structured results.
Workflow controls
Concurrency
Give each user a bounded share of AI request capacity.
Human-in-the-loop
Generate content, pause for approval, then publish or reject it.
Retries
Retry temporary enrichment failures with bounded exponential backoff.
Scheduled tasks
Generate and email a weekday analytics report on a cron schedule.