3039 Commits

Author SHA1 Message Date
Jack Gerrits
9f0bdb154c Use mystnb for notebook rendering (#332)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-07 16:25:27 +00:00
afourney
ecde17a255 Re-added multimodality to mdconvert. (#330)
* Re-added multimodality to mdconvert.

* Fixed formatting.
2024-08-07 07:14:47 -07:00
Eric Zhu
1531a448ad Doc: multi-agent design pattern (#329)
* Doc: multi-agent design pattern

* Fix warnings.

* mypy

* fix type

* chore: Remove unused import and checkpoint code in langgraph_agent.py
2024-08-07 07:49:28 +00:00
afourney
8b13d59b59 Initial work porting WebArena to async (#325)
* Initial work porting webarena to async

* Perhaps resolved some of the eval() issues.
2024-08-06 16:25:18 -07:00
Andreas Volkmann
027791c00b Update _model_info.py (#328)
Add gpt-4o-2024-08-06
2024-08-06 15:17:00 -07:00
Xiaoyun Zhang
cf2fe4aa78
[.Net] Fix #3306 (#3310)
* break conversation when orchestartor return null

* enable test on different OS
2024-08-06 21:59:44 +00:00
Eric Zhu
5c7bb29fb3 use myst_nb for notebook docs; create getting started tutorial (#326)
* use myst_nb for notebook docs; refactor docs to separate concepts and code tutorial

* Get started tutorial

* fix types
2024-08-06 11:37:11 -07:00
wenngong
2ab74dbfb9
avoid circular import (#3276)
Co-authored-by: gongwn1 <gongwn1@lenovo.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-06 16:08:10 +00:00
Li Jiang
b370170faf
Stop retrieve more docs if all docs have been returned (#3282) 2024-08-06 04:02:12 +00:00
afourney
5ff275fad9 Handle errors in the TeamOne agent's message queue handler. (#324) 2024-08-05 13:36:25 -07:00
Eric Zhu
70d3c920c3 Add support for compiling Jupyter Notebooks into documentation pages (#323)
* add notebooks for documentation

* Merge remote-tracking branch 'origin/main' into ekzhu-notebooks

* Add install

* Add to checks
2024-08-05 12:27:03 -07:00
Andreas Volkmann
efa87784cc Validate agent description, DRY metadata (#321)
* Validate desc, DRY

* Update python/src/agnext/core/_base_agent.py

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-05 18:07:19 +00:00
Jack Gerrits
37be630dd8 Add ID to subscription (#317) 2024-08-03 12:30:11 -04:00
Jay
03bfb8fa20
Correcting tool calling with Cohere (#3271)
* Update cohere.py

Key in the directory should be 'message' and not 'content' as it checks for message empty at a later point in code.

* Update cohere.py

Added required comments to the changes made in previous commit.
2024-08-03 15:53:59 +00:00
Eric Zhu
1c95443db5 Add Azure Active Directory auth for Python samples (#315)
* add Azure Active Directory auth for samples

* Update README
2024-08-02 16:58:15 +00:00
Xiaoyun Zhang
a375d7ac38
[.Net] Remove Azure.AI.OpenAI from AutoGen.DotnetInteractive package (#3274)
* remove Azure.AI.OpenAI dependencies

* fix build error

* revert change
2024-08-02 16:35:07 +00:00
Xiaoyun Zhang
3186bb7610
only add the last message to chat history in SendAsync (#3272) 2024-08-02 16:35:00 +00:00
Jack Gerrits
1f9d5177d3 Instantiation context refactor (#293)
* WIP refactor instantiation context

* finish up changes

* Update python/src/agnext/core/_agent_runtime.py

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

* Update python/src/agnext/core/_agent_runtime.py

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

* add warning

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-02 11:02:45 -04:00
Prithvi
56007d1164
Fix Issue #2880: Document the usage of the AAD auth (#2941)
* Document the usage of the AAD auth. #2880

Added the document for the usage of AAD !

* Update website/docs/topics/llm_configuration.ipynb

Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>

* Updated Location and Link to Azure OpenAI documentation

* Update AutoTX Link on Gallery.json (#3082)

Co-Authored-By: Qingyun Wu <qingyun0327@gmail.com>
Co-Authored-By: Yiran Wu <32823396+yiranwu0@users.noreply.github.com>
Co-Authored-By: Chi Wang <wang.chi@microsoft.com>

* Making the required changes

Updated function description and parameter description as well. Also, created the corresponding cs file for the t4 file. And created the new test case and updated the checks as well.

* Revert "Making the required changes"

By mistake

* Update llm_configuration.ipynb

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
Co-authored-by: Yiran Wu <32823396+yiranwu0@users.noreply.github.com>
2024-08-02 14:45:45 +00:00
wenngong
354dca8035
[Feature]: Add global silent param for ConversableAgent (#3244)
* feat: add is_silent param

* modify param name

* param doc

* fix: silent only overwrite agent own

* fix: change _is_silent to static method and receive verbose print

* fix test failure

* add kwargs for ConversableAgent subclass

---------

Co-authored-by: gongwn1 <gongwn1@lenovo.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Umer Mansoor <umermk3@gmail.com>
2024-08-02 14:39:42 +00:00
Andreas Volkmann
d8bf7ee8a8 Add code analysis (#305) 2024-08-02 05:58:53 +00:00
Rajan
466c851743
[CAP] Added a factory for runtime (#3216)
* Added Runtime Factory to support multiple implementations

* Rename to ComponentEnsemble to ZMQRuntime

* rename zmq_runtime

* rename zmq_runtime

* pre-commit fixes

* pre-commit fix

* pre-commit fixes and default runtime

* pre-commit fixes

* Rename constants

* Rename Constants

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-08-02 00:36:04 +00:00
Andreas Volkmann
622b4e38e1 Update Python README.md (#306)
Update Python Readme with steps to make hatch work in IntelliJ-class IDEs.

For people like me to not waste time on figuring this out.

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-01 21:07:43 +00:00
Zubeir Mohamed
a238a0bbed Add name validation for OAI error prevention (#310)
* Name validation

* Fix build

* Add validation only for oai provider

* Use preexisting

* Fix formatting

---------

Co-authored-by: Zubeir Mohamed <zmohamed@microsoft.com>
2024-08-01 14:04:48 -07:00
Andreas Volkmann
7367b0a7fd Update .gitignore (#307) 2024-08-01 16:27:33 +02:00
Umer Mansoor
a246a79cda
Add additional tests to capture edge cases and more error conditions (#3237)
* Add additional unit tests to capture additional edge cases

* fix formatting issue (pre-commit)
v0.2.33
2024-07-30 13:57:32 +00:00
Eric Zhu
19f5463200 Fix chess example #298 (#301) 2024-07-30 00:11:42 -07:00
peterychang
136af65b74 Code execute cancellation (#299)
* Hook cancelation token into code execution

* Add unit test for code cancellation

* actually save the merge
2024-07-29 23:46:04 -07:00
afourney
ec654253d2 Introduces a BaseWorker agent, allowing for a TeamOneBaseAgent (#289) 2024-07-29 13:09:31 -07:00
Xiaoyun Zhang
04be2ee930
bump version and add release note (#3246) 2024-07-29 18:32:26 +00:00
Xiaoyun Zhang
2cfaf73ad8
[.Net] add SendAsync api to iterate group chat step by step (#3214)
* add SendAsync api and tests

* update example to use new sendAsync API
2024-07-29 16:32:45 +00:00
Mark Sze
cf29a2fac1
Recreated doc for Local LLMs - LiteLLM and Ollama - native function calling in Ollama (#3197)
* Recreated documentation for Local LLMs - LiteLLM and Ollama

* Added Docker = False for code execution example

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-07-29 15:04:44 +00:00
Umer Mansoor
36ead68c9a
Improve error messaging (#3236)
* Update error language and corresponding tests

* Updated another test to use the new error message
2024-07-29 14:50:46 +00:00
Umer Mansoor
d3d4cc0c2f
Fix reference links (#3239)
* fix broken reference links that's pointing to a page that doesn't exists

* Fix 2 broken links and use the correct format

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-07-29 14:44:52 +00:00
Li Jiang
f8663e3581
Update Microsoft Fabric notebook (#3243)
Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
2024-07-29 10:02:19 +00:00
Jib
56979a1105
[Typo] Update MongoDB Notebook to acknlowedge >=M10 support (#3220)
* [Typo] Update MongoDB Notebook to acknlowedge >=M10 support

The notebook instructions state we support only >=M30 clusters for AutoGen. This is slightly misleading. We support >=M10 clusters or any cluster that allows for index creation from client code. This support is continually updating so this PR updates the language to reflect that.

* Add link!

---------

Co-authored-by: Li Jiang <bnujli@gmail.com>
2024-07-29 08:20:41 +00:00
Qingyun Wu
277e535b7a
bump version (#3231)
* bump version

* update

* format

---------

Co-authored-by: kevin666aa <yrwu000627@gmail.com>
Co-authored-by: Yiran Wu <32823396+yiranwu0@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-07-28 23:28:59 +00:00
Alex Reibman
61b9e8bae2
Observability blog post styling hot fix (#3234)
* update markdown hyperlinks to stable urls

* update notebook images and text

* re-write observability section

* Updated section

* update wording

* added newline

* update styling in image tags to be jsx compatible

* added text

* update link

* simplified text

* created blog

* replace flow images with fewer shadows

* reformat line

* add authors

* updated discord link and direct paths to image URLS

* removed images since they are not stored in the AgentOps github

* remove trailing whitespaces

* removed newline

* removed whitespace

* Update website/blog/2024-07-25-AgentOps/index.mdx

Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>

* single quotes with double quotes

* fix widths

---------

Co-authored-by: Braelyn Boynton <bboynton97@gmail.com>
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
2024-07-27 22:14:05 +00:00
Umer Mansoor
33f29cbb59
Add gpt-4o-mini to model list (#3169)
* Add gpt-4o-mini to model list

* Fix formatting issue and verify with pre-commit

* Remove extra space

* Minor change to make pre-commit (formatting checks) pass

---------

Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: HRUSHIKESH DOKALA <96101829+Hk669@users.noreply.github.com>
Co-authored-by: Ian <ArGregoryIan@gmail.com>
2024-07-27 16:09:46 +00:00
Jatin Shridhar
d3c73e9d36
update input prompt message (#3149)
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
2024-07-27 16:08:51 +00:00
Cell
8ac9bba0be
Fix ConversableAgent break link in agent_chat.md file to include the .md extension in the link for ConversableAgent (#3221)
ConversableAgent has a break link in website/docs/Use-Cases/agent_chat.md file
2024-07-27 15:30:39 +00:00
Alex Reibman
849d877ea1
Agent Observability Blog Post (#3209)
* update markdown hyperlinks to stable urls

* update notebook images and text

* re-write observability section

* Updated section

* update wording

* added newline

* update styling in image tags to be jsx compatible

* added text

* update link

* simplified text

* created blog

* replace flow images with fewer shadows

* reformat line

* add authors

* updated discord link and direct paths to image URLS

* removed images since they are not stored in the AgentOps github

* remove trailing whitespaces

* removed newline

* removed whitespace

* Update website/blog/2024-07-25-AgentOps/index.mdx

Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>

* single quotes with double quotes

---------

Co-authored-by: Braelyn Boynton <bboynton97@gmail.com>
Co-authored-by: Mark Sze <66362098+marklysze@users.noreply.github.com>
2024-07-27 15:03:29 +00:00
Eric Zhu
2bc0a33f78 Add LangGraph agent example (#290)
* Add LangGraph agent example

* fix
2024-07-26 18:23:31 -07:00
peterychang
070a97ceaa make code execution async (#219)
* make code execution async

* python 3.10 does not support asyncio.timeout()

* make code execution cancellable

* make code execution async

* python 3.10 does not support asyncio.timeout()

* make code execution cancellable

* make entire callstack for code_executor async

* Update python/src/agnext/components/code_executor/_impl/local_commandline_code_executor.py

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

* fix variable description

* remove unnecessary code

* fix usage of execute_code_blocks

* fix usage of execute_code_blocks

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-07-26 22:37:34 +00:00
Eric Zhu
53343972f0 Fix links in sample README (#287)
* Update tool use examples to use inner agents rather than subclassing

* fix

* Merge remote-tracking branch 'origin/main' into ekzhu-update-tool-use-example

* Merge branch 'main' into ekzhu-update-tool-use-example

* Fix links in the sample.
2024-07-26 15:21:18 -07:00
Umer Mansoor
0c5cbd8b2b
Fix failing GitGuardian check (#3228) 2024-07-26 22:10:33 +00:00
Eric Zhu
47e1cf464f Update tool use examples to use inner agents rather than subclassing (#286)
* Update tool use examples to use inner agents rather than subclassing

* fix

* Merge remote-tracking branch 'origin/main' into ekzhu-update-tool-use-example
2024-07-26 15:04:52 -07:00
Jack Gerrits
6437374f63 Handle messages in a queue for team one base agent (#284)
* Handle messages in a queue for team one base agent

* fmt

* Enable RPC

* Hatch errors.

---------

Co-authored-by: Adam Fourney <adamfo@microsoft.com>
Co-authored-by: afourney <adam.fourney@gmail.com>
2024-07-26 16:48:39 -04:00
afourney
99b53557ca Allow Executor to search for code in multimodal messages. (#285) 2024-07-26 12:54:10 -07:00
peterychang
cf2bcd31ea Web surfer test (#248)
* Add web surfer test

* delete temp files

* formatting

* fix send_message calls

* fix mypy errors

* Add web surfer test

* delete temp files

* formatting

* fix send_message calls

* fix mypy errors

* fix CI checks

* CI code formatting

* Update hatch commands, add tests to CI

* add playwright to test env

* try fixing toml

* Update .github/workflows/checks.yml

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

* try fixing toml

* try fixing toml

* Update python/pyproject.toml

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

* try fixing toml

* try fixing toml

* modify correct pyproject.toml file

* add missing dependency

* Add browser_utils tests

* fix check errors

* run normalize code for test

* add missing dependency

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
Co-authored-by: afourney <adam.fourney@gmail.com>
2024-07-26 12:34:47 -07:00