---
title: "Discussion on \"How to Test a LangGraph Agent Without an API Key: A Deterministic Mock LLM for Routing, RAG, Tools and Human-in-the-Loop\" | Hashnode"
description: "Discussion on \"How to Test a LangGraph Agent Without an API Key: A Deterministic Mock LLM for Routing, RAG, Tools and Human-in-the-Loop\". 📄 Technical report: Testing Agentic LLM Workflows Without a Model (Zenodo, DOI 10.5281/zenodo.24689164) · Code: github.com/mafzalkalwardev/langgraph-agentic-workflow-demo\n\nAgentic LLM workflows are f"
url: "https://hashnode.com/posts/how-to-test-a-langgraph-agent-without-an-api-key-a-deterministic-mock-llm-for-routing-rag-tools-and-human-in-the-loop/6b0df6df230835309185eaef"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Test a LangGraph Agent Without an API Key: A Deterministic Mock LLM for Routing, RAG, Tools and Human-in-the-Loop](https://mafzalkalwardev.hashnode.dev/how-to-test-a-langgraph-agent-without-an-api-key-a-deterministic-mock-llm-for-routing-rag-tools-and-human-in-the-loop?utm_source=hashnode&utm_medium=feed)

📄 Technical report: Testing Agentic LLM Workflows Without a Model (Zenodo, DOI 10.5281/zenodo.24689164) · Code: github.com/mafzalkalwardev/langgraph-agentic-workflow-demo Agentic LLM workflows are f

1d ago · 6 min read · mafzalkalwardev.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#langgraph](https://hashnode.com/tag/langgraph)
-   [#ai](https://hashnode.com/tag/ai)
-   [#testing](https://hashnode.com/tag/testing)

## Written by

[Muhammad Afzal Kalwar](https://hashnode.com/@mafzalkalwardev)

@mafzalkalwardev · Islamabad, Pakistan

  
[View profile](https://hashnode.com/@mafzalkalwardev)

Rust & Python Automation Engineer · Founder, INDUS Web Agency

Rust &amp; Python Automation Engineer and founder of INDUS Web Agency (Islamabad, founded 2026). I write about workflow automation, web scraping and data pipelines, and building web apps with FastAPI and Next.js.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
