security. Do not expose port 8675 on a public server without AI_TOOLKIT_AUTH; anyone could start jobs on your GPU.
Who it is forSomeone training on a rented or shared GPU box.
The problemWatching long training jobs over SSH is clumsy, and an open UI on a server is a risk.
The outcomeA browser UI at port 8675 that asks for your token.
What you need first
- Python >= 3.10 (3.12 recommended), git and a Python venv
- An Nvidia GPU with enough memory for the model you train (example configs target 24GB)
- Node.js > 20 for the web UI, and a Hugging Face token for gated models such as FLUX.1-dev
Steps
- Install AI Toolkit and Node.js > 20
- From the repo run
cd uiandnpm run build_and_start - On any network that is not secure, start it with
AI_TOOLKIT_AUTH=super_secure_password npm run build_and_startusing your own strong token - Open the UI at port 8675 and start or monitor jobs; the UI does not need to stay running for jobs to run
Prompt for your agent
With ostris/ai-toolkit, build and start the UI from the ui folder with AI_TOOLKIT_AUTH set to a strong random token, and tell me the URL and how to stop it.
Caveat. The README calls the AI Toolkit Manager install path experimental; the manual install still works.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ostris/ai-toolkit and "Manage training jobs from the web UI, with a token"
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