{"id":29194626,"url":"https://github.com/45harry/langgraph-tutorials","last_synced_at":"2026-04-27T00:31:45.280Z","repository":{"id":301708032,"uuid":"1010076160","full_name":"45Harry/langgraph-tutorials","owner":"45Harry","description":"LangGraph - tutorials","archived":false,"fork":false,"pushed_at":"2025-06-28T10:05:47.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-28T10:37:29.898Z","etag":null,"topics":["langchain","langgraph","langsmith","uv"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/45Harry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-28T09:40:53.000Z","updated_at":"2025-06-28T10:05:51.000Z","dependencies_parsed_at":"2025-06-28T10:47:49.850Z","dependency_job_id":null,"html_url":"https://github.com/45Harry/langgraph-tutorials","commit_stats":null,"previous_names":["45harry/langgraph-tutorials"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/45Harry/langgraph-tutorials","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/45Harry%2Flanggraph-tutorials","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/45Harry%2Flanggraph-tutorials/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/45Harry%2Flanggraph-tutorials/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/45Harry%2Flanggraph-tutorials/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/45Harry","download_url":"https://codeload.github.com/45Harry/langgraph-tutorials/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/45Harry%2Flanggraph-tutorials/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263072012,"owners_count":23409260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["langchain","langgraph","langsmith","uv"],"created_at":"2025-07-02T04:05:55.964Z","updated_at":"2025-07-02T04:05:58.342Z","avatar_url":"https://github.com/45Harry.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LangGraph Tutorials\n\nThis repository contains a collection of hands-on tutorials and example scripts for learning and experimenting with [LangGraph](https://github.com/langchain-ai/langgraph) and [LangChain](https://github.com/langchain-ai/langchain) in Python. The tutorials cover a range of topics, from building simple computation graphs to creating chatbots, using tools, and integrating memory and human-in-the-loop (HITL) workflows.\n\n## Author\n\n**45Harry**\n\n## Contents\n\n- **1_simple_graph.ipynb**: Introduction to building a simple computation graph using LangGraph.\n- **2_graph_with_condition.ipynb**: Demonstrates conditional logic within a graph.\n- **3_chatbot.ipynb**: Shows how to build a basic chatbot using LangGraph and LangChain.\n- **4_tool_call.ipynb**: Example of calling external tools from within a graph.\n- **5_tool_call_agent.ipynb**: Expands on tool calling with agent-based workflows.\n- **6_memory.ipynb / 6_memory.py**: Explores adding memory and stateful behavior to your graphs.\n- **7_langsmith.ipynb**: Integrates with LangSmith for experiment tracking and evaluation.\n- **8_HITL.py**: Demonstrates human-in-the-loop (HITL) patterns in LangGraph.\n\n## Installation\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/45Harry/langgraph-tutorials.git\n   cd langgraph-tutorials\n   ```\n\n2. **Install dependencies:**\n   This project uses [Python 3.13+](https://www.python.org/downloads/) and the following main packages:\n   - `langchain`\n   - `langchain-google-genai`\n   - `langgraph`\n   - `langsmith`\n   - `notebook`\n   - `numpy`\n   - `python-dotenv`\n\n   You can install all dependencies using [uv](https://github.com/astral-sh/uv) (recommended for speed) or pip:\n   ```bash\n   uv pip install -e .\n   ```\n   or\n   ```bash\n   pip install -e .\n   ```\n\n   The project uses `pyproject.toml` as the requirements file.\n\n3. **Set up environment variables:**\n   Some tutorials require API keys (e.g., for Google GenAI). Create a `.env` file in the project root and add your keys as needed.\n\n## Usage\n\n- Open any of the `.ipynb` notebooks in Jupyter or VSCode to follow along with the tutorials.\n- For `.py` scripts, run them directly with Python:\n  ```bash\n  python 6_memory.py\n  ```\n\n## License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F45harry%2Flanggraph-tutorials","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F45harry%2Flanggraph-tutorials","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F45harry%2Flanggraph-tutorials/lists"}