{"id":"6b08c25138c84264c20274e6","slug":"ai-path","title":"AI for developers","description":"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.","level":"beginner","cover":null,"order":10,"itemCount":13,"articleCount":13,"topicCount":0,"minutes":222,"groups":["ai"],"covers":[],"preview":[{"kind":"article","title":"LLM fundamentals: tokens, context windows and next-token prediction","slug":"llm-fundamentals","topicSlug":null},{"kind":"article","title":"Prompt engineering: writing instructions a model will actually follow","slug":"prompt-engineering","topicSlug":null},{"kind":"article","title":"Embeddings and vector databases: searching by meaning","slug":"embeddings-vector-db","topicSlug":null},{"kind":"article","title":"RAG: answers grounded in your own documents","slug":"rag","topicSlug":null}],"articleIds":["6b08c24e38c84264c20274a0","6b08c24f38c84264c20274c8","6b08c24d38c84264c2027482","6b08c25038c84264c20274d2","6b08c25038c84264c20274dc","6b08c24a38c84264c2027432","6b08c24f38c84264c20274be","6b08c24d38c84264c202748c","6b08c24e38c84264c20274aa","6b08c24b38c84264c2027446","6b08c24f38c84264c20274b4","6b08c24e38c84264c2027496","6b08c24a38c84264c202743c"],"items":[{"kind":"article","articleId":"6b08c24e38c84264c20274a0","slug":"llm-fundamentals","topicSlug":null,"title":"LLM fundamentals: tokens, context windows and next-token prediction","summary":"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.","readingMinutes":21,"note":"","cover":null,"group":"ai","icon":"brain","techs":["python","typescript","dotnet","java","go"],"level":"beginner","status":"available"},{"kind":"article","articleId":"6b08c24f38c84264c20274c8","slug":"prompt-engineering","topicSlug":null,"title":"Prompt engineering: writing instructions a model will actually follow","summary":"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#.","readingMinutes":17,"note":"","cover":null,"group":"ai","icon":"message-square-text","techs":["python","typescript","dotnet"],"level":"beginner","status":"available"},{"kind":"article","articleId":"6b08c24d38c84264c2027482","slug":"embeddings-vector-db","topicSlug":null,"title":"Embeddings and vector databases: searching by meaning","summary":"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.","readingMinutes":22,"note":"","cover":null,"group":"ai","icon":"chart-scatter","techs":["python","typescript","dotnet","java","go"],"level":"beginner","status":"available"},{"kind":"article","articleId":"6b08c25038c84264c20274d2","slug":"rag","topicSlug":null,"title":"RAG: answers grounded in your own documents","summary":"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.","readingMinutes":22,"note":"","cover":null,"group":"ai","icon":"file-search","techs":["python","typescript","dotnet"],"level":"intermediate","status":"available"},{"kind":"article","articleId":"6b08c25038c84264c20274dc","slug":"tool-use","topicSlug":null,"title":"Tool use: how a language model calls your application's functions","summary":"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 security.","readingMinutes":17,"note":"","cover":null,"group":"ai","icon":"wrench","techs":["python","typescript","dotnet"],"level":"intermediate","status":"available"},{"kind":"article","articleId":"6b08c24a38c84264c2027432","slug":"ai-agents","topicSlug":null,"title":"AI agents: a model in a loop with tools – and when a plain workflow is enough","summary":"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.","readingMinutes":18,"note":"","cover":null,"group":"ai","icon":"bot","techs":["python","typescript","dotnet"],"level":"intermediate","status":"available"},{"kind":"article","articleId":"6b08c24f38c84264c20274be","slug":"mcp","topicSlug":null,"title":"MCP (Model Context Protocol): one standard for connecting AI to tools and data","summary":"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 C# – and connect it to Claude.","readingMinutes":14,"note":"","cover":null,"group":"ai","icon":"plug-zap","techs":["python","typescript","dotnet"],"level":"intermediate","status":"available"},{"kind":"article","articleId":"6b08c24d38c84264c202748c","slug":"evals","topicSlug":null,"title":"Evaluating LLM applications (evals): tests for systems that are not deterministic","summary":"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#.","readingMinutes":18,"note":"","cover":null,"group":"ai","icon":"clipboard-check","techs":["python","typescript","dotnet"],"level":"intermediate","status":"available"},{"kind":"article","articleId":"6b08c24e38c84264c20274aa","slug":"llm-ops","topicSlug":null,"title":"LLMOps: model gateways, caching, limits, observability and costs in production","summary":"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#.","readingMinutes":16,"note":"","cover":null,"group":"ai","icon":"gauge","techs":["python","typescript","dotnet"],"level":"advanced","status":"available"},{"kind":"article","articleId":"6b08c24b38c84264c2027446","slug":"ai-guardrails","topicSlug":null,"title":"Guardrails and security for LLM applications: prompt injection, data leaks and tool permissions","summary":"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#.","readingMinutes":16,"note":"","cover":null,"group":"ai","icon":"shield-check","techs":["python","typescript","dotnet"],"level":"intermediate","status":"available"},{"kind":"article","articleId":"6b08c24f38c84264c20274b4","slug":"local-llms","topicSlug":null,"title":"Local language models: Ollama, llama.cpp, vLLM, quantization and the real trade-offs","summary":"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#.","readingMinutes":12,"note":"","cover":null,"group":"ai","icon":"hard-drive","techs":["python","typescript","dotnet"],"level":"intermediate","status":"available"},{"kind":"article","articleId":"6b08c24e38c84264c2027496","slug":"fine-tuning","topicSlug":null,"title":"Fine-tuning language models: when it pays off, LoRA and QLoRA in practice","summary":"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#.","readingMinutes":15,"note":"","cover":null,"group":"ai","icon":"sliders-horizontal","techs":["python","typescript","dotnet"],"level":"advanced","status":"available"},{"kind":"article","articleId":"6b08c24a38c84264c202743c","slug":"ai-coding-assistants","topicSlug":null,"title":"AI coding assistants: from editor suggestions to an agent that opens pull requests","summary":"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.","readingMinutes":14,"note":"","cover":null,"group":"ai","icon":"code-xml","techs":["python","typescript","dotnet"],"level":"beginner","status":"available"}],"others":[{"id":"6b08bd4080884893657cca50","slug":"gof-creational","title":"GoF creational patterns","description":"Five ways to stop object creation from being scattered all over your code: from Factory Method through Abstract Factory, Builder and Prototype to Singleton – with examples in C#, TypeScript, Java, Go and Python.","level":"intermediate","cover":null,"order":1,"itemCount":5},{"id":"6b08bd4080884893657cca57","slug":"gof-structural","title":"GoF structural patterns","description":"Seven patterns about composing classes and objects into larger structures: Adapter, Bridge, Composite, Decorator, Facade, Flyweight and Proxy. Each with a real-life problem, a diagram and code in five languages.","level":"intermediate","cover":null,"order":2,"itemCount":7},{"id":"6b08bd3f80884893657cca49","slug":"gof-behavioral","title":"GoF behavioral patterns","description":"Ten behavioral patterns from the Gang of Four catalog, told through Halina's pierogi place moving online: from Strategy and Observer to Memento and Visitor. Every article has a diagram, code in C#, TypeScript, Java, Go and Python, a quiz and advice on when not to use the pattern.","level":"intermediate","cover":null,"order":3,"itemCount":10}]}