PostHog Exception Triage Agent with OpenCode
Live demo
Watch it work before it's live
TypeError: t.workspaceId is undefined
at resolveWorkspace (assets/index-4f2a91.js:1:88214), at WorkspaceSwitcher (assets/index-4f2a91.js:1:91002), at renderWithHooks. Thrown on /settings/members three minutes into the session, with flag new-workspace-switcher active.
What you'll need
Set up in minutes
Connect PostHog
One sign-in. The agent acts through your account, scoped to what this template uses.
Connect Linear
One sign-in. The agent acts through your account, scoped to what this template uses.
Connect Slack
One sign-in. The agent acts through your account, scoped to what this template uses.
Triage rules
How you decide an exception matters and where it goes - the person and occurrence counts for each severity, the window you count over, the Linear team that receives issues, and the exceptions you already know about and want left alone.
Runs on OpenCode
Preselected for this page — connect your OpenCode account during setup, or switch to NoClick's built-in models with one click.
Watch it handle a test run
A staged conversation against a simulated world — then it’s live.
A considered pairing
Why OpenCode for this agent
Volume is your decision
The trigger decides how many exceptions arrive and the model decides what each one costs. Two dials rather than one is why this stays manageable.
Formatting is not reasoning
Most of the run is retrieval and layout, and only the wideness judgement leans on the model. Paying reasoning prices for the whole thing is optional.
Good to know
Before you fork
Does this add much load to our PostHog project?
Each exception costs a handful of reads and the aggregate is the only heavy one. A project throwing thousands of errors an hour should be filtered at the trigger rather than absorbed by the agent. On an ordinary product the extra querying sits below what a single dashboard refresh costs you.
Other editions
Run it with a different agent
Make it yours
Put PostHog Exception Triage Agent to work on OpenCode.
Free to start. Guided setup, a staged test run, and a workflow you can change at every step.