Connect your agent to WakeAgent
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.
WakeAgent wakes your AI agents when something happens — a CI run fails, a PR gets a review, a Jira issue moves. The quickest way to connect an agent is to let the agent do it: each prompt below points it at a guide written for agents to follow, and it asks you before anything only you can do.
Before you start: a Keepware account (https://www.keepware.dev/account), and — for the test at the end — an event source in your team or Personal on keepware.dev → Account → WakeAgent (a GitHub repository is quickest: add a webhook with the URL and secret the page gives you).
For a person who uses a coding agent
Paste this into Claude Code (or the coding agent you use) on the computer where it runs:
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.
What happens: the agent installs the wakeagent program, has you sign in on keepware.dev once (every team you’re in, or the ones
you keep ticked), adds WakeAgent’s MCP server for your Personal space (claude mcp add wakeagent -- npx -y @keepware/wakeagent mcp) and one per team you choose (--team <slug>), offers the optional hooks (you pick the settings file) and start at login, and
then shows you a wake: it waits for a WakeAgent test event while you run npx -y @keepware/wakeagent test (no webhook
needed), and, once a source is connected, for one real event. setup.md is
the full text it follows, including what each step changes and what it never touches.
Not on Claude Code? WakeAgent’s built-in support is for Claude Code; other agents use it through the API and MCP — the second prompt is the one for them.
For an agent product that runs its own sessions
If you build a product or harness that starts and owns agent sessions, paste this into your coding agent in that product’s repository:
Integrate this project with WakeAgent (https://www.keepware.dev/wakeagent), the
event hub that wakes AI agents when something happens on GitHub, Jira, Sentry and
other platforms.
1. Read the integration guide in full first:
https://www.keepware.dev/wakeagent/integrate.md
2. Study this codebase: where agent sessions are started, resumed and given new
messages; where credentials are kept; how the agent gets its tools.
3. Before changing code, write a short plan: which integration level from the
guide fits this project and why, and which files change. Then build it.
4. Keep the guide's rules: one WakeAgent connection per team; tokens stored like
the project's other credentials and never shown to the agent; a subscription
belongs to the person who made it; deliver each wake once and acknowledge it
with its outcome; outside text only as marked, untrusted data; never raise a
session's permission mode.
5. Test with the guide's checklist, including one real event from a scratch
GitHub repository. Report what works, what you could not verify, and how to
use it.
What it reads: integrate.md — the two integration levels (run the wakeagent program beside
your product and talk to it over a local socket, or talk to the service directly with Keepware OAuth, a WebSocket per
team and the HTTP API), every message and field, how to deliver a wake into a running, idle or closed session, the
acknowledgements, the loop guard and a 14-step test checklist.
Check that it worked
wakeagent statuslists each team you signed in to and what this computer holds;wakeagent logshows each delivery and who took it.- keepware.dev → Account → WakeAgent shows the event, the subscription and its last outcome.
- On a Mac, the menu bar app shows the same, with notifications.