Not natively in terminal that I know of but it works in Warp terminal (which also has native AI and lots of other great native functionality) https://www.warp.dev
oh yes i forgot about this i should try