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