afourney
a27a130b45
Initial work on ledger orchestrator. ( #4164 )
...
* Initial work on magentic-one orchestrator port.
2024-11-13 18:51:41 -08:00
Eric Zhu
233e482c7b
Max turn parameter for group chats ( #4143 )
...
* Max turn parameter for group chats
* Add note no usage
2024-11-13 15:10:04 -08:00
hasamm90
ac4091acf4
Update quickstart.ipynb ( #4170 )
...
Removed "can", making it: which defines the messages that are passed...
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-11-13 16:09:56 -05:00
Hussein Mozannar
317d5d03ec
Websurfer Refactor ( #4165 )
...
* first commit
* use_ocr flag
* initial refactor
* test
* small fixes
* adding animations, in progress
* red boundary animations
* add hover tool
* fix timeout time - reduces a lot of errors
* put prompts in separate file
* prompt organize
* add cursor animation
* format and checks pass
* added check for reset
2024-11-13 11:41:36 -08:00
Mehdi Baneshi
16463a8a98
Update topic-and-subscription.md ( #4168 )
2024-11-13 10:33:47 -05:00
Victor Dibia
b9f7282830
Add visualization of Agent Message Transitions State in AGS ( #4148 )
...
* add react-flow
* update tutorial, some ui improvement for agent thread layout
* v1 for interactive viz for agent state
* add Ui visualization of message based transitions
* minor updates
* fix node edges, support visualization of self loops
* improve edges and layout, add support for selector group chat prompt
* minor ui tweaks
2024-11-12 20:29:06 -08:00
Jack Gerrits
913c052a7d
Fix topic name for community samples ( #4156 )
2024-11-12 16:08:25 -08:00
afourney
51b361dfcf
WebSurfer changes - incl move to lazy init. ( #4092 )
...
* Move to lazy init.
* Fixed mypy error.
---------
Co-authored-by: Hussein Mozannar <hmozannar@microsoft.com>
2024-11-11 22:31:00 -08:00
afourney
e111db9afa
Handle on_reset ( #4145 )
2024-11-11 20:45:51 -05:00
Mohammad Mazraeh
570471bed7
Add reply chat completion client ( #4096 )
...
* initial implementation of reply chat completion client
---------
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-11-11 15:33:44 -05:00
Gerardo Moreno
3b8d0ddb67
Various Additions to the Documentation ( #4139 )
...
* Various docs improvements
* Update python/packages/autogen-core/docs/src/user-guide/core-user-guide/framework/command-line-code-executors.ipynb
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-11-11 15:23:25 -05:00
peterychang
0afde6da69
Protobuf serializer ( #4137 )
...
* protobuf serialization in python
* remove test code
* clarify TODO
2024-11-11 14:20:15 -05:00
Eric Zhu
e27c740961
dev6 ( #4129 )
2024-11-11 00:48:05 -05:00
Eric Zhu
4786f189bc
Handoff termination and show how to use it for asking user input ( #4128 )
...
* Handoff termination and show how to use it for asking user input
* lint
2024-11-11 00:38:52 -05:00
Eric Zhu
9f175089c5
Introduction to Teams for AgentChat ( #4120 )
...
* Add teams section
* wip don't merge
* Merge remote-tracking branch 'origin/main' into agentchat-team-tutorial
* update instruction about termination reset
* edit
* more guidline for script
2024-11-10 20:39:06 -08:00
Eric Zhu
5547a6716e
auto reset termination when a run stops ( #4126 )
2024-11-10 20:19:09 -08:00
Eric Zhu
1cc0f4f7c5
dev5 ( #4124 )
2024-11-10 21:42:22 -05:00
Eric Zhu
8f7c717149
reset --> on_reset :D ( #4121 )
2024-11-10 18:28:20 -08:00
Eric Zhu
12becdddb1
Update agentchat tutorial, refactor content ( #4118 )
...
Resolves Tutorial Chapter for Custom ChatAgent #4114 -- updated tutorial chapter on agents and custom agents
Update README example to use tool call
Added "Models" section in AgentChat tutorial.
Added place holder for Tutorial Chapter for Swarm #4113 .
2024-11-09 19:07:39 -08:00
Victor Dibia
0e985d4b40
v1 of AutoGen Studio on AgentChat ( #4097 )
...
* add skeleton worflow manager
* add test notebook
* update test nb
* add sample team spec
* refactor requirements to agentchat and ext
* add base provider to return agentchat agents from json spec
* initial api refactor, update dbmanager
* api refactor
* refactor tests
* ags api tutorial update
* ui refactor
* general refactor
* minor refactor updates
* backend api refaactor
* ui refactor and update
* implement v1 for streaming connection with ui updates
* backend refactor
* ui refactor
* minor ui tweak
* minor refactor and tweaks
* general refactor
* update tests
* sync uv.lock with main
* uv lock update
2024-11-09 14:32:24 -08:00
Eric Zhu
f40b0c2730
Add Console function to stream result to pretty print console output ( #4115 )
2024-11-08 19:02:19 -08:00
Eric Zhu
3f28aa8874
SocietyOfMind agent for nested teams ( #4110 )
...
* Initial implementation of SOM agent
* add tests
* edit prompt
* Update prompt
* lint
2024-11-08 16:41:34 -08:00
Eric Zhu
111e69142b
Fix worker sample in core ( #4104 )
2024-11-08 12:18:07 -08:00
Eric Zhu
5fa38b0166
Add task type that are messages to enable multi-modal tasks. ( #4091 )
...
* Add task type that are messages to enable multi-modal tasks.
* fix test
2024-11-07 21:38:41 -08:00
Eric Zhu
9e388925d4
Initial web surfer implementation in extension ( #4071 )
...
* Initial web surfer implementation in extension
* Moved model client to constructor for consistency.
* Fixed uv lock.
* Merge branch 'main' into websurfer
* fix ruff
2024-11-07 16:47:53 -08:00
Eric Zhu
2e3155be2a
AgentChat pause, resume, and reset ( #4088 )
...
* AgentChat pause and resume a task
Resolves #3859
* Add
* Update usage
* Update usage
* WIP to address stateful group chat
* Refactor group chat to add reset and flags for running
* documentation
2024-11-07 16:00:35 -08:00
Mark Sze
930e61306a
Update README.md ( #4078 )
2024-11-06 13:17:00 -08:00
Mahesh Subramanian
2382ff9248
chore(typo): Fixing a typo in the agent identity document ( #4070 )
2024-11-06 10:07:13 -08:00
Eric Zhu
4be1c9cf76
Update Python version to 0.4.0.dev4 ( #4068 )
...
* Update version to dev4
2024-11-05 22:04:37 -08:00
Eric Zhu
5be7ac7b12
Move reset from a message to a command ( #4073 )
2024-11-05 21:40:46 -08:00
Eric Zhu
c3283c64a3
Agentchat refactor ( #4062 )
...
* Agentchat refactor
* Move termination stop message to a separate field in task result
* Update quick start example
* Use string stop reason instead of stop message in task result for simpler API
* Use main function
2024-11-05 08:07:49 -08:00
Hussein Mozannar
10987685b9
Update README.md for magentic-one ( #4061 )
2024-11-04 17:45:59 -08:00
Hussein Mozannar
8603317537
Magentic-One Log Viewer + preview API ( #4032 )
...
* update example script with logs dir, add screenshot timestamp
* readme examples update
* add flask app to view magentic_one
* remove copy example
* rename
* changes to magentic one helper
* update test web surfer to delete logs
* magentic_one icons
* fix colors - final log viewer
* fix termination condition
* update coder and log viewer
* timeout time
* make tests pass
* logs dir
* repeated thing
* remove log_viewer, mm web surfer comments
* coder change prompt, edit readmes
* type ignore
* remove logviewer
* add flag for coder agent
* readme
* changes readme
* uv lock
* update readme figures
* not yet
* pointer images
2024-11-04 17:18:46 -08:00
Gerardo Moreno
eca8a95c61
Remove isinstance check from FunctionTool ( #3987 ) ( #4056 )
...
* Remove isinstance check from FunctionTool (#3987 )
* Move __init__ Args to class docstring
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-11-04 16:48:57 -08:00
Eric Zhu
16e64c4c10
Rename `model_usage` to `models_usage`. ( #4053 )
2024-11-04 09:25:53 -08:00
Eric Zhu
4e5f3ababe
Update version to 0.4.0.dev3 ( #4043 )
2024-11-01 16:08:09 -07:00
Eric Zhu
4fec22ddc5
Team termination condition sets in the constructor ( #4042 )
...
* Termination condition as part of constructor
* Update doc
* Update notebooks
2024-11-01 15:49:37 -07:00
Eric Zhu
27ea99a485
Add token usage termination ( #4035 )
...
* Add token usage termination
* fix test
2024-11-01 15:01:43 -07:00
Eric Zhu
ca7caa779d
Add token usage to messages ( #4028 )
...
* Add token usage to messages
* small test edit
2024-11-01 13:20:25 -07:00
Eric Zhu
c3b2597e12
AssistantAgent no longer sends out StopMessage. We use TextMentionTermination("TERMINATE") on the team instead for default setting. ( #4030 )
...
* AssistantAgent no longer sends out StopMessage. We use TextMentionTermination("TERMINATE") on the team instead for default setting.
* Fix test
2024-11-01 12:35:26 -07:00
Eric Zhu
173acc6638
Custom selector function for SelectorGroupChat ( #4026 )
...
* Custom selector function for SelectorGroupChat
* Update documentation
2024-11-01 09:08:29 -07:00
Eric Zhu
369ffb511b
Remove termination condition from team constructor ( #4025 )
...
* Remove termination condition from team constructor
* fix usage
2024-11-01 05:50:20 -07:00
Eric Zhu
cff7d842a6
AgentChat streaming API ( #4015 )
2024-11-01 04:12:43 -07:00
Mohammad Mazraeh
4023454c58
add simple chainlit integration ( #3999 )
2024-10-31 04:54:24 -07:00
Rohan Thacker
3c63f6f3ef
Corrected typo in get_capabilities in _model_info.py ( #4002 )
2024-10-30 13:39:45 -07:00
Eric Zhu
3d51ab76ae
Formalize `ChatAgent` response as a dataclass with inner messages ( #3990 )
2024-10-30 10:27:57 -07:00
Eric Zhu
4a49844996
`ChatAgent` declares the types of messages it produces ( #3991 )
...
* `ChatAgent` declares the types of messages it produces
2024-10-30 05:32:11 -07:00
Victor Dibia
75b00e76e1
Agentchat move termination ( #3992 )
2024-10-29 18:37:26 -07:00
Anthony Uphof
87bd1de396
Fix: provide valid Prompt and Completion Token usage counts from create_stream ( #3972 )
...
* Fix: `create_stream` to return valid usage token counts
* documentation
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-29 16:20:03 -07:00
Eric Zhu
bd9c371605
Add `ResetMessage` to clear the agent state ( #3988 )
...
* Reset message to clear agent state
* format and lint
2024-10-29 09:45:57 -07:00
Gerardo Moreno
93733dbd65
Run LocalCommandLineCodeExecutor within venv ( #3977 )
...
* Run LocalCommandLineCodeExecutor within venv
* Remove create_virtual_env func and add docstring
* Add explanation for LocalCommandLineExecutor docstring example
* Enhance docstring example explanation
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-29 08:17:34 -07:00
Eric Zhu
eb4b1f856e
Ability to generate handoff message from AssistantAgent ( #3968 )
...
* Ability to generate handoff message from AssistantAgent
* Fix mypy
* Validation
---------
Co-authored-by: Victor Dibia <victordibia@microsoft.com>
2024-10-29 08:04:14 -07:00
Ryan Sweet
14846a3e84
first draft of stateful persistence grains for each agent.... ( #3954 )
...
* adds Orleans persistence for AgentState
2024-10-28 17:28:36 -07:00
Mohammad Mazraeh
0052e8179d
Add sample distributed group chat notebook ( #3759 )
...
* first notebook for distributed rock, paper and scissors
* add distributed group chat notebook
* fix formatting
* fix pipeline issues
* fix formatting issue
* promote distributed group chat notebook into a multiple files
* fix docs
* fix docs
* fix pyright
* Apply suggestions from code review
Add PR review suggestions
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* improving group chat manager from round robin to LLM based
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* remove lfs file to fix
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* add gut back using lfs
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* re-add gif using lfs
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* remove gitattributes
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* redo git lfs add
---------
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-28 09:59:58 -07:00
Will
c06f8d3aa3
Update agents.ipynb ( #3979 )
...
a mistake about in User Guide sector
2024-10-28 08:17:49 -07:00
Leonardo Pinheiro
a626d7cf18
replace assertion with valueerror ( #3974 )
...
Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
2024-10-26 22:13:52 -07:00
Eric Zhu
3fe0f9e97d
Add AssistantAgent, deprecate CodingAssistantAgent and ToolUseAssistantAgent ( #3960 )
...
* Add AssistantAgent, deprecate CodingAssistantAgent and ToolUseAssistantAgent
* Rename
* Add note
* Update uv
* uf lock
* Merge branch 'main' into assistant-agent
* Update uv
2024-10-25 23:17:06 -07:00
Eric Zhu
f31ff66368
Refactor agent chat to prepare for handoff/swarm ( #3949 )
...
Add handoff message type to chat message types
Add Swarm group chat that uses handoff message to select next speaker
Remove tool call and tool call result message types from chat message types
Remove BaseToolUseChatAgent, move tool call handling from group chat's chat agent container upward to the ToolUseAssistantAgent implementation, which subclasses BaseChatAgent directly.
Renaming for better clarity
---------
Co-authored-by: Victor Dibia <victordibia@microsoft.com>
2024-10-25 10:57:04 -07:00
Victor Dibia
0756ebd63d
Update Magentic-one readme with images ( #3958 )
2024-10-25 09:51:43 -07:00
Eric Zhu
1812cc068d
Refactor agentchat +implement base chat agent run method ( #3913 )
2024-10-24 05:36:33 -07:00
Jack Gerrits
e772951146
Add CSS override for banner ( #3933 )
...
* Add css override for banner
* remove merge conflict
2024-10-23 17:26:53 -04:00
Rohan Thacker
fb494534b8
Corrected framework guide docs ( #3929 )
...
* Corrected grammatical errors and typos
* Corrected formating issues
2024-10-23 13:42:40 -07:00
Jack Gerrits
8f4d5ee5ec
add comment to explain await vs run ( #3907 )
...
* add comment to explain await vs run
* update output and import
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-23 11:13:24 -07:00
Jack Gerrits
8cbfb61252
Add special case for dev latest ( #3912 )
2024-10-23 12:51:43 -04:00
Jack Gerrits
551a1ee3aa
fix broken redirect ( #3910 )
2024-10-23 09:23:08 -07:00
Jack Gerrits
0811102ed7
Update all versions to match normalized dev scheme ( #3909 )
2024-10-23 12:11:59 -04:00
Eric Zhu
6c0d0db9cc
Update dev version ( #3900 )
...
* Update dev version
* Update uv
* C#
* update versions
---------
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-23 11:24:36 -04:00
SeryioGonzalez
acce081a1f
Update topic-and-subscription.md ( #3901 )
2024-10-23 05:55:21 -07:00
Jack Gerrits
d3d736510c
Multiversion docs build ( #3842 )
...
* test multiversion build
* Work on multiversion build
* update refs
* cancel in progress
* add docs dir
* add version switcher
* add version switcher
* add preferred
* version banner and hacky value override...
* add release version
2024-10-22 17:37:10 -04:00
Eric Zhu
c4492ca043
Allow callable to be used as `registered_tools` in `ToolUseAssistantAgent`. ( #3891 )
...
* Allow callable to be used as `registered_tools` in `ToolUseAssistantAgent`.
* fix
2024-10-22 13:27:06 -07:00
Eric Zhu
8a4930a9be
Refactor agentchat to separate base interfaces from implementations ( #3877 )
2024-10-22 19:23:02 +01:00
Jack Gerrits
dbd65c05a4
Add __version__ to new packages ( #3881 )
2024-10-22 19:19:40 +01:00
Leonardo Pinheiro
38f62e1609
migrate models ( #3848 )
...
* migrate models
* Update python/packages/autogen-agentchat/src/autogen_agentchat/agents/_tool_use_assistant_agent.py
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* refactor missing imports
* ignore type check errors
* Update python/packages/autogen-ext/src/autogen_ext/models/_openai/_model_info.py
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* update packages index page
---------
Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-22 11:40:41 -04:00
Gerardo Moreno
b7509b3659
SelectorGroupChat Docs Update ( #3876 )
2024-10-22 10:39:07 +02:00
Mark Douthwaite
00e500ea90
Fix small typos in AutoGen 0.4 docs ( #3871 )
2024-10-22 10:35:20 +02:00
Victor Dibia
f747b3c884
Add Tutorial for AgentChat Docs ( #3849 )
2024-10-21 14:45:44 +02:00
Zac
4ff062d5b3
Updated gpt-4o pointer version to latest ( #3855 )
2024-10-21 13:39:09 +02:00
Eric Zhu
2e59a0db3e
Use dall-e-3 and better prompt to create character consistency for group chat image generation example ( #3847 )
...
* Use dall-e-3 and better prompt to create character consistency for group chat image generation example
* format
2024-10-19 00:04:25 -07:00
Taylor Rockey
8895e014a8
Update README.md for Sematic Router Example ( #3846 )
...
Added contributors to recognize the other devs who helped build the example
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-19 00:19:24 +02:00
Eric Zhu
1700b9c61a
Update group chat documentation in core to use selector group chat and tool call for illustrator ( #3815 )
...
* Update group chat documentation in core to use selector group chat and tool call for illustrator
* Update notebook
* Update group chat with illustration
* Remove embedded fonts in svg
---------
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-10-19 00:13:51 +02:00
Taylor Rockey
aa68f08133
Create Semantic Router example ( #3813 )
...
* Create Semantic Router example
* ruff formatting
* linting fixes
* pyright fixes
---------
2024-10-18 11:07:38 -07:00
Eric Zhu
18ead479c9
Update figures to make them compatible with dark mode ( #3840 )
...
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-18 19:09:42 +02:00
Eric Zhu
4935472c5e
Remove unused sample script ( #3841 )
2024-10-18 10:41:30 -04:00
Hussein Mozannar
e11d84b996
Adding Benchmarks to agbench ( #3803 )
...
* Move from tomllib to tomli
* added example code for magentic-one + code comments
* adding benchmarks temporarily
* add license for datasets
* revert changes to magentic-one
* change license location
---------
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-10-18 06:33:33 +02:00
Jack Gerrits
b09e6777a4
Restructure extensions, update corresponding docs ( #3826 )
...
* Restructure extensions, update corresponding docs
* update tests, add deprecation messages
* fix tests
* update lockfile
---------
2024-10-17 15:06:16 -07:00
Jack Gerrits
ed50ba4548
Use sha256 for hashing ( #3829 )
...
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-10-17 10:33:18 -07:00
Hussein Mozannar
50cd4cca65
Magentic one example ( #3802 )
...
* Move from tomllib to tomli
* added example code for magentic-one + code comments
* remove added package
* make checks pass
* README for magentic-one examples
* typo fix
---------
2024-10-17 10:09:14 -07:00
Max Golovanov
636591a149
Use MCR registry instead of Docker's registry ( #3814 )
...
* Update FunctionCallGenerator.cs to address race condition
Update FunctionCallGenerator.cs to address race condition
* Update Dockerfile
Use MCR registry
* Update Dockerfile
Use MCR registry
2024-10-17 07:08:50 -07:00
Ryan Sweet
460a6817ea
refactoring the dotnet folder and namespace structure for better long term maintenance and clarity #3809 ( #3810 )
...
closes #3809 - refactor .NET code foldersand namespaces for better clarity and maintainability
2024-10-16 20:09:39 -07:00
Jack Gerrits
a6f022958f
Update version to dev1 ( #3791 )
...
* Update version to dev1
* lockfile
* update tilde
2024-10-14 16:01:18 -07:00
Jack Gerrits
1ecb451b04
Fill spelling mistake ( #3786 )
2024-10-14 13:46:31 -07:00
Jack Gerrits
17af38dc6a
Add work in progress message to agentchat on home ( #3784 )
2024-10-14 09:29:42 -07:00
Eric Zhu
6f5bdd2c28
Create a notebook to demonstrate handoff pattern ( #3778 )
2024-10-14 07:35:00 -07:00
Eric Zhu
5140a23fef
Update indexes for better navigation ( #3779 )
...
* Update indexes for better navigation
* Fix link
* Fix link
2024-10-13 19:46:06 -07:00
Sunil Sattiraju
a106229568
Support structured output ( #3732 )
...
* Support structured output
* use ruff format
* add type checking for cookbook
* add the notebook to index.md
* fix the type error
* pass response_format explicitly
* remove casting
* ensure type are correct
* seperate response_format arg
* fix type and resolve pyright errors
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-13 14:28:53 -07:00
Eric Zhu
43ccc811e0
Make sure exceptions in process publish is logged. ( #3774 )
2024-10-13 12:12:24 -07:00
vikas434
a45d97c82f
Correcting Typo in README.md ( #3770 )
2024-10-12 08:10:31 -07:00
Hussein Mozannar
373adc9a34
Adding Benchmarks back into agbench and updates to agbench ( #3711 )
2024-10-11 15:46:18 -07:00
Jack Gerrits
373e14ec25
Add initial extensions doc page ( #3762 )
2024-10-11 10:57:03 -07:00
Leonardo Pinheiro
c765a34cbf
Move docker code exec to autogen-ext ( #3733 )
...
* move docker code exec to autogen-ext
* fix test
* rename docker subpackage
* add missing renamed package
---------
Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
2024-10-11 09:28:15 -07:00
afourney
e1e9d19cb4
Skip Bing tests when no API key is present. ( #3757 )
...
* Skip Bing pytests when no API key is present.
* Fixed formatting.
---------
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-10-11 09:07:31 -07:00
Eric Zhu
e5e3f11275
Update quick start examples to illustrate how to set up model client completely ( #3739 )
2024-10-10 14:14:26 -07:00
afourney
a4bd8cf992
The /python/benchmarks folder simply contained a note indicating that the benchmarks were moved. This commit deletes this note and directory. ( #3735 )
2024-10-10 13:55:22 -07:00
Eric Zhu
498854aed3
Use script-friendly example in README and quickstart ( #3728 )
...
* Use script-friendly example in README and quickstart
* Remove accidentally commited file
* Update instruction
2024-10-09 16:02:42 -07:00
Eric Zhu
d7ae970c87
Changing URL; update description; removing v0.2 file ( #3729 )
2024-10-09 15:54:35 -07:00
Eric Zhu
dd0d238b43
Fix browser test ( #3730 )
2024-10-09 15:51:26 -07:00
Jack Gerrits
31342e3fd1
Clarify magentic one availability ( #3720 )
2024-10-09 17:20:39 -04:00
Hussein Mozannar
8e50e58433
Move from tomllib to tomli ( #3714 )
2024-10-09 16:42:30 -04:00
Jack Gerrits
23fd92a017
Fix packages link ( #3718 )
2024-10-09 16:34:39 -04:00
Jack Gerrits
33f5f13832
Fix redirects taking into account base path ( #3716 )
2024-10-09 15:59:32 -04:00
Jack Gerrits
0758d106cd
Fix output directory for website ( #3712 )
2024-10-09 15:41:34 -04:00
Eric Zhu
8c5150b1d4
Refactor logging in agentchat ( #3709 )
...
* Refactor logging in agentchat
* fix notebook
---------
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-09 15:15:09 -04:00
Jack Gerrits
6567d90941
Update references to autogen ( #3708 )
2024-10-09 15:12:36 -04:00
Jack Gerrits
2526c69ce9
Include license file in package ( #3703 )
2024-10-09 15:01:09 -04:00
Jack Gerrits
f326b36242
Documentation tweaks ( #3705 )
...
* Add extension to handle pydantic docs
* Docs tweaks
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-09 11:46:43 -07:00
Jack Gerrits
d037db9f9b
add clarity to site ( #3704 )
2024-10-09 11:44:01 -07:00
Eric Zhu
64365b6835
Termination condition for agentchat teams ( #3696 )
...
* Update PR link in blog post (#3602 )
* Update PR link in blog post
* Update index.mdx
* Create CI to tag issues with needs triage (#3605 )
* Update issue templates (#3610 )
* Update config.yml
* Delete .github/ISSUE_TEMPLATE.md
* Delete .github/ISSUE_TEMPLATE/general_issue.yml
* Update feature_request.yml
* Update feature_request.yml
* Update feature_request.yml
* Update feature_request.yml
* Update bug_report.yml
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* Update .github/ISSUE_TEMPLATE/config.yml
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* Update bug_report.yml
* Update config.yml
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* termination condition
* Termination condition
* termination condition in group chat manager
* Update module import
* Fix logging
* Clean up
* Fix doc string
---------
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-09 09:26:13 -07:00
Jack Gerrits
333c95155c
Website design tweaks ( #3699 )
...
* Style updates for website
* tab styling
2024-10-09 10:08:57 -04:00
Leonardo Pinheiro
53e5951474
Lspinheiro/chore/migrate azure executor autogen ext ( #3652 )
...
* migrate code executor and tests
* update extras
* update dependencies and examples
* fix imports
* fix uv lock
* add code_executor to toctree
---------
Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-08 15:05:44 -07:00
Eric Zhu
ffb16d560a
Set logging of internal messages to debug ( #3694 )
...
* Set logging of internal messages to debug
* Fix worker runtime tests
2024-10-08 15:01:13 -07:00
Victor Dibia
4290cfa258
Add Documentation for AgentChat ( #3635 )
...
* update docs on agent chat.
* add langchain support
* fix formatting issues
* Update python/packages/autogen-core/docs/src/agentchat-user-guide/index.md
Co-authored-by: gagb <gagb@users.noreply.github.com>
* Update python/packages/autogen-core/docs/src/agentchat-user-guide/index.md
Co-authored-by: gagb <gagb@users.noreply.github.com>
* add company reseach and literature review examples with tools
* format fixes
* format and type fixes
* add selector groupchat to agentchat index page
* rename quick start as code exec
* type fixes
* format fix
* Remove blank cell from notebooks
---------
Co-authored-by: gagb <gagb@users.noreply.github.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-08 14:35:54 -07:00
Eric Zhu
02ced7c6b3
Selector group chat that uses LLM to select the next speaker ( #3680 )
...
* Selector group chat that uses LLM to select the next speaker
* Merge remote-tracking branch 'origin/staging' into selector-groupchat
* Add allow_repeated_speaker option
* Add test for allowed_repeated_speaker=True
* Example for selector group chat
* format
* Rename and index
* title for notebook
* Merge remote-tracking branch 'origin/staging' into selector-groupchat
2024-10-08 13:37:31 -07:00
Mohammad Mazraeh
29c23d53af
add a way to provide extra grpc options ( #3667 )
...
* rebase and address PR comments
* address PR feedback
2024-10-08 14:46:12 -04:00
Jack Gerrits
39aa073de2
Add poethepoet to dev deps ( #3675 )
...
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-07 16:00:41 -07:00
Eric Zhu
54eaa2bb4e
Move tools to agent in `agentchat`; refactored logging to support tool events ( #3665 )
...
* Move tool to agent; refactor logging in agentchat
* Update notebook
2024-10-07 09:38:24 -07:00
Mohammad Mazraeh
be5c0b5d3e
fix: remove subscription on client disconnect in worker runtime ( #3653 )
...
* remove subscription on client disconnect in worker runtime
* address PR feedback
* remove outdated comment
* remove public properties
* fix mypy issue
* address PR feedback
---------
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-05 08:15:01 -07:00
Jack Gerrits
c63a034523
try fix docs CI ( #3660 )
...
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-04 10:08:00 -07:00
Jack Gerrits
1f1463e9e2
Add all redirect links ( #3659 )
2024-10-04 12:21:21 -04:00
Eric Zhu
25d006c09e
Add staging to workflow target; fix circular imports in autogen_agentchat ( #3651 )
...
* Fix formatting and remove duplicated import of EVENT_LOGGER_NAME in agentchat
* add staging to target in checks
* add staging to target in checks for dotnet
* Fix circular imports
2024-10-04 10:22:09 -04:00
Eric Zhu
fdb8f8a256
Merge pull request #3606 from microsoft/agentchat_logging_vd
...
add logging to agentchat
2024-10-03 17:30:01 -07:00
Victor Dibia
d4078a722a
move logging module to root of agent_chat
2024-10-03 10:08:22 -07:00
Victor Dibia
13c135100f
make logging independent module
2024-10-03 10:03:17 -07:00
Adam Fourney
dfa4a0a6dc
Update magentic-one readme with the latest numbers (a complete set of results on WebArena, and updated results for GAIA)
2024-10-03 09:35:25 -07:00
Victor Dibia
b0b0825c1d
add logging to agentchat
2024-10-02 17:25:14 -07:00
Jack Gerrits
1174fcd92e
Merge branch 'main' into staging
2024-10-02 14:38:28 -04:00
afourney
50ed0978b0
Renamed TeamOne to MagenticOne ( #6 )
...
* Renamed TeamOne to MagenticOne
* Updated uv.lock
* Fixed workflows.
2024-10-01 18:59:03 -04:00
Jacob Alber
499b3fcbbf
fix: Make cleanup code in docker CodeExecutor asyncio aware ( #669 )
...
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-01 15:38:23 -04:00
Kosta Petan
54c6382e89
fix dotnet distributed tracing ( #4 )
...
* fix dotnet distributed tracing
* regenerate protos for python
2024-10-01 12:31:26 -04:00
Leonardo Pinheiro
7fade2d5e7
Return message history in agentchat ( #661 )
...
* update TeamRunResult
* fix line ending in test
* lint
* update team result to list[chatmessage]
---------
Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-09-30 20:56:47 -04:00
Jack Gerrits
a5d267e986
Update link to 0.2 docs
2024-09-30 20:02:19 -04:00
Jack Gerrits
af2b5faeef
Update package versions
2024-09-30 19:59:35 -04:00
Leonardo Pinheiro
6cfa29b018
Add langchain tool adapter in autogen-ext ( #570 )
...
* add langhcain tool adapter
* remove langchain package
* fix type errors
* test type fixes
* fix imports
* install extras in CI
* improve typing and use to_thread
* pin min langchain version
* install all extras in ci test
* update to langchain 0.3.1
* install extras in CI
* ignore pyright errors
* add missing uv sync extra reqs
---------
Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-30 19:36:20 -04:00
Jack Gerrits
5cb5bda522
Publish both 0.2 and dev websites
2024-09-30 19:30:34 -04:00
Jack Gerrits
4ea1f7a8b3
Add redirects for old website URLs
2024-09-30 16:41:50 -04:00
Jack Gerrits
1dc91bddd2
Fix lfs
2024-09-30 15:50:28 -04:00
Jack Gerrits
d9ca172f5c
set baseurl to dev for 0.4
2024-09-30 11:41:22 -04:00
Jack Gerrits
d11b421ccd
attribute theme
2024-09-30 11:41:05 -04:00
Eric Zhu
b2db45d673
Tool use in agentchat ( #664 )
...
* Tool use in agentchat
* Update link
* doc string
2024-09-30 10:58:02 -04:00
Jack Gerrits
99d1ad3765
update lockfile
2024-09-30 10:54:41 -04:00
Jack Gerrits
2596648fc9
move studio to a package
2024-09-30 10:20:38 -04:00
Eric Zhu
0fa680577e
Sequential processing for group chat participant using SequentialRoutedAgent ( #663 )
2024-09-28 17:40:33 +00:00
Eric Zhu
18efc2314a
Use agentchat message types rather than core's model client message types ( #662 )
...
* Use agentchat message types rather than core's model client message types
* Merge remote-tracking branch 'origin/main' into ekzhu-tool-use-assistant
2024-09-28 08:40:13 -07:00
Eric Zhu
da246ef71b
Move tool use with intervention to cookbook; remove duplicated examples ( #658 )
2024-09-28 03:57:44 +00:00
Eric Zhu
4250c0619a
Skip websurfer test ( #660 )
2024-09-28 03:54:05 +00:00
peterychang
d7a5835123
Add Azure code executor cookbook ( #615 )
...
* Add Azure code executor cookbook
* Notebook instead of markdown file
* PR comments
* fix method links
* fix a broken link
* fix undefined variable
* fix code errors
* missing parameter
* revert accidental change, ignore async with errors
* formatting
2024-09-27 15:23:20 -04:00
afourney
d7190cbe9e
Removes easyocr from mdconvert ( #653 )
...
* Removes easyocr from mdconvert
* Updated uv lock
* Remove unused variable.
2024-09-26 18:22:44 -04:00
peterychang
e0e99a1048
Standardize Agent and Topic ID strings + documentation ( #638 )
...
* Standardize Agent and Topic ID strings + documentation
* Add specs
---------
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-26 19:45:38 +00:00
Jack Gerrits
95078d1237
Update conf.py ( #650 )
2024-09-26 16:38:36 +00:00
Eric Zhu
00289912da
Associate agent container and message types to group chat behavior protocol ( #651 )
...
* Agent container and message types is part of a group chat team behavior protocol.
* lint
2024-09-26 09:04:42 -07:00
Eric Zhu
7ba99186fb
Initial implementation of agentchat ( #623 )
...
* WIP implementation for agentchat
* WIP
* WIP
* wip
* WIP
* WIP
* WIP
* WIP
* fix types
* format
* fix build
* Fix build
* use a simpler implementation of thread -- list
* Select speaker to return speaker topic type
* add parent topic type to agent container
* Address comments
* Add check to make sure agent id is constant in a team run.
* Fix build
2024-09-25 23:15:17 +00:00
Eric Zhu
74a55c3907
Add multi-agent-debate pattern in documentation; remove from sample ( #637 )
2024-09-25 14:45:49 +00:00
Eric Zhu
a0ed11f8da
Add advanced mixture of agents guide; replacing the sample script ( #634 )
...
* Add moa cookbook for multi-layer mixture-of-agents
* Update moa
2024-09-25 12:19:09 +00:00
Eric Zhu
6c14c7859d
Remove samples that have duplicates in documentation ( #631 )
2024-09-25 11:26:26 +00:00
Leonardo Pinheiro
09501a0134
Add Broadcasting cookbook ( #600 )
...
* add cookbook initial draft
* add all boradcasting scenarios
* add to src tree
* linting
* address feedback
* rename pattern to scenario
---------
Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
2024-09-24 20:36:15 -07:00
Enhao Zhang
afdfb4ea58
TeamOne cancellation token support and making logger a member variable ( #622 )
...
* Added cancellation token support for team_one; made logger a member variable of each agent.
formatting
fix error
fix error
formatting
* No need to create a new cancellation token
2024-09-24 16:54:22 -07:00
Enhao Zhang
6dcbf869ad
Fix future cancellation and outstanding_tasks bugs ( #619 )
...
* Fix outstanding_tasks and cancellation bugs
* formatting
* Use separate except blocks
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-09-24 21:09:08 +00:00
Jack Gerrits
7fc5ad9fff
Update installation instructions and banner for release ( #625 )
2024-09-24 14:58:02 -04:00
Ryan Sweet
dca82b3f5d
Rysweet dotnet refactor ( #624 )
...
rename the main classes and mixup folder structure
move some tings from samples into core
cleanup cross-deps
cleanup grpc deps
2024-09-24 09:26:30 -07:00
Jack Gerrits
dc02719f7c
Check for prints ( #616 )
...
* Check for prints
* format
2024-09-23 20:10:57 +00:00
Aamir
0172c7131d
Instrumentation cookbook ( #583 )
...
* Update cookbooks
* Fix
* Fix
* Add
* Update indexg
* resolve comments
* casing
---------
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-23 17:53:30 +00:00
Jack Gerrits
3cba258df7
Fix home titleg ( #613 )
2024-09-23 17:45:16 +00:00
Jack Gerrits
52b06ca519
Update sub title ( #612 )
2024-09-23 16:39:36 +00:00
Mohammad Mazraeh
1ac52729f4
add subscription deduplication ( #594 )
...
* add subscription deduplication
* format
---------
Co-authored-by: Mohammad Mazraeh <mmazraeh@microsoft.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-09-23 11:57:48 -04:00
Jack Gerrits
58ee8b7fc1
Overhaul landing page, change top links ( #611 )
...
* Overhaul landing page, change top links
* agent chat first
2024-09-23 15:37:05 +00:00
Jack Gerrits
93e7127f1f
Change references from agenext to autogen ( #610 )
2024-09-23 10:46:05 -04:00
Eric Zhu
8ea09318ce
Migrate docs to use BaseAgent.register ( #605 )
...
* Migrate docs to use BaseAgent.register
* Migrate docs to use BaseAgent.register
* lint format mypy
2024-09-20 22:42:57 +00:00
Jack Gerrits
ab6ba80a98
Update pyright extends for core ( #562 )
...
* Update pyright extends for core
* Fixes
2024-09-20 15:51:38 -04:00
Jack Gerrits
9009c2aa96
add test for skip_class_subscriptions ( #604 )
2024-09-20 15:37:38 +00:00
Eric Zhu
5f961681d8
Improve type subscription core concept with scenarios ( #602 )
2024-09-20 14:12:09 +00:00
Eric Zhu
6d3a88409e
Merge getting started into guides; update references; add figure for agent life cycle ( #599 )
...
* refactor documentation layout
* lint
* update
2024-09-19 17:11:26 -07:00
gagb
c7a3cf0dfc
Update application-stack.md ( #597 )
...
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-09-19 23:43:46 +00:00
Jack Gerrits
741ccd77cc
Change team one confirmation to be on executor ( #595 )
...
* Add confirmation for messages produced by Coder
* change confirmation to be on executor
2024-09-19 22:10:39 +00:00
Jack Gerrits
e818a6160f
Add confirmation for messages produced by Coder ( #591 )
...
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-09-19 21:46:33 +00:00
Eric Zhu
46ca778423
format ( #593 )
2024-09-19 20:59:39 +00:00
Jack Gerrits
d6dce9ebb1
allow class associated subscriptions to be skipped on register ( #587 )
...
* allow class associated subscriptions to be skipped on register
* format
2024-09-19 19:50:59 +00:00
gagb
7f25d28aac
Update architecture.md ( #588 )
2024-09-19 12:01:34 -07:00
Jack Gerrits
19f83debb1
Migrate team one to new subscriptions ( #560 )
...
Co-authored-by: afourney <adam.fourney@gmail.com>
2024-09-19 14:10:41 -04:00
Eric Zhu
8018677234
Add response for registering agent type and adding subscriptions in distributed runtime, and throws an exception when error ( #582 )
...
* Add response for registering agent type and adding subscriptions in distributed runtime
* Update unit tests
* lint
2024-09-19 10:50:17 -07:00
Jack Gerrits
b8dc9fce61
Fix subscription decorator sharing class instances among children ( #571 )
2024-09-19 10:01:03 -04:00
Eric Zhu
fd021db91c
Fix bug in register_factory for worker runtime ( #563 )
2024-09-19 02:08:35 +00:00
Eric Zhu
f5a13627e2
Add description of each example for team one ( #569 )
2024-09-19 00:16:54 +00:00
afourney
7b989c3ad6
Switch starting page of example to bing.com ( #568 )
2024-09-18 16:20:45 -07:00
Jack Gerrits
6bf62262a4
fix config for pyright for most ( #561 )
2024-09-18 20:23:53 +00:00
Ryan Sweet
7d7fc8a912
.NET cleanup and refactor ( #558 )
...
Moves some shared code from samples into core.
complete/cleanup the rename to Microsoft.AutoGen
adds new projects in AutoGen.Extensions
2024-09-18 11:57:51 -07:00
Jack Gerrits
093e261158
Initial impl of new register and subscriptions ( #542 )
...
* Initial impl of new register and subscriptions
* progress
* test fixes, main issue was unbound self in routed agent
2024-09-18 14:41:04 -04:00
Taylor Rockey
a479a5e692
Update _worker_runtime_host_servicer.py ( #557 )
...
Updated _process_request to add to _pending_requests waiting for a response from the target, rather than the source of the request.
2024-09-18 11:19:17 -07:00
Aaron Gätje
4998ab5398
Fix issues in python core samples ( #549 )
...
* fix issues
* remove sender from send_message call
* Fix agent type
---------
Co-authored-by: Aaron Gaetje <aagaetje@microsoft.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-18 10:49:13 -04:00
Jack Gerrits
68932331fd
fix docker samples, improve error message ( #548 )
...
* fix docker samples, improve error message
* mypy fixes
* format
* mypy ignore
2024-09-18 10:08:09 -04:00
Jack Gerrits
79c30c1ebf
Fix pypi header icon, remove extra icon ( #550 )
2024-09-18 10:00:23 -04:00
Jack Gerrits
413b2215c7
move cookbook into correct dir ( #547 )
2024-09-18 09:22:59 -04:00
Eric Zhu
a8002636ad
Add scaffolding for autogen-ext ( #541 )
...
* add scaffolding for autogen-ext
* Make it into namespace package
* add uv lock
* add placeholder
* set ext packages
* add to CI
* connect up docs
---------
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-18 09:12:08 -04:00
Leonardo Pinheiro
c60a60e3c9
Add OAI image token count logic ( #518 )
2024-09-18 04:21:09 -07:00
gagb
53aabb88cb
Update agent-and-multi-agent-application.md ( #546 )
...
LGTM
2024-09-18 02:01:21 +00:00
frodoattempts
3568ab67a3
added litellm+ollama cookbook ( #509 )
...
* added litellm+ollama cookbook
* fix annotations
* fix type
* fix for ruff
* fix for ruff
* resolve comments
* add to index.rst
* reverting index.rst
* fix to ignore type
---------
Co-authored-by: prankur <prankurrusia@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-09-17 23:44:47 +00:00
Mohammad Mazraeh
0da2540327
add subscription to agents ( #544 )
...
Co-authored-by: Mohammad Mazraeh <mmazraeh@microsoft.com>
2024-09-17 16:38:54 -07:00
Jack Gerrits
c6d40ce269
Scale api reference to multiple packages ( #538 )
...
* Scale api reference to multiple packages
* Use captioned toctrees per lib
* fix pyright
2024-09-17 14:16:13 -04:00
Eric Zhu
c1d4f70924
Fix figure in subscription doc ( #534 )
2024-09-17 16:25:33 +00:00
Jack Gerrits
13639abcd0
Update packages page ( #533 )
2024-09-17 12:08:32 -04:00
Kosta Petan
3222632497
Update .net code to use CloudEvent, add Event back to proto definition ( #530 )
...
* remove OAgents lib from sln
* add Event back to agent_worker_proto
* regenerate python proto, remove RegisterAgent addition
* add cloudevent.proto to the python generation task
2024-09-17 14:11:17 +00:00
Victor Dibia
effde903c8
Transition to Pydata Sphinx Theme ( #482 )
...
* add pydata theme dependencies
add some organization of current files to filt #362
add reference
remove jupyter-lite and jupyter-sphinx deps, update python docs to references/python
refactor docs to fit new top level architecture of user guide, contribution, packages and references
add sample switcher json
add skeleton for version switcher
add pointer to note on versioning
Update python/packages/autogen-core/docs/src/_static/switcher.json
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
Update python/packages/autogen-core/docs/src/_static/switcher.json
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
remove unused components
add privacy footer
hide previous and next button
remove 'Section Navigation' from sidebar
make packages a single page
general refactor, add missing items
remove unneeded sidebar conf
remove duplicate content on landing page
update landing page text.
general refactor, remove unreferences files, fix some build errors
* remove extra files
* move readme to correct location
* remove sidebar from packages page, layout updates
* update lock and add clean command
* remove discord
---------
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-17 09:22:38 -04:00
Eric Zhu
b2f1b839d9
Update documentation on topic and subscription with illustrations ( #523 )
...
* Update runtime architecture documentation
* Update documentation on topic and subscription with illustrations
2024-09-17 08:29:38 +00:00
Eric Zhu
0072ea5a2b
Update runtime architecture documentation ( #521 )
2024-09-17 00:15:30 -07:00
Eric Zhu
aecb437d85
Implementation for `@rpc` and `@event` decorators ( #504 )
...
* Implementation for `@rpc` and `@event` decorators
* update
2024-09-16 17:20:44 +00:00
Jack Gerrits
561897b4ee
Disallow unions in dataclass messages, move check to creation instead of usage ( #499 )
...
* Disallow unions in dataclass messages, move check to creation instead of usage
* make image serializable by pydantic
* fixup team one
* update lockfile
* fix
* fix dataclass checking bug
* fix mypy
2024-09-16 12:37:26 -04:00
Eric Zhu
1247e0b86b
Documentation for command line code executors ( #505 )
...
* Documentation for command line code executors
* fix
2024-09-15 23:23:19 -07:00
Jack Gerrits
4efeb640e3
Update quickstart to reference docker requirement ( #497 )
2024-09-13 11:27:56 -04:00
Eric Zhu
a6c1b503ad
Distributed agent runtime API for host and worker; unit tests; documentation ( #465 )
...
* host agent runtime API and docs
* graceful shutdown of worker
* HostAgentRuntime --> WorkerAgentRuntimeHost
* Add unit tests for worker runtime
* Fix bug in worker runtime adding sender filed to proto. Documentation.
* wip
* Fix unit tests; refactor API
* fix formatting
* Fix
* Update
* Make source field optional in Event proto
2024-09-13 08:17:53 -07:00
Jack Gerrits
0376a0b399
Change examples and docs to use docker executor by default ( #494 )
2024-09-13 10:56:05 -04:00
Jack Gerrits
a815935062
Add agentchat lib boilerplate ( #493 )
...
* Add agentchat lib
* update lockfile
2024-09-13 10:47:36 -04:00
Jack Gerrits
306541e247
Fixup ruff config and inclusions ( #495 )
...
* add tests to ruff for core
* fmt
* lint
* lint fixes
* fixup more dirs
* dont include non python
* lint fixes
* lint fixes
* fix dir name
* dont relative include
2024-09-13 10:41:15 -04:00
Aamir
e25bd2c074
Add messaging attributes to telemetry spans ( #490 )
...
* Downgrade protobuf from v5 to v4
* Refactor telemetry and include attributes
* Update
* Remove unused vars
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-09-13 10:00:14 -04:00
Eric Zhu
1ba7a681a9
Fix bug in process event in worker runtime ( #492 )
2024-09-13 00:02:03 -07:00
Jack Gerrits
3ab51d3006
Port docker code executor, make async, make code executor restart async ( #489 )
...
* Port docker code executor, make async, make code executor restart async
* add export
* fmt
* fix async file
2024-09-12 16:33:30 -04:00
Eric Zhu
ae10608427
Add missing link to telemetry page ( #488 )
2024-09-12 04:53:29 -07:00
Eric Zhu
76067a62c0
Use notebook for extract result cookbook, use updated API. ( #487 )
2024-09-12 04:24:44 -07:00
Eric Zhu
06554c5a45
Update termination handler docs to keep it up-to-date ( #486 )
...
* Update termination handler docs to keep it up-to-date
* fix type
2024-09-12 03:59:56 -07:00
Eric Zhu
cb9ae44f23
Add documentation to RoutedAgent and message_hander, remove outdated doc content. ( #485 )
2024-09-12 03:26:33 -07:00
Aamir
461b8a8bbd
Add basic OTEL tracing for SingleThreadedAgentRuntime and WorkerAgentRuntime ( #459 )
...
* Downgrade protobuf from v5 to v4
* Add some telemetry blocks fo single threaded agent runtime
* Rename
* Add comments
* Update uv sync
* Address build complains
* Fix mypy
* Add tracing for worker
* Add tracing to worker
* Fix
* Fix up
* Update
* Simplify
* UpdateUpdate
* Add test dep for otel sdk
* Minor fix
* Add telemetry docs
* Simple
* Fix mypy
* Add testFix
* Fix merge
* Update telemetry.md
---------
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-11 19:47:55 -04:00
Ryan Sweet
5dce10d530
move contrinbuting.md symlink ( #475 )
2024-09-11 15:21:16 -07:00
raimondasl
385b63b36f
Fixed AZURE_OPENAI_API_ENDPOINT name. Added needed packages. ( #467 )
...
* Fixed AZURE_OPENAI_API_ENDPOINT name. Added needed packages.
* remove hatch comment from doc
---------
Co-authored-by: Raimondas Lencevicius <rlencevicius@microsoft.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-09-11 14:57:06 -07:00
Ryan Sweet
81463c0c64
Rysweet contibruting.md ( #460 )
...
* add standard contributing.md Fill out contributing guide on website #455
* add contibuting.md #455
* Update CONTRIBUTING.md
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* Update CONTRIBUTING.md
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* Update CONTRIBUTING.md
Co-authored-by: gagb <gagb@users.noreply.github.com>
* add symlink to top level contributing
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-09-11 17:40:16 -04:00
Eric Zhu
976a7d4d77
create model context component, remove chat memory component, refactor samples #454 ( #469 )
...
* create model context component, remove chat memory component, refactor samples #454
* Fix bugs in samples.
* Fix
* Update docs
* add unit tests
2024-09-11 14:35:35 -07:00
Helen
82bb342fb3
Fix a broken link ( #471 )
2024-09-11 12:18:26 -07:00
Eric Zhu
2345557c62
add router to message handler Routing Predicates for message_handler in RoutedAgent #397 ( #446 )
...
* add router to message handler Routing Predicates for message_handler in RoutedAgent #397
* route --> match
* update docs
* type checking message parameter
* update docs
---------
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
2024-09-11 15:26:09 +08:00
Jack Gerrits
5f86ce18f2
Update task to be something that can be done in a container standalone ( #466 )
2024-09-10 15:30:05 -04:00
Jack Gerrits
05ff2d33e0
Rename codec to serializer ( #462 )
2024-09-09 18:32:29 -04:00
Aamir
66e0e8e097
Add slow human in loop sample ( #423 )
...
* Add slow human in loop
* Fix
* Fix
* Fix
* Fix input
* Don't persist to json
* Add comment
* Fix imports
* Feedback
* Use if instead of while
* Add stop_when
* Merge from UV
* Multiple handlers
* Allow multiple intervention handleres to be supplied
* intervention_handler -> intervention_handlers
* Fix up
* Merge
* Merge
* Fix termination
* Handle feedback
* fmt
* Fix
* Fix
* Add initial message in the assistant memory
* Documentation
* fmt
* Update comment
* Downgrade protobuf from v5 to v4
* Address feedback
* Update python/packages/autogen-core/samples/demos/slow_human_in_loop.py
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
* Update python/packages/autogen-core/samples/demos/slow_human_in_loop.py
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
* Update python/packages/autogen-core/samples/demos/slow_human_in_loop.py
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
* Address comment
* Fix
* Fix to use lambda
---------
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-09 09:50:52 -07:00
Jack Gerrits
3be2059516
Add some FAQs to the website ( #456 )
2024-09-06 17:12:56 -04:00
Aamir
df362c53cf
Downgrade protobuf from v5 to v4 ( #453 )
2024-09-06 13:49:02 -04:00
Jack Gerrits
8504ea0bf2
Support datacontenttype and lay groundwork for unknown payloads ( #444 )
...
* Support datacontenttype and lay groundwork for unknown payloads
* Update dotnet based on proto changes
2024-09-05 16:36:59 -04:00
Jack Gerrits
df44d26c87
Fix docs edit link and ref links ( #448 )
2024-09-05 11:24:02 -04:00
Aamir
dacd290f1e
Add a generic `stop_when` to runtime ( #431 )
...
* Add stop_when
* Format
---------
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-08-30 15:28:51 -04:00
Aamir
042958e3ab
Allow multiple intervention handlers to be supplied to the runtime ( #435 )
...
* Allow multiple intervention handleres to be supplied
* intervention_handler -> intervention_handlers
* Run format
---------
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-08-30 15:24:25 -04:00
Jack Gerrits
c72e2484c2
Fix pytest asycio warning ( #440 )
2024-08-30 14:00:20 -04:00
Jack Gerrits
ba64f442de
Remove static subscription restriction ( #439 )
2024-08-30 14:00:11 -04:00
Eric Zhu
479d5fa9d1
Fix documentation bug ( #438 )
2024-08-30 07:33:46 -07:00
Jack Gerrits
0f9254b4fa
Update installation instructions based on directory moves ( #436 )
2024-08-30 09:37:11 -04:00
Aamir
fa826ab71c
Add lock file and update readme ( #434 )
...
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-08-30 09:10:26 -04:00
afourney
243c095796
Updated the root path discovery in agbench to reflect latest folder structure. ( #433 )
2024-08-29 15:07:17 -07:00
Jack Gerrits
d2c8b7a531
Update README.md ( #432 )
2024-08-29 17:58:00 -04:00
Jack Gerrits
4faa5980fb
fix version ( #430 )
2024-08-29 17:21:53 -04:00
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
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
afourney
524a5a78f9
Initial work moving mdconvert, and enabling browser Q&A ( #211 )
...
* Initial work moving mdconvert, and enabling browser Q&A
2024-07-15 09:47:38 -07:00
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
2024-07-15 09:42:28 -07:00
Victor Dibia
78b63438e9
extend base log handler in team one to also write events to a log file ( #212 )
...
Looks good to me.
2024-07-12 22:21:45 +00:00
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>
2024-07-12 12:48:47 -07:00
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.
2024-07-11 10:52:29 -07:00
afourney
5996b452eb
TeamOne handle multimodal console ( #200 )
...
* Added ability to print multimodal messages to console.
* Fixed hatch error
2024-07-10 00:01:13 -07:00
afourney
14628f2ae0
add ParametersSchema to tools exports ( #199 )
2024-07-09 21:43:16 +00:00
gagb
4553bf9054
Move file surfer to use baseagent ( #198 )
...
* Move file surfer to use baseagent
* Remove unused code
* Fix hatch err
2024-07-09 21:40:07 +00:00
afourney
ea2fcc28c3
Removes a redundant time field. ( #197 )
2024-07-09 14:02:09 -07:00
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.
2024-07-09 13:51:05 -07:00
Jack Gerrits
05e72084e8
Allow model client to accept the tool schema directly ( #196 )
2024-07-09 16:44:58 -04:00
Jack Gerrits
2191b3144b
Fix double await ( #195 )
2024-07-09 16:27:26 -04:00
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>
2024-07-09 17:46:55 +00:00
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>
2024-07-08 22:36:25 +00:00
gagb
7d12c70cff
Add missing file surfer dependency ( #191 )
2024-07-08 22:21:54 +00:00
Jack Gerrits
bf32bb67ae
[Python] Specify subscriptions as strings and not types ( #169 )
...
* Add infra for message serialization
* Add message type registry to handle type registration
2024-07-08 16:45:14 -04:00
afourney
8eb8a4b14d
Added user proxy. ( #176 )
...
* Added user proxy.
* Add dependency
---------
Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-07-03 17:13:24 -07:00
gagb
f82f3852d3
Update to use new src ( #177 )
2024-07-03 22:47:34 +00:00
Eric Zhu
5abaacc56e
Update foundation chapter on runtime running ( #175 )
2024-07-03 15:03:24 -07:00
afourney
2e7c7e2d82
Cleaned up Dockerfile for agnext ( #173 )
...
Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-07-03 00:10:24 -07:00
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.
2024-07-03 00:04:44 -07:00
gagb
9df928b73e
Improve printing further ( #172 )
...
* Improve pretty printing
* Improve printing further
2024-07-02 18:09:45 -07:00
gagb
e0065cab42
Improve pretty printing ( #171 )
2024-07-03 00:50:08 +00:00
gagb
bcec0502d7
Numerous fixes for agbench ( #170 )
...
* Shift to new runtime API
* Add pretty printing
* Reformat
* Fix linting errors
2024-07-02 23:18:48 +00:00
afourney
ca42b560e9
Initial work porting AutoGenBench to AGNext ( #141 )
...
* Initial check-in of agbench
* Moved agbench to intended directory.
* Removed pyautogen dependency
* moved to using process_until_idle
* Added TeamOne template.
* User TeamOne agent classes.
* migrate to hatch, move benchmarks out, add CI (#166 )
* Resolve type issues (#168 )
Thanks for fixing types.
* Fixed import.
---------
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-07-02 10:58:49 -07:00
Jack Gerrits
766635394a
Update send_message to be a single async operation. Add start helper to runtime to manage this ( #165 )
2024-07-01 11:53:45 -04:00
Eric Zhu
28f11c726d
Add architecture overview ( #164 )
2024-06-30 08:38:11 -07:00
Eric Zhu
f42361f57d
Update Docs; Update examples to allow Azure OpenAI setup ( #154 )
...
* Update Docs; Update examples to allow Azure OpenAI setup
* update
2024-06-28 23:15:46 -07:00
gagb
aff179776c
Add coder, file surfer, common message types in team-one ( #142 )
...
* Update message types
* Add new coder, refactor file surfer
* Run hatch check
* Run hatch check
2024-06-28 15:50:10 -07:00
Eric Zhu
6b2cf8d938
Fix bug in logging for single threaded agent runtime. ( #153 )
...
* fix logging
* fix doc
2024-06-28 15:27:00 -07:00
Eric Zhu
4023f13b5f
Refactor documentation pages and Add core concept page. ( #140 )
2024-06-28 14:15:51 -07:00
Reuben Bond
ebed669231
Initial cross-language protocol for agents ( #139 )
...
* Initial prototype of .NET gRPC worker client + service
---------
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
2024-06-28 08:03:42 -07:00
Jack Gerrits
13b0d0deb4
Implement closure agent ( #143 )
2024-06-28 10:22:44 -04:00
gagb
8901b4d224
Add module for common messages ( #133 )
...
* Move agents to a subdir
* Add placeholder for example team
* Move messages to a common file
* Add rounrobin orchestrator + reflex agents
* Fix import errors
* Clean up commented code
* Fix formatting errors
* Fix a linting error
* Fix formatting errors
2024-06-27 16:39:16 -07:00
Eric Zhu
8308c928cb
Add process_until_idle; add tests for cascading scenario. ( #136 )
...
* Add process_until_idle; add tests for cascading scenario.
* await publish
* update examples
* update examples
---------
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-06-27 11:46:06 -07:00
Jack Gerrits
ec17dd16ed
Organize logging ( #138 )
2024-06-27 14:36:05 -04:00
Jack Gerrits
a13c971b16
Change send/publish api to better support async and represent reality ( #137 )
...
* Make send and publish better represent reality
* fix team-one
2024-06-27 13:40:12 -04:00
Eric Zhu
905e2e3f95
Update doc and README ( #135 )
2024-06-27 07:41:36 -07:00
Eric Zhu
d637f43011
Add multi-agent debate pattern. ( #134 )
2024-06-27 00:06:13 -07:00
Eric Zhu
6d149fe728
Add coder-executor example; document the examples; clarify pub-sub as broadcast communication ( #132 )
2024-06-26 06:32:33 -07:00
Eric Zhu
a4f08959b7
update docs ( #129 )
2024-06-25 16:51:49 -07:00
gagb
1cd39691f1
Move agents to a subdir ( #128 )
2024-06-25 14:50:42 -07:00
gagb
292964934b
Add initial file surfer + examples for team one ( #126 )
...
* Add initial file surfer
* Fix return type
* Add example for running coder
* Run hatch check
* Add example for file surfer
* Add aiofiles to dependencies
2024-06-25 14:27:45 -07:00
Eric Zhu
44443c8aad
Remove chat layer, move it to examples/common ( #125 )
2024-06-25 13:23:29 -07:00
gagb
059550648e
Add team-one/coder ( #121 )
...
* Add coder agent for t1
* Rename OpenAI
2024-06-25 10:28:48 -07:00
Jack Gerrits
f24278c295
Rename OpenAI to OpenAIChatCompletionClient ( #123 )
2024-06-25 12:39:25 -04:00
Jack Gerrits
f5f4c39238
Add infra for message serialization ( #122 )
2024-06-25 12:08:38 -04:00
gagb
9afd1fbe93
Update README.md ( #120 )
...
Fix incorrect file path
2024-06-24 23:27:32 -07:00
Jack Gerrits
bb4bb5bd14
Dont print exceptions for cancelled errors ( #119 )
2024-06-24 19:54:19 -04:00