Get started with Professor Profiler in 3 simple steps!
# Generate sample exam PDFs automatically
python create_sample_exams.pyThis creates 3 sample exams in the input/ folder:
physics_2024_midterm.pdf- 10 physics questionsphysics_2023_final.pdf- 10 thermodynamics questionschemistry_2024_q1.pdf- 10 chemistry questions
# Copy your exam papers to the input folder
cp your_exam.pdf input/Or drag and drop PDF files into the input/ folder.
# Make sure dependencies are installed
pip install -r requirements.txt
# Set your Google API key
export GOOGLE_API_KEY="your-api-key-here"
# Run the demo
python demo.pyResults are automatically saved to the output/ folder:
# View generated charts
ls output/charts/
# Read analysis logs
cat output/logs/demo_run.log
# Check memory bank
cat output/memory_bank.jsonProfessor_Profiler/
├── input/ # 📥 Place your exam PDFs here
│ ├── README.md
│ └── [your_exam.pdf]
│
├── output/ # 📤 All results saved here
│ ├── charts/ # 📊 Visualizations
│ ├── logs/ # 📝 Execution logs
│ ├── reports/ # 📄 Analysis reports
│ └── memory_bank.json # 🧠 Historical data
│
├── profiler_agent/ # Core agent code
├── google/adk/ # Agent Development Kit
└── demo.py # Run this!
# Create .env file
echo "GOOGLE_API_KEY=your-api-key-here" > .env
# Run demo (automatically loads .env)
python demo.pyexport GOOGLE_API_KEY="your-api-key-here"
python demo.pyEdit profiler_agent/config.py and set your API key directly (not recommended for production).
Once running, try these example queries:
# Analyze a single exam
"Analyze physics_2024.pdf and identify key topics"
# Compare multiple exams
"Compare physics_2023.pdf and physics_2024.pdf to find trends"
# Get study recommendations
"What should I focus on for the next physics exam?"
# Bloom's taxonomy analysis
"Analyze the cognitive complexity of math_201.pdf"- Make sure you've placed at least one PDF file in the
input/folder - Check that the file has a
.pdfextension
- Set
GOOGLE_API_KEYenvironment variable - Or create a
.envfile with your key
- Run
pip install -r requirements.txt - Make sure you're in the correct directory
- Ensure you're running from the project root directory
- Check that all
__init__.pyfiles are present
- Read the full README: README.md
- Check architecture docs: docs/ARCHITECTURE.md
- View feature list: docs/FEATURES.md
- Input folder help: input/README.md
- Output folder help: output/README.md
- Customize Agents: Edit files in
profiler_agent/sub_agents/ - Add New Tools: Extend
profiler_agent/tools.py - Configure Settings: Modify
profiler_agent/config.py - Write Tests: Add tests to
tests/folder - Deploy: Package for production use
Happy Analyzing! 📚✨