Skip to content
Back to search

dstack

A unified orchestration layer for heterogeneous AI compute. It standardizes how to manage compute and run training and inference on GPU clouds, Kubernetes, VMs, or bare-metal clusters.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 11 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/dstackai/dstack with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/dstackai/dstack'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/dstackai--dstack/badge.svg)](/listings/dstackai--dstack)

HTML

<a href="/listings/dstackai--dstack"><img src="/api/listings/dstackai--dstack/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

<details><summary>If the CLI is not installed with the server</summary>

Once the server is up, you can access it via the `dstack` CLI.

The CLI can be installed on Linux, macOS, and Windows. It requires Git and OpenSSH.

$ uv tool install dstack -U

To point the CLI to the `dstack` server, configure it with the server address, user token, and project name:

$ dstack project add \
    --name main \
    --url http://127.0.0.1:3000 \
    --token bbae0f28-d3dd-4820-bf61-8f4bb40815da

Configuration is updated at ~/.dstack/config.yml

</details>

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 137 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. <div style="text-align: center;">
  2. <h2>
  3. <a target="_blank" href="https://dstack.ai">
  4. <picture>
  5. <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/dstackai/dstack/master/mkdocs/assets/images/dstack-logo-dark.svg"/>
  6. <img alt="dstack" src="https://raw.githubusercontent.com/dstackai/dstack/master/mkdocs/assets/images/dstack-logo.svg" width="350px"/>
  7. </picture>
  8. </a>
  9. </h2>
  10. [![Last commit](https://img.shields.io/github/last-commit/dstackai/dstack?style=flat-square)](https://github.com/dstackai/dstack/commits/)
  11. [![PyPI - License](https://img.shields.io/pypi/l/dstack?style=flat-square&color=blue)](https://github.com/dstackai/dstack/blob/master/LICENSE.md)
  12. [![Discord](https://img.shields.io/discord/1106906313969123368?style=flat-square)](https://discord.gg/u8SmfwPpMd)
  13. </div>
  14. `dstack` is a unified control plane for GPU provisioning and orchestration that works with any GPU cloud, Kubernetes, or on-prem clusters.
  15. It streamlines development, training, and inference, and is compatible with any hardware, open-source tools, and frameworks.
  16. #### Accelerators
  17. `dstack` supports `NVIDIA`, `AMD`, `Google TPU`, and `Tenstorrent` accelerators out of the box.
  18. ## Latest news ✨
  19. - [2026/08] [dstack 0.21.0: Pydantic v2, Gateway replicas](https://github.com/dstackai/dstack/releases/tag/0.21.0)
  20. - [2026/07] [dstack 0.20.29: Presets — agent-driven inference optimization](https://dstack.ai/docs/concepts/presets/)
  21. - [2026/07] [dstack 0.20.27: Slurm backend](https://github.com/dstackai/dstack/releases/tag/0.20.27)
  22. - [2026/05] [dstack 0.20.21: Kubernetes multiple clusters](https://github.com/dstackai/dstack/releases/tag/0.20.21)
  23. - [2026/05] [dstack 0.20.20: NVIDIA Dynamo integration](https://github.com/dstackai/dstack/releases/tag/0.20.20)
  24. - [2026/04] [dstack 0.20.17: Kubernetes volumes](https://github.com/dstackai/dstack/releases/tag/0.20.17)
  25. - [2026/02] [dstack 0.20.10: PD disaggregation support](https://github.com/dstackai/dstack/releases/tag/0.20.10)
  26. - [2026/01] [dstack 0.20.7: Replica groups](https://github.com/dstackai/dstack/releases/tag/0.20.7)
  27. ## How does it work?
  28. <picture>
  29. <source media="(prefers-color-scheme: dark)" srcset="https://dstack.ai/static-assets/static-assets/images/dstack-architecture-diagram-dark.svg"/>
  30. <img src="https://dstack.ai/static-assets/static-assets/images/dstack-architecture-diagram.svg" width="750" />
  31. </picture>
  32. ### Launch the server
  33. > Before using `dstack` through CLI or API, set up a `dstack` server. If you already have a running `dstack` server, you only need to [install the CLI](#install-the-cli).
  34. To orchestrate compute across GPU clouds or Kubernetes clusters, you need to [configure backends](https://dstack.ai/docs/concepts/backends).
  35. > When using `dstack` with on-prem servers, backend configuration isn’t required. Simply create [SSH fleets](https://dstack.ai/docs/concepts/fleets#ssh-fleets) once the server is up.
  36. The server can be installed on Linux, macOS, and Windows (via WSL 2). It requires Git and
  37. OpenSSH.
  38. ```shell
  39. $ uv tool install "dstack[all]" -U
  40. $ dstack server
  41. Applying ~/.dstack/server/config.yml...
  42. The admin token is "bbae0f28-d3dd-4820-bf61-8f4bb40815da"
  43. The server is running at http://127.0.0.1:3000/
  44. ```
  45. > For more details on server configuration options, see the
  46. [Server deployment](https://dstack.ai/docs/guides/server-deployment) guide.
  47. ### Install the CLI
  48. <details><summary>If the CLI is not installed with the server</summary>
  49. Once the server is up, you can access it via the `dstack` CLI.
  50. The CLI can be installed on Linux, macOS, and Windows. It requires Git and OpenSSH.
  51. ```shell
  52. $ uv tool install dstack -U
  53. ```
  54. To point the CLI to the `dstack` server, configure it
  55. with the server address, user token, and project name:
  56. ```shell
  57. $ dstack project add \
  58. --name main \
  59. --url http://127.0.0.1:3000 \
  60. --token bbae0f28-d3dd-4820-bf61-8f4bb40815da
  61. Configuration is updated at ~/.dstack/config.yml
  62. ```
  63. </details>
  64. ### Install agent skills
  65. Install [`dstack` skills](https://skills.sh/dstackai/dstack/dstack) to help AI agents use the CLI and edit configuration files.
  66. ```shell
  67. $ npx skills add dstackai/dstack
  68. ```
  69. AI agents like Claude, Codex, and Cursor can now create and manage fleets and submit workloads on your behalf.
  70. ### Define configurations
  71. `dstack` supports the following configurations:
  72. * [Fleets](https://dstack.ai/docs/concepts/fleets) &mdash; Provision and manage clusters across clouds, Kubernetes, and on-prem
  73. * [Dev environments](https://dstack.ai/docs/concepts/dev-environments) &mdash; Launch dev environments to be accessed by agents or from your IDE
  74. * [Tasks](https://dstack.ai/docs/concepts/tasks) &mdash; Run training, batch or other jobs across a single node or clusters
  75. * [Services](https://dstack.ai/docs/concepts/services) &mdash; Deploy model inference as secure and scalable endpoints
  76. * [Presets](https://dstack.ai/docs/concepts/presets) &mdash; Agent-driven inference optimization
  77. * [Volumes](https://dstack.ai/docs/concepts/volumes) &mdash; Managing instance and network volumes for persisting data
  78. Configuration can be defined as YAML files within your repo.
  79. ### Apply configurations
  80. Apply the configuration via the `dstack apply` CLI command, a programmatic API, or through [AI agent skills](#install-ai-agent-skills).
  81. `dstack` automatically manages provisioning, job queuing, auto-scaling, networking, volumes, run failures,
  82. out-of-capacity errors, port-forwarding, and more &mdash; across clouds and on-prem clusters.
  83. ## Useful links
  84. For additional information, see the following links:
  85. * [Docs](https://dstack.ai/docs)
  86. * [Examples](https://dstack.ai/examples)
  87. * [Discord](https://discord.gg/u8SmfwPpMd)
  88. ## Contributing
  89. You're very welcome to contribute to `dstack`.
  90. Learn more about how to contribute to the project at [CONTRIBUTING.md](CONTRIBUTING.md).
  91. ## License
  92. [Mozilla Public License 2.0](LICENSE.md)

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.