🚀 IA Exception Bundle 8.2.0 — AI analysis on the Symfony exception page
on November 29, 2026
IA Exception Bundle 8.2.0 puts AI-assisted diagnosis inside Symfony’s native debug exception page. The moment an exception occurs, the framework still shows the original error, stack and source context. A developer can then request an additional explanation from the configured Symfony AI agent.
From a custom template to Symfony’s renderer
Symfony 8.2 redesigns its exception page. The bundle now uses Symfony’s error renderer for the main HTML debug response and adds the analysis action to the rendered page. The async mode submits a same-origin form when the developer requests it. The bundle leaves the rendering of the exception, including the renderer’s CSP nonces, to Symfony. Existing custom overrides of the removed exception page and trace formatter should move to the native Symfony page or the analysis-action partial.
Try it in a development app
composer require darkwood/ia-exception-bundle:^8.2
Configure a Symfony AI agent as described in the bundle README and enable the integration in a debug environment. For example, use the following settings in a local override and trigger a fixture exception from a disposable route:
darkwood_ia_exception:
enabled: true
only_status_codes: [500]
async: true
The selected agent receives a limited exception context, including the exception class, line number and optional stack frame names. Exception messages, full filesystem paths, arguments, request headers and payloads are excluded from that context. The analysis endpoint is available only in debug mode and its responses use Cache-Control: private, no-store. Keep the native debug page private, since the framework’s display can still expose development details. The analysis supplements the stack trace and source inspection.
The package requires PHP 8.5 or later, Symfony components ^8.1 and Symfony AI ^0.12.0. The native debug page and the behaviour with debug disabled were validated on Symfony 8.2.0.
Symfony’s redesigned exception page
GitHub release · Packagist · Changelog · Source diff v8.1.12 → v8.2.0