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:| Tool | Purpose |
|---|---|
get_hardware_info() | Detects RAM, GPU, NPU via Lemonade Server |
list_available_models() | Queries model catalog with size estimates |
recommend_models() | Filters models using the 70% RAM rule |
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
NPU shows as unavailable
NPU shows as unavailable
Learn More
Build Your Own
Want to understand how this agent works or build something similar? Follow the step-by-step Hardware Advisor Playbook.