whoami && uname -a from an SDK, the CLI, or SSH.
Using a coding agent? Install the agent skill for CLI setup and machine operations.
1
Install the CLI
2
Set your API key
Create an API key in the Dashboard, then export
it in the terminal session to be used by the CLI to authenticate.
The key identifies your organization. You do not need to find or set an
organization ID. Leave
DEDALUS_ORG_ID and --dedalus-org-id unset.3
Create a machine
machine_id. The dedalus machines create function takes flags for vCPU, memory, storage, and autosleep that determine
the shape and behavior of your machine. You can leave the resource flags unset to use the default values shown in this example. Autosleep defaults to five
minutes. Set autosleep to a different duration, or use never to keep the machine awake indefinitely.Run your first command
Each option below runs the same command, returning the Linux user and kernel information. Use the CLI for agents or from a script, the SDK for backend services, or SSH when you need an interactive terminal session.- CLI
- SDK
- SSH
Create an execution, wait for it to succeed, then retrieve its output:The retrieve response must report
succeeded before you request output. For production polling,
follow the execution workflow.