Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/klus3kk/cognito
This project aims to enhance code quality and developer productivity by automating code review tasks using AI.
https://github.com/klus3kk/cognito
Last synced: about 13 hours ago
JSON representation
This project aims to enhance code quality and developer productivity by automating code review tasks using AI.
- Host: GitHub
- URL: https://github.com/klus3kk/cognito
- Owner: Klus3kk
- Created: 2024-06-04T21:49:49.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-11T21:25:32.000Z (about 2 months ago)
- Last Synced: 2024-11-11T22:27:21.678Z (about 2 months ago)
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cognito
## Overview
**Cognito** is an interactive AI assistant that provides code review insights one suggestion at a time. It initially supports Python and C, with plans to add more languages. By leveraging ML/NLP, **Cognito** aims to enhance code quality by:
- **Improving readability**
- **Ensuring security** (aligned with OWASP guidelines)
- **Optimizing code performance**## Key Features
1. **Code Readability Analysis**
- Checks for naming conventions, comments, and code structure.
- Suggests refactoring for clearer and more maintainable code.2. **Security Vulnerability Detection**
- Detects common security issues and flags vulnerabilities according to OWASP standards.
- Highlights risky functions and suggests safer alternatives.3. **Performance Analysis**
- Analyzes algorithmic complexity and memory usage.
- Flags inefficient patterns and recommends optimizations.4. **Interactive Suggestions**
- Provides one suggestion at a time, allowing users to review, accept, or dismiss.
- Offers optional explanations for each suggestion if requested.## Installation
```bash
# Clone the repository
git clone https://github.com/Klus3kk/cognito.git# Install dependencies
cd cognito
pip install -r requirements.txt
```## Usage
**Cognito** can be run by inputting code directly into the application, where it will provide real-time analysis and suggestions.```bash
# Run the main application
python src/main.py
```## Progress
Work's in **REALLY REALLY EARLY** process.