added ollama use cases examples #26
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reviews code for security vulnerabilities and best practices:
SQL injection detection
Resource leak identification
Exception handling analysis
Mutable default arguments
XSS vulnerabilities
Race conditions
Learns: Team-specific coding patterns and security standards
Analyzes data and generates actionable insights:
Sales trend analysis
Anomaly detection
User engagement metrics
System performance monitoring
Customer satisfaction patterns
Learns: What types of insights are valuable for different data domains
Translates natural language to SQL queries:
Complex joins and aggregations
Subqueries and window functions
Query optimization patterns
Database-specific syntax
Learns: Schema-specific patterns and business query requirements
Diagnoses system issues from logs and symptoms:
Memory leaks and resource exhaustion
Network timeouts and connectivity issues
Configuration problems
Performance bottlenecks
Learns: Environment-specific issues and resolution patterns
Converts technical content to clear documentation:
API documentation
README files
Changelog entries
Configuration guides
Tutorial introductions
Learns: Company documentation style and best practices
Development & DevOps (5 agents)
🔍 Code Review Agent - Security vulnerabilities and best practices
🧪 Test Case Generator ⭐ NEW - Comprehensive unit test generation
🗄️ SQL Query Generator - Natural language to SQL
📝 Git Commit Message Generator ⭐ NEW - Conventional commit messages
🔧 Troubleshooting Assistant - System diagnostics
Operations & Support (2 agents)
📧 Email/Ticket Classifier ⭐ NEW - Support ticket automation
🐛 Bug Report Analyzer ⭐ NEW - Issue triage and severity
Data & Analytics (1 agent)
📊 Data Analysis Agent - Data insights and patterns
Security (1 agent)
🔐 Security Log Analyzer ⭐ NEW - Threat detection and response
Documentation (1 agent)
📝 Technical Writer Agent - Code to documentation
📊 What Each New Agent Does
Learns:
Training: 6 code samples covering various scenarios
Learns:
Training: 7 real support tickets
Learns:
Training: 6 bug reports with various severities
Learns:
Training: 6 code diffs with commits
Learns:
Training: 7 security log scenarios
🎯 Quick Start
Run individual agent
uv run python examples/ollama/test_generator_agent.py
uv run python examples/ollama/email_classifier_agent.py
uv run python examples/ollama/bug_report_agent.py
uv run python examples/ollama/commit_message_agent.py
uv run python examples/ollama/security_log_agent.py
Or run all 10 agents sequentially (20-30 minutes)
uv run python examples/ollama/run_all_demos.py