{"id":51026320,"url":"https://github.com/huckler2003/hck-gpt","last_synced_at":"2026-06-21T20:01:00.645Z","repository":{"id":360335411,"uuid":"1249693610","full_name":"HuckleR2003/hck-GPT","owner":"HuckleR2003","description":"Local AI diagnostic assistant for Windows PC monitoring. 76 intents, hybrid rule and LLM engine, bilingual PL/EN, context time-windowing, anti-hallucination fallback, and time-travel debugging. Built from real community requests. Part of PC_Workman HCK.","archived":false,"fork":false,"pushed_at":"2026-06-04T23:10:04.000Z","size":525,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-05T00:14:51.327Z","etag":null,"topics":["ai","ai-agent","ai-agents","ai-tools","hck-labs","local-ai","monitoring","nlp","ollama","ollama-api","open-source","pc-diagnostics","python","python3","sqlite","system","system-monitoring","tool","tools","windows"],"latest_commit_sha":null,"homepage":"https://github.com/HuckleR2003/PC_Workman_HCK","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HuckleR2003.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-26T00:48:04.000Z","updated_at":"2026-06-04T23:10:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/HuckleR2003/hck-GPT","commit_stats":null,"previous_names":["huckler2003/hck-gpt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HuckleR2003/hck-GPT","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuckleR2003%2Fhck-GPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuckleR2003%2Fhck-GPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuckleR2003%2Fhck-GPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuckleR2003%2Fhck-GPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HuckleR2003","download_url":"https://codeload.github.com/HuckleR2003/hck-GPT/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuckleR2003%2Fhck-GPT/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34623906,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","ai-agent","ai-agents","ai-tools","hck-labs","local-ai","monitoring","nlp","ollama","ollama-api","open-source","pc-diagnostics","python","python3","sqlite","system","system-monitoring","tool","tools","windows"],"created_at":"2026-06-21T20:00:59.804Z","updated_at":"2026-06-21T20:01:00.633Z","avatar_url":"https://github.com/HuckleR2003.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hck_GPT\n\n**v2.1.0** · Part of [PC Workman HCK](https://github.com/HuckleR2003/PC_Workman_HCK)\n\nAI diagnostic assistant for Windows system monitoring. Answers natural language questions about your PC — in Polish and English — using real hardware data. No cloud. No API key.\n\n---\n\n## What it does\n\nYou ask. It checks your actual hardware. It answers.\n\n```\n\"Why is my PC slow right now?\"\n\"Is cs2.exe a virus or a normal process?\"\n\"Which game pushes my GPU the hardest?\"\n\"RAM na 91% - co powinienem zamknąć?\"\n```\n\n82 built-in intents covering hardware diagnostics, performance analysis, process identity,\ndriver status, gaming analytics, battery, startup programs, and system health.\n\n---\n\n## Architecture\n\n```\nhck_gpt/\n├── engine/\n│   └── hybrid_engine.py     # Routes messages: rule engine first, Ollama LLM fallback\n├── intents/\n│   ├── parser.py            # Intent parser with Polish diacritic normalization\n│   ├── vocabulary.py        # 82 intents, PL+EN patterns, confidence scoring\n│   └── lang_detect.py       # Auto-detects Polish vs English per message\n├── responses/\n│   └── builder.py           # 5600+ lines of bilingual response handlers\n│                            # Every handler uses real psutil/WMI/SQLite data\n├── memory/\n│   ├── session_memory.py    # Conversation context, CPU/RAM trend buffers\n│   ├── proactive_monitor.py # Background daemon: CPU/RAM/GPU/disk/temp alerts\n│   └── user_knowledge.py    # SQLite user profile (hardware, usage patterns)\n├── context/\n│   ├── system_context.py    # Live snapshot: processes, temps, averages\n│   └── hardware_scanner.py  # WMI scan: CPU model, GPU, VRAM, mobo, RAM speed\n├── data/\n│   ├── live_sensors.py      # LibreHardwareMonitor bridge\n│   └── metrics_store.py     # DeepMonitor 5-min snapshots\n├── chat_handler.py          # Message routing + quick aliases\n├── panel.py                 # Tkinter UI: Bordeaux Noir panel, TIP/HOT strips\n└── insights.py              # Habit tracking, anomaly detection, teasers\n```\n\n---\n\n## How the hybrid engine works\n\nEvery message hits the **intent parser** first. Known intents (82 total) go to the **rule engine** — fast, predictable, deterministic, no GPU needed.\n\nLow-confidence or open-ended messages get routed to **Ollama** (local LLM). The engine injects a 6-section system context into the prompt: live CPU/RAM/GPU, today's averages, top processes, temperatures, hardware profile, and conversation history.\n\nOllama unavailable? 60-second cooldown, graceful fallback. No crashes.\n\n```\nUser message\n     │\n     ▼\nIntent parser  (confidence 0.0–1.0)\n     │\n     ├─ \u003e= 0.60 ──► Rule engine handler ──► bilingual response + live hardware data\n     │\n     └─ \u003c 0.60  ──► Ollama LLM (local, port 11434)\n                     + 6-section system context injected\n                     │\n                     └─ unavailable ──► structured fallback\n```\n\n---\n\n## Intent categories\n\n| Category | Example questions | Count |\n|---|---|---|\n| Hardware info | \"What GPU do I have?\", \"How much RAM?\" | 6 |\n| Diagnostics | \"Is my PC healthy?\", \"Check temperatures\" | 4 |\n| Performance | \"Why is it slow?\", \"Compare today vs yesterday\" | 6 |\n| Process identity | \"Is svchost.exe a virus?\" | 3 |\n| Gaming | \"Can I run Cyberpunk?\", \"Which game stresses hardware most?\" | 5 |\n| Startup / drivers | \"What starts with Windows?\", \"Are drivers updated?\" | 4 |\n| Resource analysis | \"Why is RAM high?\", \"What's the top memory hog?\" | 6 |\n| Time-travel | \"What changed since last week?\", \"Crash context?\" | 7 |\n| Battery / power | \"How fast is battery draining?\" | 4 |\n| Small talk | Greetings, thanks, follow-up questions | 4 |\n| + more | optimization, security, disk, network, fun | 33 |\n\n---\n\n## Proactive monitor\n\nBackground daemon that watches your system and pushes alerts without being asked:\n\n- CPU sustained \u003e88% for 30s\n- RAM critical \u003e93% → HOT strip (red, not chat spam)\n- CPU/GPU temperature spikes\n- Disk \u003c8 GB free on any drive\n- Session uptime \u003e12h reminder\n- New heavy process detected\n\nAlerts go to the HOT strip (red) or TIP strip (yellow) depending on severity.\nRAM critical never appears as a chat message — only in the dedicated HOT indicator.\n\n---\n\n## Bilingual design\n\nLanguage detected **per message**, not per session. Mix Polish and English freely.\n\nPolish diacritic normalization via ASCII-fold dual scoring:\n`\"dzieki\"` matches `\"dzięki\"`, `\"wydajnosc\"` matches `\"wydajność\"`.\n\n---\n\n## Dependencies\n\nhck_GPT is designed as part of PC Workman HCK and uses its data pipeline:\n\n| Dependency | Used for |\n|---|---|\n| `psutil` | Live process list, CPU/RAM/disk |\n| `pywin32` (WMI) | CPU model, GPU name, VRAM, mobo, RAM speed |\n| `sqlite3` stdlib | User knowledge base, historical stats |\n| `tkinter` stdlib | Chat panel UI |\n| `requests` optional | Ollama LLM API (local) |\n\nStandalone extraction as a pip-installable library is planned for a future milestone.\n\n---\n\n## Version history\n\n| Version | What changed |\n|---|---|\n| **2.1.0** | HOT strip for RAM alerts (no chat spam), tip_green advisory background, welcome_bg table styling, register_hot/clear callbacks, UZYTKOWNIK action tracking |\n| 2.0.4 | Wave 2: 6 new intents (game_can_run, upgrade_feasibility, top_resource_hog, daily_ram_usage, battery_estimate, gaming_ram_usage). 82 intents total |\n| 2.0.0 | Wave 1: 13 community-requested intents, Context Time-Windowing, No-AI-Slop fallback, Time-Travel Debugging, Micro-Benchmarking |\n| 1.7.x | DeepMonitor integration, language sync, conversation flow, process library 373 entries |\n| 1.0.0 | Initial: Hybrid Engine, 63 intents, Bordeaux Noir panel, proactive monitor, session memory |\n\n---\n\n## Part of PC Workman HCK\n\nhck_GPT is the AI brain inside [PC Workman HCK](https://github.com/HuckleR2003/PC_Workman_HCK) — a real-time Windows system monitor with 2.5D hardware map, DeepMonitor sensor table, startup/services manager, and time-travel diagnostics.\n\n**Marcin \"HCK\" Firmuga** · [GitHub](https://github.com/HuckleR2003) · [LinkedIn](https://linkedin.com/in/marcinfirmuga) · MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuckler2003%2Fhck-gpt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuckler2003%2Fhck-gpt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuckler2003%2Fhck-gpt/lists"}