I found that the PydanticAI [0] framework strikes a perfect balance between control and abstraction.
I’m building a non trivial AI app and the validation and dependency injection is such a great addition compared to using the LLM libraries directly.
I’m building a non trivial AI app and the validation and dependency injection is such a great addition compared to using the LLM libraries directly.
Have you tried it?
This framework looks really well designed, I'm going to take it for a spin.
from the above link, which seems to use FSMs instead of DAGs.