963 Commits

Author SHA1 Message Date
peterychang
e0e99a1048
Standardize Agent and Topic ID strings + documentation (#638)
* Standardize Agent and Topic ID strings + documentation

* Add specs

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-26 19:45:38 +00:00
Jack Gerrits
95078d1237
Update conf.py (#650) 2024-09-26 16:38:36 +00:00
Eric Zhu
00289912da
Associate agent container and message types to group chat behavior protocol (#651)
* Agent container and message types is part of a group chat team behavior protocol.

* lint
2024-09-26 09:04:42 -07:00
Eric Zhu
7ba99186fb
Initial implementation of agentchat (#623)
* WIP implementation for agentchat

* WIP

* WIP

* wip

* WIP

* WIP

* WIP

* WIP

* fix types

* format

* fix build

* Fix build

* use a simpler implementation of thread -- list

* Select speaker to return speaker topic type

* add parent topic type to agent container

* Address comments

* Add check to make sure agent id is constant in a team run.

* Fix build
2024-09-25 23:15:17 +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
Leonardo Pinheiro
09501a0134
Add Broadcasting cookbook (#600)
* add cookbook initial draft

* add all boradcasting scenarios

* add to src tree

* linting

* address feedback

* rename pattern to scenario

---------

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
2024-09-24 20:36:15 -07:00
Enhao Zhang
afdfb4ea58
TeamOne cancellation token support and making logger a member variable (#622)
* Added cancellation token support for team_one; made logger a member variable of each agent.

formatting

fix error

fix error

formatting

* No need to create a new cancellation token
2024-09-24 16:54:22 -07:00
Enhao Zhang
6dcbf869ad
Fix future cancellation and outstanding_tasks bugs (#619)
* Fix outstanding_tasks and cancellation bugs

* formatting

* Use separate except blocks

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-09-24 21:09:08 +00:00
Jack Gerrits
7fc5ad9fff
Update installation instructions and banner for release (#625) 2024-09-24 14:58:02 -04:00
Ryan Sweet
dca82b3f5d
Rysweet dotnet refactor (#624)
rename the main classes and mixup folder structure
move some tings from samples into core
cleanup cross-deps
cleanup grpc deps
2024-09-24 09:26:30 -07:00
Jack Gerrits
dc02719f7c
Check for prints (#616)
* Check for prints

* format
2024-09-23 20:10:57 +00:00
Aamir
0172c7131d
Instrumentation cookbook (#583)
* Update cookbooks

* Fix

* Fix

* Add

* Update indexg

* resolve comments

* casing

---------

Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-23 17:53:30 +00:00
Jack Gerrits
3cba258df7
Fix home titleg (#613) 2024-09-23 17:45:16 +00:00
Jack Gerrits
52b06ca519
Update sub title (#612) 2024-09-23 16:39:36 +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
58ee8b7fc1
Overhaul landing page, change top links (#611)
* Overhaul landing page, change top links

* agent chat first
2024-09-23 15:37:05 +00:00
Jack Gerrits
93e7127f1f
Change references from agenext to autogen (#610) 2024-09-23 10:46:05 -04:00
Eric Zhu
8ea09318ce
Migrate docs to use BaseAgent.register (#605)
* Migrate docs to use BaseAgent.register

* Migrate docs to use BaseAgent.register

* lint format mypy
2024-09-20 22:42:57 +00:00
Jack Gerrits
ab6ba80a98
Update pyright extends for core (#562)
* Update pyright extends for core

* Fixes
2024-09-20 15:51:38 -04:00
Jack Gerrits
9009c2aa96
add test for skip_class_subscriptions (#604) 2024-09-20 15:37:38 +00:00
Eric Zhu
5f961681d8
Improve type subscription core concept with scenarios (#602) 2024-09-20 14:12:09 +00:00
Eric Zhu
6d3a88409e
Merge getting started into guides; update references; add figure for agent life cycle (#599)
* refactor documentation layout

* lint

* update
2024-09-19 17:11:26 -07:00
gagb
c7a3cf0dfc
Update application-stack.md (#597)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-09-19 23:43:46 +00:00
Jack Gerrits
741ccd77cc
Change team one confirmation to be on executor (#595)
* Add confirmation for messages produced by Coder

* change confirmation to be on executor
2024-09-19 22:10:39 +00:00
Jack Gerrits
e818a6160f
Add confirmation for messages produced by Coder (#591)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-09-19 21:46:33 +00:00
Eric Zhu
46ca778423
format (#593) 2024-09-19 20:59:39 +00:00
Jack Gerrits
d6dce9ebb1
allow class associated subscriptions to be skipped on register (#587)
* allow class associated subscriptions to be skipped on register

* format
2024-09-19 19:50:59 +00:00
gagb
7f25d28aac
Update architecture.md (#588) 2024-09-19 12:01:34 -07:00
Jack Gerrits
19f83debb1
Migrate team one to new subscriptions (#560)
Co-authored-by: afourney <adam.fourney@gmail.com>
2024-09-19 14:10:41 -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
b8dc9fce61
Fix subscription decorator sharing class instances among children (#571) 2024-09-19 10:01:03 -04:00
Eric Zhu
fd021db91c
Fix bug in register_factory for worker runtime (#563) 2024-09-19 02:08:35 +00:00
Eric Zhu
f5a13627e2
Add description of each example for team one (#569) 2024-09-19 00:16:54 +00:00
afourney
7b989c3ad6
Switch starting page of example to bing.com (#568) 2024-09-18 16:20:45 -07:00
Jack Gerrits
6bf62262a4
fix config for pyright for most (#561) 2024-09-18 20:23:53 +00:00
Ryan Sweet
7d7fc8a912
.NET cleanup and refactor (#558)
Moves some shared code from samples into core.
complete/cleanup the rename to Microsoft.AutoGen
adds new projects in AutoGen.Extensions
2024-09-18 11:57:51 -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
Taylor Rockey
a479a5e692
Update _worker_runtime_host_servicer.py (#557)
Updated _process_request to add to _pending_requests waiting for a response from the target, rather than the source of the request.
2024-09-18 11:19:17 -07: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
Jack Gerrits
79c30c1ebf
Fix pypi header icon, remove extra icon (#550) 2024-09-18 10:00:23 -04:00
Jack Gerrits
413b2215c7
move cookbook into correct dir (#547) 2024-09-18 09:22:59 -04:00
Eric Zhu
a8002636ad
Add scaffolding for autogen-ext (#541)
* add scaffolding for autogen-ext

* Make it into namespace package

* add uv lock

* add placeholder

* set ext packages

* add  to CI

* connect up docs

---------

Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-18 09:12:08 -04:00
Leonardo Pinheiro
c60a60e3c9
Add OAI image token count logic (#518) 2024-09-18 04:21:09 -07:00
gagb
53aabb88cb
Update agent-and-multi-agent-application.md (#546)
LGTM
2024-09-18 02:01:21 +00:00
frodoattempts
3568ab67a3
added litellm+ollama cookbook (#509)
* added litellm+ollama cookbook

* fix annotations

* fix type

* fix for ruff

* fix for ruff

* resolve comments

* add to index.rst

* reverting index.rst

* fix to ignore type

---------

Co-authored-by: prankur <prankurrusia@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-09-17 23:44:47 +00: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
Jack Gerrits
c6d40ce269
Scale api reference to multiple packages (#538)
* Scale api reference to multiple packages

* Use captioned toctrees per lib

* fix pyright
2024-09-17 14:16:13 -04:00