First step in platforming AutoGen Studio on the AgentChat api. Primary goal is to create a too that enables rapid prototyping and experiments.
This PR introduces a teammanager class that can take a declarative agent spect and return AgentChat runtime instances, streaming agent updates over a websocker and an updated backend api.
from autogenstudio.teammanager import TeamManager
import json
wm = TeamManager()
result = await wm.run(task="What is the weather in New York?", team_config= json.load(open("team.json")) )
print(result)
UI
Current updates to the UI include the ability to create a session, attach a team spec (as json) and run tasks.
Intermediate agent steps are streamed to the UI and can be stopped as the task proceeds.
Related issue number
- [x] Closes #4007
- [x] Closes #4008
- [x] Closes #4009
- [x] Closes #4010
- [x] Closes #4095
- [x] Closes #3824
- [x] Closes #4098
## Checks
- [ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
- [ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
- [ ] I've made sure all auto checks have passed.
Why are these changes needed?
First step in platforming AutoGen Studio on the AgentChat api. Primary goal is to create a too that enables rapid prototyping and experiments.
This PR introduces a
teammanager
class that can take a declarative agent spect and return AgentChat runtime instances, streaming agent updates over a websocker and an updated backend api.Declarative Specification and Team Manager
The team specification can be loaded as follows:
UI
Current updates to the UI include the ability to create a session, attach a team spec (as json) and run tasks. Intermediate agent steps are streamed to the UI and can be stopped as the task proceeds.
Related issue number
- [x] Closes #4007 - [x] Closes #4008 - [x] Closes #4009 - [x] Closes #4010 - [x] Closes #4095 - [x] Closes #3824 - [x] Closes #4098 ## Checks - [ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally. - [ ] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [ ] I've made sure all auto checks have passed.