About Me

Tech Lead at Insly, building production RAG for insurance. 20 years of engineering.

20
years
50+
projects
15+
companies
3
PHPers talks
Maksymilian Małecki

About Me

My journey in IT began in 2007 as a web developer at BlackMoon Development. While studying Information Science at Adam Mickiewicz University in Poznań (Bachelor's 2008, Master's 2011), I worked my way up through Poznań's tech scene — from frontend developer through backend specialist to full-stack developer and team lead.

Over 20 years I've worked at NordSecurity, Bitnoi.se, ORO Inc., Arena.pl and a string of software houses. Each role added something — from PHP and Symfony to Go and Python, from single-VPS deployments to Kubernetes, from monoliths to microservices. Along the way I became a long-term contributor to SonataAdminBundle, which ships in 18 million installs.

Today I'm Tech Lead at Insly, where I lead 15 engineers on an insurance platform serving brokers across Europe and build OWU AI — production RAG over Polish insurance documents, under GDPR and DORA. That work shapes how I consult: the technology is rarely the problem. Unclear domain boundaries, unmaintainable code, and AI deployed on shaky foundations are.

AI without architecture is chaos. Architecture without AI is a missed opportunity.

What I Do

Software Architecture

Designing scalable, maintainable systems using DDD, CQRS, and event-driven patterns.

Data Engineering

Building modern data platforms with DBT, Spark, and real-time processing pipelines.

AI Implementation

Implementing RAG systems, chatbots, and AI-powered automation for business processes.

Workshops & Training

Event Storming, DDD workshops, and hands-on training for development teams.

Professional Journey

Feb 2025 — Present

Tech Lead @ Insly Ltd

Leading engineering on a polyglot insurance technology platform for European brokers. Building RAG/AI document processing systems, developing Go microservices, and maintaining core PHP/Laravel systems. Integrating with multiple insurance providers. Tech: Go, PHP, Python, React, PostgreSQL, Elasticsearch, Qdrant, AWS Bedrock.

Nov 2024 — Feb 2025

Senior Backend Developer @ NordSecurity

Checkout team member maintaining stability of checkout process for multi-million platform. Introducing new features and experiments, integration with other NordSecurity products. Tech: Slim Framework, Google Cloud BigQuery, RabbitMQ.

Apr 2020 — Jun 2024

Senior Backend Developer @ Bitnoi.se

4 years building microservices for EdTech and FinTech training platforms. Learned GoLang and Python, migrated services from Kotlin to Go, led PHP7 to PHP8 migrations, creator of user management microservice.

Sep 2017 — Apr 2020

Lead Developer @ Shuttout.com

Migration from Angular.js to React, decision to build PWA instead of native mobile app, migration from single VPS to Kubernetes on GCP, splitting PHP monolith into Node.js and PHP microservices.

Aug 2016 — Apr 2017

Senior Developer @ ORO Inc.

OroCommerce Product Team - feature development including async ElasticSearch re-indexation based on RabbitMQ, load testing with Scala and Gatling on AWS deployments.

Sep 2015 — Aug 2016

Full-stack Developer & Team Lead @ Arena.pl

Leading frontend team (3 developers + 1 QA), multi-gigabyte MongoDB to MySQL migration, deployment officer with Ansible, monolith to microservice migrations, Symfony 2.8 to 3.0 upgrade.

2007 — 2015

Early Career (2007-2015)

Started at BlackMoon Development, progressed through Honki.pl, Uczestnicy.pl, Redexperts.net, and 247.codes. Built foundations in PHP, Symfony, database design, and team leadership.

Education

Master's Degree in Information Science

Adam Mickiewicz University, Poznan

2008 - 2011

Bachelor's Degree in Information Science

Adam Mickiewicz University, Poznan

2005 - 2008

Skills & Expertise

DDD, Event Storming, Microservices, CQRS, Event Sourcing, C4 Model

Product Discovery, Technical Leadership, Team Mentoring, Stakeholder Management

RAG Systems, LLM Integration, Elasticsearch, Qdrant, AWS Bedrock, Data Pipelines

Go, PHP, Python, TypeScript, React

PostgreSQL, MySQL, MongoDB, Redis, ClickHouse

AWS, Google Cloud, Kubernetes, Docker, Terraform

Certifications & Expertise

Event Storming Facilitator

Bottega IT Minds — Mariusz Gil

Certified Event Storming facilitator with extensive experience running discovery and design workshops.

From Model to System: Bielik in RAG Architectures

Eskadra Bielika — Bielik.AI, SpeakLeash, Google for Developers

March 26, 2026

Certified Bielik RAG Trainer — from model to production system. Training covers building RAG architectures with the Polish Bielik language model.

Read the story →
From Model to System: Bielik in RAG Architectures

Claude Code in Action

Anthropic Education

February 23, 2026

Claude Code in Action

Testing the Untestable, Together

Sebastian Bergmann — fwdays

May 20, 2022

Testing the Untestable, Together

Conference Speaker

Active member of the Polish IT community, sharing knowledge at national conferences.

2026 Startup Community Poznań — Poznań, Poland 🇵🇱

Three Gates Before You Spend the Budget

30-minute talk opening the Startup Community Poznań meetup on fast AI validation. Three gates, two days each, that kill or pass an AI idea before the budget goes out. Gate 1 — is AI even the right mechanism: deterministic rules mean a form, no data means collect data first, full-text search means full-text search; then the ladder prompt → prompt with context → RAG → workflow → agent, with 150,000 policy PDFs a month at Insly as the workflow case (Claude Haiku 4.5 on Bedrock EU, 98.5% extraction accuracy, $5,500 a month). Gate 2 — does it close on paper: users × queries × cost per query, so 4,000 queries a month runs ~$0.60 on an open model hosted in the EU, ~$70 on a frontier model and $942 on a 24/7 cloud GPU, a 250× spread for the same feature, plus the hidden costs nobody counts (two-page system prompts, retries, growing chat history, embeddings in a loop, 30–60 s cold starts). Gate 3 — does it work on MY data: general models answer confidently and wrongly on a closed domain, so the only credible test is your own — 30 questions, expected answers, scoring, a hallucination counter, pass threshold set before the test. Our result: a 7B model beat an 11B one (0.949 vs 0.915, ~1.5× faster end to end) and the harness caught a build injecting junk tokens that manual clicking missed. Punchline: three RAG prototypes, two weeks each, two kill decisions, production on the third — six weeks instead of a 6+ month R&D cycle.

2026 PARP Future Camp / Future_Lab — Zamek Ryn, Poland 🇵🇱

AI Models, Hermes & PCSS + From Prompt to Agent

Two 15-minute talks at the two-day Future_Lab (PARP Future Camp, Ryn Castle). First: what an LLM actually is without the transformer architecture, what it is genuinely good at, what it never guarantees (truth, currency, full context, responsibility), and Hermes plus PCSS models as the shared working environment. Second: one task walked through three levels — a good prompt (goal, context, constraints, expected result), then a skill, then an agent — arguing you do not start by building the agent. 40 participants, running problem to prototype to working PoC to demo.

2026 Krajowa Reprezentacja Doktorantów (KRD) — WPiA UAM, Poznań, Poland 🇵🇱

AI in Academic Research for PhD Students

90-min practical workshop for non-technical PhD students (law, humanities, social sciences) at UAM. Local Bielik 4.5B via LM Studio: OCR cleanup, audio transcription, GDPR anonymization, RAG over personal PDF library. All data stays on-device.

2026 Eskadra Bielika - Misja 2 — Poznań, Poland 🇵🇱

Eskadra Bielika - Mission 2 — Sovereign RAG with Bielik & Google Cloud (2nd edition)

Hands-on workshop on building production-ready RAG systems with Bielik (Polish open-source LLM) on Google Cloud Run. New edition with updated presentation covering hallucination detection, guardrails, chunking strategies, HYDE, RAPTOR, and RAG evaluation.

2026 PoznAI Bielik — Poznań, Poland 🇵🇱

PoznAI Bielik — Hands-on Workshop

A 7-hour workshop (10:00-17:00) putting Bielik, the Polish open-source LLM, in the hands of non-technical students through the PCSS API, with no local installs. It opened with three live ChatGPT-versus-Bielik demos: a rizz check, a terms-and-conditions translator and "Janusz mode". 28 participants in 7 teams then picked a use case and one of four starters (playground, Python pipeline, multi-step, Node UI) and built their own thing with mentors rotating between tables. Every team demoed. Winners, voted by the room: smart flashcards (Qwen reads a photo of your notes, Bielik turns it into questions), a cash-flow analyser for listed companies, and an "acid barometer" scoring relationship conversations. Organised by Kanał Studencki and PCSS in Poznań.

2026 Eskadra Bielika - Misja 2 — Poznań, Poland 🇵🇱

Eskadra Bielika - Mission 2 - Sovereign RAG with Bielik & Google Cloud

Hands-on workshop building a sovereign RAG system on Polish Bielik 4.5B LLM and Google Cloud (Cloud Run + BigQuery Vector Search). Covers model selection, embeddings, chunking, hardware trade-offs (L4 GPU, quantization), cost models, and lessons from production OWU AI pipeline at Insly.

2025 DevAI Conference — Poland 🇬🇧

Vibecoding - Rise of Agents. End of developer era?

Architecture patterns validated in production for AI-assisted development. Five proven patterns: Bounded Context Enforcement, Contract-First Development, Security Checklist Prompts, Performance Prompt Patterns, and Saga Pattern. Real case studies from insurance domain.

2024 PHPers Summit 2024 — Poznań, Poland 🇵🇱

Effective Scaling of Monolithic Applications in PHP

Practical strategies for scaling PHP monolithic applications. Benchmarking, optimization techniques, and migration patterns to handle growing traffic without full microservices rewrite.

2024 PHPers #12 Poznań — Poznań, Poland 🇵🇱

Inbox/Outbox Pattern - Reliable Inter-System Communication

Reliable inter-system communication patterns. Implementing Inbox/Outbox for guaranteed message delivery, handling distributed transactions, and ensuring data consistency in microservices architecture.

2023 PHPers Summit 2023 — Poznań, Poland 🇵🇱

High performance PHP8 at Scale

Benchmarking PHP8 performance improvements. Siege load testing methodology, Docker containerization strategies, and real-world performance optimization case studies with Symfony Demo App.

2023 WDI 2023 — International 🇬🇧

Miserable Microservices Misconceptions

Common pitfalls and misconceptions when adopting microservices architecture. When monolith is the right choice, distributed monolith anti-patterns, and realistic assessment of microservices trade-offs.

2023 PHPers #10 Poznań — Poznań, Poland 🇵🇱

Idempotency - The Key to Reliable Systems

Understanding idempotency in distributed systems. CQRS patterns, message queue handling with Kafka and RabbitMQ, and building resilient APIs that gracefully handle retries.

2022 PHPers Summit 2022 — Poznań, Poland 🇵🇱

Technical Debt Reduction - How to Stay Sane

Practical refactoring strategies for legacy PHP applications. Managing technical debt, incremental improvements, and maintaining team sanity during large-scale code transformations.

2022 PHPers #9 Poznań — Poznań, Poland 🇵🇱

Distributed Monolith - How NOT to do Microservices

Anti-patterns in microservices adoption. How organizations accidentally create distributed monoliths and the hidden costs of premature decomposition.

Regular speaker at Poznan PHP meetups: meet.php and PHPers Poznan

View all presentations

Let's Build Something Great Together

Whether you need architecture consulting, a modern data platform, or AI implementation - I'm here to help.