Sentry Error Triage
Receive a notification for every Sentry issue alert and approve which ones to investigate. The agent clones your repo, analyzes the error context, and posts its findings back to your chat.Review the generated config
Open the file with Replace the
pylon edit my-sentry. The full config looks like this:workspace.repo value with your actual repository URL.approval: true means Pylon always asks before running the agent — recommended for Sentry so noisy or low-priority alerts don’t consume agent time automatically.Configure the Sentry webhook
In Sentry, go to Settings > Integrations > WebHooks (or your project’s Alerts > Webhooks):
- Add a new webhook URL pointing to your Pylon server:
- Under Events, enable Issue alerts (the
issueevent type). - Copy the Client Secret from the webhook settings and set it as an environment variable on your Pylon server:
- Save the webhook.
Sentry-Hook-Signature header and rejects requests that don’t match.Approve an investigation
When a real Sentry issue fires, you receive a notification in Telegram or Slack:Below the message you see Investigate and Ignore buttons. Click Investigate — Pylon clones your repo and runs the agent with the full error context from the payload. The agent posts its analysis (root cause, relevant code path, suggested fix) back to the same chat thread.
GitHub PR Review
Automatically review every pull request for bugs, security issues, and code quality. The agent clones the PR branch and posts findings to your channel — no approval gate, no manual trigger.Review the generated config
workspace.repo and workspace.ref fields use Go template expressions to pull the clone URL and branch name directly from the GitHub payload — you do not need to hard-code them. With approval: false, the agent runs immediately on every PR.Configure the GitHub webhook
In your GitHub repository, go to Settings > Webhooks > Add webhook:
- Set Payload URL to your Pylon endpoint:
- Set Content type to
application/json. - Enter a Secret and save it as an environment variable on your Pylon server:
- Under Which events would you like to trigger this webhook?, choose Let me select individual events and enable Pull requests.
- Click Add webhook.
X-Hub-Signature-256 header. Pylon validates this signature and rejects requests that don’t match.Custom Webhook
Any service that sends HTTP POST requests can trigger a Pylon pipeline. If your service is not covered by a built-in template, you can build a pipeline from scratch.Generic skeleton
The followingpylon.yaml shows the structure of a custom webhook pipeline. Replace the placeholder template variables with fields from your service’s payload:
Creating from scratch
Runpylon construct without a --from flag to start the interactive wizard:
pylon.yaml is fully editable with pylon edit my-pipeline.
Template expressions
Use{{ .body.field }} anywhere in channel.topic, channel.message, workspace.repo, workspace.ref, and agent.prompt to inject values from the incoming webhook payload. Nested fields work too: {{ .body.data.event.title }}.