41 Commits

Author SHA1 Message Date
Jack Gerrits
4cebf7257b remove _ from send/pub, add docs, (#91)
* remove _ from send/pub, add docs,

* fixes
2024-06-18 15:51:02 -04:00
Jack Gerrits
5b01f69b58 Move agent creation into the runtime (#89)
* Move agent creation into the runtime

* update doc

* add test

* Remove limitation of subscriptions being same across namespaces

* constrain agent types to namespaces
2024-06-18 14:53:18 -04:00
Eric Zhu
6d7cbe0027 Add repo doc for examples #86 (#88)
* Add repo doc for examples

* fox
2024-06-17 17:54:27 -07:00
Eric Zhu
641d83fd10 add illustrator-critics demo; handle multi-modal messages in agents; refactored examples to use Textual app; equality comparison for AgentId (#87)
* add illustrator-critics demo; handle multi-modal messages in agents

* fix

* Refactored examples to use Textual app. Add equality comparison for AgentId
2024-06-17 17:20:46 -07:00
Jack Gerrits
edb939f4d7 use agent id in apis (#85) 2024-06-17 15:37:46 -04:00
Jack Gerrits
89f1133831 migrate name, desc, subs to metadata (#83)
* migrate name, desc, subs to metadata

* fix quote in f string

* remove file

* add metadata func to runtime

* format
2024-06-17 10:44:46 -04:00
Eric Zhu
40701a5a00 Textual Example; Tool Approver (#81)
* Update example to use textual app. Add tool approver setting to chat completion agent.

* dep

* fix
2024-06-15 18:04:24 -07:00
Eric Zhu
387aa6abb7 add pattern docs (#73) 2024-06-13 07:10:35 +00:00
Eric Zhu
f754f3ce2f HeadAndTail memory; add group chat manager transitions; update software_consultancy example (#72) 2024-06-12 15:28:00 -07:00
Eric Zhu
1b9f4641a7 fix buffered memory; update documentation (#65) 2024-06-11 00:46:52 -07:00
Eric Zhu
7d7992b21e Update group chat example and add a progress bar to chat completion agent (#64)
* update group chat example

* format

* fix
2024-06-10 21:43:06 -07:00
Eric Zhu
1448cbc138 Event-Based GroupChat and Update Examples (#62)
* initial

* convert examples to event-based; add user proxy agent.

* update examples
2024-06-10 19:51:51 -07:00
Eric Zhu
03efb87cd7 Chat room example for event-based agents (#61) 2024-06-09 18:06:51 -07:00
Eric Zhu
7ef502a33e Refactor chat (#60) 2024-06-09 12:11:36 -07:00
Eric Zhu
e99ad511fa Initial chat memory implementation (#59) 2024-06-08 16:29:27 -07:00
Eric Zhu
37cc6bc12a Improve assistant and chess examples to make them more robust and better presentation. (#58)
* Improve assistant and chess examples to make them more robust and better presentation.

* type dep

* format
2024-06-08 01:27:27 -07:00
Eric Zhu
21b730e7c6 oai assistant agent example and custom event handler for streaming mode (#56)
* oai assistant agent example

* wip

* open ai assistant with custom event handler

* doc
2024-06-07 14:46:13 -07:00
Eric Zhu
b4ade8b735 Add examples to showcase patterns (#55)
* add chess example

* wip

* wip

* fix tool schema generation

* fixes

* Agent handle exception

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>

* format

* mypy

* fix test for annotated

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-06-07 13:33:51 -07:00
Jack Gerrits
ab420cc9ee Overhaul tools (#53)
* Overhaul tools

* add a simple test

* mypy fixes

* format
2024-06-05 19:48:14 +00:00
Jack Gerrits
8cb530f65e Simplify handler decorator (#50)
* Simplify handler decorator

* add more tests

* mypy

* formatting

* fix 3.10 and improve type handling of decorator

* test fix

* format
2024-06-05 08:51:49 -04:00
Jack Gerrits
ad513d5017 rename llm to models (#49) 2024-06-04 12:09:34 -04:00
Jack Gerrits
ed0229734d Organize some more modules (#48)
* Organize some more modules

* cleanup model_client
2024-06-04 11:13:13 -04:00
Jack Gerrits
c0143069f4 Rename modules (#45) 2024-06-04 14:00:05 +00:00
Eric Zhu
04c30596ed add tool call to chat completion agent (#35)
* add tool call to chat completion agent

* refactor function executor; tool executor in chat completion agent

* update example

* update orchestrator chat demo

* handle function execution result message type

* format

* temp fix for examples.

* fix

* update chat completion agent
2024-05-30 09:01:35 -07:00
Eric Zhu
cd147b6eed chat completion agent and state (#32)
* chat completion agent

* use response format enum; use Message type for chat history; remove name from state
2024-05-28 23:18:28 -07:00
Eric Zhu
e3a2f79e65 Orchestrator Chat and OAI Assistant update (#31) 2024-05-28 18:11:55 -07:00
Eric Zhu
ecbc3b7806 oai assistant and pattern fixes (#30) 2024-05-28 22:49:30 +00:00
Jack Gerrits
afc1666d5b organize core submodule (#27) 2024-05-27 17:10:56 -04:00
Jack Gerrits
cb55e00819 Remove require_response, rename broadcast to publish, remove publish responses (#25)
* rename broadcast to publish

* remove require response, remove responses from publishing
2024-05-26 08:45:02 -04:00
Jack Gerrits
b6dd861166 Organize model client (#24)
* Organize model client

* update patterns
2024-05-26 12:21:48 +00:00
Jack Gerrits
00ffb372d1 Update group chat and message types (#20)
* Update group chat and message types

* fix type based router
2024-05-24 21:25:17 +00:00
Eric Zhu
d941a0a733 fix some bugs (#14) 2024-05-23 17:17:07 -07:00
Jack Gerrits
8d1f4aedc0 Add require response and remove generic types (#13) 2024-05-23 13:00:05 -07:00
Eric Zhu
d77390dc07 First draft for chat layer. (#10) 2024-05-23 08:23:24 -07:00
Jack Gerrits
5afbadbe43 Add support for task cancellation (#7)
* Add support for task cancellation

* add tests to CI

* matrix for python testing
2024-05-20 15:32:08 -04:00
Eric Zhu
b67d096a95 Add example for round robin chat (#4) 2024-05-17 16:36:46 -07:00
Eric Zhu
5f7ef086e2 Renaming things (#3)
* Rename event to message
* rename SendMessage etc to SendMessageEnvelope etc
2024-05-17 14:59:00 -07:00
Jack Gerrits
ebee8b856f add model client component (#2) 2024-05-17 09:09:59 -06:00
Jack Gerrits
02675126be Rename message router to agent runtime (#1) 2024-05-16 08:51:41 -04:00
Jack Gerrits
f32f9eea02 migrate prototype to initial impl 2024-05-15 12:31:13 -04:00
Jack Gerrits
813a9e1ddb split into example 2024-05-15 09:59:23 -04:00