# Dify Agent runtime Dify Agent hosts Agenton-composed Pydantic AI runs behind a FastAPI API. Its source code stays under `src/dify_agent`, while framework-neutral Agenton code stays under `src/agenton` and `src/agenton_collections`. See the [operations guide](guide/index.md) for local server behavior.