Skip to content

bodhi-realtime-agent / ServiceSubagentConfig

Interface: ServiceSubagentConfig

Defined in: types/agent.ts:86

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: types/agent.ts:88

The subagent to invoke when an event matches.


eventSources

eventSources: EventSourceConfig[]

Defined in: types/agent.ts:90

Event sources that feed into this service subagent.

Methods

shouldInvoke()?

optional shouldInvoke(event): boolean

Defined in: types/agent.ts:92

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

Parameters

event

ExternalEvent

Returns

boolean

Built with VitePress