On a mac, using the Kagi Assistant App, the only way to navigate back and forward is by a right menu option or or History menu option. Why not just add the navigation buttons to the app itself like a browser?
Simple navigation (back and forward) at the top of the app like all web browsers have