Skip to main content
In LangSmith Deployment, a thread is not explicitly associated with a particular assistant. This means that you can run multiple assistants on the same thread, which allows a different assistant to continue from an initial assistant’s progress. In this example, we will create two assistants and then call them both on the same thread. You’ll see that the second assistant will respond using information from the checkpoint generated in the thread by the first assistant as context.

Setup

We can see that these assistants are different:
Output:
Output:

Run assistants on thread

Run OpenAI assistant

We can now run the OpenAI assistant on the thread first.
Output:

Run default assistant

Now, we can run it on the default assistant and see that this second assistant is aware of the initial question, and can answer the question, “and you?”:
Output: