|
732 | 732 | </span> |
733 | 733 | </a> |
734 | 734 |
|
| 735 | +</li> |
| 736 | + |
| 737 | + <li class="md-nav__item"> |
| 738 | + <a href="#install-agent-skills" class="md-nav__link"> |
| 739 | + <span class="md-ellipsis"> |
| 740 | + |
| 741 | + <span class="md-typeset"> |
| 742 | + Install agent skills |
| 743 | + </span> |
| 744 | + |
| 745 | + </span> |
| 746 | + </a> |
| 747 | + |
735 | 748 | </li> |
736 | 749 |
|
737 | 750 | </ul> |
|
4083 | 4096 | </span> |
4084 | 4097 | </a> |
4085 | 4098 |
|
| 4099 | +</li> |
| 4100 | + |
| 4101 | + <li class="md-nav__item"> |
| 4102 | + <a href="#install-agent-skills" class="md-nav__link"> |
| 4103 | + <span class="md-ellipsis"> |
| 4104 | + |
| 4105 | + <span class="md-typeset"> |
| 4106 | + Install agent skills |
| 4107 | + </span> |
| 4108 | + |
| 4109 | + </span> |
| 4110 | + </a> |
| 4111 | + |
4086 | 4112 | </li> |
4087 | 4113 |
|
4088 | 4114 | </ul> |
@@ -4263,26 +4289,6 @@ <h2 id="set-up-the-cli">Set up the CLI<a class="headerlink" href="#set-up-the-cl |
4263 | 4289 | (or <code>Use Git and optional Unix tools from the Command Prompt</code>), and |
4264 | 4290 | <code>Use bundled OpenSSH</code>.</p> |
4265 | 4291 | </details> |
4266 | | -<h3 id="configure-the-default-project">Configure the default project<a class="headerlink" href="#configure-the-default-project" title="Permanent link">¶</a></h3> |
4267 | | -<p>To point the CLI to the <code>dstack</code> server, configure it |
4268 | | -with the server address, user token, and project name:</p> |
4269 | | -<div class="termy"> |
4270 | | - |
4271 | | -<div class="highlight"><pre><span></span><code>$<span class="w"> </span>dstack<span class="w"> </span>project<span class="w"> </span>add<span class="w"> </span><span class="se">\</span> |
4272 | | -<span class="w"> </span>--name<span class="w"> </span>main<span class="w"> </span><span class="se">\</span> |
4273 | | -<span class="w"> </span>--url<span class="w"> </span>http://127.0.0.1:3000<span class="w"> </span><span class="se">\</span> |
4274 | | -<span class="w"> </span>--token<span class="w"> </span>bbae0f28-d3dd-4820-bf61-8f4bb40815da |
4275 | | - |
4276 | | -Configuration<span class="w"> </span>is<span class="w"> </span>updated<span class="w"> </span>at<span class="w"> </span>~/.dstack/config.yml |
4277 | | -</code></pre></div> |
4278 | | - |
4279 | | -</div> |
4280 | | - |
4281 | | -<p>This configuration is stored in <code>~/.dstack/config.yml</code>.</p> |
4282 | | -<!-- ### Check offers --> |
4283 | | - |
4284 | | -<!-- To verify that both the server and CLI are properly configured, use the [`dstack offer`](reference/cli/dstack/offer.md#list-gpu-offers) command to list available GPU offers. If you don't see valid offers, ensure you've set up [backends](concepts/backends.md). --> |
4285 | | - |
4286 | 4292 | <details class="info"> |
4287 | 4293 | <summary>Shell autocompletion</summary> |
4288 | 4294 | <p><code>dstack</code> supports shell autocompletion for <code>bash</code> and <code>zsh</code>.</p> |
@@ -4329,14 +4335,38 @@ <h3 id="configure-the-default-project">Configure the default project<a class="he |
4329 | 4335 | </div> |
4330 | 4336 | </div> |
4331 | 4337 | </details> |
| 4338 | +<h3 id="configure-the-default-project">Configure the default project<a class="headerlink" href="#configure-the-default-project" title="Permanent link">¶</a></h3> |
| 4339 | +<p>To point the CLI to the <code>dstack</code> server, configure it |
| 4340 | +with the server address, user token, and project name:</p> |
| 4341 | +<div class="termy"> |
| 4342 | + |
| 4343 | +<div class="highlight"><pre><span></span><code>$<span class="w"> </span>dstack<span class="w"> </span>project<span class="w"> </span>add<span class="w"> </span><span class="se">\</span> |
| 4344 | +<span class="w"> </span>--name<span class="w"> </span>main<span class="w"> </span><span class="se">\</span> |
| 4345 | +<span class="w"> </span>--url<span class="w"> </span>http://127.0.0.1:3000<span class="w"> </span><span class="se">\</span> |
| 4346 | +<span class="w"> </span>--token<span class="w"> </span>bbae0f28-d3dd-4820-bf61-8f4bb40815da |
| 4347 | + |
| 4348 | +Configuration<span class="w"> </span>is<span class="w"> </span>updated<span class="w"> </span>at<span class="w"> </span>~/.dstack/config.yml |
| 4349 | +</code></pre></div> |
| 4350 | + |
| 4351 | +</div> |
| 4352 | + |
| 4353 | +<p>This configuration is stored in <code>~/.dstack/config.yml</code>.</p> |
| 4354 | +<h3 id="install-agent-skills">Install agent skills<a class="headerlink" href="#install-agent-skills" title="Permanent link">¶</a></h3> |
| 4355 | +<p>Install <a href="https://skills.sh/dstackai/dstack/dstack">skills</a> to help AI agents use the <code>dstack</code> CLI and edit configuration files.</p> |
| 4356 | +<div class="termy"> |
| 4357 | + |
| 4358 | +<div class="highlight"><pre><span></span><code>$<span class="w"> </span>npx<span class="w"> </span>skills<span class="w"> </span>add<span class="w"> </span>dstackai/dstack |
| 4359 | +</code></pre></div> |
| 4360 | + |
| 4361 | +</div> |
| 4362 | + |
| 4363 | +<p>Agent skills are experimental. Share your feedback via <a href="https://github.com/dstackai/dstack/issues">GitHub issues</a>.</p> |
4332 | 4364 | <div class="admonition info"> |
4333 | 4365 | <p class="admonition-title">What's next?</p> |
4334 | 4366 | <ol> |
4335 | 4367 | <li>See <a href="../concepts/backends/">Backends</a></li> |
4336 | 4368 | <li>Follow <a href="../quickstart/">Quickstart</a></li> |
4337 | 4369 | <li>Check the <a href="../guides/server-deployment/">server deployment</a> guide</li> |
4338 | | -<li>Browse <a href="../../examples/">examples</a></li> |
4339 | | -<li>Join the community via <a href="https://discord.gg/u8SmfwPpMd">Discord</a></li> |
4340 | 4370 | </ol> |
4341 | 4371 | </div> |
4342 | 4372 |
|
|
0 commit comments