Make your AI agent autonomous.

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

Documentation
bash - trigr watch

Your agent is capable.
It's just unreachable.

AI CLI tools are powerful, but they require you to sit at the keyboard and type prompts. You become the bottleneck for your own automation.

Without trigr

Agent sits idle

The system is reactive to the human, not the environment.

03:00 AM - Deploy fails.
03:01 AM - Claude is installed, but asleep.
09:00 AM - You wake up.
09:15 AM - You manually type: "Fix deploy"
With trigr

Agent acts on its own

trigr monitors the environment and dispatches the agent autonomously.

03:00 AM - Deploy fails.
03:00 AM - trigr poller detects failure.
03:01 AM - trigr wakes Claude.
03:05 AM - Claude fixes issue & opens PR.

Three ways to wake up

Configure trigr to respond to the events that matter to your workflow.

Messages

Send tasks from anywhere—another terminal, a script, or a webhook. Like texting a coworker who knows your entire codebase.

$ trigr emit "Triage the new issue"

Schedules

Cron jobs that wake the agent. Perfect for daily summaries, weekly reporting, or routine codebase maintenance.

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

Pollers

Watch for changes at intervals. New email, deploy failure, or a GitHub issue—the agent wakes up and handles it.

$ trigr add inbox --interval 300 \ -c "./check_email.sh"

While you're away

Real-world scenarios where an autonomous agent shines.

01 / REMOTE DISPATCH

On the train

Fire off a trigr emit from your phone via SSH or webhook. By the time you arrive at your desk, the agent has already researched the bug, written the tests, and prepared the fix for your review.

02 / SCHEDULED REVIEW

Every day at 9:00 AM

The agent wakes up, checks the team inbox, reads overnight GitHub notifications, and drafts a daily summary of what needs your immediate attention.

03 / INCIDENT RESPONSE

3 AM Deploy Fail

A poller detects a failing pipeline. Agent reads the logs, finds the missing dependency, and opens a hotfix PR.

04 / TRIAGE

New GitHub Issue

Webhook triggers agent to read the issue, scan the codebase to reproduce, and draft a polite technical response.

Quickstart

1 Install trigr globally
$ pip install trigr
2 Start the watcher in your project

This runs in the background and listens for events.

$ uvx trigr watch
3 Emit a task

From another terminal window.

$ uvx trigr emit "Review my latest commit and run tests"

CLI Reference

Command Description
trigr watch Start listening for messages, schedules, and pollers in the current directory.
trigr emit <msg> Instantly send a task to the watching agent.
trigr add <name> Configure a new schedule (--cron) or poller (--interval).
trigr remove <name> Delete a configured schedule or poller.
trigr status View currently running watchers and configured triggers.
trigr init Create a local trigr.toml configuration file.
trigr serve Start the HTTP API server to accept webhooks remotely.

Agent Compatibility

trigr acts as the event layer. Bring your own agent.

Claude Code (Background/Chat)
Gemini CLI (Blocking)
Codex CLI (Blocking)