218 Commits

Author SHA1 Message Date
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
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
Enhao Zhang
b46625934b Fix pattern examples (#267)
* fix pattern examples

* reformat

---------

Co-authored-by: Enhao Zhang <t-enhaozhang@microsoft.com>
2024-07-24 17:28:00 -07:00
Victor Dibia
782503dff5 Update team one readme with information on how logging works. (#259)
Update team one readme with information on how logging works.

Related to #228
2024-07-24 13:18:28 -07:00
Diego Colombo
04eebf11c8 Add LlamaIndexAgent class for integrating llamaindex agent (#227) 2024-07-24 12:01:01 -07:00
Jack Gerrits
5081d3b747 fix templating (#254) 2024-07-24 14:23:21 +00:00
Eric Zhu
176932ef9c Add gpt-4o-mini, update examples (#253) 2024-07-23 18:05:16 -07:00
Eric Zhu
2288aee72b Adding example for tool intercept and human approval (#252)
* Adding example for tool intercept

* Format
2024-07-23 17:58:15 -07:00
Eric Zhu
d9f371fa3e Add AI Agent documentation section, update examples (#251)
* Add doc for ai agents

* update

* Update

* update

* Move patterns
2024-07-24 00:08:56 +00:00
afourney
b33c9602b2 Migrates GAIA to try_get_underlying_agent_instance (#250) 2024-07-23 17:07:04 -07:00
Jack Gerrits
3ba7a48b13 Implement try_get_underlying_agent_instance (#249) 2024-07-23 19:38:37 -04:00
Jack Gerrits
a52d3bab53 Agent factory can be async (#247) 2024-07-23 14:49:38 -04:00
Eric Zhu
718fad6e0d Remove orchestrator.py from examples as this is already available in team-one (#246) 2024-07-23 08:23:16 -07:00
Eric Zhu
09b3a66320 Fix links (#241) 2024-07-22 11:06:30 -07:00
Eric Zhu
c85da398a0 Cancellation for model client #90 (#240)
* Cancellation for model client #90

* format

* Use future
2024-07-22 10:59:16 -07:00
Eric Zhu
2041905acb Add token counting to chat completion client #220 (#239)
* Add token counting to chat completion client

* fix mypy

* ignore pyright for object type

* format
2024-07-19 18:44:22 -07:00
Kosta Petan
c425a447a7 Marketing sample migration to AGNext (#234) 2024-07-19 20:57:13 +00:00
gagb
e67ab18344 Improve team-one doc based on behavior (#237)
* Clarify generalist behav; add fig

* Add instructions for setting bing api key

* Add orchestration txt

* Add img for orch

* fix txt

* Add example for GAIA

* Add example for webarena

* answer q1

* answer q3

* Add what it cannot do

* add section on safety and risk
2024-07-19 01:25:52 +00:00
afourney
211bfa01c3 TeamOne implementation of GAIA (#221)
Port of GAIA benchmark
2024-07-17 09:51:19 -07:00
gagb
e69dd92c4f Improve team-one readme (#225)
* Update readme

* Improve readme further

* Add results
2024-07-16 22:18:06 +00:00
gagb
9e814cbad8 Update readme (#224)
* Update readme

* Improve readme further
2024-07-16 21:43:29 +00:00
Ryan Sweet
89db8b12f1 Improving the readme and renaming examples dir (#218)
* Improving the readme and renaming examples dir

* fix ci

* updating name

* nuance the wording
2024-07-15 15:24:31 -07:00
Jack Gerrits
ec500a31b8 Marketing sample agents (#210)
* add writer impl

* add graphic designer

* add worker and auditor, remove writer

* add worker, add simple test main
2024-07-15 13:43:04 -04:00