MacOS terminal inside swift view

I need multi-tabbed ssh client. I want to prepare ssh client gui using macos terminal.

I could't find a way to show terminal app in view. Can i view the macos terminal application in a swift view?

Like in this screenshot

Or what is the best way for this application?