Start the FlexAI endpoints
Create the FlexAI secret that contains your HF token in order to access the inference models:You’ll notice the lastexportline uses thejqtool to extract the value ofendpointUrlfrom the JSON output of theinspectcommand. If you don’t have it already, you can getjqfrom its official website: https://jqlang.org/
Setup
1
Navigate to the experiment directory
2
Install the required dependencies
3
Run the application
4
Interact with the Multi-Agent System
When prompted, enter your question. The system will automatically route it to the appropriate agents (research and math experts).Research + Math Question:Expected Output:
Code
requirements.txt
main.py
agents/supervisor.py
agents/math.py
agents/web_search.py
⚡ Deploy this on FlexAI
Any model, NVIDIA or AMD, live in under 60 seconds. No code changes, no infra management, hardware-agnostic.
Get started →Talk to us