top of page
Codersarts Blog.
What’s new and exciting at Codersarts
Search


RAG Applications with Dify, Kotaemon, and Pathway
Writing a RAG prototype takes an afternoon. Turning it into an application that people can log into, ask questions, trust the answers, and keep up to date takes much longer. Open-source tools now cover a large share of that distance, and three of them take very different approaches. Dify is a platform for building LLM applications on a visual canvas. Kotaemon is a ready-made interface for chatting with documents that developers can also extend. Pathway is a streaming data fra
ganesh90
37 minutes ago15 min read


Which Reranker for RAG? Cohere, Jina, Voyage and BGE
Most RAG systems retrieve well enough to put the right passage somewhere in the top fifty results, and badly enough that it is not in the top five. A reranker closes that gap. It takes the candidates your search returned and reorders them by how well each one answers the question. The market now offers several strong choices. Cohere, Jina, and Voyage sell hosted models, and BGE provides open weights you can run yourself. They differ in architecture, context length, language c
ganesh90
6 hours ago17 min read


MemPalace: How a Memory Palace Gives AI Agents Long-Term Memory
Every new conversation with an AI assistant starts from zero. The decisions you made last week, the reasons behind them, and the preferences you explained twice are gone, unless someone built a way to carry them forward. MemPalace is an open-source project that takes a particular position on this problem. Instead of summarizing conversations into short facts, it keeps the original words, files them in a structure borrowed from the ancient memory palace technique, and searches
ganesh90
7 hours ago17 min read


AI Context Engineering: How to Decide What Your Model Sees Before It Answers
A language model can only work with what is in front of it. Two teams can use the same model and get very different results, and the difference is usually not the model. It is what each team put into the context window, in what order, and in what form. That discipline now has a name: context engineering. It covers the instructions, retrieved documents, tool descriptions, memory, conversation history, and examples that are assembled for every call. It matters most for agents,
ganesh90
1 day ago17 min read


Embodied AI: What You Need to Know Before Building AI-Powered Robots
A language model lives inside a screen. If it makes a mistake, someone reads a wrong answer. A robot lives in the physical world, where a mistake can mean a dropped part, a damaged shelf, or a person in the way. Embodied AI is the work of giving machines a body and the intelligence to use it: to see, decide, and act in places that are messy, changing, and unforgiving. Recent progress in vision models, language models, and robot learning has made the field far more approachabl
ganesh90
1 day ago17 min read


Query Rewriting and Decomposition in RAG: Turning Messy Questions Into Searches That Work
People do not write questions for search engines. They write them in a hurry, with missing context, loose wording, and several requests packed into one sentence. A RAG system that sends that raw text straight to the index often gets weak results, and the model then answers from whatever came back. Two techniques fix this at the front of the pipeline. Query rewriting turns a messy question into a clear search query. Query decomposition splits a complex question into smaller on
ganesh90
1 day ago17 min read


Self-RAG vs Corrective RAG vs Agentic RAG: Which Approach Fits Your Project?
Basic RAG follows a fixed path. It retrieves passages, hands them to a language model, and trusts the result. That path works for many questions, and it fails in predictable ways: it retrieves when it does not need to, it accepts weak evidence, and it rarely checks whether the final answer follows from what was found. Three designs try to fix these weaknesses from different directions. Self-RAG builds retrieval decisions and self-critique into the model. Corrective RAG adds a
ganesh90
Nov 517 min read


Building Reliable LLM Applications: Lessons from Ishwar (JPMorgan Chase, ex-Meta)
Notes from my conversation with Ishwar, Engineering Lead at JPMorgan Chase, on reliability, cost, security and the future of AI-assisted engineering. Getting an AI feature to work in a demo takes an afternoon. Getting customers, engineers and stakeholders to trust it in production is a different engineering problem. Most teams find this out the hard way. The prototype impresses everyone, then the real problems show up: token bills that grow every month, answers nobody can ver

Codersarts
Nov 48 min read


Context Rot: Why a Bigger Context Window Does Not Replace RAG
Context windows keep growing. Models now accept inputs that once seemed impossible, and it is tempting to conclude that retrieval is obsolete. Why build an index when you can paste everything into the prompt? The answer is that capacity is not the same as capability. A model can accept a very long input and still use it unevenly. As the input grows, answers can become less reliable, details in the middle can be missed, and irrelevant text can pull the model off course. This p
ganesh90
Nov 414 min read


Self-RAG: How a Model Learns to Decide When to Retrieve and Critique Its Own Answers
Standard RAG retrieves for every question, whether or not it needs to. It passes the same number of passages to the model, whether they help or not, and it rarely checks whether the final answer actually follows from them. Self-RAG proposes a different design. A single language model learns to decide when retrieval is needed, to judge whether each retrieved passage is relevant, and to critique whether its own output is supported by the evidence. It does this by producing spec
ganesh90
Nov 415 min read


HyDE for RAG: How Hypothetical Documents Improve Retrieval for Vague Questions
A user asks a short, vague question. Your RAG system turns it into a vector and searches for similar passages. The best passage is in the index, and the search misses it, because a question and its answer rarely look alike. HyDE, short for Hypothetical Document Embeddings, attacks this gap. Instead of embedding the question, a language model first writes a short hypothetical answer. That draft may contain mistakes, and it does not matter. The system embeds the draft and uses
ganesh90
Nov 416 min read


Corrective RAG: How to Grade Retrieved Results and Fix Them Before the Model Answers
Standard RAG has a quiet weakness. It retrieves passages, passes them to the language model, and trusts that they are relevant. When retrieval returns weak or wrong passages, the model often builds a confident answer on top of them. Corrective RAG, often shortened to CRAG, adds a checkpoint. After retrieval, a lightweight evaluator grades the results. Good results are cleaned and used. Poor results are discarded, and the system looks elsewhere. Uncertain results are combined
ganesh90
Nov 415 min read


LightRAG Explained: How Graph-Based RAG Works and When It Fits Your Project
Standard RAG finds text chunks that look similar to a question and hands them to a language model. It works well for questions answered by a single passage. It struggles when the answer depends on connections spread across many documents. LightRAG is a retrieval approach that adds a lightweight knowledge graph to the retrieval step. Instead of searching only chunks, it searches entities, relationships, and themes extracted from your documents, and it can add new content witho
ganesh90
Nov 311 min read


Cache-Augmented Generation: When Preloading Documents Replaces Retrieval
Retrieval-augmented generation became the default way to give language models private knowledge. A retriever finds relevant passages at question time, and the model answers from them. It works, and it adds moving parts: an index, a retriever, ranking, and the chance of fetching the wrong passages. Cache-augmented generation, or CAG, takes a different route for the right cases. Instead of retrieving at question time, you load the whole knowledge set into a long-context model a
ganesh90
Nov 311 min read


Homeo AI for Homeopathy Practitioners: Faster Case Analysis With Full Clinical Control
Every homoeopath knows how much goes into a single case. Long consultations, careful symptom selection, and repertory work all come before a remedy is chosen. Homeo AI is a clinical copilot that brings AI into this process while leaving every decision with the doctor. This blog explains what Homeo AI is, how its main capabilities work, and how doctors can try it. Everything here is based on the information Homeo AI shares about its platform. What Is Homeo AI? Homeo AI is an A
ganesh90
Nov 35 min read


App Works Locally but Not in Production? Fixes | Codersarts
You built something real. Maybe it took a weekend with Lovable, a few evenings with Cursor or an afternoon of prompting Claude Code. In the preview window everything works: the login, the dashboard, the button that calls an AI model and writes the perfect paragraph. Then you deploy it, and nothing works. The page loads but the data does not. Login spins forever. The AI feature returns an error you have never seen. Or, more confusingly, it works for a day and then quietly br

Codersarts
Oct 288 min read


My App Developer Left: What to Do Next (A Founder's Recovery Checklist)
It usually starts quietly. A message goes unanswered for a few days. A small bug fix that used to take an afternoon now takes two weeks. Then the email arrives, or worse, it never does: your developer has taken a full-time job, moved on to another client, or simply stopped replying. If you are a founder or business owner, this moment can feel like losing the keys to your own building. The app still runs, customers still use it, but the one person who knew how it all fits to

Codersarts
Oct 289 min read


MCP Context Bloat: Where Tool Definitions Eat Your Token Budget and How to Cut It
Connecting an agent to more tools sounds like pure progress. Each new MCP server adds capability, and each one also adds text that the model must read before it can do anything useful. Tool names, descriptions, and input schemas all take up space in the context window. Large tool results take up more. Left unmanaged, this context bloat raises cost, slows responses, and can make the agent worse at choosing the right tool. This blog explains where the tokens go, how to measure
ganesh90
Oct 2311 min read


Skills and MCP: Understanding the Difference and How They Work Together
Teams building AI agents keep running into two ideas that sound similar and do different jobs: skills and MCP. Both extend what an agent can do. Mixing them up leads to bloated prompts, missing connections, and systems that are harder to maintain than they need to be. In short, MCP gives an agent access to tools and data. Skills give an agent know-how: instructions, procedures, and resources for doing a kind of task well. One answers the question of what the agent can reach.
ganesh90
Oct 2311 min read


WebMCP Explained: How Websites Become Tools for Browser-Based AI Agents
AI agents are learning to use websites the way people do. They read the page, find a button, click it, and hope the layout has not changed since the last visit. It works, and it is fragile and slow. WebMCP proposes a different approach. Instead of guessing how a page works, an agent asks the page what it can do. The website publishes a list of tools with clear names, descriptions, and inputs, and the agent calls them directly. This blog explains what WebMCP is, how it works,
ganesh90
Oct 2311 min read
bottom of page