Book a call

Mateusz Wiszniowski — Tech: data for AI models

# Mateusz Wiszniowski — Tech · data for AI models
# source: https://wiszniowski-it.com/tech/en/ai/ · as of: 2026-10-21 · layout: 1. → a. → a1.

1. PERSON
   a. full name: Mateusz Wiszniowski
   b. role: Full-stack Developer (TypeScript) with a strong AI specialisation
   c. status: taking on B2B projects for companies and available to join a team immediately (B2B or employment contract)
   d. summary: Full-stack developer (TypeScript, Node.js, Python) who builds backends, system integrations and language-model features for companies.
   e. specialisation: AI agents working in loops with stop rules; system integrations; document analysis (OCR + language model); full-stack
   f. country: Poland
   g. region: Lower Silesia, Poland
   h. languages: Polish — native, English — C1
   i. content languages: Polish, English
   j. working with AI since: 2022
   k. levels of AI work: prompt (2022) → context (2024) → harness (2025) → loop (2026)
   l. scope: projects for companies and own products
   m. project industries: construction (cost estimates), accounting, phone sales and logistics, helpdesk and service desk, training, social media, developer tools
   n. website: https://wiszniowski-it.com
   o. LinkedIn: https://www.linkedin.com/in/mateusz-wiszniowski-263049216/
   p. GitHub: https://github.com/MateuszWDEV
   q. Tech (PL): https://wiszniowski-it.com/tech/
   r. Tech (EN): https://wiszniowski-it.com/tech/en/
   s. pages for AI: https://wiszniowski-it.com/tech/ai/, https://wiszniowski-it.com/tech/en/ai/
   t. files for AI: https://wiszniowski-it.com/llms.txt, https://wiszniowski-it.com/llms-full.txt
   u. book a call: https://calendar.app.google/XwtWet95wsMGh7sU7

2. WORKING TOGETHER
   a. for companies (B2B)
      a1. service: AI agents that work in a company’s systems (e-mail, calendar, CRM, Jira, Notion): risky actions are approved by a human and every operation is logged.
      a2. service: An AI assistant on company documents (RAG): answers only from the knowledge base, with source citations; when it doesn’t know, it says so and hands the case to a human.
      a3. service: MCP tooling for agents: connecting agents to company systems via the Model Context Protocol; MCPBank loads tools only when they are needed (~92% fewer tokens on tool schemas).
      a4. service: Integrations and APIs: KSeF (Polish e-invoicing), accounting systems, couriers, fiscal printers, telephony, Jira, Google Workspace, WhatsApp Business API — behind an adapter layer, so the build can start on mocks.
      a5. service: Document analysis: OCR and a language model with a deterministic safety net (cost estimates, bills of quantities, invoices).
      a6. service: Local language models when data cannot leave the company.
      a7. how I work: a call → goal and acceptance criteria in writing → a prototype on the client’s data → rollout with tests → maintenance; quote after the call (scope, stages and price in writing); remote, with companies across Poland and the EU, in Polish and English.
      a8. company: Mateusz Wiszniowski IT (NIP 8993034036), https://wiszniowski-it.com
   b. for employers
      b1. roles: Full-stack Developer (TypeScript) with a strong AI specialisation — AI Engineer, AI Solutions Engineer / AI Consultant, Integration / Automation Engineer, Product Engineer
      b2. setup: remote (Poland, EU, worldwide) or hybrid in Wrocław
      b3. contract: B2B or employment contract, full-time, available immediately
      b4. CV: https://wiszniowski-it.com/tech/cv/en/ (PDF: https://wiszniowski-it.com/tech/cv/cv-mateusz-wiszniowski-en.pdf)

3. SKILLS
   a. AI agents and loops
      a1. my own agents on OpenClaw: file-based memory, scheduled jobs, action boundaries
      a2. agentic loops with stop rules (iteration limit, token budget)
      a3. multi-agent orchestration: plan → two independent implementations → merge → review
      a4. human approval for risky actions (human-in-the-loop), risk threshold based on content
      a5. layered agent memory: rules, durable facts, knowledge graph, current session
      a6. tool sandbox: time and output limits, network allowlist, audit of every call
      a7. Claude Code, Codex, MCP — daily work with coding agents
      a8. specs and briefs for executor agents: API contract, acceptance tests, rollback
      a9. prompt engineering (since 2022), context engineering (since 2024), harness engineering (since 2025), loop engineering (since 2026)
   b. Integrations
      b1. KSeF (Polish e-invoicing), accounting systems, courier, fiscal printers, telephony
      b2. Jira and Jira Service Management (REST API), Notion, Telegram, WhatsApp Business API, e-mail (IMAP/SMTP, Gmail)
      b3. Google Workspace (Calendar, Sheets, Drive, Gmail), Facebook Graph API, YouTube Data API
      b4. n8n — AI agents, automations and audits of production systems
      b5. MCP (Model Context Protocol) — servers, clients, tool discovery and lazy loading
      b6. adapter layer: integrations start on mocks before a vendor opens its API
      b7. REST, webhooks, JSON-RPC, SSE, WebSocket
   c. Documents and knowledge
      c1. OCR and document analysis (cost estimates, bills of quantities, invoices)
      c2. inconsistency detection: language model + deterministic safety net
      c3. knowledge base with source citations (RAG): document, passage, quote
      c4. answers only from an approved base; “I don’t know” and escalation to a human
      c5. structured output (JSON Schema, strict mode)
      c6. AI call scoring with manual review of borderline cases
      c7. speech transcription and invoice reading with a vision model
      c8. prompt-injection defence: database and API output treated as data, not instructions
   d. Full-stack and quality
      d1. TypeScript / Node.js, JavaScript (ES modules), Python
      d2. PostgreSQL, Redis, background job queues (BullMQ), SQLite, Prisma
      d3. Android (Kotlin, Jetpack Compose), Supabase (Auth, Storage)
      d4. WebGL2 and GLSL shaders, Canvas 2D, Vite
      d5. e2e tests (Playwright), unit tests (Vitest, node:test), TDD, CI/CD
      d6. architecture: C4, state machines, deny-by-default RBAC, event audit, idempotency
      d7. SEO and GEO (visibility in AI search): llms.txt, JSON-LD, hreflang
   e. Servers, cloud and local models
      e1. AWS: EC2 instances, agents on AWS Lambda, network rules (Security Groups); Google Cloud Platform
      e2. CI/CD on GitHub Actions: quality gates (lint, typecheck, unit and e2e tests in Playwright, coverage, dependency audit), database migrations, building and publishing Docker images, scheduled rebuilds (cron), screenshot drift checks
      e3. VPS: a server from scratch — installing dependencies, configuring services, updates
      e4. ports and firewalls: ufw, iptables, AWS Security Groups, Cloudflare rules; remote access via Tailscale
      e5. Docker and Docker Compose, Linux (Ubuntu), systemd, Nginx / Caddy, TLS
      e6. Cloudflare Pages and DNS, EU-based VPS
      e7. language models on servers and in containers (Ollama), a shared queue of model requests
      e8. local models on a Dell Pro Max AI workstation with NVIDIA GB10 (128 GB, ARM): 50–87 GB models run and tested — Qwen 3.5 122B, Nemotron 3 Super 120B, gpt-oss-120b, Qwen3-Coder-Next, Qwen3-Next
      e9. testing local models: quality and speed against a cloud model, memory footprint, choosing the model for the task
   f. AI model selection
      f1. I read AI model benchmarks and understand them
      f2. based on benchmarks I choose the right model for the job
   g. SEO and GEO in practice
      g1. technical SEO: sitemap, canonical, hreflang PL/EN, JSON-LD structured data (Person, WebSite), link preview tags
      g2. GEO — visibility in AI search: llms.txt and llms-full.txt, a separate data zone for AI, robots.txt rules for AI bots, Content Signals
      g3. SEO and GEO for company websites, including local SEO
      g4. result on wiszniowski-it.com: Lighthouse (mobile) 100/100/100/100, LCP 0.51 s, CLS 0

4. TECHNOLOGIES
   a. languages: TypeScript, JavaScript, Python, Kotlin, SQL, GLSL
   b. backend: Node.js, Express, Prisma, BullMQ, Pino, SSE, REST, JSON-RPC, WebSocket
   c. databases and queues: PostgreSQL, Redis, SQLite, Supabase
   d. frontend: Vite, JavaScript (ES modules), WebGL2, Canvas 2D, GSAP + ScrollTrigger, Lenis, HTML/CSS
   e. mobile: Android, Kotlin, Jetpack Compose, Navigation Compose, Accessibility Service, Supabase (Kotlin)
   f. AI models: OpenAI (chat, vision, audio transcription, images, Assistants API), Claude, Codex, gpt-oss-120b, Ollama (mistral-small 3.1 24B)
   g. agents and AI tools: OpenClaw, Claude Code, Codex, MCP, Playwright MCP, Notion MCP, Chrome DevTools MCP, LangChain (n8n nodes)
   h. automation: n8n (self-hosted, queue mode), cron, webhooks
   i. integrations and APIs: KSeF, Jira / Jira Service Management, Notion, Telegram Bot API, WhatsApp Business API, Gmail, Google Calendar, Google Sheets, Google Drive, Facebook Graph API, YouTube Data API, IMAP/SMTP, RSS
   j. testing: Playwright, Vitest, node:test, SwiftShader (WebGL in tests)
   k. infrastructure: AWS (EC2, Lambda, Security Groups), Google Cloud Platform, GitHub Actions (CI/CD), VPS, ufw, iptables, Docker, Docker Compose, Ubuntu Server, systemd, Nginx, Caddy, Let’s Encrypt, Tailscale, Cloudflare (Pages, DNS), EU-based VPS
   l. architecture and documentation: C4, ERD, state machines, RBAC, decision log, risk register, traceability matrix, threat model
   m. work tools: Notion, Obsidian, VS Code, Git, GitHub

5. BEFORE AI: HARDWARE, CODE AND CURIOSITY
   a. years: since 2012
   b. story: Since 2012 I have kept up with technology and read about everything new. It started with hardware: I was fascinated by components and built my own computer. I watched the Polish channel “Pasja informatyki” and learned programming in episodes — the first ones back in primary school. Blockchain pulled me in too.
   c. learning to code (from the easiest language)
      c1. HTML / CSS: page structure and styling
      c2. SQL: queries and data models in PostgreSQL
      c3. Python: scripts and automations, the MCPBank package
      c4. JavaScript: websites and Node.js — including this site
      c5. TypeScript: NestJS and Express backends, larger typed systems
      c6. Kotlin: Android apps with Jetpack Compose
      c7. GLSL: WebGL2 shaders — the ASCII engine of this site

6. PROJECTS
   a. AI agents and automations on n8n
      a1. type: own AI agents and automations + client projects and an audit
      a2. year: 2025–2026
      a3. status: completed; know-how moved to code-based agents
      a4. problem: Repetitive work — e-mails, leads, reports and content — ate hours every day.
      a5. built: About 15 workflows of my own, including AI agents: a Telegram assistant with calendar and Notion tools, a sales assistant with 4 AI agents in one workflow, e-mail drafts sent only after my confirmation, lead generation, a short-video factory for YouTube and TikTok, inbox triage with invoice data extraction, automatic meeting summaries.
      a6. built: A task and reporting system for employees on PostgreSQL, with reports via Telegram and e-mail.
      a7. built: An audit of a client’s production n8n system: 7 workflows qualifying leads through voice calls, WhatsApp and a CRM.
      a8. detail: Telegram assistant: AI agent with Google Calendar and Notion tools, voice messages (transcription), 14 nodes
      a9. detail: Telegram message dispatcher: intent classification → Gmail draft → approval by a Telegram button (sendAndWait) → only then sending; logged in Google Sheets; 46 nodes
      a10. detail: the same dispatcher component reused across several projects
      a11. detail: lead generation: API fetch, filter, de-duplication, scheduled LLM lead scoring; 17 nodes
      a12. detail: YouTube shorts factory: RSS → duplicate filter → script from an AI agent → video render → upload to 3 channels; MCP Client as an agent tool; 60 and 53 nodes (two versions)
      a13. detail: TikTok automation: title → image → video → sound → publishing, separate generative APIs chained into one pipeline
      a14. detail: social media content manager: quarterly → monthly → weekly plan → post, e-mail approval at every level, Supabase, Facebook Graph API; 55 nodes
      a15. detail: inbox triage: e-mail classifier (business, newsletter, personal, admin, spam, invoices), invoice reading with a vision model and a self-fixing parser, sheet logging, Telegram alerts; 35 nodes
      a16. detail: sales assistant on Telegram: text and voice, sales-conversation stages, tasks (offer, demo, follow-up), 9:00 reminders, 4 AI agents in one workflow; 48 nodes
      a17. detail: video generation via REST API with a local Ollama model (mistral-small 3.1 24B, q8_0)
      a18. detail: voice and text assistant on the OpenAI Assistants API built by hand on HTTP requests, as a backend for a separate frontend; Excel file generation
      a19. detail: automatic meeting summaries: sheet → AI agent → structured result; 8 nodes
      a20. detail: employee tasks and reports system: 5 workflows, PostgreSQL, reports by e-mail and sheet, tasks from Telegram (text and voice) with confirmation, daily reminders
      a21. detail: audit at a training-industry client: n8n in queue mode (Redis), lead contact via AI voice calls and WhatsApp, CRM sync
      a22. detail: audit: contact logic — at most 5 calls and 5 WhatsApp messages per lead, gaps of about 27 h and 24 h, call window Mon–Fri 9:00–21:00 lead time, about 10 min response to a new lead
      a23. detail: audit: 9 defects (critical, high, medium), including an API key written in plain text in a node instead of the credentials store
      a24. detail: audit: migration plan from n8n to a custom system — 6 phases in 12 weeks, shadow mode, traffic cutover 10% → 100%
      a25. detail: technical spec of a reporting system: Shopify API + Google Analytics 4 + Apify → a PDF report per client after 30 days, sent by e-mail
      a26. number: ~15 workflows of my own
      a27. number: audit: 7 production workflows at a client
      a28. technologies: n8n, Telegram, Gmail, Google Sheets, Notion, PostgreSQL, Ollama, OpenAI (chat, vision, audio), LangChain nodes, MCP Client, Supabase, Facebook Graph API, YouTube Data API, RSS, Redis
      a29. takeaway: n8n is great for a quick start, but a large system is hard to test and maintain there — so I moved the next projects to code and agents.
      a30. takeaway: Human confirmation before sending is the cheapest safeguard an automation can have.
   b. My own agents on OpenClaw
      b1. type: own tool
      b2. year: since January 2026
      b3. status: since January 2026 · update pending
      b4. problem: I wanted an assistant that remembers context between conversations, keeps an eye on e-mail and calendar by itself, and does nothing “outside” without my consent.
      b5. built: Four-layer memory: rules and behaviour, durable facts, a knowledge graph in notes, the current session.
      b6. built: A log of every file operation — what, when, with what result. Append-only, nothing disappears.
      b7. built: A hard boundary: it may read and organise on its own, but sending anything outside (an e-mail, a post) always requires my approval.
      b8. built: Scheduled jobs (e.g. a daily notes sync) in separate, isolated runs.
      b9. detail: agent bootstrap files: AGENTS.md, SOUL.md, IDENTITY.md, USER.md, MEMORY.md, TOOLS.md, HEARTBEAT.md
      b10. detail: heartbeat 2–4 times a day: e-mail, calendar, mentions; quiet hours 23:00–08:00; reaches out on its own after more than 8 h of silence
      b11. detail: fixed-time jobs via cron in isolated runs, e.g. a daily sync of conversation notes
      b12. detail: long-term memory loaded only in 1:1 sessions with the owner, never in group chats
      b13. detail: hard rules: never exfiltrate private data, “trash” instead of permanent deletion, ask when in doubt
      b14. detail: knowledge graph in Obsidian: main node + source notes + cross-topic bridges; a script after every write links orphaned notes
      b15. detail: knowledge-graph link audit: 0 ambiguous links after fixes
      b16. detail: researching competitor products as a user (Claude Code + Playwright MCP): no cloning of code, UI or branding, no bypassing logins or paywalls
      b17. detail: runs on an Ubuntu server (Node.js, gateway as a systemd service), access only over a private network, Telegram channel, Codex integration
      b18. detail: on-premise deployments: server preparation, hardening (deny-by-default firewall, key-only SSH), access isolation via VPN, integrations, tests, documentation
      b19. detail: a variant with a local gpt-oss-120b model on the client side — data never leaves the premises
      b20. number: file-operation log kept since 2026-04-19
      b21. technologies: OpenClaw, Claude Code, Playwright MCP, Obsidian, Telegram, Ubuntu VPS, Node.js, systemd, Tailscale, Codex, cron
      b22. takeaway: An agent’s memory exists only if it is written to disk — “mental notes” vanish on restart.
      b23. takeaway: An agent’s core rules must outrank everything it learns later.
   c. Overnight agent loop
      c1. type: own tool
      c2. year: 2026
      c3. status: update pending
      c4. problem: I wanted work on projects to continue overnight — but under control, not “the agent does whatever it wants”.
      c5. built: An orchestrator of four agents: two OpenClaw (planning and review) and two Codex (two independent implementations with tests).
      c6. built: A loop: goal and acceptance criteria → plan → two variants → merge → review → another round or acceptance.
      c7. built: Stop rules: at most 5 iterations, a daily token budget that pauses at 5% left, sandboxed tools with a time limit.
      c8. built: A morning report: what got done, what failed, what awaits a decision. No direct changes to the main branch — everything goes through a PR and human approval.
      c9. detail: roles: manager agent (review and acceptance), executor agent (technical and non-technical tasks), two Codex developers
      c10. detail: night mode: the operator sets a goal, acceptance criteria and a morning deadline; a morning report with results and decisions to make
      c11. detail: clarification mode: questions before work starts, producing a brief for approval
      c12. detail: onboarding new agent skills: import → 1–2 learning iterations in a sandbox → status active or needs retraining
      c13. detail: dashboard with live telemetry over SSE (deliberately instead of WebSocket), structured logs, health and ready endpoints
      c14. detail: data models: operations ledger, budget, audit, knowledge graph
      c15. detail: two-level approval: the agent approves notes, drafts and neutral replies; a human approves publications, spending, brand-rule changes, tool installs, sensitive messages
      c16. detail: escalation to the operator via Telegram with a deep link: brand-voice mismatch, paid publication, a new kind of task, uncertain review score (40–60), more than 3 failed attempts
      c17. detail: task cadence by priority: p1 every 60 min, p2 every 30 min, p3 every 15 min
      c18. detail: first use case: a virtual social media persona — a manager + specialists (writing, research, channel ops)
      c19. detail: every tool call recorded: arguments, result, duration, exit code
      c20. detail: deliberately out of scope: voice, multiple operators, WebSocket, channels other than Telegram
      c21. number: 5-iteration limit
      c22. number: pause at 5% of the token budget
      c23. number: sandbox: 60 s and 1 MB per tool call
      c24. technologies: OpenClaw, Codex, TypeScript, Express, PostgreSQL (Prisma), Redis + BullMQ, SSE, Playwright, Vitest, Pino, Apache-2.0
      c25. takeaway: After 5 rounds it is better to return the best result and a list of gaps than to spin forever.
      c26. takeaway: Risk depends on content, not on the type of action: a routine reply can go out on its own, the same reply in a sensitive matter only through a human.
   d. Construction cost-estimate analyser
      d1. type: product for the construction industry (client project)
      d2. year: 2026
      d3. status: in testing with first users
      d4. problem: Manually comparing multi-page cost estimates and bills of quantities across versions takes a long time, and quantity mismatches are easy to miss.
      d5. built: OCR and a language model — local on a small computer or in the cloud — read the documents and pair work items across versions.
      d6. built: Two-layer inconsistency detection: AI first, with a deterministic algorithm and a cautious threshold as a safety net.
      d7. built: Long analyses moved from a single HTTP request to background jobs — with a progress bar, resume after restart and an audit trail.
      d8. built: A test on a Dell Pro Max AI workstation with NVIDIA GB10 (ARM, 128 GB): the whole system together with the language model on one device, no cloud — the same installer, no changes for ARM; five 50–87 GB models via Ollama, analysis quality comparable to the cloud model.
      d9. built: A summary report with items to resolve, skip or escalate — all inside the page interface.
      d10. detail: input documents: cost estimates, bills of quantities, functional-utility programmes, tender specifications
      d11. detail: primary path: an LLM agent gets up to 40 items per document and pairs work items across documents
      d12. detail: fallback path: a deterministic detector — word overlap (Jaccard ≥ 0.5) + matching unit, idempotent, at most 20 entries per document pair
      d13. detail: seeded mismatch test: excavation 1,210 vs 1,480 m³ (18.2% change → BLOCKER), aggregate 13.9 vs 14.8 t, fencing 210 vs 180 m
      d14. detail: local model on a small computer: package about 0.5 GB, installation about 5 min; gpt-oss-120b tested as well
      d15. detail: cost guard: sync without changes = 0 AI requests, only new documents and versions analysed
      d16. detail: resolve / skip / escalate actions inside the page, verified with a Playwright test
      d17. detail: flow: project → investment type and class → automatic checklist of required documents → upload and versioning → OCR and AI analysis → matching documents to the checklist → settlement table → inconsistencies → XLSX export
      d18. detail: roles: administrator, user, expert, observer — assigned per organisation
      d19. detail: checklist built from the building-object classification × delivery mode (build / design and build) × variant × project features; 8 item states; an exception needs a justification (min. 50 characters)
      d20. detail: settlement table: generator from a per-investment-type template, editor, comparison of two revisions (added / removed / changed + amount delta), XLSX export with group sums, VAT and gross
      d21. detail: cross-document inconsistencies: amounts, area, volume, identification data; 3 severity levels; the most serious ones block the export
      d22. detail: project chat assistant on a local model: questions about the documentation, OCR result diagnosis
      d23. detail: unit prices from an external quarterly construction price database when a project has only a bill of quantities; price source order: document > price database > AI model > none; prices from documents or typed in by hand are never overwritten
      d24. detail: a modular monolith, deliberately — it targets a small computer at the client’s site; monorepo: API, web app, worker, shared package; 17 modules
      d25. detail: backend NestJS on Fastify, Prisma, Zod validation, JWT; frontend Next.js (App Router), React, Tailwind; worker on BullMQ and Redis; PostgreSQL 16
      d26. detail: 4 environments: development → staging → cloud pilot → device at the client, with no documents leaving the company
      d27. detail: “zero hardcode” rule: domain decisions are made by the language model, not by conditions in code — and the system still works without a model thanks to deterministic fallbacks at every step
      d28. detail: 3-stage OCR: PDF text (Poppler) → OCR of scanned pages PL+EN (weak text: < 40 characters, < 40% alphanumeric or confidence < 0.4) → a PyTorch OCR model as a fallback for hard tables
      d29. detail: models from 3 providers in a cascade: a cloud model via a broker service, an OpenAI-compatible API, a local model via Ollama (fully offline variant)
      d30. detail: model answers in JSON, validated with a retry; IDs returned by the model checked against the list sent in the request — the model cannot invent an ID
      d31. detail: document analysis: the start and the end of the OCR text (totals often sit on the last page), up to 16,000 answer tokens, 240 s per request, temperature 0.1
      d32. detail: document ↔ checklist match scoring: batches of 60, up to 12 passes (up to 720 scores per sync), confidence bands; a missing score stays empty and is reported, never made up
      d33. detail: long bills of quantities read in ~15k-character chunks with an 800-character overlap, with saved progress and resume after interruption
      d34. detail: item de-duplication: description similarity (Levenshtein, 0.85 threshold) within groups of (code, unit, quantity) — the same work on different sections is not merged
      d35. detail: background jobs with no hard time limit: a watchdog stops a job only after 15 min without progress (previously 240–300 s under a 360 s HTTP limit); request limit ×2.5 for the local model
      d36. detail: a shared model-request queue for the API and the worker: 1 request at a time locally, 3 in the cloud
      d37. detail: model account limit breaker: after a limit message all requests pause for 15 min, with no retries
      d38. detail: job heartbeat every 30 s; jobs silent for 5 min are closed; automatic completion after 15 / 30 / 60 / 120 min (up to 5 attempts); idempotent write for every step
      d39. detail: AI results marked as suggestions and visually separated from expert decisions; an AI outage never deletes or blocks saved facts
      d40. detail: a new document version never overwrites the previous one; append-only event log; export approval and block overrides require a justification
      d41. detail: security: bcrypt passwords, lockout after repeated failed logins, short-lived access tokens and revocable refresh tokens, organisation isolation covered by tests, files only through the backend with verification, disk encryption and TLS
      d42. detail: daily database backup, 30-day retention in the pilot, restore procedure in a runbook
      d43. detail: CAD module (DWG/DXF): a free converter + an MIT-licensed Python library + in-browser preview (three.js); detects external references; GPL libraries rejected for licensing reasons
      d44. detail: install from a Docker package: 15–25 min; update keeping data: about 3 min with cached images; every install signs in to its own model account (copied sessions expired)
      d45. detail: a real-world bug: the model-service client sometimes received the answer of another, parallel session — fixed with a session-key filter, separately in the API and the worker
      d46. detail: model availability probe: a timeout means “the model is slow”, not “the model is down” — previously it fell back to a poorer heuristic too easily
      d47. detail: a full-document test caught bugs invisible on short samples: double-counted items (+56% value), a missed multiplier in the estimate, merging different items with the same description, OCR reading the digit 1 as a letter — all fixed
      d48. detail: dedicated AI hardware test (128 GB memory): install from scratch in about 20 min, 5 local models (50–87 GB), the best one used about 63% of memory at near-cloud quality, OCR about 2× faster, zero crashes
      d49. detail: product website: Astro + Tailwind (separate repository); a code index (AST) and a wiki for agents in the repositories
      d50. number: live project test: +18 inconsistencies detected automatically
      d51. number: bill of quantities with 600 items + estimate with 250 items: ~44 min in the background (previously cut off by a 5-minute limit)
      d52. number: 29-page bill of quantities: 600/600 items read, table total matching the estimate to the cent
      d53. number: −54% model output tokens after changing the data format, with no quality loss
      d54. number: tests: 160 e2e and 32 unit API tests
      d55. number: Dell GB10 test: install from scratch in 20 min; 5 models of 50–87 GB; OCR roughly 2× faster (indicative); 0 failures
      d56. number: sync: 262–275 s; report generation: 327 s and 1,704 s (43.7 min) for the largest set
      d57. number: 171 commits, 428 files, 2026-04 → 2026-10
      d58. number: data model: 34 entities, 21 enums, 84 indexes; migrations: 16 (05.2026) → about 47 (10.2026)
      d59. number: tests (10.2026): 160 API e2e, 32 API unit, 8 worker
      d60. number: 15 checklist templates (375 items) + 15 settlement-table templates
      d61. number: object classification: 2 groups, 38 classes, 117 subclasses → 15 investment types (38/38 mapped)
      d62. number: document classifier: 11 types, 82 phrases in the database + 84 built in as a fallback
      d63. number: measured on 273 documents / 1,751 pages: OCR 1–2 s per A4 page, 2–7 s per A1/A0; OCR needed for 20–30% of pages; a whole project (50 documents + 2 bills of quantities) about 20–35 min
      d64. number: long bill of quantities (~197k characters, 29 pages): 600/600 items, 0 duplicates; table total equal to the estimate total to the cent
      d65. number: 850 items in one background job with a 2.2× slower model: 2 h 41 min, 25 text chunks, 72 requests, no lost progress after a restart
      d66. number: −54% model output tokens after switching the format from objects to array rows, with no quality loss
      d67. number: cost: 1,000 documents ≈ $55–100 in the cloud (5.5–10 cents per document); locally $0 apart from power (~2–3 kWh per 1,000 documents)
      d68. technologies: OCR, local / cloud LLM, NestJS, Next.js, Node.js, PostgreSQL (Prisma), Redis + BullMQ, Docker, Playwright, Fastify, React, Tailwind, Prisma, Zod, JWT, BullMQ, Poppler, PyTorch, Ollama, gpt-oss-120b, three.js, XLSX, Astro
      d69. takeaway: Browser pop-ups (alert, prompt) don’t work for screen-shared demos — for the client it looked as if “nothing happened”.
      d70. takeaway: AI cost needs its own tracking, not just “does the feature work”: an innocent automatic “heartbeat” every 30 minutes ate the request quota, testers’ included.
      d71. takeaway: Processing time is estimated by pages, not documents — the common denominator of OCR and the model.
   e. CRM for a phone-sales operation
      e1. type: client project (phone sales + logistics + fiscal records)
      e2. year: 2026
      e3. status: consulting and documentation only
      e4. problem: Phone sales, courier shipping, receipts and invoices lived in scattered processes with no single source of truth.
      e5. built: Complete design documentation: 78 requirements, state machines for lead, order, parcel and receipt, prioritised service queues.
      e6. built: Permissions by role × module × action × field, deny by default, with every event audited.
      e7. built: Integrations behind an adapter layer: telephony, courier, fiscal printer and KSeF — building could start on mocks before vendors replied.
      e8. built: AI call scoring in a strict output format, with manual review of borderline cases.
      e9. detail: flow: lead → call → order → warehouse → parcel / return → receipt / settlement; roles: consultant, team leader, warehouse, accounting, management
      e10. detail: service queues D1–D5 with priority, ordered by missed-call time, a 5-minute target response, idempotent event handling
      e11. detail: fiscal recording starts after confirmed delivery, not at shipping
      e12. detail: domain event catalog and audit (actor, time, source, correlation_id) with no personal data or secrets in logs
      e13. detail: security: mandatory 2FA, logout after 15 min idle, login blocked outside working hours, threat model, incident response plan, break-glass procedure
      e14. detail: C4 diagrams (context, container, deployment), logical ERD, a 10-section integration contract template
      e15. detail: mail import via API every 1–5 min, IMAP as a fallback, de-duplication by message ID and attachment hash
      e16. detail: AI call scoring: validated on 20 anonymised calls, 8 borderline cases to manual review, quality target 95%
      e17. detail: one logistics provider instead of two parallel integrations — a deliberate entry in the decision log
      e18. detail: EU-based VPS, backup in another EU region
      e19. detail: my scope: consulting and design documentation only
      e20. number: design: 70/70 tasks, 78 requirements
      e21. number: targets: 150 concurrent users, 99.5% SLA, RPO 6 h, RTO 4 h
      e22. number: 78 requirements: 66 functional + 12 non-functional; 77/77 story IDs in the traceability matrix
      e23. number: performance: at least 250 accounts, 150 concurrent users for 60 min, a peak of 200 for 15 min, scaling to 500 accounts without redesign
      e24. number: risk register: 12/12 verified; gaps on the buyer’s side: 16/16 verified
      e25. number: documentation audit: 101 folders, 148 files
      e26. technologies: PostgreSQL, RBAC, C4, KSeF, JSON Schema, EU VPS, ERD, Decision Log, Risk Register, IMAP
      e27. takeaway: Receipt status can’t be part of parcel status — separating the state machines prevented wrong fiscal records.
      e28. takeaway: “Documented” is not “tested” — every task states plainly what is described and what still awaits testing.
   f. Accounting platform with an AI agent
      f1. type: client project (accounting office)
      f2. year: 2026
      f3. status: concluded at concept stage
      f4. problem: Handling documents at an accounting office and writing marketing content took a lot of manual work.
      f5. built: An OpenClaw agent as the only place with access to the accounting system and KSeF — the app never touches the keys, it asks the agent to act.
      f6. built: Document flow: the client uploads a file → the agent classifies the case, writes a note for the accountant and a list of gaps → status “ready to book” or “needs contact”.
      f7. built: An end-to-end marketing agent: research → article → approval by e-mail → publication on the website.
      f8. built: An Android app with one-time-code login.
      f9. detail: case statuses: new → to check → ready to book → needs contact
      f10. detail: when the accounting system has no API: the last step is a manual handoff, the demo still works
      f11. detail: the marketing agent runs independently of the accounting integration — two tracks could start separately
      f12. detail: app login with a one-time code (6 digits), Supabase Auth + a dedicated SMTP server
      f13. detail: the inherited Android project did not compile (library version mismatch 2.x vs 3.x) — fixed in 6 commits
      f14. detail: the office’s service website: local SEO + GEO (visibility in AI search)
      f15. detail: deliberately outside the MVP: banks, OCR, extended accounting roles
      f16. technologies: OpenClaw, Supabase, KSeF, Kotlin + Jetpack Compose, SMTP, Cloudflare, Supabase Auth, Navigation Compose, OTP
      f17. takeaway: A single key holder simplifies security: credentials are never copied to two places.
      f18. takeaway: The mail provider’s free plan capped sending at a few messages per hour — it only showed up in practice; a dedicated SMTP server fixed it.
      f19. takeaway: A missing API doesn’t have to block a demo: the last step can be a manual handoff.
   g. Service Next — helpdesk agent
      g1. type: product: AI agent for helpdesk and service desk
      g2. year: 2026
      g3. status: version with Jev
      g4. problem: Tickets need fast answers without anything made up — and when the agent doesn’t know, the case must reach a human with full context.
      g5. built: An agent that answers only from the company knowledge base, without the internet, and shows the source with every answer: document, passage and quote.
      g6. built: Quality gates — an answer that fails them never reaches the customer.
      g7. built: An escalation path: when data is missing, the agent says so plainly, opens a Jira ticket and routes the case to the right team.
      g8. built: Knowledge-base updates the agent picks up immediately, tests on scenarios from the team, and the team’s agents connected to Notion with daily reminders.
      g9. detail: architecture: e-mail and website chat channels → an OpenClaw agent on the client’s server → AI model via API → tickets in Jira Service Management
      g10. detail: Jira Service Management in the cloud as the ticket system and single source of truth (REST API, minimal-scope token)
      g11. detail: one main component installed at the client: OpenClaw in Docker (non-root user, tool sandbox) with connectors, memory and configuration
      g12. detail: e-mail channel via IMAP (receiving) and SMTP (replies); JS chat widget over WebSocket / HTTP
      g13. detail: agent’s local memory: SQLite + Markdown files (context, history, skill configuration)
      g14. detail: server: Linux (Ubuntu / Debian LTS), Docker Compose, 2–4 vCPU, 4–8 GB RAM, 20–40 GB SSD, no GPU in the API variant; Caddy / Nginx reverse proxy + TLS (Let’s Encrypt)
      g15. detail: escalation to an agent in Jira on low confidence, a security rule or a user request
      g16. detail: GDPR: data processing agreements with the Jira and model vendors, agent-memory retention policy, data minimisation in prompts; a local-model option for full privacy
      g17. detail: public chat gateway: server-side session only (random opaque ID or signed token, HttpOnly + Secure + SameSite cookie), never an ID from the browser
      g18. detail: order: access policy → approved answer from the database → the model only formats it; no answer = a neutral “I’ll pass this to the team”, with no Jira call
      g19. detail: Jira actions only from an allowlist (projects, types, fields), after user confirmation, schema-validated and audited (who, action, ticket, result, correlation ID)
      g20. detail: the public chat has its own queue, limits, timeout and cancellation; overload returns 429/503 to the chat only, the admin dashboard keeps working
      g21. detail: required tests: unknown question with no hallucination and no Jira call, tampered session, no permission, disallowed project or field, overload with the dashboard still responsive, regression
      g22. detail: tool market analysis: helpdesk (tickets, knowledge base, channels) and service desk (full ITSM: incidents, problems, changes, SLA, CMDB) are two different product problems
      g23. detail: ticket system chosen per client type: Jira Service Management (default), ServiceNow (enterprise), Salesforce Service Cloud (CRM-centric); front end: Zendesk, Intercom
      g24. technologies: RAG, local LLM, Jira, Notion, OpenClaw, Docker, Jira Service Management, IMAP/SMTP, WebSocket, SQLite, OpenAI API, Caddy / Nginx
      g25. takeaway: An agent that can say “I don’t know” and hand the case over is worth more than one that always answers.
      g26. takeaway: A source quote next to the answer builds trust faster than any promise that the AI doesn’t make things up.
   h. MCPBank — discovery & routing for AI agents
      h1. type: own product
      h2. year: 2026
      h3. status: working package, in development
      h4. problem: An agent with dozens of connected MCP tools receives their descriptions in every request — cost, latency and the risk of picking the wrong tool all grow.
      h5. built: A middle layer between the agent and MCP servers that finds the right tools and loads them only when needed.
      h6. built: A Python package with a CLI: tool registry builder, lazy loading, multiple transports, compatibility with existing MCP servers.
      h7. built: Benchmarks, end-to-end tests and CI.
      h8. built: A product website in Polish and English.
      h9. detail: Discovery mode: the agent queries for tools (mcpd_find, mcpd_list, mcpd_get_schema) instead of loading the whole catalog
      h10. detail: Dynamic mode: find_tools and a lazy pool that loads tools on demand
      h11. detail: shared core: tool registry, keyword search, hybrid search, connector, transport layer (stdio / JSON-RPC)
      h12. detail: product website: static HTML/CSS/JS, Lenis, GSAP + ScrollTrigger, a custom WebGL shader, PL/EN, Cloudflare Pages; one page for developers, companies and investors
      h13. detail: model: free for users, a licence for companies
      h14. number: ~92% fewer tokens spent on tool schemas (lazy schema loading)
      h15. number: ~4,778 → ~305 context tokens with 6 MCP servers
      h16. number: 78 → 4 tools in the model context
      h17. technologies: Python, MCP, JSON-RPC, CLI, CI, stdio, GSAP, Lenis, WebGL, Cloudflare Pages
      h18. takeaway: The cheapest token is the one you never send — tidy tools beat a bigger model.
   i. Servers, cloud and local models
      i1. status: day to day
      i2. problem: Agents, models and apps have to run somewhere — in the cloud, on a VPS, or locally when documents must not leave the company.
      i3. built: Cloud: AWS (EC2 instances, agents on AWS Lambda, Security Groups network rules) and Google Cloud Platform.
      i4. built: CI/CD on GitHub Actions: quality gates (lint, typecheck, unit and e2e tests in Playwright, coverage, dependency audit), database migrations, building and publishing Docker images, scheduled rebuilds (cron), screenshot drift checks.
      i5. built: VPS servers from scratch: installing dependencies, configuring services, ports and firewalls (ufw, iptables), access via Tailscale.
      i6. built: Apps and agents in containers: Docker and Docker Compose, Nginx / Caddy, TLS, Cloudflare rules.
      i7. built: Language models on servers via Ollama, with a shared queue of model requests.
      i8. built: A test on a Dell Pro Max AI workstation with NVIDIA GB10 (128 GB, ARM): five 50–87 GB models run locally and compared with a cloud model — Qwen 3.5 122B, Nemotron 3 Super 120B, gpt-oss-120b, Qwen3-Coder-Next, Qwen3-Next.
      i9. number: Dell GB10: whole-system install from scratch in 20 min
      i10. number: 5 local models of 50–87 GB, the largest with over 1/4 of memory free
      i11. number: 0 failures during the test
      i12. technologies: AWS EC2, AWS Lambda, Security Groups, Google Cloud Platform, GitHub Actions, VPS, ufw, iptables, Docker Compose, Ollama, NVIDIA GB10
      i13. takeaway: A 120B-class model on a single desk-side device delivered cloud-comparable quality — documents don’t have to leave the company.
      i14. takeaway: Containers pay off: the same installer worked on an ARM processor without a single change.
   j. Android app that hides Instagram sections
      j1. type: own product
      j2. year: 2026
      j3. status: spec ready, in development
      j4. problem: Short videos on Instagram eat time, and the official app won’t let you turn them off.
      j5. built: An Android app that uses the accessibility service to cover chosen sections — no messages, as if they weren’t there.
      j6. built: Turning off with a 10-minute countdown, 5/15/30-minute breaks, time-saved statistics and day streaks.
      j7. built: Rules for recognising Instagram elements fetched remotely, because the app changes them without warning.
      j8. built: Pricing: 14 days free, then $1 a month.
      j9. detail: “disappear” style: background-coloured covers with no messages + a quiet back navigation as a safeguard
      j10. detail: statistics: time before and after, number of hides, time saved, day streak; anonymous crash diagnostics that can be turned off
      j11. detail: the accessibility service requires an in-app consent screen, a Google Play declaration and a demo video
      j12. detail: an organisation developer account (D-U-N-S) skips the closed test of 12 testers × 14 days
      j13. detail: launch markets: DE, ES, IT, FR, UK, US, PL; languages: EN, DE, ES, FR, IT, PL
      j14. detail: a 6-part technical spec approved before any code
      j15. number: store fee about 15%: €0.99 leaves about €0.71
      j16. technologies: Android, Accessibility Service, remote rules, Google Play, Kotlin, Google Play Console
      j17. takeaway: The platform dictates the architecture: iOS doesn’t allow touching other apps, so Android only.
      j18. takeaway: A product name is a risk too: trademarks and store rules can block publication.
   k. wiszniowski-it.com — this website
      k1. type: own product, portfolio and technology testbed
      k2. year: 2026
      k3. status: live, evolving
      k4. detail: Vite + plain JavaScript (ES modules), no framework
      k5. detail: ASCII engine on WebGL2: the image turned into characters in a shader, cover-style framing, on phones the image rotated 90° with upright characters
      k6. detail: scene: a reinterpretation of “The Creation of Adam” — AI and a programmer — as ASCII; source images generated with AI
      k7. detail: multi-level deep zoom into the image (easter egg)
      k8. detail: “museum” easter egg: a crowd of visitors, a placard, a magnifier, an alarm and an evacuation; a dialogue engine with JSON scene pools, schema validation, a director and memory
      k9. detail: loading screen with real download progress (fetch stream)
      k10. detail: island map (in progress): a 7200 × 7000 DOM world scaled with one transform, hash router, drag, wheel, pinch, camera fly-to
      k11. detail: Tech tab: one content source → a view for people, a view for AI, /llms.txt, /llms-full.txt, JSON-LD and hreflang PL/EN; content works without JavaScript
      k12. detail: Tech choice screen: cinematic AI-generated frames, canvas motion — dust in a light beam, stars made of 0 and 1, a compute cloud made of bits
      k13. detail: tests: unit (node:test) and e2e (Playwright, WebGL via SwiftShader in headless mode)
      k14. detail: deployment: GitHub → Cloudflare Pages in about 40–60 s; tasks and sign-offs on a Notion board; built with Claude Code
      k15. technologies: Vite, JavaScript, WebGL2, GLSL, Canvas 2D, Playwright, node:test, Cloudflare Pages, JSON-LD, llms.txt

7. HOW I WORK
   a. process: goal and acceptance criteria → spec → plan → tasks → implementation (agents included) → review → tests → human sign-off
   b. testing: TDD; an e2e test for every feature; a guard test for every fixed bug
   c. tasks: a Notion board with statuses and completion criteria; an agent sets at most “to verify”, a human accepts
   d. code: no direct changes to the main branch; branch + PR + human approval, agent-written code included
   e. variants: for visual decisions several variants side by side for the owner or client to pick
   f. integrations: behind an adapter layer; work starts on mocks, real end-to-end tests once the vendor responds
   g. status reporting: “documented” and “tested” reported separately — no inflated progress
   h. project memory: notes with decisions and takeaways (what worked, what not to repeat), read at the start of every session
   i. model selection: I choose the model for each task based on benchmarks, which I read and understand
   j. agent briefs: API contract, boundaries, mandatory tests, a final report with rollback; “don’t guess — stop and ask for missing data”

8. AI SAFETY RULES
   a. human approval: anything leaving the system (e-mail, post, publication, payment) requires human approval
   b. stop rules: iteration limit (5), token budget pausing at 5% left, tool time limits
   c. audit: append-only log; every tool call and every decision recorded
   d. credentials: a single key holder (broker agent); the app never touches keys; secrets never in code, prompts or logs
   e. permissions: deny by default; role × module × action × field
   f. answers: only from approved sources, with a quote; no data = “I don’t know” and escalation
   g. prompt injection: output from databases, APIs and tools is data, not instructions
   h. privacy: data minimisation in prompts, memory retention, data processing agreements (GDPR), a local-model option
   i. reversibility: trash instead of deletion, reversible migrations, a rollback plan with every deployment

9. KEY NUMBERS
   a. MCPBank: ~92% fewer tokens on tool schemas; ~4,778 → ~305 tokens; 78 → 4 tools in context
   b. cost-estimate analyser: +18 inconsistencies found automatically; 600/600 items from a long bill of quantities; 850 items in the background with no lost progress; −54% output tokens; 160 API e2e tests
   c. CRM: 78 requirements; 70/70 design tasks; 150 concurrent users; 99.5% SLA; RPO 6 h; RTO 4 h
   d. Dell GB10: whole-system install from scratch in 20 min; 5 models of 50–87 GB on one device; OCR roughly 2× faster (indicative); 0 failures
   e. agent loop: 5 iterations; pause at 5% budget; sandbox 60 s and 1 MB
   f. n8n: ~15 workflows of my own; audit of 7 production workflows; 9 defects; migration plan 6 phases / 12 weeks
   g. Instagram app: 14 days free, then $1 / month; 10-min countdown; 5 / 15 / 30-min breaks

10. WHAT’S NEXT
   a. direction: I’m growing into Jev — a “System One” decision model from TypeSafe AI. It is not a language model: it takes state and typed questions and returns typed decisions (a choice, a score, yes/no) with probabilities. I’m putting it into practice, for example in Service Next.
   b. plan: Service Next: routing a ticket to the right team as a typed decision with a probability.
   c. plan: A confidence threshold: when it is high the agent acts on its own, when it is low the case goes to a human with full context.
   d. plan: The goal: repetitive decisions — classification, routing, scoring — faster and cheaper than with a language model, always in a predictable format.
   e. source: Jev — TypeSafe AI, https://typesafe.ai

11. KEYWORDS
   a. PL: programista full-stack TypeScript, Full-stack Developer, Backend Developer Node.js, AI Engineer, AI Solutions Engineer, Integration Engineer, Product Engineer, inżynier automatyzacji AI, programista AI, benchmarki LLM, dobór modelu AI, Jev, TypeSafe AI, model decyzyjny System One, SEO, GEO, widoczność w wyszukiwarkach AI, lokalne SEO, budowa agentów AI, pętle agentowe, orkiestracja agentów, OpenClaw, Claude Code, Codex, MCP Model Context Protocol, serwer MCP, projekty B2B dla firm, asystent AI na dokumentach firmy, MCP dla firm, boty Telegram, integracja KSeF, e-faktury, automatyzacja biura księgowego, CRM na zamówienie, analiza kosztorysów AI, OCR dokumentów, RAG baza wiedzy, chatbot helpdesk, agent AI Jira Service Management, lokalne LLM, Ollama, wdrożenie AI on-premise, wdrażanie LLM na serwerach, Dell GB10, NVIDIA GB10, Qwen 3.5, AWS, AWS Lambda, EC2, Google Cloud Platform, GitHub Actions, CI/CD, VPS, administracja serwerami Linux, firewall ufw iptables, human-in-the-loop, Android Kotlin, testy Playwright, WebGL, Polska
   b. EN: full-stack developer TypeScript, backend developer Node.js, AI Engineer, AI Solutions Engineer, integration engineer, product engineer, AI automation engineer, AI agent developer, LLM benchmarks, AI model selection, Jev, TypeSafe AI, System One decision model, SEO, GEO, AI search visibility, local SEO, agentic loops, multi-agent orchestration, OpenClaw developer, Claude Code, Codex, Model Context Protocol, MCP tool routing, B2B projects for companies, AI assistant on company documents, MCP for companies, Telegram bots, KSeF integration, accounting automation, custom CRM, construction cost estimate AI, document OCR, RAG knowledge base, AI helpdesk agent, Jira Service Management AI, local LLM, on-premise AI deployment, LLM deployment on servers, Dell GB10, NVIDIA GB10, Qwen 3.5, AWS, AWS Lambda, EC2, Google Cloud Platform, GitHub Actions, CI/CD, VPS, Linux server administration, ufw iptables firewall, human-in-the-loop, Android Kotlin, Playwright testing, WebGL, Poland

12. CONTACT
   a. book a call: https://calendar.app.google/XwtWet95wsMGh7sU7
   b. website: https://wiszniowski-it.com