Foundry agents deployed via PromptAgentDefinition have no Python runtime — only MCP tools are available. The doc generator agent needs real rendering capabilities (HTML templates, WeasyPrint PDF, ...
installs ipykernel to register the venv as a Jupyter kernel installs project dependencies (e.g., pandas, docxtpl, etc.) ...