Skip to content

Instantly share code, notes, and snippets.

@kennethleungty
Created December 16, 2025 17:02
Show Gist options
  • Select an option

  • Save kennethleungty/d34827d176cbc1f3fda111c605940d85 to your computer and use it in GitHub Desktop.

Select an option

Save kennethleungty/d34827d176cbc1f3fda111c605940d85 to your computer and use it in GitHub Desktop.
user_input = "Book business trip to Singapore between 20 and 24 Sep 2025 for an AI conference"
response = agent.invoke({"messages": [HumanMessage(user_input)]})
# Show the to-do list generated by the planning agent
print(response["todos"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment