Skip to content

ayush9h/ReWOO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReWOO(Reasoning WithOut Observation)

LangGraph implementation of the ReWOO(Reasoning without Observation) framework along with Human In The Loop pattern.

Research Article Link

Workflow

ReWOO introduces a plan-and-execute paradigm where the workflow

  • Generates a structured execution plan
  • Executes steps using tools with dependency awareness with human in the loop for tools required approval
  • Produces a final, user-facing response.
User Query
    ↓
Planner Node (LLM)
    ↓
Structured Plan (Steps + Dependencies)
    ↓
Executor Node (Async Execution) + Human In the Loop
    ↓
Tool Outputs (Evidence)
    ↓
Summarizer Node (LLM)
    ↓
Final Response
image

Human In The Loop - Acceptance

image image

Human In the Loop - Reject

image

Usage

Backend

  • Setup environment
uv sync
  • Script Execution
uvicorn main:app

Frontend

  • Install packages
npm install
  • Run NextJs
npm run dev

License

MIT License