trigr wakes your AI agent on schedules, events, and messages — so it works while you're away.
$ pip install trigr
AI coding agents are powerful — but they only act when you type a prompt. You are the bottleneck.
The agent sits idle until you open a terminal and type something. Everything waits on you.
trigr connects your agent to external events. It sleeps, wakes, acts, and goes back to sleep.
Three ways to wake your agent — covering everything from ad-hoc tasks to automated monitoring.
Send tasks from anywhere — another terminal, a script, a webhook. Like texting a coworker who knows your entire codebase.
Cron jobs that wake the agent. Daily summaries, weekly reports, maintenance — all on autopilot.
Watch for changes at intervals. New email, deploy failure, GitHub issue — agent wakes up and handles it.
trigr turns your agent from a tool you use into a teammate that acts on its own.
On the train, phone in hand. Fire off trigr emit, agent handles the task before you arrive at the office.
Agent checks your inbox every morning, summarizes what needs attention, and drafts responses for anything urgent.
Poller detects the failed deployment. Agent reads logs, identifies the regression, and opens a fix PR — all before you wake up.
New issue comes in. Agent reads the report, searches the codebase, and drafts a response with a proposed fix.
Every Friday at 5pm, agent compiles a report from the week's commits, issues, and PRs. Ready in your inbox by EOD.
From zero to autonomous agent in under a minute.
The agent blocks until an event arrives. It has full codebase context.
From another terminal, a script, or anywhere with HTTP access.
Add schedules, pollers, and more with the full CLI.
Everything you need, nothing you don't.
| Command | Description |
|---|---|
| trigr watch | Block until a message arrives, print it, then exit. Long-polling with configurable timeout. |
| trigr emit <msg> | Send a message to the agent. Supports delayed delivery with --delay. |
| trigr add <name> | Add a poller (--interval) or cron job (--cron) to trigr.toml. |
| trigr remove <name> | Remove a poller or cron job from trigr.toml. |
| trigr status | Show server status: queue depth, active pollers, scheduled crons. |
| trigr init | Create a trigr.toml config in the current directory. |
| trigr serve | Start the event server. Detached by default, -f for foreground. |
trigr integrates with the leading AI coding CLIs.
Runs as a background task. You can chat with the agent while it waits for events.
Blocks the session until an event arrives. Dedicated terminal recommended.
Blocks the session until an event arrives. Dedicated terminal recommended.