Your team understands the change.Your agents should too.
Everything Theseus knows about a pull request is available to your agents, scripts, and services through the CLI, an MCP server, and webhooks.
$ theseus generate actualbudget/actual#7829 --wait
Generating a guide for GitHub pull request actualbudget/actual#7829
Fetching 2f81c0a and e592572 from GitHub
Workspace: actualbudget
Guide queued
Guide: https://theseus.dev/actualbudget/actual/pr/7829
Guide running
Guide succeeded
$ theseus changeset status actualbudget/actual#7829 --json
{
"behind_head": false,
"latest_guide": { "head_sha": "e592572…" },
"pull_request": { "head_sha": "e592572…" },
…
}Three ways to get connected.
CLI
Generate a guide for a PR, wait for it to finish, and read the result as JSON, from your terminal or any script.
MCP server
Connect Claude Code or Codex, and your agent can read guides and review threads, or generate a new one.
Beacons
Signed webhooks and GitHub Actions dispatches whenever a guide is ready, a review is submitted, or someone comments.
Give agents a guide,not just the diff.
An agent fixing a review comment or writing release notes works better when it knows what the PR changes and why. The MCP server gives it the same guide your team reads, scoped to the repositories you choose.
- get_changeset
- Find a PR and check whether its latest guide matches the latest commit.
- get_guide
- Read the summary, unknowns, rollout steps, and list of changes.
- get_claim
- Read one change in full, with the code it cites.
- list_review_threads
- Read comments, replies, and review decisions.
- generate_guide
- Generate a guide for a PR or branch at its current commit.
Something happens in Theseus.Your systems hear about it.
Beacons send an event when a guide is ready or fails, when a review is approved or needs changes, and when someone comments. Point them at your own HTTPS endpoint, or trigger a GitHub Actions workflow directly.
{
"type": "guide.ready",
"api_version": "v1",
"data": {
"repository": { "full_name": "actualbudget/actual" },
"changeset": { "kind": "pr", "number": 7829 },
"guide": { "id": "ver_01K6Z3…", "head_sha": "e592572…" }
}
}Let an agent follow upbefore you do.
A guide is ready
Theseus sends a guide.ready event to GitHub Actions.
Your agent reads it
A Claude Code or Codex workflow reads the guide’s unknowns and rollout steps.
It follows up
The agent pushes fixes or asks for evidence, skipping stale commits and stopping after three rounds.
Which agents work with Theseus?
Any agent that can run a command can use the CLI. The MCP server is documented for Claude Code and Codex, and the CLI can install a skill that teaches them how to read Theseus results.
What’s in an event?
References, not content: the event type, repository, pull request, and guide. Your receiver fetches whatever it needs from the API, with its own permissions.
How do I know a webhook came from Theseus?
Every delivery is signed using the Standard Webhooks format. Failed deliveries retry for about three days, and you can resend any event from the last 30 days.
Can an agent see repositories I haven’t shared?
No. MCP access is granted per workspace and repository when you connect, and every call checks your access again.