docs: add diagrams to project report#15
Merged
Merged
Conversation
|
@adnan275 is attempting to deploy a commit to the Yug's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Sentinel: Project Report
AI-Powered File Organization & Cleanup Agent
1. Abstract
Sentinel is an intelligent, local-first AI agent designed to automate the organization and cleanup of file systems. Traditional file management tools rely on rigid rules and manual intervention. Sentinel bridges this gap by leveraging local Large Language Models (LLMs) via Ollama, combined with deterministic execution rules. This ensures that the system can intuitively categorize files, detect duplicates, and suggest optimal organization plans, all while strictly prioritizing user data safety and system integrity.
2. Introduction
As digital storage capacities grow, users accumulate thousands of files, leading to cluttered directories, duplicated content, and wasted disk space. Manually organizing these files is a tedious and time-consuming task. Sentinel acts as a smart assistant that scans your file system, understands the context and content of your files, and proposes a comprehensive cleanup and organization plan. Built with a focus on local execution, Sentinel ensures that your personal data never leaves your machine.
3. Problem Statement
4. Objectives
5. System Architecture
Sentinel operates on a modular architecture divided into several key layers. The following diagram illustrates the high-level architecture and how different components interact:
graph TB subgraph "User Interfaces" CLI[CLI - Typer] WEB[Web UI - Next.js] DESKTOP[Desktop - Tauri] end subgraph "API Layer" API[FastAPI + WebSockets] end subgraph "Core Engine" SCANNER[Scanner] CLASSIFIER[File Classifier] RULES[Rules Engine] PLANNER[AI Planner] SAFETY[Safety Validator] EXECUTOR[Executor] end subgraph "External Services" OLLAMA[Ollama - Local LLM] DB[(SQLite DB)] end CLI --> API WEB --> API DESKTOP --> API API --> SCANNER SCANNER --> CLASSIFIER CLASSIFIER --> RULES RULES --> PLANNER PLANNER --> OLLAMA PLANNER --> SAFETY SAFETY --> EXECUTOR EXECUTOR --> DB SCANNER --> DB style SAFETY fill:#ff6b6b,stroke:#333,stroke-width:2px style EXECUTOR fill:#51cf66,stroke:#333,stroke-width:2px style PLANNER fill:#339af0,stroke:#333,stroke-width:2px