This project provides a supervisor graph for managing agents. It helps in visualizing and controlling the interactions and states of various agents in a system.
- Visual representation of agent interactions
- Real-time updates on agent states
- Easy integration with existing systems
To install the project, clone the repository and install the required dependencies:
git clone https://github.com/yourusername/supervisor-graph-agents.git
cd AgentWork-Agent
pip install -r requirements.txtTo start the supervisor graph, run the following command:
uvicorn agent_server:appIt will run on localhost.
If you want to run Demo1, make POST with body like this:
requests.post("http://127.0.0.1:8000/invoke",body={"id":"1", "request":"Your request"})
{
"id":"1",
"request":"Your request",
"id_thread":"Specific ID for that job"
}
If you want to run Demo2:
{
"id":"2",
"request":"Your request",
"id_thread":"Specific ID for that job"
}
For the request, You can find them in Agent_team_1, Agen_team_2