Skip to content

Frytskyy/deflect-one

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deflect One

Agentless DevOps command center for your entire Linux infrastructure — from one terminal.

No agents to install on servers. No cloud. No SaaS. Just SSH access — and Deflect One turns that into a complete operations platform.

From server health monitoring to active attack detection, from deployment orchestration to natural-language command execution via built-in AI — Deflect One combines DevOps observability, cybersecurity response, and LLM-powered decision support into a single, self-contained Python file.

⚠️ Beta — actively developed. Core features are stable, new screens added regularly.


Main Dashboard

Main Dashboard


Features

📈 Real-Time Infrastructure Monitoring

CPU, RAM, disk, network I/O, Docker containers, MySQL/PostgreSQL/Redis — across unlimited servers simultaneously. Async-native coroutine pool, near-zero overhead.

Cross-Host Process Monitor DB Monitor Connections Viewer


🛡 Active Attack Detection & Defense

Live attack radar: malicious IPs, geo-location, timeline. Manages UFW/iptables rules. Defense mode executes bans, restarts, and rate limits autonomously within your policy.

Firewall Manager Firewall Manager — Rules Ban IP


🤖 AI-Enhanced Autonomous Operations

Unified AI engine: Claude, GPT-4, Gemini, Mistral, Groq, LM Studio. Per-host LLM instructions enable background governance loops — "restart MySQL if slow-query rate exceeds 10/min" — running 24/7 without you watching.

AI-Driven Operations AI SSH Session AI SSH Sample Host AI Settings AI Settings AI Stats


💬 Natural-Language Command Terminal

Ctrl+A → describe what you want in plain English → Deflect One translates to CLI/SSH/Bash and executes it.


📦 Package & System Management

Full apt integration: view available updates, security patches, and install packages — across all hosts from one screen.

APT Update Manager APT Package Installer


🐳 Docker & Services

Manage containers, images, and systemd services without leaving the terminal.

Docker Manager Services Manager


📁 File Manager

Dual-panel SFTP file manager — browse, upload, download, edit, copy between hosts. Midnight Commander style.

File Manager


📋 Log Aggregation & Journal Viewer

Cross-host regex log search and live journalctl tailing with 8 preset tabs.

Cross-Host Log Filtering Journal Viewer


✉️ Email Monitor

MTA queue monitoring, account overview, error rates — across all hosts.

Email Monitor Email Queue Manager


⚙️ Fleet & Bulk Operations

Manage your entire server fleet: bulk DevOps commands, SSH key rotation, host management.

Host Fleet Manager Bulk Commands — Select Bulk Commands — Result Batch Rotate Keys


🔧 More Tools

Cron & systemd timer management, network reconnaissance, script runner, config export.

Cron Manager Network Recon Script Runner Tools Config Export


Some fun

But why not?

Deflect key deflect-key.jpg


Installation

# Minimal (no AI)
pip install textual paramiko cryptography

# Full (with AI support)
pip install textual paramiko cryptography anthropic openai

# Run
python deflect.py --demo    # demo mode, no SSH required
python deflect.py           # real mode, reads deflect.json next to the script

Configure AI: F6 → 🤖 AI tab → choose provider → enter API key → Test Connection


Keyboard Shortcuts

Keys Screen
Ctrl+D Docker
Ctrl+W Firewall (UFW/iptables)
Ctrl+F File Manager (SFTP, dual-panel)
Ctrl+A AI Chat
Ctrl+L Log Aggregation
Ctrl+P Process Monitor
Ctrl+Y Databases
Ctrl+G Deployments
Ctrl+X Email Monitor
Ctrl+S Script Runner
Ctrl+T Cron & Timers
Ctrl+B Network Connections
Ctrl+R Network Recon
Ctrl+K Secrets Vault
F2 Interactive SSH Shell
F3 Log Tail (journalctl -f)
F1 Help (full shortcut list)

Compatibility

Runs on (your machine):
✅ Linux · ✅ macOS (Intel + Apple Silicon) · ✅ Windows (Windows Terminal) · ✅ WSL2
Any OS that runs Python 3.10+

Manages (remote servers):
✅ Debian 10+ · ✅ Ubuntu 20.04+ — primary targets, fully tested
🟨 Fedora · CentOS · Arch · Alpine — works via SSH, not all features tested yet


Tech Stack

  • Python 3.10+ · Textual 8.x (TUI) · asyncio · paramiko (SSH)
  • cryptography — Fernet + PBKDF2 for HardwareVault
  • AI backends: anthropic · openai · google-generativeai · mistralai (all optional)

License

MIT License with Attribution Requirement.
Free for personal and commercial use. Attribution to vladonai.com/deflect required.


Created by Volodymyr Frytskyy (WhitemanV)

About

Deflect One. Agentless DevOps command center for Linux infrastructure - monitoring, attack defense, AI assistance. One Python file, SSH only.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages