Skip to main content

Laravel events

Event classes under Events are dispatched at many points throughout the SDK, so you can use them for logging and debugging. You can achieve similar things with hooks, but events also cover places without hooks.
For example, you can push slow work into a queue or defer. You won’t receive the result of Copilot::run() directly, but you can receive it in a listener for the MessageSendAndWait event instead.
For the latest updates, see the GitHub repository.
Last modified on August 2, 2026