Skip to main content

Interface: GroupPolicy

Defined in: packages/agentos/src/io/channels/types.ts:254

Group-chat safety policy. Evaluated by evaluateGroupPolicy() (./group-policy.ts) before inbound group messages reach the agent — enforced in ChannelRouter and reusable by host security gates.

Properties

activation

activation: GroupActivation

Defined in: packages/agentos/src/io/channels/types.ts:256

When the agent engages in group conversations. Recommended default for new bindings: 'mention'.


allowFrom?

optional allowFrom: string[]

Defined in: packages/agentos/src/io/channels/types.ts:260

Only these sender IDs may activate the agent (empty/undefined = everyone).


botLoopProtection?

optional botLoopProtection: boolean

Defined in: packages/agentos/src/io/channels/types.ts:266

Drop messages from bot senders (loop protection). Default true.


denyFrom?

optional denyFrom: string[]

Defined in: packages/agentos/src/io/channels/types.ts:262

These sender IDs are always dropped (wins over allowFrom).


ownerIds?

optional ownerIds: string[]

Defined in: packages/agentos/src/io/channels/types.ts:258

Extra owner user IDs honored by 'owner-only' (the binding's ownerUserId always counts).


toolRestrictions?

optional toolRestrictions: string[]

Defined in: packages/agentos/src/io/channels/types.ts:264

Tool names blocked for turns originating from this group (host-enforced).