Presentation:
Make sure your environment is ready before you begin:
git clone https://github.com/DinhLongHuynh/SciLifeLab_agent_workshopcd SciLifeLab_agent_workshopRequires Makefile support and Docker engine on your machine.
If you don't have Makefile support on your machine, you can type the commands in the Makefile by hand.
make buildmake run-jupyter-laband then access the localhost:port address printed in the terminal in your browser.
or to start a separate shell (needed for some experiments in the workshop, keep make run-jupyter-lab
running in the background):
make run-shelland then cd /repo to find the source code.
python3 -m venv .venv
source .venv/bin/activatepip install -r requirements.txtpython -m ipykernel install --user --name=SciLifeLab_venv --display-name="SciLifeLab_workshop_kernel"jupyter notebookExample: SciLifeLab_agent_workshop/Section_1_LangGraph/langgraph_lab.ipynb
click Python 3 (ipykernel) → select Select kernel for: "langgraph_lab.ipynb" → from the drop-down menu, choose SciLifeLab_workshop_kernel → check Always start the preferred kernel → click Select
SciLifeLab_agent_workshop/Section_1_LangGraph/
SciLifeLab_agent_workshop/Section_2_MCP/MCP_scratch/
You can now start exploring and using the notebooks
Happy learning! 😊