AI-powered reminder service that checks arbitrary conditions daily using a browser agent. When a condition is confirmed, it sends you an email and stops checking.
cd ~/tripwire
uv sync
uv run playwright install chromiumCreate .env and fill it in:
BROWSER_USE_API_KEY=bu_... # https://cloud.browser-use.com
GMAIL_ADDRESS=you@gmail.com
GMAIL_APP_PASSWORD=xxxx xxxx xxxx xxxx # https://myaccount.google.com/apppasswords
EMAIL_TO=you@gmail.com
Create reminders.json with your conditions:
[
{
"condition": "Radiohead has announced a 2026 concert tour",
"active": true
}
]Run manually:
xvfb-run uv run tripwire.pyxvfb-run provides a virtual display since the browser runs in non-headless mode (needed to avoid bot detection by search engines).
To run daily at 9am:
crontab -eAdd:
0 9 * * * cd ~/tripwire && xvfb-run uv run tripwire.py
All output goes to tripwire.log.
tail -f tripwire.logFor each active reminder, a browser-use agent (BU 2.0 model) searches the web to verify the condition. If confirmed, it sends an email and sets active to false in reminders.json. If not confirmed, it tries again next run.
The browser runs with a real user-agent and anti-detection settings so search engines (Google, Bing) don't block it with CAPTCHAs.