Replicate a published agent study architecture by wiring LangGraph to LangChain and LangSmith, creating a chat-based agent in TypeScript.