Could We Use Another AI to Control Cursor?

Ever since I started writing code with Cursor, debugging with it every time has been a real waste of time. Could I set up another AI to direct this AI to write code?

Ever since I started writing code with Cursor, debugging with it every time has been a real waste of time. Could I set up another AI to direct this AI to write code?