Back to prompt library
AutoGen Agent Negotiation Setup
Linked challenge: Simulate Dynamic Multifamily Yield Negotiations with AutoGen
Prompt source
implementation4 lines2 sectionsNo variables0 checklist items
import autogen
config_list = [{"model": "gpt-4o", "api_key": "..."}]
landlord = autogen.AssistantAgent(name="Landlord_Agent", llm_config={"config_list": config_list})
tenant = autogen.UserProxyAgent(name="Tenant_Agent", human_input_mode="NEVER")