The design of photonic adiabatic components, such as mode converters or adiabatic couplers with minimal device footprint has attracted significant interest. Various design methods have been proposed based on several tapering functions [1], diffraction and ray tracing [2] and shortcut to adiabaticity [3] among others. Herein, we present an algorithm that maintains constant coupling between the modes of interested. The algorithm is based on coupled mode theory [4]. As an example, we designed a compact adiabatic TM0/TE1 mode converter consisting of a single waveguide in the silicon-on-insulator (SOI) platform.