Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide way to explicitly "release" agent instance from memory #5374

Open
jackgerrits opened this issue Feb 5, 2025 · 2 comments
Open

Provide way to explicitly "release" agent instance from memory #5374

jackgerrits opened this issue Feb 5, 2025 · 2 comments

Comments

@jackgerrits
Copy link
Member

  • This could be done via full destruction or paging out in the virtual actor sense
@ekzhu ekzhu added this to the python-v0.4.x milestone Feb 6, 2025
@gpiroux
Copy link

gpiroux commented Feb 7, 2025

This would be really useful to take the full advantage of the actor model behind AutoGen.

For example in the debate demo we made with our akgentic framework based on the actor model, the user can ask dynamically to add supporters of one of the debaters to support him. But also to remove them... We have a pure dynamic chaos of interactions where the debaters are listening to everybody in an async mode to produce their answer :-)
See here of the short video : https://www.linkedin.com/posts/mihailo-backovic-2a03a5129_ai-akgents-b12-activity-7289658414182350849-xcem?utm_source=share&utm_medium=member_desktop

@jackgerrits
Copy link
Member Author

Based on that description it seems like you actually want to control subscriptions and not actual instances. Deleting an instance will do nothing if a subsequent message gets delivered to it and it just gets created again.

Make sure you go through this page: https://microsoft.github.io/autogen/stable/user-guide/core-user-guide/framework/message-and-communication.html

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

No branches or pull requests

3 participants