• AgenticAI – What Is Runaway Loop And How To Prevent It ?

    AgenticAI – What Is Runaway Loop & How To Prevent It? Table Of Contents: What Is Graph Of Thoughts ? Real Life Examples Agentic AI Example Why Is It Called A Graph? Difference From Tree Of Thought. Easy Analogy. Interview Friendly Summary. (1) What Is Runaway Loop ? (2) Examples Of Runaway Loop (3) Why Do Agents Loop ? (4) Why Is It Dangerious? (5) How To Prevent It? (6) Interview Answar (7) How To Implement This Using LangChain & Graph from langchain.agents import AgentExecutor agent_executor = AgentExecutor( agent = agent, tools = tools, max_iterations = 5 ) from langchain.agents

    Read More

  • Agentic AI – Tree Of Thoughts Of Reasoning Pattern.

    LangChain – Tree Of Thoughts Of Reasoning Pattern Table Of Contents: What Is Graph Of Thoughts ? Real Life Examples Agentic AI Example Why Is It Called A Graph? Difference From Tree Of Thought. Easy Analogy. Interview Friendly Summary. (1) What Is Graph Of Thought? (2) Simple Real Life Example. (3) Agentic AI Example (4) Why Its Called Graph ? (5) Difference From Tree Of Thought (6) Easy Analogy (7) Interview Friendly Summary

    Read More

  • Agentic AI – What Is Plan & Execute Reasoning Pattern ?

    Agentic AI – Plan & Execute Reasonin Pattern Table Of Contents: What Is Plan & Execute. How Agentic AI Does Plan & Execute? Examples Of Planning & Execution. Why We Use Plan & Execute? Flow Diagram Of Plan & Execute. Difference From Normal Chat Bot. How Plan & Execute Differs From React Approach ? (1) What Is Plan & Execute ? (2) How Agentic AI Does Plan & Execute ? (3) Example Of Planning & Execution (4) Why We Use Plan & Execute ? (5) Flow Diagram Of Plan & Execute. (6) Difference From Normal Chat Bot (7) How Plan

    Read More

  • LangChain – Prompt Catching

    LangChain – Prompt Catching Table Of Contents: Implicit Provider Prompt Catching Explicit Provider Level Catching. Langchain Middleware (1) Problem Without Prompt Catching (2) What Is Prompt Catching ? (3) Implicit Prompt Catching . Models That Support Implicit Prompt Catching: from langchain_openai import ChatOpenAI llm = ChatOpenAI( MODEL = "gpt-5" ) response = model.invoke("Explain LangGrapg In Details") print(response.usage_metadata) (4) What Happen After We Catch The Token How The LLM Process It ? (5) Difference In Prompt Catching & Response Catching (6) Explicit Provider Level Catching

    Read More