Schedule recurring research agents to monitor topics and get email updates
Pro feature - Lookouts require a Scira Pro subscription
Lookouts are scheduled research agents that automatically run queries on a recurring basis. Each run creates a new chat with full research results and sends you an email summary—perfect for monitoring topics, tracking trends, and staying informed on areas that matter to you.
A Lookout is a scheduled research query that runs automatically based on a cron schedule. Think of it as setting up a recurring Google Alert, but powered by Scira’s full AI research capabilities with deep analysis, citations, and multi-source synthesis.Key characteristics:
Automated execution: Runs on schedule without manual intervention
Full research capability: Uses Extreme search mode by default
Email notifications: Sends results summary to your inbox
Chat history: Each run creates a new chat you can review
Run tracking: View history of all executions with metrics
Title: "Weekly AI Chip Market Analysis"Prompt: "Analyze latest developments in AI chip manufacturers, including NVIDIA, AMD, Intel, and emerging players. Focus on product announcements, market share, and analyst opinions."Frequency: Weekly (Monday 9 AM)
Title: "Daily Fusion Energy Updates"Prompt: "Latest developments in fusion energy research, including breakthrough experiments, funding announcements, and commercial progress."Frequency: Daily (8 AM)
Title: "EU AI Regulation Updates"Prompt: "Track EU AI Act implementation, new regulations, compliance requirements, and enforcement actions. Include official sources and legal expert analysis."Frequency: Weekly (Friday 5 PM)
Title: "Daily Tech News Digest"Prompt: "Summarize top technology news: major product launches, M&A, funding rounds, and industry shifts. Focus on enterprise technology and AI developments."Frequency: Daily (weekdays, 7 AM)
The lookout endpoint (/app/api/lookout/route.ts) executes research using:Model: scira-grok-4-fast-think (Grok 4 with reasoning)System prompt (/app/api/lookout/route.ts:200):
3-page research paper format
Mandatory citations for every claim
Markdown formatting required
Starts with ”## Key Points” section
Deep analysis with multiple sources
Tool: extreme_search tool only
Autonomous research planning
Multi-step web and X search
Code execution if needed
Chart generation support
Step limit: Maximum 2 tool calls to prevent runaway costs
Each lookout maintains a complete run history stored as JSON:
type RunHistoryEntry = { runAt: string; // ISO date string chatId: string; // Link to generated chat status: 'success' | 'error' | 'timeout'; error?: string; // Error message if failed duration?: number; // Execution time in milliseconds tokensUsed?: number; // Total tokens consumed searchesPerformed?: number; // Number of extreme searches}
Good: "Analyze top 5 AI image generators by user base, feature set, and pricing. Include Reddit sentiment."Bad: "What's happening with AI art?"
Include date context:
Good: "Latest developments this week in renewable energy"Bad: "Renewable energy news" // Will search without time context
Request specific formats:
Good: "Create comparison table of cloud providers with pricing, features, and region availability"Bad: "Compare cloud providers" // Less structured
Specify sources when relevant:
Good: "Track EU AI Act updates from official EU sources, legal experts, and industry commentary"Bad: "AI regulation news" // May miss authoritative sources
Breaking news topics: Daily or multiple times per day
Research areas: Weekly or bi-weekly
Market reports: Weekly or monthly
Regulatory tracking: Weekly or monthly
Consider timezone:
// Get briefing before work starts (8 AM local time)timezone: 'America/New_York'cronSchedule: 'CRON_TZ=America/New_York 0 8 * * 1-5'// End of day summary (6 PM local time)timezone: 'Europe/London'cronSchedule: 'CRON_TZ=Europe/London 0 18 * * *'
QStash (scheduled) ↓POST /api/lookout ↓1. Verify Pro subscription2. Set status to 'running'3. Create new chat4. Execute streamText with extreme_search5. Save messages and metrics6. Send email notification7. Calculate next run8. Return to 'active' status
Dependencies:
// Key dependencies for lookout functionality:import { streamText, stepCountIs } from 'ai'import { extremeSearchTool } from '@/lib/tools'import { sendLookoutCompletionEmail } from '@/lib/email'import { CronExpressionParser } from 'cron-parser'import { updateLookoutLastRun, updateLookout } from '@/lib/db/queries'