[Feature Request] Please add webhook-triggered Agent runs — fire-and-forget POST on completion
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 35/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- typescript
Piste de recherche
Commencez par localiser et auditer le point d’entrée existant des exécutions d’Agent, de la piste d’audit et de l’application des octrois ou des politiques décrits dans l’issue. Déterminez comment la configuration des webhooks entrants et sortants s’intégrerait à ces systèmes existants, puis utilisez les critères d’acceptation pour définir l’achèvement, y compris la validation, la limitation du débit, le maintien inchangé des autorisations et les enregistrements d’audit.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Problem
OpenBot has persistent coworkers, per-Agent computers, governed tool use, and auditability, but it lacks a simple way to trigger Agent runs from external events or notify external systems when a run completes.
For teams integrating OpenBot into existing workflows (e.g., CI/CD pipelines, monitoring alerts, newsletter automation), there is no way to kick off an Agent run via webhook or receive a notification when a run finishes. This forces manual intervention or polling, which defeats the purpose of autonomous Agents.
Feature request
Add webhook-triggered Agent runs — a fire-and-forget POST endpoint to start a run, and an optional outbound webhook when a run completes. This should be an event-layer feature, not a new scheduling system.
Proposed behaviour
- Allow configuring an inbound webhook URL per Agent that, when POSTed to, triggers a new run with the provided payload as context.
- Allow configuring an outbound webhook URL per Agent that receives a POST when a run completes (success, failure, or refusal).
- Support optional payload templates for outbound webhooks (e.g., include run ID, outcome, transcript summary).
- Validate inbound webhook payloads and show clear errors for malformed requests.
- Preserve all governance settings (grants, policies) for webhook-triggered runs, scoped to the Agent's existing permissions.
- Rate-limit inbound webhooks to prevent abuse (e.g., max 10 runs per minute per Agent).
Required controls
- Disabled by default; enabled per Agent.
- Webhook scope: per-Agent, not per deployment.
- Immutable audit log showing when a webhook triggered a run or was sent on completion.
- Review, edit, and delete controls for webhook URLs.
- Clear separation between webhook payload and runtime state (no arbitrary code execution from payload).
- Never automatically grant additional tools or permissions for webhook-triggered runs — grants are unchanged.
- Configurable allowlist for webhook sources (specific IPs, domains, or any URL).
Why this matters
This would make OpenBot more competitive for teams integrating Agents into existing automation workflows while preserving its core advantages: per-Agent isolation, gateway policy enforcement, and action-level auditability. It would be particularly useful for a self-hosted team that wants to trigger Agents from external events (e.g., "new issue filed", "site downtime detected", "newsletter draft due") without manual intervention.
Acceptance criteria
- An administrator can configure an inbound webhook URL for an Agent.
- An administrator can configure an outbound webhook URL for an Agent.
- POSTing to the inbound webhook triggers a new Agent run with the payload as context.
- Completing a run sends a POST to the outbound webhook with run metadata.
- All webhook triggers and sends appear in the existing audit trail.
- Invalid webhook payloads are rejected with clear error messages.
- Webhook-triggered runs respect the Agent's existing grant boundaries.
Suggested name
Webhook Triggers or Event-Driven Agent Runs
- Langage dominant
- TypeScript
- Étoiles
- 6.3k
- Forks
- 863
- Merge moyen
- 17 h 52 min
- PR mergées (30 j)
- 155
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Propose un modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de CopilotKit/OpenBot
-
Wrong key location at startupPeut-être pris @charan-rathore l’a pris aujourd’hui. Ouverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 68/100
CopilotKit/OpenBot#800 ·
Les mainteneurs répondent en général sous 1 jour
-
setup-learning.ts fails on Windows with "spawn npx.cmd EINVAL"Peut-être pris @Caldas l’a pris il y a 3 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 80/100
CopilotKit/OpenBot#792 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 3/5 1-2 jours Accessibilité débutants 68/100
CopilotKit/OpenBot#804 ·
Les mainteneurs répondent en général sous 1 jour
-
Five out-of-subject findings from PR #770's tier-3 review (credential-revoking tests, single-user boot gate, OAuth client rotation, shared-use atomicity, untyped server/tests)Peut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouverte
Difficulté 4/5 Plus d'une semaine Accessibilité débutants 22/100
CopilotKit/OpenBot#786 ·
Les mainteneurs répondent en général sous 1 jour
-
server/tests leaks database connections: 55 files open a pool and never close itPeut-être pris @adamsiwiec1 l’a pris il y a 2 jours. Ouverte
Difficulté 3/5 1-2 jours Accessibilité débutants 70/100
CopilotKit/OpenBot#785 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de CopilotKit/OpenBot
Issues similaires
-
backend priority:P3 privacy-fix
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
[Bug]: 【优化】对话消息底部增加发送时间展示Ouvertebug desktop v3 windows
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
esengine/DeepSeek-Reasonix#13697 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
area:security documentation effort:S priority:P2
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
Les mainteneurs répondent en général sous 1 jour
-
app:web meta:ops
Difficulté 2/5 Une demi-journée Accessibilité débutants 78/100
osu-tournament-rating/otr#1113 ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100