Skip to content

Conversation

@Guikingone
Copy link
Contributor

@Guikingone Guikingone commented Feb 9, 2026

Q A
Bug fix? no
New feature? yes
Docs? yes
Issues --
License MIT

This PR aims to introduce the support for "policies" at the Agent level, Policies are a way to enable/disable features in agents (think of it like stamps on Messenger messages` or "feature-flags").

This PR is an extension of a discussion with @chr-hertel last week about the refactoring of Agent, the main goal is to allow adding new features depending on the configuration of an agent and the enabled policies (for example, we might want to enable SpeechPolicy to add the support for Speech as implemented in #943, it can also help the introduction of Evaluator later and many more).

For now, the DelayPolicy is added to show how the code is added into the component, the goal of this policy is to add a delay before/after sending/receiving the input/output.

PS: The code is decoupled from input/outputs processors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant