1028 Commits

Author SHA1 Message Date
Jack Gerrits
2b565713d0
Make save/load state for agent async (#4195) 2024-11-15 10:38:01 -05:00
Thomas Lin
88229513e5
Update README.md (#4205)
* Update README.md

Should it be "Azure openAI service" ?

* Update README.md with links

---------

Co-authored-by: Hussein Mozannar <hssein.mzannar@gmail.com>
Co-authored-by: Hussein Mozannar <hmozannar@microsoft.com>
2024-11-14 21:37:20 -08:00
tsinggggg
8a4c928efa
feat: watsonx support (#4130)
* feat: watsonx support

* fix: addressing comments

* fix: addressing comments

* fix: addressing comments

* Delete python/packages/autogen-core/docs/src/user-guide/extensions-user-guide/watsonx-client-integration.md

* Update python/packages/autogen-core/docs/src/user-guide/extensions-user-guide/index.md

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-11-14 20:44:26 -08:00
Jack Gerrits
7628a4e6ac
Ensure all imports present for example (#4204)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-11-14 20:25:15 -08:00
Jack Gerrits
ea3a1c94e2
Add table for community packages (#4194) 2024-11-14 15:51:06 -08:00
Jack Gerrits
9ec7ecc29c
add Autogen 0.2 to packages page (#4193) 2024-11-14 15:30:18 -05:00
Li Jiang
c513f969a3
Replace AGNext with AutoGen (#4184) 2024-11-14 09:21:29 -08:00
afourney
4073dd4efb
Have Console print multimodal messages nicely. (#4179) 2024-11-13 21:06:55 -08:00
Hussein Mozannar
36b822cf8b
Fix lazy init websurfer (#4178)
* lazy init set

* format
2024-11-13 20:19:48 -08:00
afourney
a27a130b45
Initial work on ledger orchestrator. (#4164)
* Initial work on magentic-one orchestrator port.
2024-11-13 18:51:41 -08:00
Eric Zhu
233e482c7b
Max turn parameter for group chats (#4143)
* Max turn parameter for group chats

* Add note no usage
2024-11-13 15:10:04 -08:00
hasamm90
ac4091acf4
Update quickstart.ipynb (#4170)
Removed "can", making it: which defines the messages that are passed...

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-11-13 16:09:56 -05:00
Hussein Mozannar
317d5d03ec
Websurfer Refactor (#4165)
* first commit

* use_ocr flag

* initial refactor

* test

* small fixes

* adding animations, in progress

* red boundary animations

* add hover tool

* fix timeout time - reduces a lot of errors

* put prompts in separate file

* prompt organize

* add cursor animation

* format and checks pass

* added check for reset
2024-11-13 11:41:36 -08:00
Mehdi Baneshi
16463a8a98
Update topic-and-subscription.md (#4168) 2024-11-13 10:33:47 -05:00
Victor Dibia
b9f7282830
Add visualization of Agent Message Transitions State in AGS (#4148)
* add react-flow

* update tutorial, some ui improvement for agent thread layout

* v1 for interactive viz for agent state

* add Ui visualization of message based transitions

* minor updates

* fix node edges, support visualization of self loops

* improve edges and layout, add support for selector group chat prompt

* minor ui tweaks
2024-11-12 20:29:06 -08:00
Jack Gerrits
913c052a7d
Fix topic name for community samples (#4156) 2024-11-12 16:08:25 -08:00
afourney
51b361dfcf
WebSurfer changes - incl move to lazy init. (#4092)
* Move to lazy init.

* Fixed mypy error.

---------

Co-authored-by: Hussein Mozannar <hmozannar@microsoft.com>
2024-11-11 22:31:00 -08:00
afourney
e111db9afa
Handle on_reset (#4145) 2024-11-11 20:45:51 -05:00
Mohammad Mazraeh
570471bed7
Add reply chat completion client (#4096)
* initial implementation of reply chat completion client

---------

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-11-11 15:33:44 -05:00
Gerardo Moreno
3b8d0ddb67
Various Additions to the Documentation (#4139)
* Various docs improvements

* Update python/packages/autogen-core/docs/src/user-guide/core-user-guide/framework/command-line-code-executors.ipynb

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-11-11 15:23:25 -05:00
peterychang
0afde6da69
Protobuf serializer (#4137)
* protobuf serialization in python

* remove test code

* clarify TODO
2024-11-11 14:20:15 -05:00
Eric Zhu
e27c740961
dev6 (#4129) 2024-11-11 00:48:05 -05:00
Eric Zhu
4786f189bc
Handoff termination and show how to use it for asking user input (#4128)
* Handoff termination and show how to use it for asking user input

* lint
2024-11-11 00:38:52 -05:00
Eric Zhu
9f175089c5
Introduction to Teams for AgentChat (#4120)
* Add teams section

* wip don't merge

* Merge remote-tracking branch 'origin/main' into agentchat-team-tutorial

* update instruction about termination reset

* edit

* more guidline for script
2024-11-10 20:39:06 -08:00
Eric Zhu
5547a6716e
auto reset termination when a run stops (#4126) 2024-11-10 20:19:09 -08:00
Eric Zhu
1cc0f4f7c5
dev5 (#4124) 2024-11-10 21:42:22 -05:00
Eric Zhu
8f7c717149
reset --> on_reset :D (#4121) 2024-11-10 18:28:20 -08:00
Eric Zhu
12becdddb1
Update agentchat tutorial, refactor content (#4118)
Resolves Tutorial Chapter for Custom ChatAgent #4114 -- updated tutorial chapter on agents and custom agents
Update README example to use tool call
Added "Models" section in AgentChat tutorial.
Added place holder for Tutorial Chapter for Swarm #4113.
2024-11-09 19:07:39 -08:00
Victor Dibia
0e985d4b40
v1 of AutoGen Studio on AgentChat (#4097)
* add skeleton worflow manager

* add test notebook

* update test nb

* add sample team spec

* refactor requirements to agentchat and ext

* add base provider to return agentchat agents from json spec

* initial api refactor, update dbmanager

* api refactor

* refactor tests

* ags api tutorial update

* ui refactor

* general refactor

* minor refactor updates

* backend api refaactor

* ui refactor and update

* implement v1 for streaming connection with ui updates

* backend refactor

* ui refactor

* minor ui tweak

* minor refactor and tweaks

* general refactor

* update tests

* sync uv.lock with main

* uv lock update
2024-11-09 14:32:24 -08:00
Eric Zhu
f40b0c2730
Add Console function to stream result to pretty print console output (#4115) 2024-11-08 19:02:19 -08:00
Eric Zhu
3f28aa8874
SocietyOfMind agent for nested teams (#4110)
* Initial implementation of SOM agent

* add tests

* edit prompt

* Update prompt

* lint
2024-11-08 16:41:34 -08:00
Eric Zhu
111e69142b
Fix worker sample in core (#4104) 2024-11-08 12:18:07 -08:00
Eric Zhu
5fa38b0166
Add task type that are messages to enable multi-modal tasks. (#4091)
* Add task type that are messages to enable multi-modal tasks.

* fix test
2024-11-07 21:38:41 -08:00
Eric Zhu
9e388925d4
Initial web surfer implementation in extension (#4071)
* Initial web surfer implementation in extension

* Moved model client to constructor for consistency.

* Fixed uv lock.

* Merge branch 'main' into websurfer

* fix ruff
2024-11-07 16:47:53 -08:00
Eric Zhu
2e3155be2a
AgentChat pause, resume, and reset (#4088)
* AgentChat pause and resume a task
Resolves #3859

* Add

* Update usage

* Update usage

* WIP to address stateful group chat

* Refactor group chat to add reset and flags for running

* documentation
2024-11-07 16:00:35 -08:00
Mark Sze
930e61306a
Update README.md (#4078) 2024-11-06 13:17:00 -08:00
Mahesh Subramanian
2382ff9248
chore(typo): Fixing a typo in the agent identity document (#4070) 2024-11-06 10:07:13 -08:00
Eric Zhu
4be1c9cf76
Update Python version to 0.4.0.dev4 (#4068)
* Update version to dev4
2024-11-05 22:04:37 -08:00
Eric Zhu
5be7ac7b12
Move reset from a message to a command (#4073) 2024-11-05 21:40:46 -08:00
Eric Zhu
c3283c64a3
Agentchat refactor (#4062)
* Agentchat refactor

* Move termination stop message to a separate field in task result

* Update quick start example

* Use string stop reason instead of stop message in task result for simpler API

* Use main function
2024-11-05 08:07:49 -08:00
Hussein Mozannar
10987685b9
Update README.md for magentic-one (#4061) 2024-11-04 17:45:59 -08:00
Hussein Mozannar
8603317537
Magentic-One Log Viewer + preview API (#4032)
* update example script with logs dir, add screenshot timestamp

* readme examples update

* add flask app to view magentic_one

* remove copy example

* rename

* changes to magentic one helper

* update test web surfer to delete logs

* magentic_one icons

* fix colors - final log viewer

* fix termination condition

* update coder and log viewer

* timeout time

* make tests pass

* logs dir

* repeated thing

* remove log_viewer, mm web surfer comments

* coder change prompt, edit readmes

* type ignore

* remove logviewer

* add flag for coder agent

* readme

* changes readme

* uv lock

* update readme figures

* not yet

* pointer images
2024-11-04 17:18:46 -08:00
Gerardo Moreno
eca8a95c61
Remove isinstance check from FunctionTool (#3987) (#4056)
* Remove isinstance check from FunctionTool (#3987)

* Move __init__ Args to class docstring

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-11-04 16:48:57 -08:00
Eric Zhu
16e64c4c10
Rename model_usage to models_usage. (#4053) 2024-11-04 09:25:53 -08:00
Eric Zhu
4e5f3ababe
Update version to 0.4.0.dev3 (#4043) 2024-11-01 16:08:09 -07:00
Eric Zhu
4fec22ddc5
Team termination condition sets in the constructor (#4042)
* Termination condition as part of constructor

* Update doc

* Update notebooks
2024-11-01 15:49:37 -07:00
Eric Zhu
27ea99a485
Add token usage termination (#4035)
* Add token usage termination

* fix test
2024-11-01 15:01:43 -07:00
Eric Zhu
ca7caa779d
Add token usage to messages (#4028)
* Add token usage to messages

* small test edit
2024-11-01 13:20:25 -07:00
Eric Zhu
c3b2597e12
AssistantAgent no longer sends out StopMessage. We use TextMentionTermination("TERMINATE") on the team instead for default setting. (#4030)
* AssistantAgent no longer sends out StopMessage. We use TextMentionTermination("TERMINATE") on the team instead for default setting.

* Fix test
2024-11-01 12:35:26 -07:00
Eric Zhu
173acc6638
Custom selector function for SelectorGroupChat (#4026)
* Custom selector function for SelectorGroupChat

* Update documentation
2024-11-01 09:08:29 -07:00