Commit Graph

448 Commits

Author SHA1 Message Date
Jack Gerrits 1d6dbc409b Fix install instructions (#104) 2024-06-21 15:46:19 -04:00
Eric Zhu ef12ca4b4e small doc fixes (#103) 2024-06-21 08:49:57 -07:00
Jack Gerrits afdbae2bb9 remove binding from base agent (#100) 2024-06-21 14:47:51 +00:00
Jack Gerrits b35fe0bd22 Use uv instead of pip for env creation (#99) 2024-06-21 14:43:28 +00:00
Eric Zhu f72c8ac8d9 update documentation (#102) 2024-06-21 05:05:54 -07: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
Reuben Bond c9e09e2d27 Merge pull request #79 from microsoft/rebond/merge-repos
Initial OAgents + AGNext merge
2024-06-20 07:19:44 -07:00
Jack Gerrits 83febe56bb Merge branch 'main' into rebond/merge-repos 2024-06-20 10:11:16 -04:00
Reuben Bond fbb4a5a801 Code style cleanup 2024-06-19 19:25:07 -07:00
Reuben Bond 27d04bdff5 Add .editorconfig & use centralized package management 2024-06-19 16:53:37 -07:00
Reuben Bond c5cec3afbd Merge project-oagents into agnext 2024-06-19 15:34:04 -07:00
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