A modular, multi-agent pipeline for document understanding and reasoning using only free, local Hugging Face models (no API keys required).
- PDF document reading and extraction
- Task planning and decomposition
- Summarization, keyword extraction, calculation, and question answering
- Critique and improvement of outputs
- Clean Streamlit UI for user interaction
- Download results as Markdown or PDF
- User feedback collection
- Clone this repo and install requirements:
pip install -r requirements.txt - Run the Streamlit app:
streamlit run streamlit_app.py - Upload a PDF and enter any task or question (e.g., "Summarize the document", "What is the candidate's GPA?").
- Summarize this resume and highlight key skills.
- What programming languages are listed?
- Calculate the mean of [85, 90, 78, 92].
app.py- Main pipeline logicstreamlit_app.py- Streamlit UIagents/- Agent classes (Reader, Planner, Tools, Critic, Improver)tools/- Tool implementations (summarizer, keywords, calculations, QA)utils/- Utilities (chunking, postprocessing, export)
MIT