I thought that context building via tooling was shown to be more effective than rag in practically every way?

Question being: WHY would I be doing RAG locally?

For code, maybe? For documents, no, text embeddings are magical alien technology.