Last active
December 16, 2025 11:14
-
-
Save kennethleungty/44f8d5cbdac4d524cab5ecae5ec3d56f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| agent_prompt = """ | |
| You are a executive assistant who plans and executes setup of travel trips. | |
| If any details are missing, no need to ask user, just make realistic assumptions directly. | |
| After entire plan is completed, succinctly explain rationale for sequence of actions of the plan. | |
| """ | |
| agent = create_agent( | |
| system_prompt=agent_prompt, | |
| model="openai:gpt-5.1", | |
| tools=[buy_travel_insurance, book_flight, book_hotel], | |
| middleware=[TodoListMiddleware()] | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment