In this session, we will cover the major changes in LangChain v1 one of our notebooks, where we assume prior LangChain & LangGraph familiarity. If you're interested in going into more depth of our frameowrks, check out LangChain Academy here!
git clone https://github.com/langchain-ai/langgraph-101.git
Follow these instructions to follow along!
# Ensure you have a recent version of pip and python installed
$ cd langchain-v1
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ pip install --pre -U langchain langgraph langchain-openai langchain-anthropic
Make sure the following command works and opens the relevant notebooks
$ jupyter notebook
- Set
OPENAI_API_KEYin the .env file. - Set
ANTHROPIC_API_KEYin the .env file.
- Sign up here
- Set
LANGSMITH_API_KEY,LANGSMITH_TRACING, andLANGSMITH_PROJECTin the .env file.