Installation
Requirements
- Python >= 3.8
- psutil >= 5.8.0 (for memory and resource monitoring)
- astor >= 0.8.1 (for AST to source code conversion in code analysis)
- groq >= 0.30.0 (for LLM-based analysis and constant naming)
- pymongo >= 4.0.0 (for MongoDB error insight storage)
- requests >= 2.32.4 (for HTTP-based API client integration)
Install from PyPI
Install Sherlock AI using pip:
Install from Source
If you want to install from source for development:
Verify Installation
Verify that Sherlock AI is installed correctly:
Optional Dependencies
MongoDB Support
For error insight storage with MongoDB:
Set up your MongoDB connection:
API Client Support
For HTTP-based data ingestion to centralized backend services:
Configure your API key:
Code Analysis Support
For automatic hardcoded value detection and refactoring:
Set up your Groq API key for intelligent constant naming:
What's Next?
- Quick Start Guide - Get started with basic usage
- Configuration - Learn about configuration options
- Features - Explore all available features