27 Commits

Author SHA1 Message Date
Jack Gerrits
3ba7a48b13 Implement try_get_underlying_agent_instance (#249) 2024-07-23 19:38:37 -04:00
Jack Gerrits
a52d3bab53 Agent factory can be async (#247) 2024-07-23 14:49:38 -04:00
Eric Zhu
c85da398a0 Cancellation for model client #90 (#240)
* Cancellation for model client #90

* format

* Use future
2024-07-22 10:59:16 -07:00
Eric Zhu
2041905acb Add token counting to chat completion client #220 (#239)
* Add token counting to chat completion client

* fix mypy

* ignore pyright for object type

* format
2024-07-19 18:44:22 -07:00
Kosta Petan
c425a447a7 Marketing sample migration to AGNext (#234) 2024-07-19 20:57:13 +00:00
Jack Gerrits
ec500a31b8 Marketing sample agents (#210)
* add writer impl

* add graphic designer

* add worker and auditor, remove writer

* add worker, add simple test main
2024-07-15 13:43:04 -04:00
afourney
14628f2ae0 add ParametersSchema to tools exports (#199) 2024-07-09 21:43:16 +00:00
Jack Gerrits
05e72084e8 Allow model client to accept the tool schema directly (#196) 2024-07-09 16:44:58 -04:00
Jack Gerrits
bf32bb67ae [Python] Specify subscriptions as strings and not types (#169)
* Add infra for message serialization

* Add message type registry to handle type registration
2024-07-08 16:45:14 -04:00
Jack Gerrits
766635394a Update send_message to be a single async operation. Add start helper to runtime to manage this (#165) 2024-07-01 11:53:45 -04:00
Eric Zhu
6b2cf8d938 Fix bug in logging for single threaded agent runtime. (#153)
* fix logging

* fix doc
2024-06-28 15:27:00 -07:00
Reuben Bond
ebed669231 Initial cross-language protocol for agents (#139)
* Initial prototype of .NET gRPC worker client + service

---------

Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
2024-06-28 08:03:42 -07:00
Jack Gerrits
13b0d0deb4 Implement closure agent (#143) 2024-06-28 10:22:44 -04:00
Eric Zhu
8308c928cb Add process_until_idle; add tests for cascading scenario. (#136)
* Add process_until_idle; add tests for cascading scenario.

* await publish

* update examples

* update examples

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-06-27 11:46:06 -07:00
Jack Gerrits
ec17dd16ed Organize logging (#138) 2024-06-27 14:36:05 -04:00
Jack Gerrits
a13c971b16 Change send/publish api to better support async and represent reality (#137)
* Make send and publish better represent reality

* fix team-one
2024-06-27 13:40:12 -04:00
Eric Zhu
44443c8aad Remove chat layer, move it to examples/common (#125) 2024-06-25 13:23:29 -07:00
Jack Gerrits
f24278c295 Rename OpenAI to OpenAIChatCompletionClient (#123) 2024-06-25 12:39:25 -04:00
Jack Gerrits
f5f4c39238 Add infra for message serialization (#122) 2024-06-25 12:08:38 -04:00
Jack Gerrits
bb4bb5bd14 Dont print exceptions for cancelled errors (#119) 2024-06-24 19:54:19 -04:00
Jack Gerrits
6189fdb05c simplify namespace usage (#116)
* simplify namespace usage

* format

* pyright
2024-06-24 16:52:09 -04:00
Eric Zhu
60acf8757d Add examples for mixture of agents; patch doc strings (#108)
* add examples for mixture of agents

* format
2024-06-24 07:46:53 -07:00
Jack Gerrits
0d697037a1 Remove runtime arg from group chat manager (#106) 2024-06-22 18:51:30 +00:00
Jack Gerrits
2d74fa9caf add example of use contextvar (#105) 2024-06-22 14:50:32 -04:00
Jack Gerrits
afdbae2bb9 remove binding from base agent (#100) 2024-06-21 14:47:51 +00:00
Eric Zhu
51dde2916f Move ChatMemory protocol to components.memory; rename files to use "_" convention for implementations. (#101) 2024-06-21 04:06:01 -07:00
Jack Gerrits
d365a588cb Move python code to subdir (#98) 2024-06-20 15:19:56 -04:00