Make your AI agent autonomous.

trigr wakes your AI agent on schedules, events, and messages — so it works while you're away.

$ trigr watch
watching for events...
 
$ trigr emit "Deploy failed on staging. Investigate and fix."
⚡ Deploy failed on staging. Investigate and fix.
watching for events...
View on GitHub
The problem
Your agent is capable. It's just unreachable.

AI coding agents can read your entire codebase, write code, run tests, send emails, and more. But they only work when you sit down and type. Close the laptop, and the agent goes dark.

Without trigr

Your agent sits idle until you prompt it. You are the bottleneck. Nothing happens while you're away, asleep, or on the train.

With trigr

Your agent watches for events. A deploy fails, an issue opens, a scheduled time hits — it wakes up, handles the task with full context, and goes back to sleep.

Three triggers
Messages. Schedules. Pollers.

Three simple concepts. That's the whole system.

Messages

Send your agent a task from anywhere. Another terminal, a script, a webhook. Like texting a coworker who knows your entire codebase.

trigr emit "Triage the new issue"

Schedules

Cron jobs that wake the agent. Daily summaries, weekly reports, periodic maintenance — on autopilot.

trigr add standup \ --cron "0 9 * * *" \ -m "Run the daily standup"

Pollers

Watch for changes at regular intervals. If a command produces output, it becomes an event. Silence means nothing new.

trigr add inbox \ --interval 300 \ -c "./check_email.sh"
Use cases
What it looks like in practice.
on the train
You remember something. You fire off trigr emit from your phone. Your agent wakes up and handles it before you arrive.
every day 9am
Your agent checks email, summarizes what needs attention, and drafts responses to anything urgent.
3am deploy fail
A poller detects a failed deployment. The agent wakes up, reads the logs, identifies the issue, and opens a fix PR.
new GH issue
A poller picks up a new GitHub issue. The agent triages it, reads the relevant code, and drafts a response.
every friday
A scheduled job triggers. The agent compiles your weekly project report from commits, issues, and PRs.
Quickstart
Three steps. Under a minute.
1

Your agent starts watching

$ uvx trigr watch
2

An event fires

$ uvx trigr emit "Check if the deploy succeeded"
3

The agent wakes up and works

$ pip install trigr # to install permanently
Reference
Commands
Command What it does
trigr watch [--timeout 300] Block until an event arrives, print it, exit
trigr emit "msg" [--delay 10s] Send a message to the queue
trigr add <name> --interval N Add a poller that runs every N seconds
trigr add <name> --cron "..." Add a cron-scheduled trigger
trigr remove <name> Remove a poller or cron job
trigr status Show server state and active triggers
trigr init Create trigr.toml in current directory
trigr serve [-f] Start server manually (auto-starts on watch/emit)
Compatibility
Works with any CLI agent.

Claude Code

Runs as a background task. Chat while waiting.

Codex CLI

Runs as a blocking call.

Gemini CLI

Runs as a blocking call.