Authorization notice. DGX Spark Qwen38 is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA developer who already uses Claude Code or Cursor and wants to keep their agent sessions on a local DGX Spark.
The problemAgent CLIs usually need a hosted API key and send project context off the machine.
The outcomeClaude Code or Cursor sends its requests to the local Qwen3.8 lane through the Anthropic protocol on port 30001.
What you need first
- A DGX Spark or another GB10 box such as the ASUS Ascent GX10 (the README's reference box)
- A terminal on the box, or SSH access to it
- Internet access for the install and model downloads
- A client on a laptop or phone for the cockpit, if you want to use it remotely
Steps
- Run the one-liner install on the DGX Spark:
curl -fsSL https://raw.githubusercontent.com/hasso5703/dgx-spark-qwen38/main/get.sh | bash. - Open docs/clients.md in the repo and find the Claude Code and Cursor sections.
- Set the client's base URL to the box's address on port 30001 and use the local model name from the cockpit. (inferred, check the README)
- Send a short test prompt from the client and confirm the reply comes from the local lane.
Prompt for your agent
Use the repo hasso5703/dgx-spark-qwen38 to connect claude-code on a laptop to the local Qwen3.8 lane on <box-address>. Expected output: a reply to a short test prompt returned through the Anthropic protocol on port 30001. Verify that the request is answered by the box and that no hosted API key is used.
Caveat. The README lists Claude Code and Cursor under docs/clients.md, so exact client settings should be taken from that file rather than from this summary.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for hasso5703/dgx-spark-qwen38 and "Point Claude Code or Cursor at a local model"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer