Authorization notice. Kyojin is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA homelab or small ops owner who runs the model server on a mini PC and wants its health and load in an existing dashboard.
The problemA local model server gives no visibility into load or throughput unless something collects its numbers.
The outcomeA Prometheus setup that reads the server's /metrics endpoint on port 8000.
What you need first
- AMD Ryzen AI Max+ 395 mini PC with 128 GB of memory (Strix Halo, gfx1151)
- ROCm build of torch, installed per doc/install.md
- Python and the hf command-line tool to download model packs
- Roughly 100 GB of free disk space for a model pack (Qwen pack is 95 GB)
Steps
- Start the server per doc/models.md, for example with
python tools/qwen/serve.py --model ./qwen-pack --port 8000 -c 131072. - Check that the endpoint responds at /metrics on the host.
- Add a Prometheus scrape job that targets the host on port 8000 at path /metrics. (inferred, check the README)
- Open the Prometheus UI and confirm the target shows as up. (inferred, check the README)
Prompt for your agent
In the Yamz-Labs/kyojin repo, start the Qwen server on port 8000 and confirm the Prometheus /metrics endpoint responds on <target host>. Expected output: a plain text metrics page from the server. Verify that the response contains metric lines before adding it as a scrape target.
Caveat. The README credits the /metrics endpoint as merged for GLM and MiMo, so confirm it is available for the model you run before building dashboards.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Yamz-Labs/kyojin and "Scrape server metrics from a local model host"
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