Hussein Mozannar
c8f6f3bb38
Fix TeamOne examples with subscriptions to topics ( #407 )
* logprobs openai support
* remove print statement
* Update _types.py
* Update _openai_client.py
* empty commit to run checks
* fix teamone examples subscription
* update sample usage
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
1 year ago
Eric Zhu
d7ae2038fb
Rename TypeRoutedAgent to RoutedAgent; log on unhandled message. ( #400 )
* Rename TypeRoutedAgent to RoutedAgent; log on unhandled message.
* format
* Deprecation warning
* add test for routed agent
* add TypeRoutedAgent import
* fix import
1 year ago
Enhao Zhang
7a919b1a17
Update the chat history of orchestrator ( #379 )
* update the chat history at the beginning of the _handle_broadcast() rather than inside _select_next_agent()
* add await
* Add plans to chat history
* formatting
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
1 year ago
Eric Zhu
ed0890525d
Make RunContext internal ( #386 )
* Make RunContext internal
* Mypy
1 year ago
Jack Gerrits
e1a823fb6d
Initial impl of topics and subscriptions ( #350 )
* initial impl of topics and subscriptions
* Update python/src/agnext/core/_agent_runtime.py
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* add topic in context
* migrate
* migrate code for topics
* migrate team one
* edit notebooks
* formatting
* fix imports
* Build proto
* Fix circular import
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
1 year ago
peterychang
ba063e78ce
disable youtube test until it can be debugged ( #380 )
1 year ago
Jack Gerrits
853b00b0f0
Add message context to message handler ( #367 )
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
1 year ago
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>
1 year ago
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.
1 year ago
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>
1 year ago
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.
1 year ago
Jack Gerrits
39489ba395
Rename fields in agent metadata ( #336 )
* Rename fields in agent metadata
* team one fixes
* another fix
1 year ago
afourney
ecde17a255
Re-added multimodality to mdconvert. ( #330 )
* Re-added multimodality to mdconvert.
* Fixed formatting.
1 year ago
afourney
8b13d59b59
Initial work porting WebArena to async ( #325 )
* Initial work porting webarena to async
* Perhaps resolved some of the eval() issues.
1 year ago
afourney
5ff275fad9
Handle errors in the TeamOne agent's message queue handler. ( #324 )
1 year ago
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>
1 year ago
peterychang
136af65b74
Code execute cancellation ( #299 )
* Hook cancelation token into code execution
* Add unit test for code cancellation
* actually save the merge
1 year ago
afourney
ec654253d2
Introduces a BaseWorker agent, allowing for a TeamOneBaseAgent ( #289 )
1 year ago
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>
2 years ago
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>
2 years ago
afourney
99b53557ca
Allow Executor to search for code in multimodal messages. ( #285 )
2 years ago
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>
2 years ago
afourney
61dec0a3ca
Added token counting to TeamOne ( #264 )
* Added token counting to TeamOne
2 years ago
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.
2 years ago
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.
2 years ago
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
2 years ago
Jack Gerrits
a52d3bab53
Agent factory can be async ( #247 )
2 years ago
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
2 years ago
afourney
211bfa01c3
TeamOne implementation of GAIA ( #221 )
Port of GAIA benchmark
2 years ago
gagb
e69dd92c4f
Improve team-one readme ( #225 )
* Update readme
* Improve readme further
* Add results
2 years ago
gagb
9e814cbad8
Update readme ( #224 )
* Update readme
* Improve readme further
2 years ago
afourney
524a5a78f9
Initial work moving mdconvert, and enabling browser Q&A ( #211 )
* Initial work moving mdconvert, and enabling browser Q&A
2 years ago
gagb
386680fd3e
Add initial base and ledger orchestrator, improve executor ( #206 )
* Add initial base orchestrator
* Add basic ledger based orchestrator
* Improve executor; Improve prompts and logging for orchestration
2 years ago
Victor Dibia
78b63438e9
extend base log handler in team one to also write events to a log file ( #212 )
Looks good to me.
2 years ago
gagb
4c87ed71eb
Improve file surfer ( #204 )
* Move file surfer to use baseagent
* Remove unused code
* Fix hatch err
* Intermediate commit to move mdconvert
* Fix linting errors
* Implement file surfer from autogen
* Run hatch check
* Fix more linting errors
* Fix errors in requests_markdown_browser. Ignore errors in mdconvert.
---------
Co-authored-by: Adam Fourney <adamfo@microsoft.com>
2 years ago
afourney
04d9709aec
Agnext websurfer ( #205 )
* Initial work on multimodal websurfer
* A little more progress.
* Getting function calling to work.
* Some basic progress with navigation.
* Added ability to print multimodal messages to console.
* Fixed hatch error
* Nicely print multimodal messages to console.
* Got OCR working.
* Fixed the click action.
* Solved some hatch errors.
* Fixed some formatting errors.
* Fixed more type errors.
* Yet more fixes to types.
* Fixed many type errors.
* Fixed all type errors. Some needed to be ignored. See todos.
* Fixed all? hatch errors?
* Fixed multiline aria-names in prompts.
2 years ago
afourney
5996b452eb
TeamOne handle multimodal console ( #200 )
* Added ability to print multimodal messages to console.
* Fixed hatch error
2 years ago
gagb
4553bf9054
Move file surfer to use baseagent ( #198 )
* Move file surfer to use baseagent
* Remove unused code
* Fix hatch err
2 years ago
afourney
ea2fcc28c3
Removes a redundant time field. ( #197 )
2 years ago
afourney
699f024a6d
Adds a standard logging / log-printing class to TeamOne ( #194 )
* Added initial code for TeamOne utils.
* Fixed hatch errors.
* Updated examples.
* Fixed more hatch errors.
* examples/example_coder.py
* Added standard logging for TeamOne
* Read time from log record.
2 years ago
afourney
f7357499be
Teamone utils ( #192 )
* Added initial code for TeamOne utils.
* Fixed hatch errors.
* Updated examples.
* Fixed more hatch errors.
* Improve readme
---------
Co-authored-by: gagb <gagb@users.noreply.github.com>
2 years ago
afourney
beada0279c
Initial proof-of-concept for TeamOne BaseAgent class ( #181 )
* Initial proof-of-concept for TeamOne BaseAgent class
* Fixed most hatch errors.
* Handle final Hatch error
---------
Co-authored-by: gagb <gagb@users.noreply.github.com>
2 years ago
gagb
7d12c70cff
Add missing file surfer dependency ( #191 )
2 years ago
afourney
8eb8a4b14d
Added user proxy. ( #176 )
* Added user proxy.
* Add dependency
---------
Co-authored-by: gagb <gagb@users.noreply.github.com>
2 years ago
gagb
f82f3852d3
Update to use new src ( #177 )
2 years ago
afourney
99ecb5ec7f
Added 'request_halt' flag, and fixed an orchestration bug ( #174 )
* Added 'request_halt' flag, and fixed an orchestration bug
* Fixed formatting errors.
* Fixed a hatch error with casting.
2 years ago
gagb
9df928b73e
Improve printing further ( #172 )
* Improve pretty printing
* Improve printing further
2 years ago
gagb
e0065cab42
Improve pretty printing ( #171 )
2 years ago
gagb
bcec0502d7
Numerous fixes for agbench ( #170 )
* Shift to new runtime API
* Add pretty printing
* Reformat
* Fix linting errors
2 years ago
Jack Gerrits
766635394a
Update send_message to be a single async operation. Add start helper to runtime to manage this ( #165 )
2 years ago