39 Commits

Author SHA1 Message Date
Ryan Sweet
1c09de8d47
HelloAgents App Host with xlang sample (#4395)
* adds a python xlang sample and aspire code to host it
* fixes message delivery on dotnet runtime
2024-12-03 08:09:02 -08:00
Jack Gerrits
0d3bc948a1
Replatform closure agent on base agent (#4389)
* Replatform closure agent on base agent

* Fix mypy

* update agentcaht

---------
2024-11-26 16:33:37 -08:00
Jack Gerrits
45f16f534b
Fix deprecated usages (#4374) 2024-11-26 16:31:23 -08:00
Leonardo Pinheiro
ac53961bc8
Delete autogen-ext refactor deprecations (#4305)
* delete files and update dependencies

* add explicit config exports

* ignore mypy error on nb

---------

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-11-22 11:29:39 -05:00
Kapil Sachdeva
b8ea088e33
fix - stop using the deprecated register api in chess_game sample (#4265) 2024-11-18 22:48:00 -05:00
Mohammad Mazraeh
196c6169fc
Feat add UI streaming to distributed group chat (#4181)
* add ui streaming to distributed group chat example

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>

* fix pyright error after updating dependencies

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>

---------

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
2024-11-15 19:51:04 -08:00
Jack Gerrits
2b565713d0
Make save/load state for agent async (#4195) 2024-11-15 10:38:01 -05:00
Eric Zhu
111e69142b
Fix worker sample in core (#4104) 2024-11-08 12:18:07 -08:00
Mohammad Mazraeh
4023454c58
add simple chainlit integration (#3999) 2024-10-31 04:54:24 -07:00
Mohammad Mazraeh
0052e8179d
Add sample distributed group chat notebook (#3759)
* first notebook for distributed rock, paper and scissors

* add distributed group chat notebook

* fix formatting

* fix pipeline issues

* fix formatting issue

* promote distributed group chat notebook into a multiple files

* fix docs

* fix docs

* fix pyright

* Apply suggestions from code review

Add PR review suggestions

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

* improving group chat manager from round robin to LLM based

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>

* remove lfs file to fix

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>

* add gut back using lfs

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>

* re-add gif using lfs

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>

* remove gitattributes

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>

* redo git lfs add

---------

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-28 09:59:58 -07:00
Taylor Rockey
8895e014a8
Update README.md for Sematic Router Example (#3846)
Added contributors to recognize the other devs who helped build the example

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-19 00:19:24 +02:00
Taylor Rockey
aa68f08133
Create Semantic Router example (#3813)
* Create Semantic Router example

* ruff formatting

* linting fixes

* pyright fixes

---------
2024-10-18 11:07:38 -07:00
Eric Zhu
4935472c5e
Remove unused sample script (#3841) 2024-10-18 10:41:30 -04:00
Jack Gerrits
b09e6777a4
Restructure extensions, update corresponding docs (#3826)
* Restructure extensions, update corresponding docs

* update tests, add deprecation messages

* fix tests

* update lockfile

---------
2024-10-17 15:06:16 -07:00
vikas434
a45d97c82f
Correcting Typo in README.md (#3770) 2024-10-12 08:10:31 -07:00
Leonardo Pinheiro
c765a34cbf
Move docker code exec to autogen-ext (#3733)
* move docker code exec to autogen-ext

* fix test

* rename docker subpackage

* add missing renamed package

---------

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
2024-10-11 09:28:15 -07:00
Eric Zhu
da246ef71b
Move tool use with intervention to cookbook; remove duplicated examples (#658) 2024-09-28 03:57:44 +00:00
Eric Zhu
74a55c3907
Add multi-agent-debate pattern in documentation; remove from sample (#637) 2024-09-25 14:45:49 +00:00
Eric Zhu
a0ed11f8da
Add advanced mixture of agents guide; replacing the sample script (#634)
* Add moa cookbook for multi-layer mixture-of-agents

* Update moa
2024-09-25 12:19:09 +00:00
Eric Zhu
6c14c7859d
Remove samples that have duplicates in documentation (#631) 2024-09-25 11:26:26 +00:00
Jack Gerrits
dc02719f7c
Check for prints (#616)
* Check for prints

* format
2024-09-23 20:10:57 +00:00
Mohammad Mazraeh
1ac52729f4
add subscription deduplication (#594)
* add subscription deduplication

* format

---------

Co-authored-by: Mohammad Mazraeh <mmazraeh@microsoft.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-09-23 11:57:48 -04:00
Jack Gerrits
93e7127f1f
Change references from agenext to autogen (#610) 2024-09-23 10:46:05 -04:00
Jack Gerrits
ab6ba80a98
Update pyright extends for core (#562)
* Update pyright extends for core

* Fixes
2024-09-20 15:51:38 -04:00
Eric Zhu
8018677234
Add response for registering agent type and adding subscriptions in distributed runtime, and throws an exception when error (#582)
* Add response for registering agent type and adding subscriptions in distributed runtime

* Update unit tests

* lint
2024-09-19 10:50:17 -07:00
Jack Gerrits
093e261158
Initial impl of new register and subscriptions (#542)
* Initial impl of new register and subscriptions

* progress

* test fixes, main issue was unbound self in routed agent
2024-09-18 14:41:04 -04:00
Aaron Gätje
4998ab5398
Fix issues in python core samples (#549)
* fix issues

* remove sender from send_message call

* Fix agent type

---------

Co-authored-by: Aaron Gaetje <aagaetje@microsoft.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-18 10:49:13 -04:00
Jack Gerrits
68932331fd
fix docker samples, improve error message (#548)
* fix docker samples, improve error message

* mypy fixes

* format

* mypy ignore
2024-09-18 10:08:09 -04:00
Mohammad Mazraeh
0da2540327
add subscription to agents (#544)
Co-authored-by: Mohammad Mazraeh <mmazraeh@microsoft.com>
2024-09-17 16:38:54 -07:00
Eric Zhu
a6c1b503ad Distributed agent runtime API for host and worker; unit tests; documentation (#465)
* host agent runtime API and docs

* graceful shutdown of worker

* HostAgentRuntime --> WorkerAgentRuntimeHost

* Add unit tests for worker runtime

* Fix bug in worker runtime adding sender filed to proto. Documentation.

* wip

* Fix unit tests; refactor API

* fix formatting

* Fix

* Update

* Make source field optional in Event proto
2024-09-13 08:17:53 -07:00
Jack Gerrits
0376a0b399 Change examples and docs to use docker executor by default (#494) 2024-09-13 10:56:05 -04:00
raimondasl
385b63b36f Fixed AZURE_OPENAI_API_ENDPOINT name. Added needed packages. (#467)
* Fixed AZURE_OPENAI_API_ENDPOINT name. Added needed packages.

* remove hatch comment from doc

---------

Co-authored-by: Raimondas Lencevicius <rlencevicius@microsoft.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-09-11 14:57:06 -07: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
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
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
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
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