An intelligent agent system for biblical study and analysis, combining modern AI with scriptural wisdom.
- Interactive Study Mode: Engage in dynamic Bible study sessions with natural language interactions
- Intelligent Search: Advanced biblical search with theological analysis and cross-references
- Daily Verses: AI-curated daily verses with contextual insights
- Spiritual Reflections: Generate meaningful reflections on biblical passages
- Teaching Generation: Get in-depth teachings on biblical topics
- Multi-Model Support: Leverages both Google's Gemini and Hugging Face models
- Export Capabilities: Save study sessions in beautifully formatted Markdown
- Smart Model Selection: Automatic model selection based on task requirements
graph TB
User([User]) --> CLI[Command Line Interface]
CLI --> BA[Bible Agent]
subgraph "Core Components"
BA --> MS[Model Selector]
BA --> SA[Search Agent]
BA --> SS[Study Session]
MS --> GM[Gemini Model]
MS --> HF[HuggingFace Model]
SA --> SP[Serper Service]
SA --> MA[Model Analysis]
end
subgraph "Features"
BA --> VS[Verse Service]
BA --> TS[Teaching Service]
BA --> RS[Reflection Service]
BA --> AS[Analysis Service]
end
subgraph "Utils & Formatting"
BA --> CF[Console Formatter]
BA --> MF[Markdown Formatter]
SS --> EX[Export System]
end
-
Agent System
BibleAgent
: Core orchestrator for all functionalitiesSearchAgent
: Handles biblical search and analysisModelSelector
: Smart model selection based on task
-
Models & Services
- Google Gemini Integration
- HuggingFace Models Support
- Serper API Integration
- ESV Bible API Integration
-
Session Management
- Study Session Tracking
- Progress Persistence
- Export Capabilities
- Clone the repository
git clone https://github.com/yourusername/bible-study-ai.git
cd bible-study-ai
- Set up environment
python -m venv venv
source venv/bin/activate # or `venv\Scripts\activate` on Windows
pip install -r requirements.txt
- Configure API keys
Create a
.env
file:
GEMINI_API_KEY=your_gemini_key
SERPER_API_KEY=your_serper_key
ESV_API_KEY=your_esv_key
HF_API_KEY=your_huggingface_key
- Run the application
python src/main.py --interactive
python src/main.py -i
python src/main.py --verse
python src/main.py --search "love your neighbor"
python src/main.py --teach "forgiveness"
search (s)
: Search and analyze biblical topicsteach (t)
: Get biblical teaching on a topicverse (v)
: Get daily verse with reflectionreflect (r)
: Reflect on recent studyanalyze (a)
: Analyze biblical passageexport (e)
: Export study sessionhelp (h)
: Show help messagequit (q)
: Exit application
The project uses a modular architecture with clear separation of concerns:
src/agent/
: Core agent implementationssrc/models/
: Data models and structuressrc/services/
: External service integrationssrc/utils/
: Helper utilities and formatters
MIT License - See LICENSE file for details
Contributions are welcome! Please read our contributing guidelines and submit pull requests.
This is an AI assistant tool meant to aid in Bible study, not replace traditional study methods or spiritual guidance.