Skip to content
Marcin Tokarski

Backend, system architecture & AI agents

Marcin Tokarski

Long-term B2B contract, remote.

I design and build backends for companies that run several applications and need them to work as one system: shared login, customer data in one place, CRM integrations. I also bring AI agents into dev teams.

Selected work

< 0.5 s

customer data from the CRM, down from 10+ seconds

Several apps were waiting on CRM data

Several applications needed customer data from the CRM, and each of them waited over ten seconds for it. I designed and built a single data layer in between, on my own: the data sits in our own database, the API returns it right away, and I wrote the CRM sync from scratch. It runs in high-availability mode, so if one server in the cluster fails, the other systems still get their data.

Today 8 systems rely on it.

  • Node.js
  • PostgreSQL
  • Redis
  • RabbitMQ

100k+

users on one shared login (SSO)

Three apps, three different logins

Each of the three applications handled login its own way. I designed a shared SSO and was the only developer to build and ship it. Sign-in now works the same everywhere.

  • Node.js
  • TypeScript
  • Express
  • MongoDB
  1. requirements
  2. architecture
  3. plan
  4. code
  5. tests

100%

in progress

test coverage of the business rules (domain layer)

AI agents write the code, I make the calls

I built a chain of agents in Claude Code and I'm testing it on stop-log, my own app. I make the product decisions; agents write the code and tests. Roughly half of the plan is done, and there's no UI yet.

More about the project

Each step starts only once the previous one has delivered a finished result. When the developer agent hits a contradiction, it goes back to the architect instead of guessing. The QA agent breaks the code on purpose to check that the tests catch it.

stop-log is a stopwatch that works without an internet connection (offline-first) and syncs across devices. I use it to refine the pipeline and work out what it gives and what it costs. Before the first screen existed, the agents had written about 700 pages of architecture and planning.

  • Claude Code
  • Next.js
  • TypeScript
  • Supabase

What I help with

  • Slow apps and integrations

    CRM data, reports and APIs that take several seconds or more to respond.

    ProofSeveral apps were waiting on CRM data

  • Architecture before a bigger change

    Splitting out a module, moving to smaller services (microservices), one login (SSO) across several apps.

    ProofThree apps, three different logins

  • Ongoing backend support for your team

    Code review, the harder tickets, automated deployments (CI/CD).

  • AI agents in your dev team

    I set up a Claude Code agent chain in your team and teach them to work with it, or I use it to build features for you.

    ProofAI agents write the code, I make the calls

How I work

B2B · remote, from Poland (CET) · long-term

  1. Conversation

    About the scale and complexity of your systems.

  2. Proposal

    Fitted to your situation; I don't have one package for everyone.

  3. Long-term work

    I write down architecture decisions so your team still knows why things are the way they are six months later.

I'm comfortable working in English, both in calls and in writing: documentation, tickets, code review.

About

I'm a backend developer and architect, with a master's degree in computer science from Lublin University of Technology.

  1. 2018

    Coding professionally: PHP/Laravel, Node.js, TypeScript.

  2. 2022

    Designing architecture at PWN, a Polish publishing group, where I started as a backend developer.

  3. 2024

    Leading a team of 3–5 developers. Nobody has left it in the past year.

  4. 2026

    Since August, building my own AI agent pipeline.

Languages and frameworks
  • TypeScript
  • JavaScript
  • Node.js (NestJS, Express)
  • PHP (Laravel, Symfony)
  • Jest
Architecture
  • System design
  • Microservices
  • REST API
Data and queues
  • PostgreSQL
  • MySQL
  • MariaDB
  • MongoDB
  • Redis
  • Memcached
  • RabbitMQ
  • Elasticsearch
  • Solr
Infrastructure
  • Docker
  • Kubernetes
  • GitLab CI
  • ArgoCD

Contact

Tell me what's not working or what you're planning.

  • Long-term B2B contract, remote.
  • I reply within 2 business days.
  • We start with a conversation about your systems, with no commitment.

A few sentences are enough: how many apps you run, what they're built on and what hurts most.