Skip to content
View muhammetsafak's full-sized avatar
👨‍💼
Software Engineer · System Architect · Engineering Researcher
👨‍💼
Software Engineer · System Architect · Engineering Researcher

Organizations

@InitPHP @InitORM @Parantaj @signallockapp @CommitBrief @BabelQueue @bulutklinik

Block or report muhammetsafak

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
muhammetsafak/README.md

Muhammet Şafak — I design, build and study production software systems.

Hi, I'm Muhammet Şafak

Software Engineer — Systems Architecture · Engineering Research · AI Systems Engineering

Staff Engineer at Bulutklinik · Istanbul, Türkiye

Website X LinkedIn YouTube Email


I've been building software professionally since 2008. I didn't learn it at school — my degree is in history. Over the years I have built large production systems and turned what I learned from them into measured, published research.

Today I work as a Staff Engineer at Bulutklinik, on the architecture, scalability and reliability of high-traffic distributed systems. My direction is AI Systems Engineering: putting language models into production systems with the same discipline as any other component — explicit contracts, measured behavior and the decision left with a human.

My work spans three connected areas:

  • Software Engineering — production systems, backend services, APIs and developer tools.
  • Systems Architecture — distributed and event-driven systems, boundaries, contracts and the trade-offs between them.
  • Engineering Research — experiments, benchmarks and reproducible measurements of how systems actually behave.

How I work

  1. I choose what can be changed tomorrow — reversible technical decisions over clever ones.
  2. I write down why — every project keeps its decisions as ADRs.
  3. I state the cost — performance, money and complexity are part of the answer.
  4. I'm bound to the problem, not the language — PHP, Go, Python and TypeScript sit at the same table.
  5. When I don't know, I write "I don't know."

On AI: the machine works at the language layer, not the decision layer. I use AI heavily — content pipelines, agent-based development, LLM products — and I design the systems so that the final decision stays with a person.

Engineering focus

Area Interests
AI Systems Engineering LLM gateways, RAG, MCP, agent security and cost, evaluation, self-hosted AI infrastructure
Distributed Systems Event-driven architecture, messaging, service contracts, consistency, retries, idempotency
Software Architecture System boundaries, DDD, modularity, integration design, decision records
Reliability & Performance High availability, caching, database performance, capacity, observability
Developer Infrastructure CLI tools, code review, CI/CD, interoperability, open standards
Engineering Research Benchmarking, experimental methodology, performance analysis, reproducibility

Research

I run independent engineering investigations and publish each one with its methodology, environment, results and limitations. The goal is not to declare winners, but to produce findings others can examine, challenge and reproduce.

Selected reports:

All research →

Open source

My open-source work shares a few recurring themes: interoperability, explicit contracts, vendor independence, self-hosting, measurable behavior and operational transparency.

Developer infrastructure — Tignex

Project What it does License
CommitBrief Local, private, provider-agnostic LLM code reviewer for git diffs. Go. GPL-3.0
BabelQueue A strict JSON envelope that makes a queue message readable by every language — without changing your broker. MIT
QueryProxy Production data access without production credentials: query approval, policy rules, masking and audit. AGPL-3.0

AI infrastructure — Tunedness

Project What it does License
Ragmux Single-binary AI gateway: one OpenAI-compatible API, built-in RAG, multi-provider routing, token budgets. Go. AGPL-3.0
Contextator Self-hosted, multi-tenant MCP documentation server — team docs as one MCP endpoint per project. AGPL-3.0
McpGuard MCP security proxy: prompt-injection blocking, PII masking, RBAC, hash-chained audit log. Pre-release. Apache-2.0
AgentFuse Circuit breaker for agents: loop detection, call/token/cost limits, approval gates. Pre-release. Apache-2.0

Earlier work: InitPHP, framework-independent PHP libraries (maintenance mode).

More projects and experiments: Portfolio · Labs

Centvix

My independent products are organized under Centvix:

  • Tignex — open-source tools, infrastructure and standards for developers who value control and interoperability.
  • Tunedness — AI infrastructure and an applied AI research and engineering lab.
  • Parva Machina — independent browser and mobile games.
  • Academia — an education platform.

Writing

Everything starts at muhammetsafak.com, in English and Turkish:

Section Focus
Blog Engineering journal since 2014 — what I built, measured and learned
Engineering Notes, essays and system references on architecture and backend engineering (formerly sade.dev)
Research Benchmarks and measurements with full methodology
Visuals Diagrams, infographics and presentations

Copies and other formats: DEV (English) · Medium (Turkish) · YouTube (Turkish)

Technologies

Languages and tools are means to solve problems, not the foundation of my professional identity.

Languages: PHP · Go · Python · JavaScript · TypeScript · SQL · Shell

Backend & Frameworks: Laravel · Symfony · Node.js · FastAPI · Gin

Data & Messaging: PostgreSQL · MySQL/MariaDB · Redis · RabbitMQ · Kafka · MongoDB

Infrastructure: Linux · Docker · Cloudflare · GitHub Actions · Nginx · OpenTelemetry · Prometheus

Applied AI: LLM integration · RAG · MCP · AI gateways · Agent tooling · Evaluation


Get in touch

For engineering discussions, open-source collaboration, research or professional inquiries:

I design, build and study production software systems.

Pinned Loading

  1. CommitBrief/commitbrief CommitBrief/commitbrief Public

    Local LLM code review CLI for git diffs — review staged/unstaged changes, any git diff range, or a GitHub PR, right in your terminal.

    Go 12

  2. InitPHP/Socket InitPHP/Socket Public

    Lightweight TCP, UDP, TLS and SSL socket toolkit for PHP 8.1+. Enum-driven factory, non-blocking select-driven server loop, and a per-transport Channel strategy.

    PHP 11

  3. Contextator/Contextator Contextator/Contextator Public

    Self-hosted MCP server that turns your documentation into one semantically searchable endpoint per project.

    TypeScript 2 1

  4. Ragmux/ragmux Ragmux/ragmux Public

    A self-hosted AI gateway that exposes one OpenAI-compatible API for several LLM providers and adds retrieval from uploaded documents.

    Go

  5. QueryProxy/QueryProxy QueryProxy/QueryProxy Public

    Self-hosted portal for database access control, query approval and audited SQL execution.

    PHP 1

  6. signallockapp/macos signallockapp/macos Public

    Menu-bar app that auto-locks your Mac when a trusted Bluetooth device (Apple Watch, AirPods, BLE tag) moves out of range. Fully local, no telemetry.

    Swift