zkzkAgent is an innovative, privacy-centric local AI assistant tailored for Linux. By leveraging LangGraph and Ollama, it automates workflows, manages system processes, and handles network tasks with ease. Enjoy voice interaction and intelligent automation, keeping your data secure on your machine.
Control your Linux system naturally, securely, and completely offline.
Features β’ Quick Start β’ Documentation β’ Contributing
zkzkAgent is a sophisticated, privacy-first AI assistant built specifically for Ubuntu/Debian-based Linux systems. Powered by LangGraph for intelligent workflow automation and Ollama for completely local LLM inference, it transforms how you interact with your systemβall while keeping your data securely on your machine, with zero cloud dependencies.
With 23+ specialized tools categorized for your needs:
| Category | Tools |
|---|---|
| File Operations | Find files, read/write content, get info, create projects |
| Network Tools | Connectivity checks, Wi-Fi control, DuckDuckGo search/images |
| Process Management | Find processes, kill processes |
| Deployment | Run scripts, stop scripts with AI assistance |
| Package Management | Safe install/remove/upgrade with previews |
| Applications | Open VSCode, browser automation |
| System | General command execution with safeguards |
| Dangerous | Protected actions requiring confirmation |
zkzkAgent leverages a sophisticated cyclic graph architecture:
graph TD
A[User Input] --> B[LangGraph State]
B --> C{AI Decision}
C --> D[Execute Tool]
C --> E[Need Confirmation?]
E -->|Yes| F[Pending Confirmation]
F --> G[User Approves]
G --> H[Run Protected Action]
E -->|No| H
H --> I[Update State]
I --> B
# Clone the repository
git clone https://github.com/zkzkGamal/zkzkAgent.git
cd zkzkAgent
# Run the installation script
chmod +x install.sh
./install.sh
# Or install manually
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Configure your model in config.yaml
# Start the assistant
python3 main.py
Customize your experience through prompt.yaml and model configurations:
# Example config.yaml snippet
model:
name: "qwen2.5:7b"
temperature: 0.7
context_length: 4096
voice:
enabled: false
tts_engine: "coqui"
vad_threshold: 0.5
safety:
require_confirmation: true
max_file_size: 10485760 # 10MB
# File Operations
> find all Python files modified in the last day
> create a new project folder called "myapp" with a basic structure
# Process Management
> show me running processes using more than 1GB RAM
> kill the process using port 3000
# Package Management (NEW!)
> install Visual Studio Code
[Preview] Would run: sudo snap install code --classic
Proceed? (yes/no): yes
Installing... Done!
> check if Firefox is installed
> upgrade all system packages
# Network Tasks
> search DuckDuckGo for "Linux AI assistants"
> download the first image result to my Pictures folder
# Voice Mode
> (after enabling voice) "what's my system uptime?"
zkzkAgent prioritizes system safety with multiple layers of protection:
We welcome contributions! See our Contributing Guidelines for details.
git clone https://github.com/zkzkGamal/zkzkAgent.git
cd zkzkAgent
python3 -m venv venv
source venv/bin/activate
pip install -r requirements-dev.txt
pre-commit install
No comments yet.
Sign in to be the first to comment.