Here’s what a simple graph would look like
https://github.com/blacksmithop/parse_knowledge_with_llms/blob/main/agent.py#L12-L30