Commit Graph

448 Commits

Author SHA1 Message Date
Ryan Sweet 81463c0c64 Rysweet contibruting.md (#460)
* add standard contributing.md Fill out contributing guide on website #455

* add contibuting.md #455

* Update CONTRIBUTING.md

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

* Update CONTRIBUTING.md

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

* Update CONTRIBUTING.md

Co-authored-by: gagb <gagb@users.noreply.github.com>

* add symlink to top level contributing

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-09-11 17:40:16 -04:00
Eric Zhu 976a7d4d77 create model context component, remove chat memory component, refactor samples #454 (#469)
* create model context component, remove chat memory component, refactor samples #454

* Fix bugs in samples.

* Fix

* Update docs

* add unit tests
2024-09-11 14:35:35 -07:00
Helen 82bb342fb3 Fix a broken link (#471) 2024-09-11 12:18:26 -07:00
Eric Zhu 2345557c62 add router to message handler Routing Predicates for message_handler in RoutedAgent #397 (#446)
* add router to message handler Routing Predicates for message_handler in RoutedAgent #397

* route --> match

* update docs

* type checking message parameter

* update docs

---------

Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
2024-09-11 15:26:09 +08:00
Jack Gerrits 5f86ce18f2 Update task to be something that can be done in a container standalone (#466) 2024-09-10 15:30:05 -04:00
Jack Gerrits 05ff2d33e0 Rename codec to serializer (#462) 2024-09-09 18:32:29 -04:00
Aamir 66e0e8e097 Add slow human in loop sample (#423)
* Add slow human in loop

* Fix

* Fix

* Fix

* Fix input

* Don't persist to json

* Add comment

* Fix imports

* Feedback

* Use if instead of while

* Add stop_when

* Merge from UV

* Multiple handlers

* Allow multiple intervention handleres to be supplied

* intervention_handler -> intervention_handlers

* Fix up

* Merge

* Merge

* Fix termination

* Handle feedback

* fmt

* Fix

* Fix

* Add initial message in the assistant memory

* Documentation

* fmt

* Update comment

* Downgrade protobuf from v5 to v4

* Address feedback

* Update python/packages/autogen-core/samples/demos/slow_human_in_loop.py

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

* Update python/packages/autogen-core/samples/demos/slow_human_in_loop.py

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

* Update python/packages/autogen-core/samples/demos/slow_human_in_loop.py

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

* Address comment

* Fix

* Fix to use lambda

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-09 09:50:52 -07:00
Ryan Sweet 36f796bcdf Update README.md (#458) 2024-09-09 09:12:27 -07:00
Jack Gerrits 1135515364 Require lockfile to be up to date in CI (#457)
* Require lockfile to be up to date in CI

* use locked instead of frozen
2024-09-09 09:34:06 -04:00
Jack Gerrits 3be2059516 Add some FAQs to the website (#456) 2024-09-06 17:12:56 -04:00
Aamir df362c53cf Downgrade protobuf from v5 to v4 (#453) 2024-09-06 13:49:02 -04:00
Jack Gerrits 8504ea0bf2 Support datacontenttype and lay groundwork for unknown payloads (#444)
* Support datacontenttype and lay groundwork for unknown payloads

* Update dotnet based on proto changes
2024-09-05 16:36:59 -04:00
Jack Gerrits f941fe15a6 Add gen proto uncommitted changes check (#451)
* Add gen proto uncommitted changes check

* Update checks.yml

* Update agent_worker.proto

* Update agent_worker.proto
2024-09-05 12:58:55 -04:00
Jack Gerrits df44d26c87 Fix docs edit link and ref links (#448) 2024-09-05 11:24:02 -04:00
Aamir dacd290f1e Add a generic `stop_when` to runtime (#431)
* Add stop_when

* Format

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-08-30 15:28:51 -04:00
Aamir 042958e3ab Allow multiple intervention handlers to be supplied to the runtime (#435)
* Allow multiple intervention handleres to be supplied

* intervention_handler -> intervention_handlers

* Run format

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-08-30 15:24:25 -04:00
Jack Gerrits c72e2484c2 Fix pytest asycio warning (#440) 2024-08-30 14:00:20 -04:00
Jack Gerrits ba64f442de Remove static subscription restriction (#439) 2024-08-30 14:00:11 -04:00
Eric Zhu 479d5fa9d1 Fix documentation bug (#438) 2024-08-30 07:33:46 -07:00
Jack Gerrits a51b793667 Update aspire version (#437)
* Update aspire version

* update other aspire packages
2024-08-30 09:53:20 -04:00
Jack Gerrits 0f9254b4fa Update installation instructions based on directory moves (#436) 2024-08-30 09:37:11 -04:00
Aamir fa826ab71c Add lock file and update readme (#434)
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-08-30 09:10:26 -04:00
afourney 243c095796 Updated the root path discovery in agbench to reflect latest folder structure. (#433) 2024-08-29 15:07:17 -07:00
Jack Gerrits d2c8b7a531 Update README.md (#432) 2024-08-29 17:58:00 -04:00
Jack Gerrits 4faa5980fb fix version (#430) 2024-08-29 17:21:53 -04:00
Jack Gerrits 581cda0cfd Pin grpc and gen task (#429) 2024-08-29 14:37:03 -04:00
Jack Gerrits 4f9626c447 Add cookiecutter (#428) 2024-08-29 11:46:30 -04:00
Jack Gerrits 90dfcaf28f Update version and description of core (#427) 2024-08-29 10:56:33 -04:00
Jack Gerrits 67003593a0 Add cookiecutter template for new package (#426) 2024-08-29 10:29:12 -04:00
Jack Gerrits 4ff5610853 Migrate to uv and poe for workspace management and task running (#424)
* Migrate to uv and poe for workspace management and task running

* install python

* try fix

* ensure workspace venv in used

* package dir

* move nbqa to mypy task

* separate sync, clarify docs
2024-08-29 09:46:06 -04:00
Jack Gerrits 6ef4a9a617 Remove files and fix website deployment (#421) 2024-08-28 13:39:59 -04:00
Jack Gerrits 5e8840d13c Python: organize packages in package directory (#420)
* Move packages to packages directory

* remove screenshot

* update some paths
2024-08-28 13:35:21 -04:00
Jack Gerrits 725f13c3f8 Rename `agnext` package to `autogen_core` (#418)
* Rename agnext to autogen_core

* fix file name

* fix more file names
2024-08-28 12:47:04 -04:00
Jack Gerrits 3d515a734b Rename `agnext.core` module to `agnext.base` (#416)
* rename core module to base

* Rename agnext.core to agnext.base
2024-08-28 12:14:35 -04:00
Eric Zhu 87c00a554d Core concept doc refactor and add documentation for topic and subscription (#414)
* Refactor core concept docs and add new ones for agent identity and topic subscription.

* update notebook

* update notebook

* resolve conflict

* fix link

* fix ref

* update notebook

* update notebook
2024-08-28 01:09:28 -07:00
afourney a8343c7244 Specify that text files are utf-8 in mdconvert (#412) 2024-08-27 16:27:58 -07:00
Jack Gerrits bb55e7a20e Remove namespace check (#411)
This is no longer correct after the move to topics
2024-08-27 17:04:22 -04:00
Eric Zhu 12cf331e71 Add tool_agent_caller_loop and group chat notebook. (#405)
* Add tool_agent_caller_loop and group chat notebook.

* Fix types

* fix ref

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-08-27 15:11:48 -04:00
Hussein Mozannar c8f6f3bb38 Fix TeamOne examples with subscriptions to topics (#407)
* logprobs openai support

* remove print statement

* Update _types.py

* Update _openai_client.py

* empty commit to run checks

* fix teamone examples subscription

* update sample usage

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
2024-08-27 15:03:21 -04:00
Jack Gerrits 4eadecf4c9 Fix lint issue in agbench (#409)
* Fix lint issue in agbench

* remove import
2024-08-27 14:09:30 -04:00
Enhao Zhang 62e5e5b88d Decrement the count of outstanding tasks before returning in the event of an exception. (#406) 2024-08-26 20:55:05 -07:00
Eric Zhu c8084ada4e Add quick start and utils for extracting code blocks (#404)
* Add quick start and utils for extracting code blocks

* format

* Spelling
2024-08-26 17:23:27 -07:00
Hussein Mozannar c779d4177b Support for Logprobs in chatcompletion (#401)
* logprobs openai support

* remove print statement

* Update _types.py

* Update _openai_client.py

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-26 18:18:41 +00:00
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 4c964fa772 Implement default sub and topic (#398)
* Implement default sub and topic

* format

* update test
2024-08-23 13:01:57 -07:00
Jack Gerrits 8f082cecda Initial design proposal for message routing (#245)
* Add design doc for routing

* rename

* add explanations

* Update 02 - Message routing.md

* add examples, rename to type

* add naming clarification

* add regex

* update spec based on feedback

* Remove open question
2024-08-23 13:31:26 -04:00
Enhao Zhang 7a919b1a17 Update the chat history of orchestrator (#379)
* update the chat history at the beginning of the _handle_broadcast() rather than inside _select_next_agent()

* add await

* Add plans to chat history

* formatting

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-22 20:56:04 +00: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