maunappl8 / recursive-langgraph-agent
PublicRecursive LangGraph.js agent: split huge texts, answer per chunk, merge results. TypeScript, LangChain, OpenAI-compatible API, MemorySaver checkpoints, Vitest.
This open-source project enables asking questions about arbitrarily long documents by splitting them into overlapping chunks, processing each with AI in parallel batches, and hierarchically merging the results into a single coherent answer.
How It Works
You find a handy assistant online that helps answer questions about super long books, reports, or any big text file.
Download it to your computer and follow easy steps to get everything ready, just like installing a new app.
Share a private password with an AI service like OpenAI so the assistant can use its brainpower for deep thinking.
Perfect for asking once about a specific file and getting a fast answer.
Load a document once and keep asking different questions in a conversation.
Pick any text file, webpage, or even a PDF, and the tool reads it all in.
Type what you want to know, like 'Summarize the main ideas' or 'What are the key facts?'
It smartly breaks the long text into bite-sized pieces, gets answers for each super fast, then blends them into one perfect response—you see progress every step.
Celebrate having a complete, spot-on response that understands the whole huge document, saving you hours of reading.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.