Backend & Systems Automation Engineer
Portfolio ยท Telegram ยท Email ยท GitHub
Python developer focused on asynchronous backend services, MTProto automation, developer tooling, and retrieval systems. Current public projects include ComputerPilot MCP, TenantRAG, Psychology Atlas, and an interactive chemistry explorer. I also study psychology, with an interest in the intersection of software and learning.
Backend & Async: Python, asyncio, FastAPI, Django
Messaging & Telegram: MTProto, Pyrogram, Telethon, Telegram Bot API
Databases & Caching: PostgreSQL, Redis, MongoDB, SQLite
Agents & Automation: Model Context Protocol (MCP), Playwright
Infrastructure & Systems: Linux, systemd, Docker, Nginx
Voice-chat audio streaming and playback management platform for Telegram groups using MTProto userbot session pools.
- Routes userbot sessions across concurrent group calls using Pyrogram, PyTgCalls WebRTC streaming, and FFmpeg audio transcoding.
- Coordinates playback queues and state transitions using Redis-backed short-lived locks (
SET NX PX) alongside asynchronous PostgreSQL. - Restricts worker concurrency with bounded semaphores and handles Telegram
FloodWaitresponses via exponential backoff.
Cross-platform Model Context Protocol (MCP) runtime for supervised computer use, developer automation, durable execution, and recovery-aware agent workflows.
- Exposes typed capabilities for filesystem editing, code intelligence and LSP, Git, testing, terminal/process execution, browser automation, durable jobs, workflows, and system inspection across Windows, Linux, and macOS, with native desktop and semantic UI Automation on Windows.
- Implements persistent job and workflow state, transactional mutation guards, crash/restart reconciliation, platform-specific process ownership, capability-gated backends, and verified Secure Tunnel runtime management with deterministic cross-platform release validation.
FastAPI retrieval framework designed around tenant-scoped authentication, data isolation, and semantic search.
- Separates vector storage and semantic caching by tenant, with authenticated request boundaries.
- Uses hashed API keys, request validation, and documented security constraints. Storage isolation is not presented as encryption at rest.
Persian-first educational psychology platform with Django/DRF, Next.js, and sourced knowledge graphs.
- Organizes educational psychology content, Brain Atlas references, and assessment instrument metadata.
- Documents scientific provenance and licensing boundaries; it is not a diagnostic or clinical tool.
Interactive chemistry explorer built using React, Three.js, and a Node/Express backend.
- Covers 118 chemical elements with search, 3D visualization, and chemistry challenges.
- Live demo is a static GitHub Pages build; the Express/SQLite backend is part of the repository, not the hosted demo.
Dual-agent execution harness managing task delegation between an orchestrator model and an isolated worker subprocess.
- Isolates worker subshells in dedicated directories using subprocess stdin decoupling (
subprocess.DEVNULL) and fenced JSON message contracts. - Catches command timeouts, rate limits, and malformed outputs through mapped exit codes and regex stream inspection.
Asynchronous text-to-speech service and Telegram bot supporting multi-engine routing with first-class Persian text handling.
- Unifies Edge-TTS, Google TTS, and Piper-TTS behind an async interface with language-based engine routing and FFmpeg audio transcoding.
- Normalizes Persian text via diacritics inference and RTL formatting, serving requests through FastAPI endpoints and Telegram bot adapters backed by Redis caching.
Automated seat detection and reservation scanner for ticket checkout flows using Playwright.
- Analyzes venue seating layouts via injected DOM scripts to detect contiguous available seat blocks matching party-size requirements.
- Preserves authenticated browser session state and recovers from transient network failures through configurable retry loops.
Relational backend powering structured domain knowledge graphs, comparative entities, and student study workflows.
- Modeled relational domain graphs in Django using composite indexing and integrity constraints preventing direct self-referential edges.
- Maintained database performance via PostgreSQL connection persistence (
CONN_MAX_AGE), query budgets to eliminate N+1 regressions, and cached graph materialization.
Configuration automation and management backends for multi-node proxy panels operating under restricted network environments.
- Built SingBox and Xray configuration pipelines generating dynamic routing rules, outbound protocol selections, and configuration distribution across nodes.
- Reconciled non-custodial TRC-20 payments via Tronpy using persisted transaction tracking and Redis duplicate-processing guards (
SET NX).
Worker pools coordinating messaging and channel administration across concurrent MTProto client sessions.
- Managed concurrent Pyrogram and Telethon client sessions with per-account proxy routing and automated session lifecycle management.
- Dispatched background tasks through Redis priority queues, applying token-bucket rate limiting and adaptive backoff to handle Telegram
FloodWaitresponses.
Background service watchdogs tracking host health and recovering failed application processes.
- Monitored CPU and memory saturation, open file descriptors, and socket availability using
psutilpolling loops. - Handled threshold-based process recovery, diagnostic crash logging, and failure alerting to administrative Telegram channels.
- jobvision-auto-apply โ Headless Playwright automation pipeline for job application filtering with stored session state and Gemini API candidate matching.
- nginx-ssl-auto โ Automated Nginx reverse proxy configuration and Let's Encrypt TLS certificate provisioning CLI.
- redis-mongo-backup-tool โ Environment-driven CLI for pattern-based Redis keyspace exports and MongoDB database backups.



