Polski

Learning path · 13 · beginner

AI for developers

A path from the basics to production: how large language models work, how to write prompts, what embeddings and RAG are, how a model calls tools, when to build an agent, how to connect data through MCP, how to measure quality with evals and how to run an LLM application in production – safely and within budget. Every article has diagrams, code in Python, TypeScript and C# (often Java and Go too), a quiz and a checklist.

  1. LLM fundamentals: tokens, context windows and next-token prediction

    How a large language model really works – from tokenization and the transformer, through context windows and sampling, to costs, hallucinations and a first API call in five languages.

  2. Prompt engineering: writing instructions a model will actually follow

    The anatomy of a good prompt, context instead of incantations, examples, structured outputs instead of begging for JSON, effort instead of "think step by step" and prompts treated as code – with examples in Python, TypeScript and C#.

  3. Embeddings and vector databases: searching by meaning

    What an embedding is, how to compute cosine similarity, which model to pick and how to store millions of vectors in pgvector, Qdrant or Chroma – with code in Python, TypeScript, C#, Java and Go.

  4. RAG: answers grounded in your own documents

    Retrieval-Augmented Generation from basics to production – chunking, hybrid search with BM25 and RRF, reranking, cited answers with Claude, evaluation and the cases where RAG is unnecessary.

  5. Tool use: how a language model calls your application's functions

    The model does not run code – it proposes tool calls that follow a schema, and your application executes them and sends the results back. The tool use loop step by step, good tool definitions, errors, parallel calls, the tool runner and…

  6. AI agents: a model in a loop with tools – and when a plain workflow is enough

    How an agent differs from a single call and from a workflow, five workflow patterns, an agent loop with limits and an approval gate, context management, costs and security – illustrated by complaint handling at a pierogi restaurant.

  7. MCP (Model Context Protocol): one standard for connecting AI to tools and data

    What the Model Context Protocol is, how the host–client–server architecture works, how tools, resources and prompts differ, how the stdio and Streamable HTTP transports work and how to write your own MCP server in Python, TypeScript and…

  8. Evaluating LLM applications (evals): tests for systems that are not deterministic

    How to build an evaluation set, combine code checks with LLM-as-judge, count results honestly and stop regressions in CI – using a pierogi restaurant assistant, with code in Python, TypeScript and C#.

  9. LLMOps: model gateways, caching, limits, observability and costs in production

    What happens to an LLM application after the demo – a gateway, prompt caching, retries and fallbacks, per-customer limits, token and cost tracking, prompt versioning and safe rollouts. With code in Python, TypeScript and C#.

  10. Guardrails and security for LLM applications: prompt injection, data leaks and tool permissions

    Why prompt injection has no simple fix and how to build defence in depth – the OWASP Top 10 for LLM applications, input classifiers, least-privilege tools, human in the loop and safe output handling. Code in Python, TypeScript and C#.

  11. Local language models: Ollama, llama.cpp, vLLM, quantization and the real trade-offs

    How to run an open model on your own hardware, how much memory it really needs, what quantization and GGUF are, where generation speed comes from and when a local model makes sense instead of an API. Code in Python, TypeScript and C#.

  12. Fine-tuning language models: when it pays off, LoRA and QLoRA in practice

    How fine-tuning differs from prompting and RAG, when it really makes sense, how to prepare data, how LoRA and QLoRA work and how to measure whether the tuned model is better – with code in Python, TypeScript and C#.

  13. AI coding assistants: from editor suggestions to an agent that opens pull requests

    How to work with AI on code so you gain speed without losing quality: modes of work, project context (CLAUDE.md, AGENTS.md), the explore–plan–implement–verify cycle, change review, tests, security and automated review in CI.

Learning paths