Back to prompt library
Build AutoGen MHS Hardware Allocation Agent
Linked challenge: AutoGen MHS Workload Profiler & Accelerator Allocation Engine
Prompt source
implementation5 lines4 sectionsNo variables0 checklist items
import autogen
config_list = [{'model': 'deepseek-reasoner', 'api_key': 'YOUR_API_KEY', 'base_url': 'https://api.deepseek.com/v1'}]
user_proxy = autogen.UserProxyAgent(name='user_proxy', human_input_mode='NEVER')
hardware_agent = autogen.AssistantAgent(name='hardware_analyst', llm_config={'config_list': config_list})
# Construct prompt to parse MHS device profiles and calculate roofline model limits