Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.11.0
Work Summary - 15 March 2026
Project: Adaptive Study Agent
What was done
Built the entire project from scratch in a single session. All source files are written and dependencies are installed.
Files created
pyproject.toml-- project config with all dependencies (LangGraph, langchain-anthropic, langchain-openai, langchain-chroma, chromadb, pymupdf, python-dotenv).env-- placeholder for API keys (ANTHROPIC_API_KEY, OPENAI_API_KEY)src/graph/state.py-- StudyState TypedDictsrc/graph/nodes.py-- all 6 node functions (ingest, generate_question, answer, evaluate, reread, summarize)src/graph/edges.py-- conditional edge logic (after_evaluate routing)src/graph/build_graph.py-- LangGraph StateGraph assembly with entry point, normal edges, and conditional edgessrc/tools/ingest.py-- PDF/text extraction, chunking, ChromaDB ingestionsrc/tools/retriever.py-- ChromaDB similarity search wrappersrc/prompts/question_prompt.py-- question generation promptsrc/prompts/answer_prompt.py-- answer prompt with chunk citationsrc/prompts/evaluate_prompt.py-- strict self-grading prompt (Score + Reasoning format)src/main.py-- CLI entry point with argparse, session report writertests/test_edges.py-- 5 tests for conditional edge logictests/test_ingest.py-- 3 tests for text chunking
Dependencies
All 102 packages installed successfully via uv sync.
What remains
- Run tests (
uv run pytest tests/ -v) to verify everything passes - Add API keys to
.env - Test end-to-end with an actual PDF document
- Write README.md (portfolio framing as described in CLAUDE.md)
Notes
- Session started late evening, ended ~11:20 PM
- All code follows the architecture and rules defined in
project_3_adaptive_study_agent_CLAUDE.md