# WakeAgent

> Your AI agent stops waiting. When CI fails, a PR gets a review or a Jira issue moves, WakeAgent wakes it to carry on.

Source: https://www.keepware.dev/wakeagent · macOS 12+ menu bar app, macOS and Linux via npm, Claude Code · any agent via API and MCP · v0.6.9 · Beta · Free

Your AI agent stops waiting. Connect your team's GitHub, Bitbucket, GitLab, Jira, Sentry or Linear once; when something an agent waits for happens, WakeAgent wakes that session to carry on — whether it's busy, idle or closed. Free; Claude Code first, any agent through the API.

## Download

- [macOS menu bar app (.dmg) — Apple silicon and Intel](https://www.keepware.dev/downloads/wakeagent/WakeAgent_0.6.9_universal.dmg) — v0.6.9 · 16.5 MB · one universal app · macOS 12+ · signed and notarized by Apple · updates itself · optional — the program below does the work

From a terminal:

```bash
npx -y @keepware/wakeagent login
claude mcp add wakeagent -- npx -y @keepware/wakeagent mcp
# in Claude Code: "wait for a WakeAgent test event", then:
npx -y @keepware/wakeagent test
```

## Try it in a minute

1. Sign in with your Keepware account (a browser opens).

   ```bash
   npx -y @keepware/wakeagent login
   ```
2. Add WakeAgent to Claude Code, then start a new Claude Code session.

   ```bash
   claude mcp add wakeagent -- npx -y @keepware/wakeagent mcp
   ```
3. In Claude Code, ask: *wait for a WakeAgent test event*. Then, in another terminal, send one — the session wakes.

   ```bash
   npx -y @keepware/wakeagent test
   ```

No webhook needed for the test. Next, connect a real source — your GitHub organization, Bitbucket, GitLab, Jira, Sentry or Linear — at [keepware.dev → Account → WakeAgent](https://www.keepware.dev/account/wakeagent), and your agent can wait for CI, reviews and issues. In a team? Add `--team <its slug>` to the `mcp` line (`npx -y @keepware/wakeagent status` lists your teams). The [setup guide](https://www.keepware.dev/wakeagent/setup.md) has every step.

## How it works

1. **Connect your tools.** Add your GitHub organization, Bitbucket workspace, Jira or Sentry once, on keepware.dev. Everyone in the team can use it.
2. **Your agent says what it waits for.** Just like it would tell a colleague.
3. **It’s woken when it happens.** Busy, idle or closed — the session picks up where it left off.

## Features

- **Every session state.** A busy session gets the news in its running turn, an idle one gets a message, a closed one
  is resumed.
- **For the whole team.** Connect a tool once; every teammate's agent can wait on it. Each person's waits stay theirs.
- **Automations.** "When CI fails on main, start a session to fix it" — ask your agent and it sets it up.
- **Safe by default.** Never more permissions than the session had. Titles and comments from outside are never treated
  as instructions.
- **Search every delivery.** On keepware.dev: every event, what it woke, why one was rejected — searchable for 7 days.
- **Free.** No seats, no plans. For every team and your own projects.

## Video: Claude Code waits for CI without polling

https://www.keepware.dev/guides/claude-code-wait-for-ci-without-polling/video.mp4 (0:58, narrated, captions https://www.keepware.dev/guides/claude-code-wait-for-ci-without-polling/video.vtt) — A Claude Code session pushes a fix and waits for CI through WakeAgent — no sleep loop, no polling. CI fails on main, WakeAgent wakes the session, it fixes the fix and pushes; CI passes and it is woken once more to say so.

**0:03 Push, and wait for CI.** This session just fixed a checkout bug for Acme. Now I ask it to push, and to wait for CI on main. And if CI fails, to fix it.

**0:12 Waiting, without polling.** It pushes, and subscribes to Acme's CI through WakeAgent. Then it stops. No sleep loop, no polling, no tokens spent while it waits. The tag up here says what it's waiting for.

**0:24 CI failed: the session wakes up.** A few minutes later, GitHub tells WakeAgent that CI failed on main. WakeAgent wakes the session. This red card is WakeAgent's message, not mine. The agent reads the failing log and gets to work.

**0:38 Fixed and pushed.** Its first fix was too broad. It fixes the fix, runs the tests, and pushes again. Then it goes back to waiting.

**0:45 Green.** This time CI passes, and WakeAgent wakes it once more to say so. I didn't watch CI once. I just read the result.

## Get started

### You use Claude Code

Paste this into Claude Code. It walks you through, and asks before anything that needs you.

```
Set up WakeAgent for the coding agent I use on this computer, so it can be woken
when something happens on GitHub, Jira, Sentry and the like.
Read https://www.keepware.dev/wakeagent/setup.md and follow it step by step.
Ask me before anything that needs me (signing in, choosing a team, which settings
file a hook goes into). At the end, show me how to test it with one real event.
```

### You build an agent product

The integration guide is written for you and your agent: sign-in, events, and how to wake a session.

[Read integrate.md](https://www.keepware.dev/wakeagent/integrate.md)

Or have your agent do it: [the integration prompt](https://www.keepware.dev/guides/wakeagent-connect-your-agent#for-an-agent-product-that-runs-its-own-sessions).

## Questions and answers

### What does it cost?

Nothing. WakeAgent is free, for Personal and for every member of a team — there is no seat to buy. You sign in with your Keepware account.

### Which agents does it work with?

Claude Code, built in — it can wait for something, be woken in a running session, get a message when it's idle, and be resumed when it's closed. Other agents (Codex, your own) can use it today through the API ([integrate.md](https://www.keepware.dev/wakeagent/integrate.md)); WakeAgent can't resume their sessions for them yet.

### Which systems?

The menu bar app is for the Mac (macOS 12 or later, Apple silicon and Intel). The `wakeagent` program runs on macOS and Linux through npm. Windows isn't supported yet.

### Which tools can wake an agent?

GitHub, GitLab, Bitbucket, Jira, Sentry, Linear, and any webhook. Add a whole GitHub organization or Bitbucket workspace once and every repository's events come through; an agent can still wait on just one repository. Owners and admins add them on keepware.dev → Account → WakeAgent, with each tool's steps. See every event each one sends, and what each means, in [the events list](https://www.keepware.dev/wakeagent/events).

### Will a wake change what my agent is allowed to do?

No. A closed session is resumed with the permissions it had — never more — and anything that needs your approval is stopped and shown to you. An automation your agent makes never skips approvals; only you can choose that.

### Can an issue or a comment tell my agent what to do?

No. Titles, descriptions and comments are left out unless your agent asks for them, and then they arrive marked as text from outside — never as instructions. What an agent waits for is matched on facts like the repository, the branch and whether CI passed, never on free text.

### I'm in several teams. Do I sign in to each?

No. One sign-in on a computer connects Personal and every team you're in — on keepware.dev you can untick any. You can sign out of one team without the others, and a team you join later shows up in the app with one Connect button. Each agent connection belongs to one space — `claude mcp add wakeagent -- npx -y @keepware/wakeagent mcp` is your Personal, add `--team <its slug>` for a team — so an agent never sees another team's events.

### Can I see it work before I connect GitHub?

Yes. Ask Claude Code to *wait for a WakeAgent test event*, then run `npx -y @keepware/wakeagent test` (or press “Send a test event” on keepware.dev → Account → WakeAgent, or in the menu bar app). The session wakes with “Test event from you — WakeAgent works.” A test event only reaches a wait that asked for one; at most 10 an hour.

### Who sees what in a team?

Everyone in the team shares its sources and events, and anyone's agent may wait on them. What an agent waits for belongs to the person who asked; it only ever wakes their own sessions.

### What if an agent keeps waking itself?

WakeAgent stops it. A subscription wakes its session at most 12 times an hour; past that it pauses and tells you. There is no daily limit. You can pause every wake on your Mac from the menu bar, and an admin can pause a whole team on keepware.dev.

## Guides

- [Connect your agent to WakeAgent](https://www.keepware.dev/guides/wakeagent-connect-your-agent): Two copy-paste prompts: one sets up WakeAgent for the coding agent on your computer, the other has an agent product integrate it — each ending with a test on one real event.
- [Let Claude Code wait for CI, a review or a Jira issue — without polling](https://www.keepware.dev/guides/claude-code-wait-for-ci-without-polling): Why Claude Code polls gh run view in a loop after a push, the ways to stop it — gh event listen, Claude Code channels, the desktop app's Auto-fix, Cursor Automations, GitHub Actions — and how WakeAgent wakes the waiting session when CI ends, a review comes or an issue moves.
- [Working for several teams with Claude Code on one computer](https://www.keepware.dev/guides/claude-code-several-teams-one-computer): Freelancers, consultants and anyone in two or three teams at once: what has to stay apart when Claude Code works for each — accounts, connections, secrets, databases, designs and events — how to keep it apart by hand, and how Keepware switches all of it with the team.
- [Running Claude Code for several clients: Tillerman vs Claude Desktop, dev containers, Spaces and shell aliases](https://www.keepware.dev/guides/claude-code-several-clients-compared): An honest comparison for freelancers and consultants: how Claude Desktop, shell aliases with CLAUDE_CONFIG_DIR, dev containers, Spaces, Conductor and parallel-agent tools handle several clients on one computer — accounts, connections, secrets, events, phones and isolation — and where each is better than Tillerman.

## Release notes

Latest: v0.6.9. Every release: https://www.keepware.dev/wakeagent#release-notes · https://www.keepware.dev/releases
