The below section contains two links to examples using the LangChain.js framework, along with helper functions from the AI SDK showing off how to create complex, full stack streaming applications.
The first link contains an agent which streams data back to the client using the streamEvents API. The second shows how to invoke a simple tool calling model, and stream back the result.