AI-powered web monitoring platform. Create automated scouts that search the web and send email alerts when they find what you're looking for.
AI-powered web monitoring platform. Create automated scouts that search the web and send email alerts when they find what you're looking for.
Create AI scouts that continuously search the web and notify you when they find what you're looking for.
Open Scouts is an AI-powered monitoring platform that lets you create "scouts" - automated tasks that run on a schedule to continuously search for and track information. Whether you're looking for new restaurants near you, monitoring AI news, or tracking any other updates, scouts work 24/7 to find what you need and notify you when they discover it.
git clone https://github.com/firecrawl/open-scouts
cd open-scouts
bun install # or: npm install / pnpm installIn your Supabase Dashboard:
pg_cron (for scheduled jobs)pg_net (for HTTP requests from database)vector (for AI-powered semantic search on execution summaries)supabase_vault (for secure credential storage - usually enabled by default)Create a .env file in the root directory by copying the example file:
cp .env.example .envThen fill in your actual values in the .env file.
The .env.example file contains all required environment variables with detailed instructions and direct links for where to obtain each API key.
First, link your Supabase project (required for syncing secrets):
bunx supabase login # Login to Supabase CLI (one-time)
bunx supabase link --project-ref # Find ref in Supabase Dashboard URLThen run the setup script:
bun run setup:db # or: npm run setup:db / pnpm run setup:dbThis will:
scouts, scout_executions, scout_execution_steps, etc.).env file (OPENAI_API_KEY, FIRECRAWL_API_KEY, RESEND_API_KEY)Note: The setup script will check if the required extensions (vector, pg_cron, pg_net) are enabled. If not, follow the on-screen instructions to enable them in the Supabase Dashboard, then run the script again.
Open Scouts uses Supabase Auth for user authentication, supporting both email/password and Google OAuth.
Create Google OAuth Credentials:
http://localhost:3000 (development)https://your-domain.com (production)https://.supabase.co/auth/v1/callbackConfigure in Supabase:
Deploy the scout execution agent and email functions to Supabase Cloud:
bunx supabase functions deploy scout-cron
bunx supabase functions deploy send-test-emailNote: Secrets (OPENAI_API_KEY, FIRECRAWL_API_KEY, RESEND_API_KEY) are automatically synced when you run setup:db. If you need to update them manually:
bunx supabase secrets set OPENAI_API_KEY=sk-proj-...Email notifications are sent to your account email when scouts find results.
.env and run setup:db again to sync, or set manually:bunx supabase secrets set RESEND_API_KEY=re_...Important - Free Tier Limitations:
Testing Email Setup:
Open Scouts uses Firecrawl for web scraping and search.
** Important: No Environment Variable Configuration Required**
You do NOT need to configure a Firecrawl API key in your environment variables. Each user can simply add their own custom Firecrawl API key directly in the Settings page within the app. This is the recommended approach for most users.
The simplest way to use Open Scouts:
Each user manages their own API key, and usage is tracked to their individual Firecrawl account.
If you're self-hosting and want to provide a shared API key for all users:
.env file:FIRECRAWL_API_KEY=fc-your-key-herenpx supabase secrets set FIRECRAWL_API_KEY=fc-your-key-hereNote: Users who add their own custom API key in Settings will use their personal key instead of the server-side shared key.
⚠️ The Partner Key feature is currently in closed beta and only available for enterprise customers. This feature is not publicly available.
How Partner Integration Works (when available):
user_preferences tablebun run dev # or: npm run dev / pnpm run devOpen http://localhost:3000 to see the app.
Click the "Run Now" button on any scout page to trigger execution immediately without waiting for the cron.
When scouts find results, you'll automatically receive email alerts at your account email:
Email Service: Powered by Resend (free tier includes 3,000 emails/month)
Note: On Resend's free tier without a verified domain, emails can only be sent to your Resend account email. Verify a custom domain at resend.com/domains to send to any email.
Open Scouts uses a dispatcher pattern designed to scale to thousands of scouts:
Every minute:
pg_cron → dispatch_due_scouts() → finds due scouts → pg_net HTTP POST
↓
┌──────────────────────┼──────────────────────┐
↓ ↓ ↓
Edge Function Edge Function Edge Function
(scout A) (scout B) (scout C)
[isolated] [isolated] [isolated]No open issues yet, or sync has not completed.