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
- Lemonade Server must be running for hardware detection
- GAIA installed:
uv pip install amd-gaia
Troubleshooting
Lemonade Server not running
Lemonade Server not running
Error:
Failed to get hardware information from Lemonade ServerSolution: Start Lemonade Server: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.