{"id":"6b08c24a38c84264c2027432","slug":"ai-agents","title":"Agenci AI: model w pętli z narzędziami – i kiedy wystarczy zwykły workflow","summary":"Czym agent różni się od pojedynczego wywołania i od workflow, pięć wzorców przepływu pracy, pętla agenta z limitami i bramką akceptacji, zarządzanie kontekstem, koszty i bezpieczeństwo – na przykładzie obsługi reklamacji w pierogarni.","servedLang":"pl","availableLangs":["pl","en"],"topics":["ai-agents","tool-use","mcp","evals","ai-guardrails"],"techs":["python","typescript","dotnet"],"tags":["agents","agent-loop","workflows","routing","human-in-the-loop","tool-runner","claude"],"level":"intermediate","kind":"article","access":"members","status":"published","cover":null,"author":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","community":false},"readingMinutes":16,"stats":{"views":2,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-26T23:35:38.320Z","updatedAt":"2026-11-27T10:04:56.429Z","requestedLang":"pl","theme":{"hero":"classic","heroMedia":null,"accent":"rose","background":"tint","weaveResources":true,"toc":"right"},"seoDescription":"Agenci AI dla programistów: workflow vs agent, prompt chaining, routing, parallelization, orchestrator-workers, evaluator-optimizer, pętla agenta, human-in-the-loop, limity, kontekst i koszty. Kod w Pythonie, TypeScript i C#.","wordCount":3108,"doc":{"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"Agent AI","marks":[{"type":"bold"}]},{"type":"text","text":" to model językowy działający w pętli: dostaje cel i narzędzia, sam decyduje o kolejnym kroku, obserwuje wynik i działa dalej, aż uzna zadanie za wykonane. To potężny wzorzec – i najczęściej nadużywany. Większość problemów biznesowych lepiej rozwiązuje przewidywalny "},{"type":"text","text":"workflow","marks":[{"type":"bold"}]},{"type":"text","text":", w którym kolejność kroków ustala kod, a model wykonuje tylko poszczególne etapy."}]},{"type":"stats","attrs":{"items":[{"value":"4","label":"pytania przed budową agenta","hint":"złożoność, wartość, wykonalność, koszt błędu"},{"value":"5","label":"wzorców workflow","hint":"chaining, routing, równoległość, orkiestrator, ewaluator"},{"value":"1","label":"pętla w sercu agenta","hint":"dopóki model prosi o narzędzia – wykonuj i odsyłaj"}]}},{"type":"callout","attrs":{"variant":"info","title":"W skrócie"},"content":[{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Zaczynaj od najprostszego poziomu: pojedyncze wywołanie → workflow sterowany kodem → agent. Agent ma sens, gdy kroków nie da się przewidzieć z góry."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Agent to "},{"type":"text","text":"tool use","marks":[{"type":"link","attrs":{"href":"/pl/topics/tool-use"}}]},{"type":"text","text":" w pętli plus dyscyplina: limit kroków i budżetu, bramki akceptacji dla nieodwracalnych akcji, reguły biznesowe w kodzie, pełne logowanie."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"O jakości agenta decydują narzędzia i kontekst, a nie „sprytny prompt” – a sprawdzasz ją "},{"type":"text","text":"ewaluacjami","marks":[{"type":"link","attrs":{"href":"/pl/topics/evals"}}]},{"type":"text","text":" na całych przebiegach, nie pojedynczych odpowiedziach."}]}]}]}]},{"type":"heading","attrs":{"level":2,"id":"problem-reklamacja-ktorej-nie-da-sie-zapisac-w-ifach"},"content":[{"type":"text","text":"Problem: reklamacja, której nie da się zapisać w ifach"}]},{"type":"paragraph","content":[{"type":"text","text":"Klient pierogarni pisze: „Zamówienie 1042 przyszło 73 minuty po czasie i zimne. Chcę zwrot!”. Pracownik obsługi sprawdza zamówienie, porównuje godziny w logu dostawy, zagląda do historii klienta, decyduje o rekompensacie (voucher? zwrot? nic?) i pisze odpowiedź. Czasem musi dopytać, czasem przekazać sprawę kierowniczce, bo klient wspomina o reakcji alergicznej."}]},{"type":"paragraph","content":[{"type":"text","text":"Zespół próbuje to zautomatyzować na dwa skrajne sposoby. Pierwszy: sztywny skrypt z dziesiątkami warunków – rozsypuje się przy każdym nietypowym zgłoszeniu. Drugi: „autonomiczny agent” z dostępem do całej bazy i systemu płatności, z promptem „rozwiązuj reklamacje” – po tygodniu wydał 2 tys. zł w voucherach, bo klienci szybko odkryli, że stanowczy ton działa. Dobre rozwiązanie leży pośrodku i zaczyna się od pytania, ile autonomii naprawdę potrzeba."}]},{"type":"heading","attrs":{"level":2,"id":"spektrum-wywolanie-workflow-agent"},"content":[{"type":"text","text":"Spektrum: wywołanie, workflow, agent"}]},{"type":"diagram","attrs":{"kind":"mermaid","code":"flowchart TB\n  A[\"Pojedyncze wywołanie<br/>klasyfikacja, streszczenie, ekstrakcja\"] --> B[\"Workflow<br/>kolejność kroków ustala kod,<br/>model wykonuje etapy\"]\n  B --> C[\"Agent<br/>model sam wybiera kolejne kroki<br/>i narzędzia w pętli\"]\n  A -.- A1[\"tanio · szybko · przewidywalnie\"]\n  B -.- B1[\"łatwy do testowania i debugowania\"]\n  C -.- C1[\"elastyczny · drogi · wymaga zabezpieczeń\"]","caption":"Im więcej decyzji podejmuje model, tym większa elastyczność – i tym większy koszt oraz ryzyko"}},{"type":"paragraph","content":[{"type":"text","text":"Przed zbudowaniem agenta odpowiedz na cztery pytania. "},{"type":"text","text":"Złożoność","marks":[{"type":"bold"}]},{"type":"text","text":": czy zadanie jest wieloetapowe i trudne do rozpisania z góry? "},{"type":"text","text":"Wartość","marks":[{"type":"bold"}]},{"type":"text","text":": czy wynik uzasadnia wyższy koszt i opóźnienie? "},{"type":"text","text":"Wykonalność","marks":[{"type":"bold"}]},{"type":"text","text":": czy model dobrze radzi sobie z tym typem zadań? "},{"type":"text","text":"Koszt błędu","marks":[{"type":"bold"}]},{"type":"text","text":": czy pomyłki da się wychwycić i cofnąć (testy, przegląd, akceptacja)? Jedno „nie” to sygnał, by zostać na prostszym poziomie."}]},{"type":"heading","attrs":{"level":2,"id":"piec-wzorcow-workflow"},"content":[{"type":"text","text":"Pięć wzorców workflow"}]},{"type":"paragraph","content":[{"type":"text","text":"Wiele „agentów” w praktyce to dobrze złożony workflow. Te wzorce – opisane m.in. w tekście Anthropic "},{"type":"text","text":"Building effective agents","marks":[{"type":"italic"}]},{"type":"text","text":" – warto znać, zanim oddasz sterowanie modelowi:"}]},{"type":"table","content":[{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Wzorzec"}]}]},{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Jak działa"}]}]},{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Przykład z pierogarni"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Łańcuch promptów ("},{"type":"text","text":"prompt chaining","marks":[{"type":"italic"}]},{"type":"text","text":")"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"wynik jednego kroku jest wejściem następnego, między krokami można wstawić walidację"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"opinia → triaż → szkic odpowiedzi → sprawdzenie tonu"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Routing"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"klasyfikator kieruje sprawę do wyspecjalizowanej ścieżki"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"status zamówienia / reklamacja / pytanie o menu"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Równoległość ("},{"type":"text","text":"parallelization","marks":[{"type":"italic"}]},{"type":"text","text":")"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"niezależne podzadania naraz albo kilka głosów i większość"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"ocena opinii pod kątem alergenów, tonu i spamu jednocześnie"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Orkiestrator i wykonawcy"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"model dzieli zadanie na podzadania i zleca je innym wywołaniom"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"przygotowanie raportu tygodniowego z wielu źródeł"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Ewaluator i optymalizator"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"jedno wywołanie tworzy, drugie ocenia według kryteriów, pętla do skutku"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"opis nowego dania poprawiany, aż spełni wytyczne marki"}]}]}]}]},{"type":"paragraph","content":[{"type":"text","text":"Routing to najprostszy i bardzo skuteczny wzorzec: tani model klasyfikuje wiadomość, a każda ścieżka ma własny, krótki prompt, własne narzędzia i własne testy."}]},{"type":"codeGroup","attrs":{"title":"Workflow: routing z tanim klasyfikatorem"},"content":[{"type":"codeBlock","attrs":{"language":"python","filename":"router.py"},"content":[{"type":"text","text":"from typing import Literal\n\nimport anthropic\nfrom pydantic import BaseModel\n\nclient = anthropic.Anthropic()\n\n\nclass Route(BaseModel):\n    route: Literal[\"order_status\", \"complaint\", \"menu_question\", \"other\"]\n\n\n# Each route gets a focused prompt (and later its own tools and evals).\nPROMPTS = {\n    \"order_status\": \"You answer questions about the status of pierogi orders. Use the order tools.\",\n    \"complaint\": \"You handle complaints about orders. Be empathetic, gather facts, never promise refunds.\",\n    \"menu_question\": \"You answer menu and allergen questions using only the attached menu.\",\n    \"other\": \"You are the general assistant of Halina's Pierogi. Keep answers short.\",\n}\n\n\ndef classify(message: str) -> str:\n    # A small, cheap model is enough for a 4-way classification.\n    result = client.messages.parse(\n        model=\"claude-haiku-5-5\",\n        max_tokens=256,\n        system=\"Classify a customer message sent to a pierogi restaurant's chat.\",\n        messages=[{\"role\": \"user\", \"content\": message}],\n        output_format=Route,\n    )\n    return result.parsed_output.route if result.parsed_output else \"other\"\n\n\ndef handle(message: str) -> str:\n    route = classify(message)  # step 1: deterministic routing decided by code\n    response = client.messages.create(  # step 2: specialised handler\n        model=\"claude-opus-5-5\",\n        max_tokens=2048,\n        system=PROMPTS[route],\n        messages=[{\"role\": \"user\", \"content\": message}],\n    )\n    return \"\".join(b.text for b in response.content if b.type == \"text\")"}]},{"type":"codeBlock","attrs":{"language":"typescript","filename":"router.ts"},"content":[{"type":"text","text":"import Anthropic from \"@anthropic-ai/sdk\";\nimport { zodOutputFormat } from \"@anthropic-ai/sdk/helpers/zod\";\nimport { z } from \"zod\";\n\nconst client = new Anthropic();\n\nconst Route = z.object({ route: z.enum([\"order_status\", \"complaint\", \"menu_question\", \"other\"]) });\ntype RouteName = z.infer<typeof Route>[\"route\"];\n\n// Each route gets a focused prompt (and later its own tools and evals).\nconst PROMPTS: Record<RouteName, string> = {\n  order_status: \"You answer questions about the status of pierogi orders. Use the order tools.\",\n  complaint: \"You handle complaints about orders. Be empathetic, gather facts, never promise refunds.\",\n  menu_question: \"You answer menu and allergen questions using only the attached menu.\",\n  other: \"You are the general assistant of Halina's Pierogi. Keep answers short.\",\n};\n\nasync function classify(message: string): Promise<RouteName> {\n  // A small, cheap model is enough for a 4-way classification.\n  const result = await client.messages.parse({\n    model: \"claude-haiku-5-5\",\n    max_tokens: 256,\n    system: \"Classify a customer message sent to a pierogi restaurant's chat.\",\n    messages: [{ role: \"user\", content: message }],\n    output_config: { format: zodOutputFormat(Route) },\n  });\n  return result.parsed_output?.route ?? \"other\";\n}\n\nexport async function handle(message: string): Promise<string> {\n  const route = await classify(message); // step 1: deterministic routing decided by code\n  const response = await client.messages.create({\n    model: \"claude-opus-5-5\", // step 2: specialised handler\n    max_tokens: 2048,\n    system: PROMPTS[route],\n    messages: [{ role: \"user\", content: message }],\n  });\n  return response.content.flatMap((b) => (b.type === \"text\" ? [b.text] : [])).join(\"\");\n}"}]},{"type":"codeBlock","attrs":{"language":"csharp","filename":"Router.cs"},"content":[{"type":"text","text":"using System.Text.Json;\nusing Anthropic;\nusing Anthropic.Models.Messages;\n\nAnthropicClient client = new();\n\n// Each route gets a focused prompt (and later its own tools and evals).\nvar prompts = new Dictionary<string, string>\n{\n    [\"order_status\"] = \"You answer questions about the status of pierogi orders. Use the order tools.\",\n    [\"complaint\"] = \"You handle complaints about orders. Be empathetic, gather facts, never promise refunds.\",\n    [\"menu_question\"] = \"You answer menu and allergen questions using only the attached menu.\",\n    [\"other\"] = \"You are the general assistant of Halina's Pierogi. Keep answers short.\",\n};\n\nasync Task<string> Classify(string message)\n{\n    // A small, cheap model is enough for a 4-way classification; the schema limits the answer.\n    var schema = JsonSerializer.Deserialize<Dictionary<string, JsonElement>>(\"\"\"\n        {\"type\":\"object\",\"properties\":{\"route\":{\"type\":\"string\",\n         \"enum\":[\"order_status\",\"complaint\",\"menu_question\",\"other\"]}},\n         \"required\":[\"route\"],\"additionalProperties\":false}\n        \"\"\")!;\n    var result = await client.Messages.Create(new MessageCreateParams\n    {\n        Model = \"claude-haiku-5-5\",\n        MaxTokens = 256,\n        System = \"Classify a customer message sent to a pierogi restaurant's chat.\",\n        OutputConfig = new OutputConfig { Format = new JsonOutputFormat { Schema = schema } },\n        Messages = [new UserMessageParam { Content = message }],\n    });\n    var json = result.Content.Select(b => b.Value).OfType<TextBlock>().First().Text;\n    return JsonDocument.Parse(json).RootElement.GetProperty(\"route\").GetString() ?? \"other\";\n}\n\nstring userMessage = \"The pierogi arrived cold and 40 minutes late.\";\nstring route = await Classify(userMessage); // step 1: deterministic routing decided by code\n\nvar answer = await client.Messages.Create(new MessageCreateParams\n{\n    Model = \"claude-opus-5-5\", // step 2: specialised handler\n    MaxTokens = 2048,\n    System = prompts[route],\n    Messages = [new UserMessageParam { Content = userMessage }],\n});\nConsole.WriteLine($\"[{route}] \" + string.Concat(answer.Content.Select(b => b.Value).OfType<TextBlock>().Select(t => t.Text)));"}]}]}]},"toc":[{"id":"problem-reklamacja-ktorej-nie-da-sie-zapisac-w-ifach","text":"Problem: reklamacja, której nie da się zapisać w ifach","level":2,"locked":false},{"id":"spektrum-wywolanie-workflow-agent","text":"Spektrum: wywołanie, workflow, agent","level":2,"locked":false},{"id":"piec-wzorcow-workflow","text":"Pięć wzorców workflow","level":2,"locked":false},{"id":"petla-agenta","text":"Pętla agenta","level":2,"locked":true},{"id":"kontekst-zasob-ktory-sie-konczy","text":"Kontekst: zasób, który się kończy","level":2,"locked":true},{"id":"ile-autonomii-tyle-zabezpieczen","text":"Ile autonomii, tyle zabezpieczeń","level":2,"locked":true},{"id":"skad-sie-wzieli-agenci","text":"Skąd się wzięli agenci","level":2,"locked":true},{"id":"kiedy-agent-a-kiedy-workflow","text":"Kiedy agent, a kiedy workflow","level":2,"locked":true},{"id":"lista-kontrolna-agenta-produkcyjnego","text":"Lista kontrolna agenta produkcyjnego","level":2,"locked":true},{"id":"sprawdz-sie","text":"Sprawdź się","level":2,"locked":true},{"id":"co-dalej","text":"Co dalej","level":2,"locked":true}],"locked":true,"paywall":null,"previewRatio":0.3,"totalBlocks":45,"visibleBlocks":14,"resources":[{"id":"6b0857b43c96f2d34d0b381a","type":"article","provider":"web","url":"https://www.anthropic.com/engineering/building-effective-agents","embedUrl":null,"title":"Building Effective AI Agents","description":"Practical guidance from Anthropic on building reliable AI agents, from simple composable patterns to fully autonomous systems.","author":"@AnthropicAI","thumbnailUrl":"https://assets.claude.com/62ee69f140ef8421d0390ef6f39e411d785b0be1.jpg","durationSec":null,"lang":"en","topics":["ai-agents"],"techs":["general"],"tags":["ai","hacker-news"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"hn","publishedAt":"2025-06-17T17:50:05.000Z","popularity":79,"verifiedAt":"2026-11-26T11:18:38.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:51.221Z","updatedAt":"2026-11-26T16:00:51.221Z"},{"id":"6b0857b23c96f2d34d0b3414","type":"repo","provider":"github","url":"https://github.com/humanlayer/12-factor-agents","embedUrl":null,"title":"humanlayer/12-factor-agents","description":"What are the principles we can use to build LLM-powered software that is actually good enough to put in the hands of production customers?","author":"humanlayer","thumbnailUrl":"https://opengraph.githubassets.com/1/humanlayer/12-factor-agents","durationSec":null,"lang":"en","topics":["prompt-engineering","rag","ai-in-node"],"techs":["typescript"],"tags":["12-factor","12-factor-agents","agents","ai","context-window","framework","llm","llms","memory","orchestration"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2025-03-30T22:10:39.000Z","popularity":86,"verifiedAt":"2026-11-26T11:00:17.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:49.541Z","updatedAt":"2026-11-26T16:00:49.541Z"},{"id":"6b0857a83c96f2d34d0b323d","type":"course","provider":"huggingface","url":"https://huggingface.co/learn/agents-course","embedUrl":null,"title":"AI Agents Course","description":"Free course on AI agents: how they reason and use tools, agent frameworks and building your own agents, with a certificate track.","author":"Hugging Face","thumbnailUrl":"https://cdn-thumbnails.huggingface.co/social-thumbnails/learn/agents-course/unit0/introduction.png","durationSec":null,"lang":"en","topics":["ai-agents","tool-use"],"techs":["python"],"tags":[],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"seed","publishedAt":null,"popularity":0,"verifiedAt":"2026-11-26T00:00:00.000Z","curated":true,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:40.231Z","updatedAt":"2026-11-26T16:00:40.231Z"},{"id":"6b0857b13c96f2d34d0b33ae","type":"repo","provider":"github","url":"https://github.com/microsoft/ai-agents-for-beginners","embedUrl":null,"title":"microsoft/ai-agents-for-beginners","description":"18 Lessons to Get Started Building AI Agents","author":"microsoft","thumbnailUrl":"https://opengraph.githubassets.com/1/microsoft/ai-agents-for-beginners","durationSec":null,"lang":"en","topics":["ai-in-dotnet","ai-agents","rag","ai-in-python"],"techs":["dotnet","python"],"tags":["agentic-ai","agentic-framework","agentic-rag","ai-agents","ai-agents-framework","autogen","ai","foundry","foundry-local","generative-ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2024-11-28T10:42:52.000Z","popularity":95,"verifiedAt":"2026-11-26T10:59:46.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:49.541Z","updatedAt":"2026-11-26T16:00:49.541Z"},{"id":"6b0857b43c96f2d34d0b3855","type":"article","provider":"web","url":"https://sketch.dev/blog/agent-loop","embedUrl":null,"title":"The unreasonable effectiveness of an LLM agent loop with tool use","description":"How a simple loop enables powerful AI assistants","author":"Philip Zeyliger","thumbnailUrl":"https://blog.exe.dev/sketch/media/sketch.dev.png","durationSec":null,"lang":"en","topics":["ai-agents","tool-use"],"techs":["general"],"tags":["llm","ai","hacker-news"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"hn","publishedAt":"2025-05-15T19:33:44.000Z","popularity":76,"verifiedAt":"2026-11-26T11:18:43.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:51.221Z","updatedAt":"2026-11-26T16:00:51.221Z"}],"challenges":[],"attachments":[],"hasCode":true,"repoUrl":null,"series":[{"slug":"ai-path","title":"AI dla programisty","items":[{"slug":"llm-fundamentals","title":"Podstawy LLM: tokeny, okno kontekstu i przewidywanie następnego słowa","current":false},{"slug":"prompt-engineering","title":"Prompt engineering: jak pisać instrukcje, które model naprawdę wykona","current":false},{"slug":"embeddings-vector-db","title":"Embeddingi i bazy wektorowe: wyszukiwanie po znaczeniu","current":false},{"slug":"rag","title":"RAG: odpowiedzi na podstawie własnych dokumentów","current":false},{"slug":"tool-use","title":"Tool use: jak model językowy wywołuje funkcje Twojej aplikacji","current":false},{"slug":"ai-agents","title":"Agenci AI: model w pętli z narzędziami – i kiedy wystarczy zwykły workflow","current":true},{"slug":"mcp","title":"MCP (Model Context Protocol): jeden standard łączenia AI z narzędziami i danymi","current":false},{"slug":"evals","title":"Ewaluacja aplikacji LLM (evals): testy dla systemów, które nie są deterministyczne","current":false},{"slug":"llm-ops","title":"LLMOps: bramka do modeli, cache, limity, obserwowalność i koszty w produkcji","current":false},{"slug":"ai-guardrails","title":"Guardrails i bezpieczeństwo aplikacji LLM: prompt injection, wycieki danych i uprawnienia narzędzi","current":false},{"slug":"local-llms","title":"Lokalne modele językowe: Ollama, llama.cpp, vLLM, kwantyzacja i realne kompromisy","current":false},{"slug":"fine-tuning","title":"Fine-tuning modeli językowych: kiedy się opłaca, LoRA i QLoRA w praktyce","current":false},{"slug":"ai-coding-assistants","title":"Asystenci programowania AI: od podpowiedzi w edytorze do agenta, który otwiera pull requesty","current":false}]}],"prev":{"slug":"tool-use","title":"Tool use: jak model językowy wywołuje funkcje Twojej aplikacji"},"next":{"slug":"mcp","title":"MCP (Model Context Protocol): jeden standard łączenia AI z narzędziami i danymi"},"featured":false,"authorCard":{"id":"6b08bd2e80884893657cc8cf","name":"Redakcja Art of Devs","avatar":null,"handle":"redakcja","headline":"Wzorce projektowe · Architektura · AI i LLM","community":false,"reputation":{"points":3900,"level":{"key":"mentor","label":"Mentor"}},"articles":68,"skills":[{"key":"typescript","title":"TypeScript","level":5,"levelLabel":"Autorytet","articles":63},{"key":"dotnet","title":".NET","level":5,"levelLabel":"Autorytet","articles":53},{"key":"python","title":"Python","level":5,"levelLabel":"Autorytet","articles":52},{"key":"java","title":"Java","level":5,"levelLabel":"Autorytet","articles":38}]}}