Skip to content

bodhi-realtime-agent / ServiceSubagentConfig

Interface: ServiceSubagentConfig ​

Defined in: src/types/agent.ts:133

Configuration for a service subagent that reacts to external events (e.g. webhooks, database changes) and can proactively notify the user.

Properties ​

agent ​

agent: SubagentConfig

Defined in: src/types/agent.ts:135

The subagent to invoke when an event matches.


eventSources ​

eventSources: EventSourceConfig[]

Defined in: src/types/agent.ts:137

Event sources that feed into this service subagent.

Methods ​

shouldInvoke()? ​

optional shouldInvoke(event): boolean

Defined in: src/types/agent.ts:139

Optional filter — return true to invoke the subagent for a given event.

Parameters ​

event ​

ExternalEvent

Returns ​

boolean

Built with VitePress