Skip to content

[Feature]: Agent Triggers #6051

@bryanadenhq

Description

@bryanadenhq

Problem Statement

Timers and webhooks fire directly on the worker runtime, bypassing the queen. The queen has no awareness or control over when the worker runs.

Proposed Solution

Move all triggers (timers, webhooks) to the queen level. When a timer ticks or webhook fires, the queen receives a [TRIGGER: ...] message and decides whether to start the worker. The worker only runs when the queen calls run_agent_with_input().

Alternatives Considered

Keep triggers on the worker and notify the queen after the fact. Rejected -- the worker would still execute before the queen could intervene.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions