Utilizes large language models to perform analytical tasks requested by the user.
- Install required dependencies
pip install -r requirements.txt- Use LM Studio to host the large language model and load the model
-
Download and install LM Studio
-
Open a terminal and run
lms server start
python okr_alignment_system/examples/alignment_example.py- Alignment Analysis: Measures how well current Jira issues align with your OKRs
- Gap Identification: Identifies missing work and gaps in OKR coverage
- Issue Recommendations: Suggests specific new issues to improve alignment
- Local LLM Support: Uses LM Studio for privacy and cost-effective analysis
- Flexible Input: Accepts text queries about alignment in natural language
You can set these environment variables instead of passing them as arguments:
JIRA_URL: Your Jira base URLJIRA_USERNAME: Your Jira username/emailJIRA_API_TOKEN: Your Jira API tokenLM_STUDIO_URL: LM Studio API URL (default: http://localhost:1234/v1)LM_STUDIO_MODEL: Specific model name to use
The agent provides:
- Overall Alignment Score (0-100): Overall measure of alignment
- Per-OKR Analysis:
- Alignment score for each OKR
- Contributing issues
- Gap analysis
- Recommendations
- Suggested Issues: Specific new issues to create with:
- Title and description
- Related OKR
- Priority
- Rationale