Skip to content

Webhook & Event System #11

@antiv

Description

@antiv

Summary

Configurable webhooks triggered on system events: agent response complete, error, RBAC denial, token budget exceeded, human approval needed. Support Slack, Discord, Teams, and generic HTTP POST.

Motivation

No agent framework does this well — first-mover advantage. Essential for ops teams monitoring production agents. Enables integration with any external system without polling.

Scope

  • New webhooks table (url, events[], secret, active, project_id)
  • Event types: agent.response, agent.error, rbac.denied, budget.exceeded, approval.requested, agent.config_changed
  • Event bus (in-process, async) with retry logic (exponential backoff, max 3 retries)
  • HMAC signature on payloads for verification
  • Dashboard webhook manager: create, test, view delivery logs
  • Pre-built payload templates for Slack/Discord/Teams

Acceptance Criteria

  • Webhooks fire on configured events
  • Retry logic with exponential backoff
  • HMAC-signed payloads
  • Dashboard CRUD + test delivery
  • At least Slack and generic HTTP templates

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High priorityenhancementNew feature or requestintegrationsExternal integrations

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions