Łukasz
Chrzanowski

HomeAI automation

Language models
in everyday business work.

I run local LLMs, connect them to applications and vector databases, and design data flows. I validate solutions with tests covering the complete process, from the API call to the model’s response.

What I do with AI.

01

Local LLMs

Running models on GPUs, configuring Ollama and a shared API through LiteLLM. Selecting models for conversation, coding and embeddings.

  • Ollama
  • LiteLLM
  • Model routing
02

RAG and vector databases

Prototyping document retrieval. Connecting embeddings, Qdrant and a language model, and testing answers grounded in the retrieved context.

  • Qdrant
  • pgvector
  • Hybrid search
  • Reranking
03

n8n and Make automation

Designing workflows connecting APIs, data and language models. Choosing tools for a specific process, error handling and result validation.

  • n8n
  • Make
  • Human-in-the-loop
04

Integration and monitoring

Connecting models to applications and observing model calls with Langfuse. Testing APIs, streaming, tool use and the behavior of generated code.

  • MCP
  • Langfuse
  • Evals
  • Guardrails

How I design a production AI system.

Between a chat demo and an assistant a company can trust, there are several layers. Each solves a specific problem: current knowledge, acting in business systems, permissions, attacks, costs and quality control.

  1. L00

    Model via API

    A model on business terms: no training on customer data, responses constrained by JSON Schema and logging in my own backend instead of employees’ personal accounts.

  2. L01

    System prompt

    Role, tone and source citation rules. I do not treat it as a security control: permissions are enforced by the next layers, not by a request in the prompt.

  3. L02

    RAG

    Hybrid search (keywords and vectors) with reranking. Documents split by structure, PDF tables extracted with their columns intact, and answers that point to the source.

  4. L03

    MCP and tools

    The model acts in a CRM, calendar or shop through MCP servers: tools with typed parameters and idempotency keys. Reads run automatically, writes after human approval.

  5. L04

    Access control

    The role from the user’s token filters documents and tools before anything reaches the model. Data the user may not see never enters the context.

  6. L05

    Guardrails

    Input and output filters: prompt injection, including instructions hidden in documents, and masking of personal data and secrets. Amount limits and allow-lists enforced in code, not in the prompt.

  7. L06

    Cache and model router

    Simple questions go to a cheap model, hard ones to a strong model, through a shared API gateway. A semantic cache keyed by role, so an answer never crosses permission levels.

  8. L07

    Observability and evals

    A trace for every answer: retrieved passages, tool calls, latency and cost. A set of control questions runs in CI/CD after every change to the prompt, the model or the document parser.

I deliver in stages: first a read-only knowledge assistant with access control and tracing from day one. Then tools with write approval and guardrails. Finally, cost optimization based on real traffic.

My own AI environment and tools.

My own technical projects: an environment with locally hosted models, a shared API, vector retrieval and a coding agent, plus AI tools for everyday work with code. The examples below describe what I built and its documented tests and prototypes.

  • Ollama
  • LiteLLM
  • Open WebUI
  • Qdrant
  • SearXNG
  • n8n
  • OpenCode
  • Langfuse
  • Claude Code
01

A local AI stack with GPUs

I integrated Ollama, LiteLLM, Open WebUI and SearXNG in a Docker Compose environment with NVIDIA acceleration. Tests covered model responses, streaming, tool calling and embedding generation.

  • Docker Compose
  • Ollama
  • LiteLLM
  • GPU
02

A tested RAG prototype

I connected local embeddings, Qdrant and a language model. A test using synthetic documents checked data ingestion, retrieval of the relevant passage and an answer containing information from that passage.

  • RAG
  • Qdrant
  • Embeddings
  • Integration tests
03

An agent and model-call monitoring

I configured a local OpenCode agent and model-call monitoring in Langfuse. I checked file reading through the agent’s tool and the recording of model calls and usage data through LiteLLM.

  • OpenCode
  • Langfuse
  • LiteLLM
  • Tool tests
04

AI in a development team

I built a Claude Code plugin for Drupal projects: skills with coding and deployment rules, an agent that runs phpcs, PHPStan, PHPUnit and Drush and reports only errors, and a hook that blocks commits with coding standard errors. It is complemented by secret scanning before each commit, GitHub Actions deployments and agents working in an isolated environment without access to real keys.

  • Claude Code
  • Skills and hooks
  • gitleaks
  • GitHub Actions

A simplified question flow in the RAG prototype

  1. Question
  2. Embedding
  3. Qdrant
  4. Model response

Have a process worth improving?

Describe the current workflow, data sources and desired result. This provides a starting point for choosing integrations, models and a way to validate the solution. I also work as an AI operator, running agents in everyday work and reviewing their output.