Source Code:
examples/hardware_advisor_agent.pyPrivacy-First: All hardware detection runs locally on your machine. No data leaves your system.
Quick Start
Example Interactions
Check your hardware:How It Works
The agent uses three tools:
The 70% Rule: Models should use less than 70% of available RAM to leave 30% overhead for inference operations (KV cache, context window, etc.).
Requirements
- GAIA installed:
uv pip install amd-gaia
Troubleshooting
Lemonade Server not running
Lemonade Server not running
Error:
Failed to get hardware information from Lemonade ServerYou shouldn’t have to start the model server yourself — gaia daemon resolves, starts and supervises it. So the question is why that didn’t happen.Start with the daemon, which reports the model server it supervises: gaia daemon statusIf no daemon is running, start it: gaia daemon startIf the daemon is up but the model server isn’t, the reason is in the daemon log: gaia daemon logs --lines 100The usual cause is that Lemonade isn’t installed at all. gaia init installs the server and pulls the model.GPU not detected
GPU not detected
Possible causes:
- Windows: PowerShell may be restricted. Run as administrator.
- Linux:
lspcinot installed. Install with:sudo apt install pciutils
Learn More
Build Your Own
Want to understand how this agent works or build something similar? Follow the step-by-step Hardware Advisor Playbook.