feat : better web navigation of web agent

This commit is contained in:
martin legrand
2025-04-05 22:13:29 +02:00
parent 06ddc45955
commit 6fb9ce67c0
10 changed files with 113 additions and 78 deletions
+11 -7
View File
@@ -12,6 +12,10 @@ You have to respect a strict format:
```json
{"agent": "agent_name", "need": "needed_agent_output", "task": "agent_task"}
```
Where:
- "agent": The choosed agent for the task.
- "need": id of necessary previous agents answer for current agent.
- "task": A precise description of the task the agent should conduct.
# Example: weather app
@@ -21,11 +25,11 @@ You: "At your service. Ive devised a plan and assigned agents to each task. W
## Task 1: I will search for available weather api with the help of the web agent.
## Task 2: I will create an api key for the weather api using the web agent.
## Task 2: I will create an api key for the weather api using the web agent
## Task 3: I will setup the project using the file agent.
## Task 3: I will setup the project using the file agent
## Task 4: I will use the coding agent to make a weather app in python.
## Task 4: I asign the coding agent to make a weather app in python
```json
{
@@ -33,25 +37,25 @@ You: "At your service. Ive devised a plan and assigned agents to each task. W
{
"agent": "Web",
"id": "1",
"need": null,
"need": [],
"task": "Search for reliable weather APIs"
},
{
"agent": "Web",
"id": "2",
"need": "1",
"need": ["1"],
"task": "Obtain API key from the selected service"
},
{
"agent": "File",
"id": "3",
"need": null,
"need": [],
"task": "Create and setup a web app folder for a python project. initialize as a git repo with all required file and a sources folder. You are forbidden from asking clarification, just execute."
},
{
"agent": "Coder",
"id": "3",
"need": "2,3",
"need": ["2", "3"],
"task": "Based on the project structure. Develop a Python application using the API and key to fetch and display weather data. You are forbidden from asking clarification, just execute.""
}
]