Agents that work
while you sleep

Define AI agents with triggers, tasks, and tools. Run them on a schedule or in the background. Get notified on Telegram or Discord when they're done.

🔍 code-reviewer

Reviews staged changes, checks style, security, and performance issues.

🔁 on git commit

🧪 test-runner

Watches for file changes and runs the test suite automatically.

📁 file watch

🛡️ security-scanner

Scans dependencies and code for known vulnerabilities.

⏰ daily cron

📚 doc-generator

Auto-generates or updates documentation from code changes.

🔁 on commit

📊 performance-monitor

Benchmarks endpoints and alerts on regression.

⏰ hourly cron

🧹 cleanup-agent

Removes temp files, old logs, and stale branches on a schedule.

⏰ weekly cron

🔄 sync-agent

Syncs data between APIs, databases, or services.

🕐 interval

📦 deploy-agent

Automates deployment workflows on trigger events.

▶ manual

🌐 web-monitor

Monitors URLs for uptime, content changes, and broken links.

⏰ 5m cron

⚙️ custom

Define any task, any tools, any trigger. Fully configurable via the REPL wizard.

🎛 any

Interactive wizard
in the REPL

Use the /agent create command in the REPL to launch a wizard that guides you through naming, type, task, tools, and trigger.

Open the REPL

$ opencli
❯ /agent create

Follow the wizard

? Agent name: my-watcher
? Type: test-runner
? Task: Run npm test and fix failures
? Trigger: file-watch: src/**/*.ts

Run in background

❯ /agent background my-watcher
✓ Spawned PID 38271 (detached)
Agent management
/agent list
NAME TYPE STATUS
─────────────────────────────────────
my-watcher test-runner ● running
daily-review code-reviewer ○ idle
sec-scan security-scan ○ idle
/agent run daily-review
⠋ Reviewing staged changes...
Found 3 issues in auth.ts:
⚠ JWT secret exposed in plaintext (line 42)
⚠ Missing input validation (line 87)
✓ 2 auto-fixes applied
/agent delete sec-scan
✓ Deleted agent sec-scan
# CLI commands
$ opencli agent list
$ opencli agent run my-watcher
$ opencli agent background my-watcher
$ opencli agent delete my-watcher

Notifications on
Telegram & Discord

Run a long task from home, step outside, and get notified when it's done.

💻
Your Terminal
opencli --notify
🤖
AI Works
runs task
Done
sends notification
📱
Your Phone
Telegram / Discord
✈️

Telegram Setup

1

Create a bot at @BotFather and get the token

2

Run setup wizard

$ opencli notify setup
3

Use the flag on any command

$ opencli --notify "run all tests"
🎮

Discord Setup

1

Create a Webhook in your Discord server settings → Integrations

2

Add the webhook URL in setup

$ opencli notify setup
3

Test your setup

$ opencli notify test
# Custom notification messages
$ opencli notify send "Deploy done" --level success --title "Production"
$ opencli notify send "Tests failed" --level error
$ opencli notify send "Build started" --level info