Pydantic AI Is Only 73 Lines of My Codebase: The Other 90% Is Architecture
Why production AI systems spend far more engineering effort on state management, tool governance, model identity, and transport layers than on the agent framework itself. In our recently open-sourced project, ScriptorDB, the code that directly invokes Pydantic AI amounts to exactly 73 lines. Well over 90% of the engineering effort goes into workspace isolation, secrets management, model resolution, tool security policies, session persistence, SSE streaming, error tracking, and execution auditing-all of which occur outside the framework. This ratio […]