{"id":"6b08c24b38c84264c202745a","slug":"ai-in-go","title":"AI w Go: oficjalne SDK, LangChainGo i MCP w szybkich usługach","summary":"Mapa ekosystemu AI w Go – oficjalne SDK Anthropic, LangChainGo, MCP Go SDK, pgvector i Ollama – oraz strumieniowanie SSE z anulowaniem przez context, ustrukturyzowane odpowiedzi, tool runner, równoległe wywołania z errgroup i testy z httptest.","servedLang":"pl","availableLangs":["pl","en"],"topics":["ai-in-go","tool-use","mcp","rag"],"techs":["go"],"tags":["go","golang","anthropic-sdk","langchaingo","mcp","errgroup","pgvector","ollama","streaming","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":1,"likes":0,"bookmarks":0,"comments":0},"publishedAt":"2026-11-26T23:35:39.851Z","updatedAt":"2026-11-27T10:04:39.121Z","requestedLang":"pl","theme":{"hero":"classic","heroMedia":null,"accent":"rose","background":"dots","weaveResources":true,"toc":"right"},"seoDescription":"AI w Go: anthropic-sdk-go v2 (streaming, structured outputs, tool runner), errgroup i context, LangChainGo z pgvector i Ollama, serwer MCP w Go SDK oraz testy z httptest.","wordCount":3078,"doc":{"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"Go rzadko jest pierwszym językiem, w którym ktoś prototypuje model językowy – ale bardzo często tym, w którym działa usługa obsługująca ruch produkcyjny. Bramki do modeli, proxy z limitami, serwery MCP, workery przetwarzające tysiące dokumentów: to zadania, w których liczą się współbieżność, przewidywalne zużycie pamięci i jeden statyczny plik binarny. Ten przewodnik pokazuje, jak z ekosystemu Go zbudować taką usługę – od pierwszego wywołania po testy."}]},{"type":"stats","attrs":{"items":[{"value":"1","label":"context.Context","hint":"anuluje wywołanie modelu, gdy klient się rozłączy albo minie termin"},{"value":"8","label":"równoległych wywołań","hint":"errgroup z limitem zamiast setek goroutin naraz"},{"value":"0","label":"zależności w runtime","hint":"jeden statyczny plik binarny z usługą i serwerem MCP"}]}},{"type":"callout","attrs":{"variant":"info","title":"W skrócie"},"content":[{"type":"bulletList","content":[{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"Oficjalne SDK","marks":[{"type":"bold"}]},{"type":"text","text":" ("},{"type":"text","text":"github.com/anthropics/anthropic-sdk-go/v2","marks":[{"type":"code"}]},{"type":"text","text":") pokrywa całe API: strumieniowanie, structured outputs, tool runner w wersji beta, cache promptów i batch. W Go najczęściej wystarcza ono samo."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"context.Context","marks":[{"type":"code"}]},{"type":"text","text":" i ","marks":[{"type":"bold"}]},{"type":"text","text":"errgroup","marks":[{"type":"code"}]},{"type":"text","text":" to Twoje najważniejsze narzędzia: anulowanie przy rozłączeniu klienta, terminy dla całych partii i kontrolowana współbieżność pod limity API."}]}]},{"type":"listItem","content":[{"type":"paragraph","content":[{"type":"text","text":"LangChainGo","marks":[{"type":"bold"}]},{"type":"text","text":" przydaje się do gotowych integracji (bazy wektorowe, łańcuchy RAG), a "},{"type":"text","text":"MCP Go SDK","marks":[{"type":"bold"}]},{"type":"text","text":" pozwala wystawić narzędzia innym aplikacjom AI."}]}]}]}]},{"type":"heading","attrs":{"level":2,"id":"problem-goroutina-na-kazde-zgloszenie"},"content":[{"type":"text","text":"Problem: goroutina na każde zgłoszenie"}]},{"type":"paragraph","content":[{"type":"text","text":"Pierogarnia Haliny ma w Go usługę przetwarzającą opinie klientów. Ktoś dodał klasyfikację opinii przez model: dla każdej nowej opinii "},{"type":"text","text":"go classify(review)","marks":[{"type":"code"}]},{"type":"text","text":". Działało, dopóki w piątek wieczorem nie przyszła paczka 5000 opinii z importu. Pięć tysięcy goroutin wysłało jednocześnie żądania do API, większość dostała błąd 429 (limit zapytań), ponowienia zrobiły z tego lawinę, a ponieważ nikt nie przekazywał "},{"type":"text","text":"context","marks":[{"type":"code"}]},{"type":"text","text":", zamknięcie usługi przy wdrożeniu nie przerywało trwających wywołań – po prostu ginęły w połowie."}]},{"type":"paragraph","content":[{"type":"text","text":"Osobny endpoint czatu wysyłał odpowiedź dopiero po całym wygenerowaniu i nie reagował na zamknięcie karty przez klienta – płaciliśmy za tokeny, których nikt nie czytał."}]},{"type":"paragraph","content":[{"type":"text","text":"Go ma na oba problemy idiomatyczne odpowiedzi. Trzeba ich tylko użyć."}]},{"type":"heading","attrs":{"level":2,"id":"mapa-ekosystemu"},"content":[{"type":"text","text":"Mapa ekosystemu"}]},{"type":"table","content":[{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Warstwa"}]}]},{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Pakiety"}]}]},{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Do czego"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"SDK dostawców"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"github.com/anthropics/anthropic-sdk-go/v2","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"github.com/openai/openai-go","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"pełne API: streaming, structured outputs, tool runner, cache, batch, pliki"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Framework"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"github.com/tmc/langchaingo","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"wspólny interfejs modeli, embeddingi, magazyny wektorów, łańcuchy RAG, agenci"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Protokół"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"github.com/modelcontextprotocol/go-sdk","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"serwery i klienci "},{"type":"text","text":"MCP","marks":[{"type":"link","attrs":{"href":"/pl/topics/mcp"}}]}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Bazy wektorowe"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"github.com/pgvector/pgvector-go","marks":[{"type":"code"}]},{"type":"text","text":", klient Qdrant, moduły LangChainGo"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"wyszukiwanie semantyczne – patrz "},{"type":"text","text":"embeddingi i bazy wektorowe","marks":[{"type":"link","attrs":{"href":"/pl/topics/embeddings-vector-db"}}]}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Modele lokalne"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Ollama (klient w LangChainGo lub oficjalne API), serwery zgodne z OpenAI"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"modele i embeddingi na własnym sprzęcie – patrz "},{"type":"text","text":"lokalne modele","marks":[{"type":"link","attrs":{"href":"/pl/topics/local-llms"}}]}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Współbieżność"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"golang.org/x/sync/errgroup","marks":[{"type":"code"}]},{"type":"text","text":", "},{"type":"text","text":"context","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"równoległe wywołania z limitem, anulowanie, terminy"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"Obserwowalność i testy"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"log/slog","marks":[{"type":"code"}]},{"type":"text","text":", OpenTelemetry, "},{"type":"text","text":"net/http/httptest","marks":[{"type":"code"}]}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1},"content":[{"type":"paragraph","content":[{"type":"text","text":"logowanie zużycia, tracing, atrapa API w testach"}]}]}]}]},{"type":"packageCard","attrs":{"eco":"go","name":"github.com/anthropics/anthropic-sdk-go/v2"}},{"type":"packageCard","attrs":{"eco":"go","name":"github.com/tmc/langchaingo"}},{"type":"diagram","attrs":{"kind":"mermaid","code":"flowchart TB\n  A[\"Nowa funkcja AI w usłudze Go\"] --> B([\"Wywołania modelu,<br/>narzędzia, streaming?\"])\n  B -->|\"tak\"| C[\"anthropic-sdk-go<br/>+ context + errgroup\"]\n  B -->|\"nie tylko\"| D([\"Gotowy RAG z magazynem wektorów<br/>i wieloma dostawcami?\"])\n  D -->|\"tak\"| E[\"LangChainGo<br/>(pgvector, Qdrant, Ollama)\"]\n  D -->|\"nie\"| F([\"Narzędzia mają być dostępne<br/>dla innych aplikacji AI?\"])\n  F -->|\"tak\"| G[\"MCP Go SDK<br/>(serwer stdio lub HTTP)\"]\n  F -->|\"nie\"| C","caption":"SDK czy framework w Go? Najczęściej wystarcza SDK i biblioteka standardowa"}},{"type":"heading","attrs":{"level":2,"id":"oficjalne-sdk-strumien-sse-i-ustrukturyzowana-odpowiedz"},"content":[{"type":"text","text":"Oficjalne SDK: strumień SSE i ustrukturyzowana odpowiedź"}]},{"type":"paragraph","content":[{"type":"text","text":"SDK Go jest generowane z tej samej specyfikacji co pozostałe, więc nazwy pól odpowiadają API, a unie (bloki treści, zdarzenia strumienia) rozpakowujesz przez "},{"type":"text","text":"AsAny()","marks":[{"type":"code"}]},{"type":"text","text":" i przełącznik typów. Dwa przykłady: handler HTTP strumieniujący odpowiedź do przeglądarki i ekstrakcja zamówienia z wymuszonym schematem JSON."}]},{"type":"codeGroup","attrs":{"title":"Handler SSE i ekstrakcja zamówienia"},"content":[{"type":"codeBlock","attrs":{"language":"go","filename":"chat_handler.go"},"content":[{"type":"text","text":"package support\n\nimport (\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"log/slog\"\n\t\"net/http\"\n\n\t\"github.com/anthropics/anthropic-sdk-go/v2\"\n)\n\n// ChatHandler streams the model's answer to the browser as server-sent events.\nfunc ChatHandler(client anthropic.Client) http.HandlerFunc {\n\treturn func(w http.ResponseWriter, r *http.Request) {\n\t\tflusher, ok := w.(http.Flusher)\n\t\tif !ok {\n\t\t\thttp.Error(w, \"streaming unsupported\", http.StatusInternalServerError)\n\t\t\treturn\n\t\t}\n\t\tw.Header().Set(\"Content-Type\", \"text/event-stream\")\n\n\t\t// r.Context() is cancelled when the client disconnects - the API stream stops too.\n\t\tstream := client.Messages.NewStreaming(r.Context(), anthropic.MessageNewParams{\n\t\t\tModel:     \"claude-opus-5-5\",\n\t\t\tMaxTokens: 64000,\n\t\t\tSystem:    []anthropic.TextBlockParam{{Text: \"You are the support assistant of Halina's Pierogi.\"}},\n\t\t\tMessages: []anthropic.MessageParam{\n\t\t\t\tanthropic.NewUserMessage(anthropic.NewTextBlock(r.FormValue(\"q\"))),\n\t\t\t},\n\t\t})\n\t\tdefer stream.Close()\n\n\t\tmessage := anthropic.Message{}\n\t\tfor stream.Next() {\n\t\t\tevent := stream.Current()\n\t\t\t_ = message.Accumulate(event) // keep the full message for usage logging\n\t\t\tif delta, ok := event.AsAny().(anthropic.ContentBlockDeltaEvent); ok {\n\t\t\t\tif text, ok := delta.Delta.AsAny().(anthropic.TextDelta); ok {\n\t\t\t\t\tpayload, _ := json.Marshal(map[string]string{\"text\": text.Text})\n\t\t\t\t\tfmt.Fprintf(w, \"data: %s\\n\\n\", payload)\n\t\t\t\t\tflusher.Flush()\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif err := stream.Err(); err != nil {\n\t\t\tslog.Error(\"stream failed\", \"err\", err)\n\t\t\treturn\n\t\t}\n\t\tslog.Info(\"chat done\", \"stop\", message.StopReason,\n\t\t\t\"in\", message.Usage.InputTokens, \"out\", message.Usage.OutputTokens)\n\t}\n}"}]},{"type":"codeBlock","attrs":{"language":"go","filename":"extract_order.go"},"content":[{"type":"text","text":"package support\n\nimport (\n\t\"context\"\n\t\"encoding/json\"\n\t\"fmt\"\n\n\t\"github.com/anthropics/anthropic-sdk-go/v2\"\n)\n\ntype OrderDraft struct {\n\tLines []struct {\n\t\tDish     string `json:\"dish\"`\n\t\tQuantity int    `json:\"quantity\"`\n\t} `json:\"lines\"`\n\tPickupTime *string `json:\"pickup_time\"` // nil when the customer gave no time\n}\n\nvar orderSchema = map[string]any{\n\t\"type\": \"object\",\n\t\"properties\": map[string]any{\n\t\t\"lines\": map[string]any{\"type\": \"array\", \"items\": map[string]any{\n\t\t\t\"type\": \"object\",\n\t\t\t\"properties\": map[string]any{\n\t\t\t\t\"dish\":     map[string]any{\"type\": \"string\", \"enum\": []string{\"ruskie\", \"cabbage\", \"meat\", \"spinach\"}},\n\t\t\t\t\"quantity\": map[string]any{\"type\": \"integer\"},\n\t\t\t},\n\t\t\t\"required\":             []string{\"dish\", \"quantity\"},\n\t\t\t\"additionalProperties\": false,\n\t\t}},\n\t\t\"pickup_time\": map[string]any{\n\t\t\t\"anyOf\":       []any{map[string]any{\"type\": \"string\"}, map[string]any{\"type\": \"null\"}},\n\t\t\t\"description\": \"HH:MM, or null when not given\",\n\t\t},\n\t},\n\t\"required\":             []string{\"lines\", \"pickup_time\"},\n\t\"additionalProperties\": false,\n}\n\nfunc ExtractOrder(ctx context.Context, client anthropic.Client, text string) (*OrderDraft, error) {\n\tresp, err := client.Messages.New(ctx, anthropic.MessageNewParams{\n\t\tModel:     \"claude-opus-5-5\",\n\t\tMaxTokens: 16000,\n\t\tSystem:    []anthropic.TextBlockParam{{Text: \"Turn the message into an order draft. Do not invent dishes.\"}},\n\t\tMessages:  []anthropic.MessageParam{anthropic.NewUserMessage(anthropic.NewTextBlock(text))},\n\t\tOutputConfig: anthropic.OutputConfigParam{\n\t\t\tEffort: anthropic.OutputConfigEffortLow,\n\t\t\tFormat: anthropic.JSONOutputFormatParam{Schema: orderSchema}, // structured output\n\t\t},\n\t})\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tif resp.StopReason != anthropic.StopReasonEndTurn {\n\t\treturn nil, fmt.Errorf(\"unexpected stop reason %q\", resp.StopReason)\n\t}\n\tvar draft OrderDraft\n\tfor _, block := range resp.Content {\n\t\tif t, ok := block.AsAny().(anthropic.TextBlock); ok {\n\t\t\tif err := json.Unmarshal([]byte(t.Text), &draft); err != nil {\n\t\t\t\treturn nil, err\n\t\t\t}\n\t\t}\n\t}\n\treturn &draft, nil\n}"}]}]}]},"toc":[{"id":"problem-goroutina-na-kazde-zgloszenie","text":"Problem: goroutina na każde zgłoszenie","level":2,"locked":false},{"id":"mapa-ekosystemu","text":"Mapa ekosystemu","level":2,"locked":false},{"id":"oficjalne-sdk-strumien-sse-i-ustrukturyzowana-odpowiedz","text":"Oficjalne SDK: strumień SSE i ustrukturyzowana odpowiedź","level":2,"locked":false},{"id":"narzedzia-i-mcp","text":"Narzędzia i MCP","level":2,"locked":true},{"id":"wspolbieznosc-errgroup-limit-i-jeden-termin","text":"Współbieżność: errgroup, limit i jeden termin","level":2,"locked":true},{"id":"rag-z-langchaingo-pgvector-i-ollama","text":"RAG z LangChainGo, pgvector i Ollama","level":2,"locked":true},{"id":"testy-atrapa-api-w-httptest","text":"Testy: atrapa API w httptest","level":2,"locked":true},{"id":"sdk-czy-framework","text":"SDK czy framework?","level":2,"locked":true},{"id":"lista-kontrolna","text":"Lista kontrolna","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":55,"visibleBlocks":15,"resources":[{"id":"6b0857aa3c96f2d34d0b3263","type":"package","provider":"go","url":"https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go/v2","embedUrl":null,"title":"github.com/anthropics/anthropic-sdk-go/v2","description":"The official Go library for the Anthropic API (v2 module path).","author":"","thumbnailUrl":null,"durationSec":null,"lang":"en","topics":["ai-in-go"],"techs":["go"],"tags":["ai","claude","official-sdk"],"price":"free","featured":false,"featuredOrder":18,"packageName":"github.com/anthropics/anthropic-sdk-go/v2","source":"seed","publishedAt":null,"popularity":0,"verifiedAt":"2026-11-26T00:00:00.000Z","curated":true,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:42.695Z","updatedAt":"2026-11-26T16:00:42.695Z"},{"id":"6b0857a93c96f2d34d0b3250","type":"repo","provider":"github","url":"https://github.com/tmc/langchaingo","embedUrl":null,"title":"tmc/langchaingo","description":"LangChain for Go, the easiest way to write LLM-based programs in Go","author":"tmc","thumbnailUrl":"https://opengraph.githubassets.com/1/tmc/langchaingo","durationSec":null,"lang":"en","topics":["ai-in-go"],"techs":["go"],"tags":[],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"seed","publishedAt":null,"popularity":80,"verifiedAt":"2026-11-26T00:00:00.000Z","curated":true,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:41.800Z","updatedAt":"2026-11-26T16:00:41.800Z"},{"id":"6b0857b23c96f2d34d0b351b","type":"repo","provider":"github","url":"https://github.com/modelcontextprotocol/go-sdk","embedUrl":null,"title":"modelcontextprotocol/go-sdk","description":"The official Go SDK for Model Context Protocol servers and clients. Maintained in collaboration with Google.","author":"modelcontextprotocol","thumbnailUrl":"https://opengraph.githubassets.com/1/modelcontextprotocol/go-sdk","durationSec":null,"lang":"en","topics":["mcp","ai-in-go"],"techs":["go"],"tags":["go","mcp","ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"github","publishedAt":"2025-04-23T10:07:33.000Z","popularity":72,"verifiedAt":"2026-11-26T10:55:56.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:00:50.215Z","updatedAt":"2026-11-26T16:00:50.215Z"},{"id":"6b0857ca3c96f2d34d0b4b61","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=3mvD_Ud7HLY","embedUrl":"https://www.youtube-nocookie.com/embed/3mvD_Ud7HLY","title":"GopherCon 2025: LLM Agents in Production: Why Go is the Missing Piece - Kartik Ramesh","description":"You might have heard of this thing called AI agents that have been transforming our industry lately. While there exists a plethora of ways to prototype agents, operating these in production brings a new set of challenges. This talk demonstrates why Go is uniquely suited for building scalable…","author":"Gopher Academy","thumbnailUrl":"https://i.ytimg.com/vi/3mvD_Ud7HLY/hqdefault.jpg","durationSec":null,"lang":"en","topics":["ai-agents","ai-in-go"],"techs":["go"],"tags":["system-design","cloud","llm","ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2025-12-26T06:39:32.000Z","popularity":50,"verifiedAt":"2026-11-26T10:57:06.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:12.872Z","updatedAt":"2026-11-26T16:01:12.872Z"},{"id":"6b0857ca3c96f2d34d0b4ba9","type":"video","provider":"youtube","url":"https://www.youtube.com/watch?v=QaODgpJO8bg","embedUrl":"https://www.youtube-nocookie.com/embed/QaODgpJO8bg","title":"GopherCon 2025: Scaling LLMs with Go: Prod Patterns for Handling Millions of AI Requests - John Wang","description":"At Assembled, we serve tens of millions of LLM requests, powering customer support AI for companies like Canva, Etsy, and Patreon. While most teams build LLM infrastructure in Python, we found Go's type system, concurrency features, and interfaces solve many production challenges more elegantly…","author":"Gopher Academy","thumbnailUrl":"https://i.ytimg.com/vi/QaODgpJO8bg/hqdefault.jpg","durationSec":null,"lang":"en","topics":["rag","ai-in-python","ai-in-go"],"techs":["go","python"],"tags":["llm","ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"youtube-rss","publishedAt":"2025-12-26T06:32:27.000Z","popularity":48,"verifiedAt":"2026-11-26T10:57:06.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:12.872Z","updatedAt":"2026-11-26T16:01:12.872Z"},{"id":"6b0857c23c96f2d34d0b451b","type":"article","provider":"web","url":"https://threedots.tech/post/ai-agent-that-lies","embedUrl":null,"title":"Shipping an AI Agent that Lies to Production: Lessons Learned","description":"The peak of hype isn’t the best moment to reflect on AI. Will it take your job, or is it the next fad like NFTs? Are AI startups ridiculously overvalued, or are the companies that sleep on AI doomed? Time will tell. LLMs are far from perfect, but I’m excited they’re here anyway. Not because of a…","author":"Three Dots Labs","thumbnailUrl":"https://threedots.tech/images/covers/ai-agent-that-lies-social.png","durationSec":null,"lang":"en","topics":["ai-agents","ai-in-go"],"techs":["go"],"tags":["llm","ai"],"price":"free","featured":false,"featuredOrder":0,"packageName":null,"source":"manual","publishedAt":"2025-08-06T22:00:00.000Z","popularity":50,"verifiedAt":"2026-11-26T11:28:46.000Z","curated":false,"addedBy":"6b0857a15a2625e44ecaabe6","createdAt":"2026-11-26T16:01:04.995Z","updatedAt":"2026-11-26T16:01:04.995Z"}],"challenges":[],"attachments":[],"hasCode":true,"repoUrl":null,"series":[],"prev":null,"next":null,"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}]}}