The paradigm: Python controls the flow, the LLM reasons. Split a task into a function call graph; nodes needing no reasoning are plain Python, nodes needing understanding, generation or judgment are Agent methods that call llm(...). Order, state and retries are ordinary, unit-testable code.
Complete workflows on that paradigm (harnesses or agentic programs in the code), each a git repository. Their functions run as tools in chat or directly.