486 Commits

Author SHA1 Message Date
Jack Gerrits
432b1c1213 Migrate build tools to hatch (#93)
* Migrate build tools to hatch

* fmt

* fix workflows

* add tldr

* simplify hatch usage and environments

* add hatch to devcontainer
2024-06-19 13:49:13 -04:00
Jack Gerrits
1c69c3ad0b Fix namespace registration (#92) 2024-06-19 10:49:08 -04:00
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
51c8b678de exception in intervention (#82)
* exception in intervention

* log
2024-06-17 17:34:56 -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
c29218b329 Add agent proxy (#84) 2024-06-17 12:43:51 -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
Jack Gerrits
8dad8b0536 Make parenthesis optional for type routed agent message handler (#74) 2024-06-13 16:44:51 -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
Jack Gerrits
c36ea487e0 Flesh out agent docs more (#71) 2024-06-12 17:10:17 -04:00
Jack Gerrits
92d413e877 Fix links, add index content, move contrib (#70) 2024-06-12 15:21:20 -04:00
Eric Zhu
1dc22d9672 Add documentation (#68)
* initial docs

* update docs

* Update agent.md

* Update memory.md

* Update runtime.md

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-06-12 11:25:42 -04:00
Kosta Petan
178e209e5f Initial devcontainer scaffolding (#66)
* adds devcontainer setup, docker-compose based

* add python via a feature
2024-06-12 05:23:49 +00: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
c6360feeb6 Fix function tools (#57)
* Fix function tools

* lint
2024-06-06 21:58:11 -04:00
Jack Gerrits
06ba5d3ca8 Rename ModelClient to ChatCompletionClient (#54) 2024-06-05 19:51:40 +00: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
837c388d38 Update readme (#52)
* Update README.md

* Update README.md
2024-06-05 18:44:23 +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
19570fdd98 Port changes from agexplore (#47) 2024-06-04 14:17:04 +00:00
Jack Gerrits
69627aeee6 Remove accidentall added test file (#46) 2024-06-04 14:02:51 +00:00
Jack Gerrits
c0143069f4 Rename modules (#45) 2024-06-04 14:00:05 +00:00
Jack Gerrits
805707c89a Format docstrings with ruff (#43) 2024-06-04 13:36:12 +00:00
Jack Gerrits
492f8ecae0 Add detailed instructions for installation (#44) 2024-06-04 13:34:56 +00:00
Jack Gerrits
7bfd182a0f Add doc about how to use aad for model client (#38)
* Add doc about how to use aad for model client

* update after testing
2024-06-03 16:06:04 -04:00
Eric Zhu
a97703e441 Code executor cleanup (#37)
* Remove code extractor; remove sanitization; clean up oai assistant; remove random agent. #36

* format
2024-06-02 20:49:46 -07: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
Jack Gerrits
2dc7af87ef Add function and code execution (#34)
* WIP code execution

* add tests, reorganize

* fix polars test

* credit statements

* attributions
2024-05-29 17:12:02 -04:00
Jack Gerrits
15268a86dd add structured logging for llm calls (#33)
* add structured logging for llm calls

* fix dep version
2024-05-29 10:38:11 -04: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
f4a5835772 prevent publish to self (#29) 2024-05-28 20:21:40 +00:00
Jack Gerrits
7568a7a447 impl state management (#28) 2024-05-27 20:25:25 -04:00
Jack Gerrits
afc1666d5b organize core submodule (#27) 2024-05-27 17:10:56 -04:00