๐ท๐บ ะ ัััะบะฐั ะฒะตััะธั
Your desktop companion. Klodik โ a pixel-art AI agent that lives on your screen, talks to you in Russian, and actually does things โ opens apps, types text, searches Google, moves your mouse, and remembers your habits.
| Feature | Description |
|---|---|
| ๐ฎ Desktop Overlay | Transparent, frameless, always-on-top window. Drag it anywhere |
| ๐ฃ๏ธ Russian-only | Speaks like a human in a messenger โ short, casual, sarcastic |
| ๐ง Groq LLM | Powered by llama-3.3-70b-versatile โ fast, smart, 70B parameters |
| ๐ง Tool Calling | 15+ tools: terminal, files, mouse, keyboard, browser, search |
| ๐ง Multi-model | Groq, OpenAI, Gemini, Ollama โ pick your provider |
| ๐ Memory | SQLite database remembers recent conversations and preferences |
| ๐ฌ Animations | Lottie animated sprite when working, idle pixel-art when chill |
| ๐ช Taskbar | Visible in taskbar โ easy to find and switch to |
| ๐ฌ Initiative | Gets bored and starts conversation himself after 60s of silence |
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Tauri Window (transparent overlay) โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ React 19 + Tailwind v4 โ โ
โ โ โโโ Agent.tsx (sprite) โ โ
โ โ โโโ useWebSocket.ts โ โ
โ โ โโโ ErrorBoundary.tsx โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโ
โ WebSocket ws://localhost:8765
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Python Sidecar (FastAPI + uvicorn) โ
โ โโโ WebSocket /ws โ
โ โ โโโ agent_loop() โ
โ โ โโโ LLM (litellm) โ
โ โ โโโ SQLite Memory โ
โ โ โโโ 15+ Tools โ
โ โโโ connection.py (WS manager) โ
โ โโโ log.py (colored logging) โ
โ โโโ /health โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ HTTPS
โโโโโโโโโโโโโโโโ
โ Groq Cloud โ
โ 70B params โ
โโโโโโโโโโโโโโโโ
- Node.js + pnpm
- Python 3.12+
- Rust (for Tauri)
- Windows 10+ / macOS 12+ / Linux with X11/Wayland (for pyautogui)
# Clone
git clone https://github.com/elev1e1nSure/klodik.git
cd klodik
# JS dependencies
pnpm install
# Python virtual environment + dependencies
python -m venv sidecar\.venv
sidecar\.venv\Scripts\pip install -r sidecar\requirements.txt
# Create .env (required!)
copy .env.example sidecar\.env
# Edit sidecar\.env and paste your GROQ_API_KEY# Beautiful launcher with provider & model selection
pnpm launch
# Or classic unified launch
pnpm dev:allOr separately:
# Terminal 1
sidecar\.venv\Scripts\python.exe sidecar\main.py
# Terminal 2
pnpm tauri devThe agent can perform real actions on your computer:
| Tool | What it does |
|---|---|
terminal |
Run shell commands |
read_file / write_file |
File operations |
mkdir / list_dir |
Directory management |
search |
Find files by name or content |
move_file |
Move/rename files |
move_mouse / click |
Control cursor |
type_text / press_key |
Keyboard input |
open_app |
Launch applications |
open_url |
Open links in browser |
google |
Search Google and return results |
read_url |
Fetch webpage content |
Conversations are stored in sidecar/memory.db (SQLite). The agent loads the last 5 interactions before each task to maintain context and remember your preferences.
klodik/
โโโ src/ # React frontend
โโโ src-tauri/ # Tauri (Rust) desktop shell
โโโ sidecar/ # Python backend (FastAPI + agent)
โ โโโ connection.py # WebSocket connection manager
โ โโโ log.py # Structured colored logging
โ โโโ tools/ # Tool registry & implementations
โโโ scripts/ # dev.cjs โ unified launch script
โโโ public/ # Sprites and assets
โโโ AGENTS.md # Project rules & conventions
| Provider | Models | API Key Required |
|---|---|---|
| โก Groq | llama-3.3-70b, mixtral, gemma2 | Yes (console.groq.com) |
| ๐ OpenAI | gpt-4o, gpt-4o-mini, gpt-4-turbo | Yes (platform.openai.com) |
| ๐ Gemini | gemini-1.5-pro, gemini-1.5-flash | Yes (aistudio.google.com) |
| ๐ฆ Ollama | llama3, mistral, codellama, etc. | No (local) |
Set provider via pnpm launch or in .env (PROVIDER=...).
| Issue | Fix |
|---|---|
GROQ_API_KEY not set |
Copy .env.example to sidecar\.env, paste key from console.groq.com |
| Port 8765 in use | Change WS_PORT in .env or kill the process on 8765 |
pyautogui not installed |
Install deps: pip install -r sidecar\requirements.txt |
| macOS: pyautogui fails | System Preferences โ Security โ Accessibility โ add Python/terminal |
| Window not draggable | Ensure data-tauri-drag-region is on the root div |
MIT
