├── .env.example ├── .github └── workflows │ └── deploy-book.yml ├── .gitignore ├── 1.quickstart.ipynb ├── 10.deep_agents.ipynb ├── 11.langgraph_cli.ipynb ├── 2.stategraph.ipynb ├── 3.middleware.ipynb ├── 4.human_in_the_loop.ipynb ├── 5.memory.ipynb ├── 6.context.ipynb ├── 7.mcp_server.ipynb ├── 8.supervisor.ipynb ├── 9.parallel.ipynb ├── README.md ├── _config.yml ├── _toc.yml ├── book ├── README.md └── home.ipynb ├── docs ├── README-en.md └── rule_horror.md ├── img ├── langgraph-cli.png ├── overview.png └── social-preview.jpg ├── langgraph.json ├── mcp_server ├── README.md ├── get_weather_mcp │ ├── README.md │ ├── __init__.py │ ├── __main__.py │ └── server.py ├── math_mcp │ ├── README.md │ ├── __init__.py │ ├── __main__.py │ └── server.py └── mcp_supervisor.conf ├── myst.yml ├── requirements.txt ├── simple_agent.py └── tests ├── .env.example ├── docker-compose.yml ├── redis.conf ├── test_langmem.py ├── test_rag.py ├── test_router.py ├── test_store.py └── test_time_travel.py /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/.env.example -------------------------------------------------------------------------------- /.github/workflows/deploy-book.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/.github/workflows/deploy-book.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/.gitignore -------------------------------------------------------------------------------- /1.quickstart.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/1.quickstart.ipynb -------------------------------------------------------------------------------- /10.deep_agents.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/10.deep_agents.ipynb -------------------------------------------------------------------------------- /11.langgraph_cli.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/11.langgraph_cli.ipynb -------------------------------------------------------------------------------- /2.stategraph.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/2.stategraph.ipynb -------------------------------------------------------------------------------- /3.middleware.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/3.middleware.ipynb -------------------------------------------------------------------------------- /4.human_in_the_loop.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/4.human_in_the_loop.ipynb -------------------------------------------------------------------------------- /5.memory.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/5.memory.ipynb -------------------------------------------------------------------------------- /6.context.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/6.context.ipynb -------------------------------------------------------------------------------- /7.mcp_server.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/7.mcp_server.ipynb -------------------------------------------------------------------------------- /8.supervisor.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/8.supervisor.ipynb -------------------------------------------------------------------------------- /9.parallel.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/9.parallel.ipynb -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/README.md -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/_config.yml -------------------------------------------------------------------------------- /_toc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/_toc.yml -------------------------------------------------------------------------------- /book/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/book/README.md -------------------------------------------------------------------------------- /book/home.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/book/home.ipynb -------------------------------------------------------------------------------- /docs/README-en.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/docs/README-en.md -------------------------------------------------------------------------------- /docs/rule_horror.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/docs/rule_horror.md -------------------------------------------------------------------------------- /img/langgraph-cli.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/img/langgraph-cli.png -------------------------------------------------------------------------------- /img/overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/img/overview.png -------------------------------------------------------------------------------- /img/social-preview.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/img/social-preview.jpg -------------------------------------------------------------------------------- /langgraph.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/langgraph.json -------------------------------------------------------------------------------- /mcp_server/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/mcp_server/README.md -------------------------------------------------------------------------------- /mcp_server/get_weather_mcp/README.md: -------------------------------------------------------------------------------- 1 | pip install fastmcp 2 | 3 | python -m get_weather_mcp 4 | -------------------------------------------------------------------------------- /mcp_server/get_weather_mcp/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/mcp_server/get_weather_mcp/__init__.py -------------------------------------------------------------------------------- /mcp_server/get_weather_mcp/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/mcp_server/get_weather_mcp/__main__.py -------------------------------------------------------------------------------- /mcp_server/get_weather_mcp/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/mcp_server/get_weather_mcp/server.py -------------------------------------------------------------------------------- /mcp_server/math_mcp/README.md: -------------------------------------------------------------------------------- 1 | pip install fastmcp 2 | 3 | python -m math_mcp 4 | -------------------------------------------------------------------------------- /mcp_server/math_mcp/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/mcp_server/math_mcp/__init__.py -------------------------------------------------------------------------------- /mcp_server/math_mcp/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/mcp_server/math_mcp/__main__.py -------------------------------------------------------------------------------- /mcp_server/math_mcp/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/mcp_server/math_mcp/server.py -------------------------------------------------------------------------------- /mcp_server/mcp_supervisor.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/mcp_server/mcp_supervisor.conf -------------------------------------------------------------------------------- /myst.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/myst.yml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/requirements.txt -------------------------------------------------------------------------------- /simple_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/simple_agent.py -------------------------------------------------------------------------------- /tests/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/tests/.env.example -------------------------------------------------------------------------------- /tests/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/tests/docker-compose.yml -------------------------------------------------------------------------------- /tests/redis.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/tests/redis.conf -------------------------------------------------------------------------------- /tests/test_langmem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/tests/test_langmem.py -------------------------------------------------------------------------------- /tests/test_rag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/tests/test_rag.py -------------------------------------------------------------------------------- /tests/test_router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/tests/test_router.py -------------------------------------------------------------------------------- /tests/test_store.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/tests/test_store.py -------------------------------------------------------------------------------- /tests/test_time_travel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luochang212/dive-into-langgraph/HEAD/tests/test_time_travel.py --------------------------------------------------------------------------------