I have noticed that macOS Kagi for Safari 2.2.3 does not always redirect from DuckDuckGo to Kagi. Has happened a few times when I search for esbuild
from the Safari search bar and press enter. When it happens, either refreshing the page or pressing enter in the search bar make the extension redirect to Kagi search correctly. Have not been able to reproduce this consistently though.