memory 2

my aim - makes notes for yourself that will help you to recall things in future, 

don't go over explaining clearly, you are not writing a blog and your main goal is to understand yourself , you don't have to teach others. 

What is LangGraph?

LangGraph is an orchestration framework for building intelligent, stateful and multistep llm workflows.

But what is orchestration framework, so its basically when we give a llm workflow, then langGraph try to represent that workflow in graph like this. 

In each graph each node represent a task, that task can be anything like to call the llm, to make some decision making or tool task .

and all these nodes are connected by edges, and these edges tells which node to execute next.

LangGraph is not just limited to make graphs, it also gives many advanced features like parallelism , loops, branching, memory and resumability - making it ideal for agentic and production grade ai applications.


LLM Workflow

what is workflow?

Workflow is a series of task we execute in order to achieve a goal.

so

  • LLM workflow are step by step process using which we can build complex llm applications.
  • Each step in a workflow perform a distinct task - such as prompting, reasoning , tool calling , memory access, or decision making.
  • Workflow can be linear , parallel, branched, or looped , allowing for complex behaviours like retries, multi step communication , tool augmented reasoning.
Common workflow
  • prompt chaining
  • routing
  • parallelization
  • orchestrator workers
  • evaluator optimizer


Comments