Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created August 24, 2025 13:25
Show Gist options
  • Select an option

  • Save KyMidd/83a8feaeb9184bfab7fbe81552e073ea to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/83a8feaeb9184bfab7fbe81552e073ea to your computer and use it in GitHub Desktop.
with github_mcp_client:
# ...
# Begin conversation loop
while True:
print("User question:", user_question, end="\n\n")
# Get response from agent
response = agent(user_question)
print("-" * 50)
# Ask for follow-up question
user_question = get_user_input("Question for model (or 'exit' to exit): ")
if user_question.lower() == 'exit':
break
print("-" * 50)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment