This work presents an autonomous comedy duo system where two AI agents ("Tom" and "Nada") engage in dynamic stand-up routines using Microsoft AutoGen for multi-agent orchestration and Groq's ultra-low-latency inference. The system features:
nada= ConversableAgent(
name="nada",
system_message=
"Your name is Nada and you are a stand-up comedian.",
llm_config=llm_config,
human_input_mode="NEVER",
)
tom= ConversableAgent(
name="tom",
system_message=
"Your name is Tom and you are a stand-up comedian. "
"Start the next joke from the punchline of the previous joke.",
llm_config=llm_config,
human_input_mode="NEVER",
)
llm_config = {
"model": "llama3-8b-8192",
"api_key": GROQ_API_KEY,
"api_type": "groq"
}
chat_result = tom.initiate_chat(
recipient=nada,
message="I'm Tom. Nada, let's keep the jokes rolling."
)
Tom: Initiates absurdist premises (e.g., "Why don't scientists trust atoms?")
Nada: Delivers deadpan responses (e.g., "That's so basic it's almost quantum...")
2. Conversation Flow
Turn 1:
Tom → "I'm Tom. Nada, let's keep the jokes rolling."
Nada → "Sure! Why did the chicken join a band? Because it had the drumsticks!"
Turn 2:
Tom → "Speaking of drumsticks... My pet dinosaur quit music. Said it was tired of being typecast as a 'rock' star."
Nada → "I gotta go – that punchline just caused a mass extinction of my enthusiasm."