The langchain version used in the examples seems to be older than 1.0.0. However, the current version of langchain has reached 1.1.0.
This version discrepancy is causing the example code to fail.
https://stackoverflow.com/questions/79796733/importerror-cannot-import-name-agentexecutor-from-langchain-agents