510 Commits

Author SHA1 Message Date
Jack Gerrits
3022369eeb
Flatten core base and components (#4513)
* Flatten core base and components

* remove extra files

* dont export from deprecated locations

* format

* fmt
2024-12-03 17:00:44 -08:00
gagb
6706dce577
Improves tutorial (#4507)
* Change nav depth

* Remove repetitive module names

* Increase nav depth

* Decrease base font size of docs

* Improve docs

* Undo css change
2024-12-03 16:54:53 -08:00
afourney
31cb50bce9
Added the coder used by MagenticOne. (#4511)
* Added the coder used by MagenticOne.

* Fixed formatting.

---------

Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-12-03 16:08:18 -08:00
Eric Zhu
32aa452af8
Remove autogen_agentchat.tasks, create autogen_agentchat.ui and autogen_agentchat.conditions (#4512) 2024-12-03 15:24:25 -08:00
Eric Zhu
b62f8f63dc
Remove logging from autogen agentchat (#4510) 2024-12-03 14:45:10 -08:00
Eric Zhu
50e84b945e
Move handoff to base in agentchat (#4509) 2024-12-03 14:34:55 -08:00
afourney
5235bbc0d6
FileSurfer in AgentChat (#4360)
* Added an implementation of FileSurfer to AgentChat
2024-12-03 12:14:47 -08:00
Jack Gerrits
50fea44539
Update allowed values for agent and topic type (#4484)
* allowed_type_values

* add return for post init

* Update python/packages/autogen-core/src/autogen_core/base/_agent_id.py

* Update python/packages/autogen-core/src/autogen_core/base/_topic.py

* Merge branch 'main' into allowed_type_values

* lint
2024-12-03 10:12:42 -08:00
Jack Gerrits
954ba84fe7
Change base agent to use on message impl (#4485)
* Change base agent to use on message impl

* update doc

* Update

* Merge branch 'main' into on_msg_impl
2024-12-03 10:04:12 -08:00
afourney
934ae03851
Allow users to update the final answer prompt of MagenticOne orc. (#4476)
* Allow users to update the final answer prompt of MagenticOne orchestrator.
2024-12-03 09:44:54 -08:00
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
afourney
c062c510b7
Flush console output after every message. (#4475) 2024-12-02 16:51:50 -08:00
Jack Gerrits
95dfe7bf22
Core doc edits, mostly visibility of private methods (#4457) 2024-12-02 14:36:00 -08:00
Jack Gerrits
732391859d
Update code_lint.py (#4470) 2024-12-02 16:42:28 -05:00
Jack Gerrits
1b58f6e7d5
Remove unused agent props (#4453) 2024-12-02 13:15:23 -08:00
Leonardo Pinheiro
1f90dc5ea9
Update OpenAI Assistante Agent on_reset (#4423)
* update reset and imports

* add missing imports

* update lock file

---------

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
2024-12-02 15:48:18 +10:00
Hussein Mozannar
ac3424d619
MagenticOne Orchestrator Fixes (#4430) 2024-11-30 14:11:20 -08:00
gagb
f02aac78fb
Improve docs (#4428)
* Change nav depth

* Remove repetitive module names

* Increase nav depth
2024-11-29 16:50:40 -08:00
gagb
b1e40017c3
Fix client mismatch in video surfer and its tools (#4431)
* Add initial code

* Update and add readme

* Update

* update readme

* Refine action space

* Add tutorial

* Improve doc string

* Improve doc string

* Remove readme

* Update toml

* Update assignment

* Expose the tools

* Update pyproject toml

* Improve docs

* remove assignment'

* Run poe format

* Update uv lock

* Fix mypy errors

* Fix linting errors

* poe format

* run checks

* Updaye

* Rename submodule

* Improve documentation

* Use same model client in video surfer

* Use same model client in video surfer

* Update uv lock

---------

Co-authored-by: Mohammad Mazraeh <Mazraeh.Mohammad@Gmail.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-11-29 16:27:30 -08:00
gagb
b6a7d56844
Adds Video Surfer to autogen_ext (#4387)
* Add initial code

* Update and add readme

* Update

* update readme

* Refine action space

* Add tutorial

* Improve doc string

* Improve doc string

* Remove readme

* Update toml

* Update assignment

* Expose the tools

* Update pyproject toml

* Improve docs

* remove assignment'

* Run poe format

* Update uv lock

* Fix mypy errors

* Fix linting errors

* poe format

* run checks

* Updaye

* Rename submodule

* Improve documentation

---------

Co-authored-by: Mohammad Mazraeh <Mazraeh.Mohammad@Gmail.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-11-29 14:41:23 -08:00
Eric Zhu
f70869f236
update dev8 (#4417) 2024-11-27 14:39:31 -08:00
Eric Zhu
7e589a1bbb
User proxy documentation and fixes (#4401)
* Fix handoff bug in user proxy agent

* Update documentation

---------
2024-11-27 10:48:39 -08:00
Eric Zhu
52790a8de7
o1 support for agent chat, and validate model capabilities (#4397) 2024-11-27 10:45:51 -08:00
Eric Zhu
3058bafcf2
Propagate team cancellation token in agentchat (#4400)
* Propagate team cancellation token in agentchat

* Docs

---------

Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-11-27 10:40:34 -08:00
Jack Gerrits
a4067f6c0a
Migrate Python distributed runtime to use cloud events for event (#4407)
* Cloud event publishing

* Implement cloud event receiving

* impl host servicer and
2024-11-27 08:32:03 -08:00
Jack Gerrits
bd77ccbd7b
Serialize to Proto.Any for python serializer (#4404) 2024-11-27 07:32:01 -08:00
Eric Zhu
a4e6d0d977
Add grpcio back to deps (#4402)
* Add grpcio back to deps

* Update uv lock
2024-11-27 09:08:14 -05:00
Hussein Mozannar
6184e15c5e
Fix Reset of Magentic-One Orchestrator (#4394)
* fix reset magentic one

* fix infinite reset
2024-11-26 22:59:08 -08:00
Hussein Mozannar
531ec38073
Ags web surfer (#4340)
* initial addition

* working without multimodal messages

* show images

* remove temp changes

* ui type websurfer

* fix issue with image width, enable text truncation, enable viewing images full screen

---------

Co-authored-by: Victor Dibia <victor.dibia@gmail.com>
2024-11-26 21:24:45 -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
Victor Dibia
fe96f7de24
Add Session Saving to AGS (#4369)
* fix import issue related to agentchat update #4245

* update uv lock file

* fix db auto_upgrade logic issue.

* im prove msg rendering issue

* Support termination condition combination. Closes #4325

* fix db instantiation bug

* update yarn.lock, closes #4260 #4262

* remove deps for now with vulnerabilities found by dependabot #4262

* update db tests

* add ability to load sessions from db ..

* format updates, add format checks to ags

* format check fixes

* linting and ruff check fixes

* make tests for ags non-parrallel to avoid db race conditions.

* format updates

* fix concurrency issue

* minor ui tweaks, move run start to websocket

* lint fixes

* update uv.lock

* Update python/packages/autogen-studio/autogenstudio/datamodel/types.py

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

* Update python/packages/autogen-studio/autogenstudio/teammanager.py

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

* reuse user proxy from agentchat

* ui tweaks

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Hussein Mozannar <hmozannar@microsoft.com>
2024-11-26 15:39:36 -08:00
Jack Gerrits
df183be35a
Add special topic for agent direct messaging (#4385)
* Add special topic for agent direct messaging

* move to base

* update sub counts

* Fix tests
2024-11-26 17:01:25 -05:00
Jack Gerrits
cf80b1bc14
Add request_id parameter (#4384) 2024-11-26 16:09:14 -05:00
Jack Gerrits
1f07e5bea5
Add type prefix subscription (#4383)
* Add type prefix subscription

* update example

---------

Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-11-26 15:58:26 -05:00
peterychang
74bcd5e0f6
add protobuf serialization test (#4224)
* add protobuf serialization test

* proto file regeneration

---------

Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Mohammad Mazraeh <Mazraeh.Mohammad@Gmail.com>
2024-11-26 15:37:40 -05:00
Jack Gerrits
5aecb56ebd
Add badges, update contributing, add pointers in various places (#4371) 2024-11-26 08:04:59 -08:00
Eric Zhu
bcd6e71e7f
Fix assistant agent doc (#4365) 2024-11-25 18:18:13 -08:00
Jack Gerrits
1a02e2ba4b
Update version to dev7 (#4359)
* Update version to dev7

* update other references
2024-11-25 14:09:41 -08:00
Jack Gerrits
7c1cabf07e
Add tool to check example in docstrings (#4353)
* Add tool to check example in docstrings

* update lock

* add task

* add ignored message

* add example check CI
2024-11-25 16:10:45 -05:00
Jack Gerrits
6c8b656588
Fix examples in docstrings (#4356)
* Fix examples in docstrings

* formatting

* Update python/packages/autogen-ext/src/autogen_ext/models/_reply_chat_completion_client.py

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

* Update python/packages/autogen-ext/src/autogen_ext/models/_reply_chat_completion_client.py

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

* Update python/packages/autogen-ext/src/autogen_ext/agents/_openai_assistant_agent.py

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

* Update python/packages/autogen-ext/src/autogen_ext/agents/_openai_assistant_agent.py

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

* Update python/packages/autogen-ext/src/autogen_ext/models/_reply_chat_completion_client.py

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

* Update python/packages/autogen-ext/src/autogen_ext/models/_reply_chat_completion_client.py

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

* Formattinggp

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-11-25 16:07:45 -05:00
Jack Gerrits
8347881776
Fix intervention handler none check (#4351)
* Fix none check

* fix func

* fmt, lint

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-11-25 15:50:52 -05:00
Jack Gerrits
9b967fc79a
Update pyright and mypy (#4348)
* Update pyright and mypy

* fmt
2024-11-25 15:08:36 -05:00
Jack Gerrits
6bdd9c83b0
Add note for min python version (#4347)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-11-25 10:19:57 -08:00
Jack Gerrits
9209b2ffc1
Remove duplicate model info (#4346)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-11-25 10:17:24 -08:00
Gerardo Moreno
1b2d42d420
Termination Conditions Tutorial (#4334) (#4339)
* Termination Conditions Tutorial (#4334)

* Fix format

* Update python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/termination.ipynb

* Update python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/termination.ipynb

* Update python/packages/autogen-core/docs/src/user-guide/agentchat-user-guide/tutorial/termination.ipynb

* update docs

* update doc

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-11-25 10:09:06 -08:00
Jack Gerrits
b2ae4d1203
Add warnings for deprecated azure oai config changes (#4317)
* Add warnings for deprecated azure oai config changes

* Update docs and usages, simplify capabilities
2024-11-25 09:34:52 -08:00
Mohammad Mazraeh
341417e636
add tolerance for empty choices (#4311)
* add tolerance for empty choices

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

* address pr comments

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

* Update python/packages/autogen-ext/src/autogen_ext/models/_openai/_openai_client.py

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

* Update python/packages/autogen-ext/src/autogen_ext/models/_openai/_openai_client.py

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

* address pr comments

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

* Update python/packages/autogen-ext/src/autogen_ext/models/_openai/_openai_client.py

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

* Update _openai_client.py

---------

Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-11-25 09:06:35 -05:00
Kartik Ramesh
08383445fd
Fix typo in Agent Runtime Environments doc (#4336)
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-11-24 20:52:51 -05:00
Jack Gerrits
01dc56b244
Make grpc an optional dependency (#4315)
* Make grpc an optional dependency

* add note to the runtime docs

* update version

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-11-23 22:36:30 -08:00