A Plan-and-excute(search) demo with OpenAI Swarm and FastHTML.
- No function-call feature required.
- Use any LLM api that follows the OpenAI format.
graph TD;
__start__([__start__]):::first
plan_agent(Analyst)
Search(Search)
Synthesizer(Synthesizer)
__end__([__end__]):::last
__start__ --> plan_agent;
plan_agent --> Search;
Search --> plan_agent;
plan_agent --> Synthesizer;
Synthesizer -.-> __end__;
- Copy .env_example to .env and fill out the necessary information.
- Run
poetry install
- Run
poetry run python app.py