218 Commits

Author SHA1 Message Date
Jack Gerrits
581cda0cfd Pin grpc and gen task (#429) 2024-08-29 14:37:03 -04:00
Jack Gerrits
4f9626c447 Add cookiecutter (#428) 2024-08-29 11:46:30 -04:00
Jack Gerrits
90dfcaf28f Update version and description of core (#427) 2024-08-29 10:56:33 -04:00
Jack Gerrits
67003593a0 Add cookiecutter template for new package (#426) 2024-08-29 10:29:12 -04:00
Jack Gerrits
4ff5610853 Migrate to uv and poe for workspace management and task running (#424)
* Migrate to uv and poe for workspace management and task running

* install python

* try fix

* ensure workspace venv in used

* package dir

* move nbqa to mypy task

* separate sync, clarify docs
2024-08-29 09:46:06 -04:00
Jack Gerrits
6ef4a9a617 Remove files and fix website deployment (#421) 2024-08-28 13:39:59 -04:00
Jack Gerrits
5e8840d13c Python: organize packages in package directory (#420)
* Move packages to packages directory

* remove screenshot

* update some paths
2024-08-28 13:35:21 -04:00
Jack Gerrits
725f13c3f8 Rename agnext package to autogen_core (#418)
* Rename agnext to autogen_core

* fix file name

* fix more file names
2024-08-28 12:47:04 -04:00
Jack Gerrits
3d515a734b Rename agnext.core module to agnext.base (#416)
* rename core module to base

* Rename agnext.core to agnext.base
2024-08-28 12:14:35 -04:00
Eric Zhu
87c00a554d Core concept doc refactor and add documentation for topic and subscription (#414)
* Refactor core concept docs and add new ones for agent identity and topic subscription.

* update notebook

* update notebook

* resolve conflict

* fix link

* fix ref

* update notebook

* update notebook
2024-08-28 01:09:28 -07:00
afourney
a8343c7244 Specify that text files are utf-8 in mdconvert (#412) 2024-08-27 16:27:58 -07:00
Jack Gerrits
bb55e7a20e Remove namespace check (#411)
This is no longer correct after the move to topics
2024-08-27 17:04:22 -04:00
Eric Zhu
12cf331e71 Add tool_agent_caller_loop and group chat notebook. (#405)
* Add tool_agent_caller_loop and group chat notebook.

* Fix types

* fix ref

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-08-27 15:11:48 -04:00
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>
2024-08-27 15:03:21 -04:00
Jack Gerrits
4eadecf4c9 Fix lint issue in agbench (#409)
* Fix lint issue in agbench

* remove import
2024-08-27 14:09:30 -04:00
Enhao Zhang
62e5e5b88d Decrement the count of outstanding tasks before returning in the event of an exception. (#406) 2024-08-26 20:55:05 -07:00
Eric Zhu
c8084ada4e Add quick start and utils for extracting code blocks (#404)
* Add quick start and utils for extracting code blocks

* format

* Spelling
2024-08-26 17:23:27 -07:00
Hussein Mozannar
c779d4177b Support for Logprobs in chatcompletion (#401)
* logprobs openai support

* remove print statement

* Update _types.py

* Update _openai_client.py

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-26 18:18:41 +00:00
Jack Gerrits
dbb35fc335 Migrate to using default sub/topic (#403) 2024-08-26 07:30:28 -07:00
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
2024-08-23 13:22:31 -07:00
Jack Gerrits
4c964fa772 Implement default sub and topic (#398)
* Implement default sub and topic

* format

* update test
2024-08-23 13:01:57 -07:00
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>
2024-08-22 20:56:04 +00:00
Jack Gerrits
30d1b50c0d Add subscription factory to AgentRuntime.register (#393)
* Add subscriptions to factory

* tests and bug fix
2024-08-22 13:53:35 -07:00
Eric Zhu
dc847d3985 Implement RPC and Subscription-based broadcast for python host and worker runtime. (#389)
* Refactor subscription in single threaded agent runtime

* Update proto to support response result type

* Support RPC and subscription-based broadcast for Python host and worker runtime.

* format
2024-08-22 16:07:28 +00:00
Eric Zhu
494b805080 Refactor subscription in single threaded agent runtime (#388) 2024-08-21 20:22:10 -07:00
Eric Zhu
ed0890525d Make RunContext internal (#386)
* Make RunContext internal

* Mypy
2024-08-21 13:59:59 -07:00
Jack Gerrits
63000e5424 Implement AgentRuntime.get (#385) 2024-08-21 10:55:58 -07:00
Jack Gerrits
29088d67a4 Register returns AgentType (#382) 2024-08-20 17:38:36 -04:00
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>
2024-08-20 14:41:24 -04:00
peterychang
4ba7e84721 Upload/Download operations for azure code container (#377)
* Upload/Download operations for azure code container

* add another check on download test

* small fixes

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-08-20 14:21:45 -04:00
peterychang
ba063e78ce disable youtube test until it can be debugged (#380) 2024-08-20 11:08:56 -07:00
Eric Zhu
6dbd2d110e Add proto files (#378)
* Add proto files and add github action to block PR if changes to proto files required.

* remove action
2024-08-19 20:32:34 +00:00
Eric Zhu
5eca0dba4a Python host and worker runtime for distributed agents. (#369)
* Python host runtime impl

* update

* ignore proto generated files

* move worker runtime to application

* Move example to samples

* Fix import

* fix

* update

* server client

* better shutdown

* fix doc conf

* add type
2024-08-19 10:06:41 -04: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
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