Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
e5bdc7a
llm layer added(gemma)
parshvigarg3 Aug 8, 2026
66f788f
test.py updated to test llm layer
parshvigarg3 Aug 8, 2026
1d1026f
fix: enforce telemetry retention and correct feature rates
ankitkumar25-rk Aug 8, 2026
dec4021
Merge branch 'module/Blackbox' of https://github.com/devlup-labs/Cogn…
ankitkumar25-rk Aug 8, 2026
8630775
created basic ui..
ankitkumar25-rk Aug 9, 2026
d4edda4
feat(backend): wire up apply_optimization and log LLM explanations to DB
NikhByte Aug 9, 2026
147a91d
feat(data): fetch dynamic focusos events and state from SQLite
NikhByte Aug 9, 2026
c48d6ff
feat(frontend): render dynamic active optimizations and LLM explainer…
NikhByte Aug 9, 2026
4e60393
fix(backend): resolve unique_processes and import bugs, log skipped o…
NikhByte Aug 9, 2026
5e81a5d
Created 2 get_inference_payload from one
abhishekreddy22 Aug 9, 2026
b91013b
add .env to .gitignore
abhishekreddy22 Aug 9, 2026
ad3f8bc
feat(frontend): replace affinity matrix with model inference UI
NikhByte Aug 9, 2026
7bf90e4
nothing
abhishekreddy22 Aug 9, 2026
bfa0983
feat(frontend): implement partial auto-refresh using st.fragment base…
NikhByte Aug 9, 2026
7f3cd21
fix(dashboard): resolve telemetry calc bugs (IO rate, total_procs, ne…
NikhByte Aug 9, 2026
e6cfa64
fix(dashboard): use real metrics instead of hardcoded values for rules
NikhByte Aug 9, 2026
b9a3446
fix(dashboard): remove fake telemetry data fallbacks in drilldown
NikhByte Aug 9, 2026
e306810
fix(dashboard): remove fake hardcoded fallback values from process dr…
NikhByte Aug 9, 2026
bfdad66
fix(system-overview): make CPU status badge dynamic (NORMAL/ELEVATED/…
NikhByte Aug 9, 2026
621a2c4
Revert "Merge branch 'staging' into module/Blackbox"
ankitkumar25-rk Aug 9, 2026
239f2f2
fix(system-overview): dynamic CPU badge + 1s auto-refresh via st.frag…
NikhByte Aug 9, 2026
faf83b9
fix(focusos): derive active optimization values from real DB actions,…
NikhByte Aug 9, 2026
1a4edc4
feat(dashboard): compute real db latency and daemon uptime
NikhByte Aug 9, 2026
9172e3c
fix(dashboard): switch uptime metric to show true system boot uptime …
NikhByte Aug 9, 2026
3c3c77b
refactor(focusos): split LLM explainer output to decouple UI source b…
NikhByte Aug 9, 2026
b14631d
fix(focusos): align workload mappings, update model logic and prevent…
NikhByte Aug 9, 2026
3397974
fix(dashboard): add AUTO_REFRESH config, replace time.sleep with st_a…
NikhByte Aug 9, 2026
868f926
gemma cloud layer
parshvigarg3 Aug 9, 2026
9856b3e
Merge branch 'without_llm' of https://github.com/devlup-labs/CogniOS …
abhishekreddy22 Aug 9, 2026
c0ad8e5
minor bugs fixed related to api_key
abhishekreddy22 Aug 9, 2026
56130bd
merged llm layer of os_doctor into frontend
abhishekreddy22 Aug 9, 2026
cd531a7
OS_Doctor frontend integrated
abhishekreddy22 Aug 9, 2026
75d732d
readme of os_doctor updated
abhishekreddy22 Aug 9, 2026
119024c
feat: btn..
ankitkumar25-rk Aug 10, 2026
f53c148
Fix RAM mismatch between card and graph (Bug 1 & 2)
NikhByte Aug 9, 2026
1d1e48f
Normalize process CPU usage by core count (Bug 3)
NikhByte Aug 9, 2026
f223830
Fix network traffic calculation to show accurate Mbps (Bug 4)
NikhByte Aug 9, 2026
7323964
Add sanity check for silent disk I/O failure (Bug 5)
NikhByte Aug 9, 2026
5e9ea5a
Lower FocusOS sliding window to 15s so predictions react faster
NikhByte Aug 9, 2026
3b569a0
Unify main.py to start daemon, focusos, os_doctor, and dashboard
NikhByte Aug 9, 2026
62e68f5
Ignore telemetry log
NikhByte Aug 9, 2026
5a3ea54
fix: add daemon watchdog to main.py for auto-restart on crash
NikhByte Aug 10, 2026
e82c613
fix: swallow layer2 crash so FocusOS pipeline stays alive
NikhByte Aug 10, 2026
c575ea8
fix: record FocusOS inference events to sqlite DB for real-time dashb…
NikhByte Aug 17, 2026
ce046e4
fix(env): resolve recurring dependency downloads and standardize virt…
NikhByte Aug 19, 2026
79f2a7d
feat(collectors): add dataset v5 synthesizer, training dataset, and v…
NikhByte Aug 23, 2026
29d2294
feat: Add automatic dependency checker and graceful package installer
NikhByte Aug 23, 2026
11c4730
feat(collectors): compute UDP/TCP ratio and suppress self-telemetry n…
NikhByte Aug 24, 2026
ba38abd
chore(config): increase sliding window size from 15 to 30 samples
NikhByte Aug 24, 2026
e47c709
refactor(focusos): rewrite feature_engineer with full 22-feature schema
NikhByte Aug 24, 2026
26c9dc0
deleted anomaly detection files and modified replay and nl_query files
mitsmania Aug 24, 2026
3b6fada
refactor(models): upgrade classifier to IdeaPad 22-feature XGBoost ed…
NikhByte Aug 24, 2026
fbbf808
chore(models): remove deprecated dataset/generator, update saved mode…
NikhByte Aug 24, 2026
2641755
Fix Bug 1: Import Order Bug
NikhByte Aug 24, 2026
3e09e3d
Fix bugs 2-10: Refactor apply_optimization, use exact matching, combi…
NikhByte Aug 24, 2026
0dc8e4e
feat(db): add udp_tcp_ratio field to write_layer1
NikhByte Aug 24, 2026
030dadf
removed unwanted code from daemon
mitsmania Aug 24, 2026
4d284d3
refactor(nl_query,replay): changed build_chain, format_chain, main fx…
ankitkumar25-rk Aug 24, 2026
acee78a
cleansing code and comments
mitsmania Aug 25, 2026
8cefc37
update readme, removed unwanted functions, and edited config file
ankitkumar25-rk Aug 24, 2026
d0edc07
Merge branch 'frontend' into staging
ankitkumar25-rk Aug 29, 2026
0b5cbee
Merge branch 'module/Blackbox' into staging
ankitkumar25-rk Aug 29, 2026
6efd69b
Resolve
ankitkumar25-rk Aug 29, 2026
0c673a2
fix: removed ui of iforest and also update the existing...
ankitkumar25-rk Aug 29, 2026
8b44896
fix: removed hardcoded things..
ankitkumar25-rk Aug 30, 2026
c18b616
fix: AI synthesis component..
ankitkumar25-rk Aug 30, 2026
017a21e
fix: resolve AI postmortem cache issue and switch LLM model to Qwen
mitsmania Aug 30, 2026
bcc5f0c
changed flag color to green and renamed WARN to EVENT
mitsmania Sep 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Copy this file to .env and insert your actual API keys.

GROQ_API_KEY=your_groq_api_key_here
GROQ_MODEL=llama-3.3-70b-versatile
GROQ_MODEL=qwen/qwen3.8-27b
53 changes: 25 additions & 28 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,52 +1,49 @@
# Python
# Python & Environments
__pycache__/
*.py[cod]
*$py.class
.pytest_cache/
.mypy_cache/
.ruff_cache/
.venv/
venv/
env/
.conda/

# Environment & Config (IMPORTANT)
# Environment & Secret Files (IMPORTANT)
.env
.env.local
*.env
config.ini

# Local data and generated artifacts
cognios_telemetry.db
# SQLite Databases & WAL/SHM artifacts
*.db
*.db-shm
*.db-wal
data/models/*.pt
data/traces/*
*.sqlite
*.sqlite3
cognios_telemetry.db*
focusos_telemetry.db*
alerts.db*
blackbox.db*
blackbox/blackbox.db-shm
blackbox/blackbox.db-wal

# Keep data directories present in git if marker files are added.
# Local data and generated artifacts
data/cognios.db
data/models/*.pt
data/traces/*
!data/traces/.gitkeep
!data/models/.gitkeep

# Logs
logs/
*.log
telemetry_daemon.log
dashboard.log

# OS / IDE
.DS_Store
.vscode/
.idea/

# Ignore SQLite database files
*.db
*.sqlite3
*.sqlite

# Logs
logs/

# Environment and secret files
.env
.env.local
*.env

.DS_Store
*.db-shm
*.db-wal
# -shm, -wal files
cognios_telemetry.db-shm
cognios_telemetry.db-wal
blackbox.db-shm
blackbox.db-wal
31 changes: 27 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,19 +243,42 @@ git clone https://github.com/<your-org>/CogniOS.git
cd CogniOS
```

## Install Dependencies
## Quick Start (Recommended)

Run the automated launcher (creates `.venv`, installs dependencies if missing, and launches both the telemetry daemon and Streamlit dashboard):

**Linux / macOS:**
```bash
pip install -r requirements.txt
./start.sh
```

**Windows:**
```cmd
start.bat
```

Or run directly with Python (auto-detects and uses `.venv`):
```bash
python main.py
```

## Launch CogniOS
## Manual Setup (Optional)

If you prefer to configure your environment manually:

```bash
# 1. Create and activate a virtual environment
python3 -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate

# 2. Install dependencies
pip install -r requirements.txt

# 3. Launch CogniOS
python main.py
```

To run CogniOS as a background service:
To run only the telemetry collector daemon as a background service:

```bash
python cognios_as_daemon.py
Expand Down
Loading