Commit Graph

387 Commits

Author SHA1 Message Date
Eric Zhu eb4a5b7df5 update readme and add `CHANGELOG.md` (#368)
* update readme

* Add change log
2024-08-17 06:05:18 +00:00
Jack Gerrits 853b00b0f0 Add message context to message handler (#367)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-17 03:14:09 +00:00
peterychang bc26ec3de4 Azure container code execution (#346)
* Azure container code execution

* fix check errors. Remove unnecessary file

* add TokenProvider class

* update deps

* addressing PR comments

* update docstring

* switch to aiohttp

* fix client timeout
2024-08-14 10:41:49 -04:00
gagb 698a8f374b Catch json decode error in file surfer (#352)
* Remove commented code

* Removed unused code

* Add try except to catch json decode error

---------

Co-authored-by: afourney <adam.fourney@gmail.com>
2024-08-08 23:10:31 -07:00
gagb 30631c7624 Add pandas a dependency (#353) 2024-08-08 22:49:00 -07:00
afourney 7b99b84dab Moved the benchmarks to another repo. (#349) 2024-08-08 11:43:55 -07:00
afourney 2e7d984b05 Updated agbench to find agnext via environment variable to facilitate running from magentic. (#348) 2024-08-08 11:25:08 -07:00
afourney 365d21b55e Fixed numerous issues with orchestrator, related to 342 (#344)
* Fixed numerous issues with orchestrator, related to 342'

* Refined prompts, and added max wall-clock time to orchestrators.

* Fixed formatting.
2024-08-08 11:15:57 -07:00
Kosta Petan a1221d46d2 remove Dapr sample/implementation (#345)
Co-authored-by: Kosta Petan <Kosta.Petan@microsoft.com>
2024-08-08 14:17:41 +00:00
Eric Zhu 4da05734de Add cookbook for openai assistant agent. Reformat (#343)
* Add cookbook for openai assistant agent. Reformat

* update index

* add requests

* type requests
2024-08-08 00:14:18 -07:00
Enhao Zhang 91e55d8a16 check ledger formatting (#327)
* check ledger formatting

* format file

* format file

* rename agent metadata field 'name'-->'type'

---------

Co-authored-by: Enhao Zhang <t-enhaozhang@microsoft.com>
2024-08-07 17:01:07 -07:00
Jack Gerrits 33649c3e08 Notebook checks (#333)
* add checks for notebooks

* format

* Fix mypy

* format

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-07 14:38:44 -07:00
afourney c7f5931dc8 Reverts TeamOne prompts to those used in Autogen experiments. (#331)
* Revised prompts to match autogen experiments.

* Handle sh code blocks

* Move executor prompt into coder.py

* Fixed formatting.
2024-08-07 13:52:45 -07:00
Jack Gerrits 39489ba395 Rename fields in agent metadata (#336)
* Rename fields in agent metadata

* team one fixes

* another fix
2024-08-07 13:08:13 -07:00
Jack Gerrits 437dbefc32 Rename fields in agent id (#334)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-07 10:25:44 -07:00
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
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
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
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
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
Andreas Volkmann d8bf7ee8a8 Add code analysis (#305) 2024-08-02 05:58:53 +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
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
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
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
Jack Gerrits 7e75dc8df8 Add core components for topics (#278)
* Add core components for topics

* rename topic to topic id
2024-07-26 14:38:08 -04:00
afourney 61dec0a3ca Added token counting to TeamOne (#264)
* Added token counting to TeamOne
2024-07-26 09:45:41 -07:00
afourney 25b9a91328 Teamone webarena agents fully implemented. (#276)
* Initial onboarding of WebArena
* Migrate to try_get_underlying_agent_instance
* Fixed some race conditions and implemented Deactivate messages.
2024-07-26 09:42:12 -07:00
Jack Gerrits 5fca275be1 Fix links in overview.md (#277)
* Update foundation.md

* Update foundation.md

* Update overview.md
2024-07-26 09:51:25 -04:00
afourney 9fd7e301b3 TeamOne agents default to handling one message at a time, exclusively… (#273)
* TeamOne agents default to handling one message at a time, exclusively. The default can be overridden by passing a parameter to the BaseAgent constructor.
2024-07-25 21:13:08 -07:00
Eric Zhu 3bc37619d5 Update overview page with application stack and example (#275) 2024-07-25 18:46:07 -07:00
Eric Zhu e9c3a384f3 Update ai agent documentation on tool agent (#272)
* Update ai agent documentation on tool agent

* Fix
2024-07-25 11:53:59 -07:00
Eric Zhu 84d4e27776 Add tool agent class for convience of creating AI agents (#271)
* Add tool agent class for convience of creating AI agents

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

* feat: Add return type annotation to test_tool_agent function
2024-07-25 11:20:42 -07:00
Reuben Bond e7ac11b2e9 Initial distributed tracing implementation for .NET (#257) 2024-07-25 07:06:06 +00:00