You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: python/teams/team-one/readme.md
+95-3
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,100 @@
1
-
# Environment Configuration for Chat Completion Client
1
+
# Team-One
2
+
Team-One is a multi-agent system that utilizes a combination of five agents, including LLM and tool-based agents, to tackle intricate tasks. These tasks often involve multi-step planning and actions.
3
+
4
+
> *Example*: Suppose a user requests to conduct a survey of AI safety papers published in the last month and create a concise presentation on the findings. Team-One will use the following process to handle this task. The orchestrator agent will break down the task into subtasks and assign them to the appropriate agents. Such as the web surfer agent to search for AI safety papers, the file surfer agent to extract information from the papers, the coder agent to create the presentation, and the computer terminal agent to execute the code. The orchestrator agent will coordinate the agents, monitor progress, and ensure the task is completed successfully.
5
+
6
+
7
+
Team-One uses agents with the following personas and capabilities:
8
+
9
+
- Orchestrator: The orchestrator agent is responsible for planning, managing subgoals, and coordinating the other agents. It can break down complex tasks into smaller subtasks and assign them to the appropriate agents. It also keeps track of the overall progress and takes corrective actions if needed (such as reassigning tasks or replanning when stuck).
10
+
11
+
- Coder: The coder agent is skilled in programming languages and is responsible for writing code.
12
+
13
+
- Computer Terminal: The computer terminal agent acts as the interface that can execute code written by the coder agent.
14
+
15
+
- File Surfer: The file surfer agent specializes in navigating files such as pdfs, powerpoints, WAV files, and other file types. It can search, read, and extract information from files.
16
+
17
+
- Web Surfer: The web surfer agent is proficient is responsible for web-related tasks. It can browse the internet, retrieve information from websites, and interact with web-based applications. It can handle interactive web pages, forms, and other web elements.
| Agent | A component that can (autonomously) act based on observations. Different agents may have different functions and actions. |
25
+
| Planning | The process of determining actions to achieve goals, performed by the Orchestrator agent in Team-One. |
26
+
| Ledger | A record-keeping component used by the Orchestrator agent to track the progress and manage subgoals in Team-One. |
27
+
| Stateful Tools | Tools that maintain state or data, such as the web browser and markdown-based file browser used by Team-One. |
28
+
| Tools | Resources used by Team-One for various purposes, including stateful and stateless tools. |
29
+
| Stateless Tools | Tools that do not maintain state or data, like the commandline executor used by Team-One. |
30
+
31
+
32
+
33
+
## Capabilities and Performance
34
+
### Capabilities
35
+
36
+
- Planning: The Orchestrator agent in Team-One excels at performing planning tasks. Planning involves determining actions to achieve goals. The Orchestrator agent breaks down complex tasks into smaller subtasks and assigns them to the appropriate agents.
37
+
38
+
- Ledger: The Orchestrator agent in Team-One utilizes a ledger, which is a record-keeping component. The ledger tracks the progress of tasks and manages subgoals. It allows the Orchestrator agent to monitor the overall progress of the system and take corrective actions if needed.
39
+
40
+
- Acting in the Real World: Team-One is designed to take action in the real world based on observations. The agents in Team-One can autonomously perform actions based on the information they observe from their environment.
41
+
42
+
- Adaptation to Observation: The agents in Team-One can adapt to new observations. They can update their knowledge and behavior based on the information they receive from their environment. This allows Team-One to effectively handle dynamic and changing situations.
43
+
44
+
- Stateful Tools: Team-One utilizes stateful tools such as a web browser and a markdown-based file browser. These tools maintain state or data, which is essential for performing complex tasks that involve actions that might change the state of the environment.
45
+
46
+
- Stateless Tools: Team-One also utilizes stateless tools such as a command-line executor. These tools do not maintain state or data.
47
+
48
+
- Coding: The Coder agent in Team-One is highly skilled in programming languages and is responsible for writing code. This capability enables Team-One to create and execute code to accomplish various tasks.
49
+
50
+
- Execution of Code: The Computer Terminal agent in Team-One acts as an interface that can execute code written by the Coder agent. This capability allows Team-One to execute the code and perform actions in the system.
51
+
52
+
- File Navigation and Extraction: The File Surfer agent in Team-One specializes in navigating and extracting information from various file types such as PDFs, PowerPoints, and WAV files. This capability enables Team-One to search, read, and extract relevant information from files.
53
+
54
+
- Web Interaction: The Web Surfer agent in Team-One is proficient in web-related tasks. It can browse the internet, retrieve information from websites, and interact with web-based applications. This capability allows Team-One to handle interactive web pages, forms, and other web elements.
55
+
56
+
57
+
### Performance
58
+
59
+
Team-One currently achieves the following performance on complex agent benchmarks:
60
+
61
+
GAIA
62
+
63
+
TODO
64
+
65
+
WebArena
66
+
67
+
TODO
68
+
69
+
70
+
# Setup
71
+
72
+
73
+
You can install the Team-One package using pip and then run the example code to see how the agents work together to accomplish a task.
74
+
75
+
76
+
1. Clone the code.
77
+
```bash
78
+
# clone agnext
79
+
cd python/teams/team-one
80
+
pip install -e .
81
+
```
82
+
83
+
2. Configure the environment variables for the chat completion client. See instructions below.
84
+
85
+
86
+
2. Now you can run the example code to see how the agents work together to accomplish a task.
87
+
88
+
```bash
89
+
python examples/example.py
90
+
```
91
+
92
+
93
+
## Environment Configuration for Chat Completion Client
2
94
3
95
This guide outlines how to configure your environment to use the `create_completion_client_from_env` function, which reads environment variables to return an appropriate `ChatCompletionClient`.
4
96
5
-
## Azure with Active Directory
97
+
###Azure with Active Directory
6
98
7
99
To configure for Azure with Active Directory, set the following environment variables:
8
100
@@ -23,7 +115,7 @@ To configure for Azure with Active Directory, set the following environment vari
23
115
}
24
116
```
25
117
26
-
## With OpenAI
118
+
###With OpenAI
27
119
28
120
To configure for OpenAI, set the following environment variables:
0 commit comments