Agentic RAG using GoLang

Agentic RAG takes Retrieval-Augmented Generation one step further. In traditional RAG, retrieval is a fixed step — fetching context from a knowledge base before generating a response. In Agentic RAG, however, the data source itself becomes a tool in the agent’s toolkit. The agent autonomously decides when and how to query it based on the conversation history, user intent, and reasoning chain, alongside other tools like summarizers or planners. This transforms RAG from a static retrieval process into a dynamic, decision-driven system. ...

Streaming Map-Filter-Reduce in Go

Classic map-reduce-filter pattern process data step-by-step. For example, a map-filter-collect on an array of numbers would first transform each number, then filter out the one’s that meet a condition, and finally collect the results. However, in real-time applications, we often need data to be processed as it becomes available. Imagine an LLM agent that summarizes paragraphs from search one by one. Instead of waiting for all sections to finish, it can start streaming summaries to the frontend immediately, giving users faster, progressive feedback. ...