Marge-LLM
Merges AI models with 9 mathematical merge methods. Picks a strategy automatically, compares the source models, verifies the result and lets you chat with the merged model.
Software engineer · Blockchain · AI systems · Security
I build AI, blockchain and backend software, and write about how to architect it.
Software engineer working in Python, C and TypeScript. Author of the book Clean Layer Architecture, creator of open-source LLM tooling, and credited by the ProFTPD maintainers for two upstream fixes.
What I work on
Editing, merging and diagnosing language models, and designing the architecture around them.
Bitcoin transaction mechanics (Replace-By-Fee, mempool) and autonomous crypto trading.
Backends, APIs and full-stack apps in TypeScript, NestJS, React and Python.
Vulnerabilities found and fixed upstream in ProFTPD, plus defensive tooling.
Featured · Book · Under review
A Modular Approach to Artificial Intelligence Systems
A 13-chapter book (2026) that argues AI systems need the same structural shift software went through from monoliths to services. It splits a system into separate layers: language, knowledge, safety, policy and orchestration, with safety that fails closed by design.
Status: under review at Mansoura University, Egypt. It is not published yet. The reference implementation is open source as CLA-Library.
Projects
Open-source code on GitHub, grouped by area. Each card links to its repository.
Merges AI models with 9 mathematical merge methods. Picks a strategy automatically, compares the source models, verifies the result and lets you chat with the merged model.
Real-time, precise edits to LLM weights. Targets hallucinations, limits forgetting with LyapLock, and supports orthogonal abliteration.
Toolkit for changing LLM behavior by editing internal weights.
Self-Improving Research Agent in pure Python, described in the SIRA paper: a verifier-grounded platform for autonomous AI self-learning.
AI model diagnostics, repair and monitoring system.
Full Python implementation of Clean Layer Architecture. Modular, with no hardcoded responses: all output comes from the model backend you plug in.
RBF and mempool ancestry visualizer for Bitcoin Testnet. Shows parent and child transactions, replace-by-fee replacement and double-spend dynamics, with logs that explain each step.
Python scripts and a desktop GUI that build a parent transaction with RBF enabled, a dependent child, and a replacement that invalidates the chain.
RBF monitoring and cancellation system. Watches mempool fee rates, builds replacement transactions and stops when they confirm.
Autonomous, AI-powered crypto trading platform with a desktop GUI. Integrates real-time market data and automated strategies.
Enterprise-scale backend engine for multi-vertical on-demand super apps, unifying several service types in one platform.
Production-grade GraphQL API for an airport management system.
AI meeting assistant that records, transcribes and summarizes conversations into notes and tasks.
Ride-sharing app where passengers set prices and drivers bid, with an admin panel.
Autonomous vulnerability research platform. Watches vulnerability feeds, collects exploit intelligence, drafts proof-of-concept code and builds detection rules.
Docker-ready network honeypot and active-defense system. Detects intruders, monitors them, sets traps and scans back.
The firewall of the future. Details are not public yet.
Security research
ProFTPD is a widely deployed open-source FTP server. Both items below are public and credit me by name in the maintainers' own words.
Some authentication modules return a positive error value on failure, and the core Auth API read any positive value as success. Under specific error conditions in mod_sql, mod_ldap and mod_auth_pam this let a login through. The fix hardens the Auth API and audits the modules.
I pointed out additional edge cases where mod_copy could miss access policies on source and destination paths. The upstream fix checks each path and adds 553 lines of tests.
Recognition
Both certificates relate to the ProFTPD reports above. Click a certificate to open its proof on GitHub.
Certificates and training
Completed learning paths, each verifiable on my Microsoft Learn profile.
Training: Edraak, February 2024. Introduction to Cyber Security, Cyber Security Attack Techniques, Introduction to Python Programming, Java Programming 3, Building Website Using WordPress.
About
I write software in Python, C and TypeScript. My work spans AI systems, blockchain and crypto tooling, backend engineering and security. I read source code closely, which is how I found the ProFTPD issues, and I build the tools I need.
I also write about architecture: my book Clean Layer Architecture lays out a layered design for AI systems, and my SIRA paper studies verifier-grounded self-improving agents.
Contact
Email is the fastest way to reach me.