Available for work

Hi, I'm 👋

Mohammad Hasan Kaman

|

I build end-to-end software — from TCP-level encrypted messengers to production Django platforms and AI-powered developer tools.

0 Years Building Software
0 Projects Delivered
0 Open-Source Repos
Mohammad Hasan Kaman
🐍 Python
🤖 AI / LLM
🎸 Django
🎯 C#
🖥️ Desktop
🔐 Secure
🚀 REST APIs
🐧 Linux
4+ Years Building Software
Scroll

Turning complex problems into elegant software

Mohammad Hasan Kaman

Mohammad Hasan Kaman

Full-Stack Developer

📍 Based in Germany (Remote)

🐍 Python 🎯 C# 🤖 AI / LLM 🔐 Security

I'm a freelance full-stack developer focused on AI applications, developer tooling and secure systems. I build end-to-end software in Python and C# — from AI-driven clinical screening pipelines and encrypted desktop messengers to diagnostics for LLM streaming APIs and production Django platforms serving real users. I care about shipping reliable, well-engineered products that solve real problems.

I build end-to-end software — from AI clinical screening pipelines and encrypted messengers to production Django platforms and AI-powered developer tools.

kaman.py
class FullStackDeveloper:
    """Python · C# · AI · Secure Systems"""

    def __init__(self):
        self.name = "Mohammad Hasan Kaman"
        self.stack = ["Django", "PyQt6", "LLMs"]
        self.passion = "shipping real products"

    def hire(self):
        return True  # always 🚀

Technologies I work with

A battle-tested stack across backend, desktop, AI and infrastructure.

🐍 Python
Advanced — shipped in projects
🎸 Django
Advanced — shipped in projects
🎯 C#
Advanced — shipped in projects
⚡ JavaScript
Production experience
🔗 REST API Design
Advanced — shipped in projects
🤖 LLM APIs (OpenAI / Gemini / DeepSeek)
Advanced — shipped in projects
📡 SSE Streaming & Tool Calling
Advanced — shipped in projects
🖥️ PyQt6 / CustomTkinter
Advanced — shipped in projects
🪟 C# WinForms / WebView2
Advanced — shipped in projects
🧭 Edge WebView2 (Chromium)
Production experience
🔌 TCP Socket Programming
Advanced — shipped in projects
🔐 AES / Fernet Encryption
Advanced — shipped in projects
🔑 bcrypt & Auth Systems
Advanced — shipped in projects
🛡️ Rate Limiting & Hardening
Production experience
🗄️ SQLite / SQL Databases
Advanced — shipped in projects
🚀 nginx + gunicorn Deployment
Advanced — shipped in projects
🐧 Linux VPS Administration
Production experience
🌐 BIND9 DNS
Working knowledge
☁️ Cloudflare Workers / KV
Production experience
🌱 Git & GitHub
Advanced — shipped in projects
⚙️ yt-dlp / Automation
Production experience
🎨 HTML5 / CSS3
Production experience
🏛️ OOP & Clean Architecture
Advanced — shipped in projects
🧵 Multithreading & Concurrency
Production experience

Featured projects

Real products — live in production and on GitHub.

📚
AI & Tools

Kaman AI Translator

A PyQt6 desktop studio that translates whole PDF and EPUB books into fluent academic Persian — and back into English — one page at a time or an …

PythonPyQt6Gemini / OpenAI-compatible APIsSSE
🩺
AI & Tools

Agent Stream Doctor

A zero-dependency Python CLI that reads raw SSE chat-completion captures and explains exactly why an LLM stream returned nothing — reasoning-only responses, missing finish_reason, malformed SSE framing, truncated …

PythonSSEOpenAI-compatible APIsCLI
🧠 ● LIVE
Web

AI Counseling Widget

An AI intake system for counselling centres, shipped as a Persian RTL chat widget. The assistant talks to every visitor, runs the GHQ-28 wellbeing screening, extracts clinical concepts …

FastAPISQLiteGHQ-28 screeningconcept extraction
💬 ● LIVE
AI & Tools

AI Counseling Bot

The same clinical intake intelligence as a Bale messenger bot: a 12-state guided conversation, the GHQ-28 wellbeing screen, and a SpiralMatchEngine that re-weights itself from panel feedback. Admins …

PythonBale Messenger APIGHQ-28 screeningmatching engine
🗂️ ● LIVE
Web

Kaman Portfolio

This very site: a trilingual (EN/FA/AR) Django portfolio where every page is editable from the Django admin, with a trilingual PDF CV generator that shapes RTL text with …

DjangoSQLitefpdf2HarfBuzz shaping
🔐
Security

Kaman Messenger

A real-time encrypted messenger built completely from scratch: raw TCP sockets, Fernet (AES) traffic encryption, bcrypt authentication, rate limiting and SQLite storage, with a CustomTkinter GUI. Ships as …

PythonTCP SocketsFernet/AESbcrypt

More Projects

Notes & writing

Technical notes, lessons learned and ideas from my projects.

Building a Persian-first desktop translator for PDF and EPUB books — chunking, rolling context, and a per-book structure template

Translating a 300-page book in a chat window fails in predictable ways: the model summarizes instead of translating, terminology drifts between chapters, running headers become translated garbage, and one crash loses an hour of work. This is a Windows desktop app that fixes each of those with local, readable code — paragraph-aware chunking, a rolling context tail, per-book structure templates, a DPAPI-encrypted key, and a job store that saves every finished page.

Read Note →

Shipping a counseling bot on Bale: GHQ-28 screening, self-learning matching and 12 conversation states

How a messenger bot can run a full clinical intake end to end — a 12-state conversation handler, the GHQ-28 wellbeing screen, a matching engine that re-weights itself from panel feedback, an availability crawler and a full admin panel inside the chat itself. Built on the Telegram-compatible Bale API.

Read Note →

Building an AI counseling widget that matches visitors to the right counselor — without a hosted LLM

A drop-in Persian RTL chat widget that runs a structured intake, administers the GHQ-28 wellbeing screen, extracts clinical concepts from free text and ranks counselors — with every clinic's own API key, admin panel and intake flow. No hosted model, no per-message cost, nothing leaving the server.

Read Note →

Why is my LLM stream empty? A field guide to broken SSE responses

Reasoning-only replies, missing finish_reason, malformed SSE frames — the four most common reasons a streaming LLM call returns nothing, and how to diagnose each one.

Read Note →

Services I offer

From idea to production — I ship complete, secure and scalable software.

🌐

Web Development

Production-grade Django platforms with REST APIs, analytics dashboards and clean architecture.

🤖

AI Engineering

LLM-powered apps: chat assistants, streaming diagnostics, tool calling and AI integrations.

🖥️

Desktop Applications

Cross-platform desktop tools with PyQt6, CustomTkinter and C# WinForms.

🔐

Secure Systems

Encrypted communication, hard authentication and rate-limited networking from scratch.

Feedback & Collaborators

Feedback from people I have worked with.

❝

Hasan delivered our production website end-to-end — Django, nginx and gunicorn on our own VPS. Fast, reliable and always reachable.

D
Dr. Mohammad Reza KamanSite Owner, drkaman.ir
❝

agent-stream-doctor solved a streaming bug that had cost me hours. Clean code, zero dependencies, spot-on documentation.

O
Open-Source CollaboratorGitHub

Let's build something great

Have a project in mind? Send me a message and I will get back to you within 24 hours.