whistleUsing Stakpak

Using Stakpak Interactively (Interactive Mode)

To run stakpak interactively, all you have to do is to open the terminal in the directory you want to work in and type: stakpak

Using Stakpak in Async (Async Mode)

To run stakpak in async mode all you have to do is to open the terminal and type: stakpak -a "your prompt"

You can set the max number of steps the agent can take by adding the -m flag

circle-info

The default number of steps in async mode is 50

Using Stakpak on Remote Servers (SSH)

Stakpak’s file editing tools support SFTP, so you can create/edit/remove files on a remote host without installing anything on it.

all you have to do is to open stakpak on your local machine and then typing:

command ssh username@<ip> -p <portnumber>

Once connected, Stakpak can operate on the remote filesystem using the following commands:

  • create – create new files on the remote host

  • str_replace – modify existing files by replacing content

  • view – read and inspect remote files

  • run_command – execute commands on the remote server

or you can use Shell Mode

Last updated