6 Commits

Author SHA1 Message Date
Jack Gerrits
dbb35fc335 Migrate to using default sub/topic (#403) 2024-08-26 07:30:28 -07:00
Eric Zhu
d7ae2038fb Rename TypeRoutedAgent to RoutedAgent; log on unhandled message. (#400)
* Rename TypeRoutedAgent to RoutedAgent; log on unhandled message.

* format

* Deprecation warning

* add test for routed agent

* add TypeRoutedAgent import

* fix import
2024-08-23 13:22:31 -07:00
Jack Gerrits
30d1b50c0d Add subscription factory to AgentRuntime.register (#393)
* Add subscriptions to factory

* tests and bug fix
2024-08-22 13:53:35 -07:00
Eric Zhu
dc847d3985 Implement RPC and Subscription-based broadcast for python host and worker runtime. (#389)
* Refactor subscription in single threaded agent runtime

* Update proto to support response result type

* Support RPC and subscription-based broadcast for Python host and worker runtime.

* format
2024-08-22 16:07:28 +00:00
Jack Gerrits
e1a823fb6d Initial impl of topics and subscriptions (#350)
* initial impl of topics and subscriptions

* Update python/src/agnext/core/_agent_runtime.py

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>

* add topic in context

* migrate

* migrate code for topics

* migrate team one

* edit notebooks

* formatting

* fix imports

* Build proto

* Fix circular import

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-20 14:41:24 -04:00
Eric Zhu
5eca0dba4a Python host and worker runtime for distributed agents. (#369)
* Python host runtime impl

* update

* ignore proto generated files

* move worker runtime to application

* Move example to samples

* Fix import

* fix

* update

* server client

* better shutdown

* fix doc conf

* add type
2024-08-19 10:06:41 -04:00