Note: This issue description was AI-generated. Please review, validate, and adjust the details as needed.
Background
The project currently uses IBM's Granite 3.3:8b model for AI-powered features. Granite 4 offers improved performance, better reasoning capabilities, and enhanced context handling.
Current State
- Model specified in
api/chat-agent/agents.yaml: granite3.3:8b
- Model specified in
api/codegen-agent/agents.yaml: granite3.3:8b
- Ollama used as the local LLM provider
- Maestro framework orchestrates AI workflows
- README.md references granite3.3:8b in setup instructions
Goals
- Upgrade to Granite 4 model
- Maintain backward compatibility during transition
- Update documentation and setup instructions
- Validate performance improvements
- Update any model-specific configurations
Implementation Plan
Phase 1: Research & Preparation
Phase 2: Configuration Updates
Phase 3: Testing & Validation
Phase 4: Performance Benchmarking
Phase 5: Documentation & Rollout
Files to Update
api/chat-agent/agents.yaml (line 8)
api/codegen-agent/agents.yaml (line 21)
README.md (lines 98, 144)
AGENTS.md (line 25, 98, 104-105)
CONTRIBUTING.md (setup instructions)
.env.local.template (if model-specific configs exist)
Acceptance Criteria
Technical Considerations
- Granite 4 may have different context window sizes
- Token limits might differ from Granite 3.3
- Prompt engineering may need adjustment
- Consider maintaining Granite 3.3 as fallback option
- Update any model-specific temperature/parameter settings
- Verify embedding model compatibility (nomic-embed-text)
Rollback Plan
- Keep Granite 3.3 configuration in comments
- Document rollback procedure
- Maintain both models in Ollama during transition
- Create feature flag for model selection
Resources
Background
The project currently uses IBM's Granite 3.3:8b model for AI-powered features. Granite 4 offers improved performance, better reasoning capabilities, and enhanced context handling.
Current State
api/chat-agent/agents.yaml:granite3.3:8bapi/codegen-agent/agents.yaml:granite3.3:8bGoals
Implementation Plan
Phase 1: Research & Preparation
Phase 2: Configuration Updates
api/chat-agent/agents.yamlapi/codegen-agent/agents.yamlPhase 3: Testing & Validation
Phase 4: Performance Benchmarking
Phase 5: Documentation & Rollout
Files to Update
api/chat-agent/agents.yaml(line 8)api/codegen-agent/agents.yaml(line 21)README.md(lines 98, 144)AGENTS.md(line 25, 98, 104-105)CONTRIBUTING.md(setup instructions).env.local.template(if model-specific configs exist)Acceptance Criteria
Technical Considerations
Rollback Plan
Resources