Agentic Website Manager - Quick Start Guide
Agentic Website Manager - Quick Start Guide
π Quick Setup
- Navigate to the directory:
cd scripts/agentic_website_manager
- Install dependencies:
pip install -r requirements.txt
- Set up your API key:
export GEMINI_API_KEY="your-gemini-api-key-here"
- Test the system:
python test_system.py
- Run the system:
# Full update (publications + research + portfolio) python run.py --full-update # Research and portfolio only (preserve existing publications) python run.py --research-only # Skip validation for faster execution python run.py --full-update --no-validation
π― What This System Does
The Agentic Website Manager is a modular replacement for the original website_content_manager.py
that:
- π·οΈ WebAgent: Searches arXiv for your papers and downloads PDFs
- π ParseAgent: Extracts figures and text from research papers
- π ContentAgent: Classifies papers into categories and generates summaries
- π CriticAgent: Validates all work for quality and consistency
- π― Orchestrator: Coordinates everything in smooth workflows
βοΈ Customization
Edit Search Terms
In config.py
, modify:
config.search_config['search_terms'] = [
'au:"Your Name"',
'au:"Name, Your"'
]
Customize Research Categories
In config.py
, modify:
config.classification_config['categories']['new-category'] = {
'name': 'New Research Area',
'description': 'Description',
'keywords': ['keyword1', 'keyword2']
}
Edit LLM Prompts
In config.py
, modify:
config.prompts['paper_classification'] = """
Your custom prompt here...
"""
π§ Troubleshooting
Common Issues:
- Import errors: Make sure youβre in the right directory and dependencies are installed
- API key error: Ensure
GEMINI_API_KEY
environment variable is set - Permission errors: Check file system permissions for writing to directories
Debug Mode:
import logging
logging.basicConfig(level=logging.DEBUG)
π System Architecture
WebAgent β ParseAgent β ContentAgent β CriticAgent
β β β β
Papers β Figures β Categories β Validation
All coordinated by the Orchestrator which handles:
- Pipeline execution
- Error handling
- Progress tracking
- File writing
π Success!
If the test passes, your system is ready to automatically:
- Find and download your research papers
- Extract scientific figures
- Classify papers into research areas
- Generate beautiful research page content
- Create detailed portfolio pages
- Validate everything for quality
Enjoy your automated website management! π