# Is a context engine just RAG over Slack and GitHub?


URL: https://getunblocked.com/answers/is-a-context-engine-just-rag-over-slack-and-github/
Published: 2026-11-16T15:30:00Z
Updated: 2026-11-15T20:29:50Z
Author: Brandon Waselnuk
Categories: Context Engine, Engineering Insights

**Short answer:** No, though the first step is the same. A context engine indexes Slack and GitHub and retrieves from them like RAG does. Then it does the work RAG leaves to the model: it settles which source is current, weighs recency, filters by who is asking and returns one cited answer. Unblocked does this and delivers the answer to agents over MCP.

---
No, but the first step is the same, and it is fair to ask. **Retrieval-augmented generation (RAG)** is a pattern where a system finds the passages that best match a question and pastes them into the model's prompt. A context engine does that with Slack and GitHub too. The difference is what happens next. **A context engine** is a service that retrieves from code, pull requests, issues, docs and chat, then settles which source is current, filters the result by who is asking, and returns one cited answer. Unblocked is one. It searches Slack threads and GitHub history together and treats the merged code as the strongest evidence of how the system works today. It then hands Claude Code, Cursor or GitHub Copilot a single answer with its sources over MCP. Plain RAG stops after retrieval and leaves the rest to the model.

|  | Plain RAG over Slack and GitHub | Context engine |
| --- | --- | --- |
| Finds matching passages | Yes | Yes, as its first step. |
| Code and chat disagree | Model picks whichever chunk ranked higher | Settled before the answer; real conflicts flagged. |
| Old vs new | Similarity only, unless you build a re-ranker | Weighed per source: code as current, chat by age. |
| Who can see what | Whatever the indexing token could read | Filtered for the person asking (in Unblocked, with Data Shield on). |
| What the agent gets | A pile of chunks | One cited answer over MCP. |


## What a context engine shares with RAG

Both pull text out of your tools, such as channel history and PR comments, and make it searchable. Both look up the best matches for a question and put them in front of a model. If that were all a context engine did, the skeptic would be right, and you could build one with a vector database and a weekend.

The overlap is real, and our own posts say so. Most context engines use retrieval as one internal step ([context engine vs RAG](https://getunblocked.com/blog/context-engine-vs-rag/)). The question is what sits on top of that step, and whether your Slack and GitHub data needs it.

## What RAG over Slack and GitHub gets wrong

Slack and GitHub are hard sources for plain retrieval, for three reasons.

First, the context lives in threads. Slack's API returns channel messages from one method and thread replies from another; the docs say "to retrieve a message from a thread, check out `conversations.replies`" ([Slack API docs](https://docs.slack.dev/reference/methods/conversations.history/)). A pipeline that chunks channel history alone gets the question and misses the answer posted under it.

Second, the sources disagree, and similarity scores cannot tell you which one is right. For example, a Slack thread from March says the team will move the payment retries to a queue. A PR in May tried it and was reverted. The code today still retries inline. Ask a RAG bot how retries work and all three pieces may match the question equally well. The model has to pick one, and nothing in the chunks says the plan never shipped.

Third, age matters differently in each place. A two-year-old function that still runs is current. A two-year-old Slack message about the same function is probably out of date. This is measurable. A September 2026 study built 317 cases where the right answer had changed over time, some of them in software. Its methodology grounded each case in dated official sources. It found that "outdated retrieval flips 30% of Llama and 37% of Qwen answers" that were right without retrieval ([arXiv 2609.31342](https://arxiv.org/abs/2609.31342)). A recency-aware re-ranker helped, but only "when dates are accurate" in the metadata.

Unblocked's engine is built around this. It treats code as "the strongest ground truth for how the system behaves right now" and notes that "recency matters, especially for stream-of-consciousness sources like Slack" ([inside the Unblocked context engine](https://getunblocked.com/blog/inside-the-unblocked-context-engine/)). When signals really conflict, "the engine says so rather than picking a side and hiding the disagreement" (same post). In the retry case, the answer says inline retries, links the reverted PR, and marks the Slack plan as not done.

## Whose access the index runs as

A homegrown RAG index is usually built with one token, so it can read everything that token can read. That is rarely what each engineer is allowed to see. GitHub lets an org "give organization members, outside collaborators, and teams of people different levels of access," with roles from Read to Admin set per person and team ([GitHub docs](https://docs.github.com/en/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization)). Slack has private channels. Once both land in one shared vector store, a contractor's question can pull a passage from a private repo or channel because it matched.

**Data Shield** is Unblocked's permission setting, which "restricts data access in Unblocked according to the permissions established in your connected third-party systems" ([Unblocked Data Shield docs](https://docs.getunblocked.com/team-settings/data-shield)). It covers GitHub code, issues and PRs, and Slack public and private channels. Note the default: Data Shield is off for each new source until an admin turns it on, except Slack, where it is always on. With Data Shield on, answers respect each source's permissions for the person asking.

## How the answer reaches the agent

RAG usually ends inside one chatbot. A context engine for engineering has to answer where the work happens, which today is mostly inside coding agents. Claude Code, for one, connects to "hundreds of external tools and data sources through the Model Context Protocol" ([Claude Code MCP docs](https://code.claude.com/docs/en/mcp)). MCP tools are "model-controlled, meaning that the language model can discover and invoke tools automatically" ([MCP specification](https://modelcontextprotocol.io/specification/2026-07-28/server/tools)), so the agent can ask for context on its own before it edits a file.

What it gets back matters. Unblocked's `context_research` tool runs "multi-source research across code, PRs, docs, issues, and messaging" and "returns a synthesized answer with citations" ([Unblocked MCP docs](https://docs.getunblocked.com/unblocked-mcp/mcp-overview)). The agent reads one short answer with links instead of twenty chunks it has to sort through itself. People get the same answer in Slack and on the web. If you are weighing this against wiring each source's MCP server to the agent directly, our answer on [a context engine vs direct GitHub, Confluence and Slack MCPs](https://getunblocked.com/answers/context-engine-vs-direct-mcps-github-confluence-slack/) covers that choice.

## When plain RAG is enough

RAG is the right tool when one source is clearly the truth and nobody's access differs. A bot over your public API docs is a good example. So is search across one repo that the whole team can read.

It stops being enough when the answer depends on more than one place: the code, the PR that changed it, and the thread that explains why. That is most engineering questions once a team has a few years of history. The longer write-ups, [context engine vs RAG](https://getunblocked.com/blog/context-engine-vs-rag/) and [context engineering vs RAG](https://getunblocked.com/blog/context-engineering-vs-rag/), go through the failure modes and a decision table. If you already built a vector index and are deciding what to do with it, see our answer on [keeping or replacing a homegrown knowledge base](https://getunblocked.com/answers/homegrown-vector-graph-knowledge-base-keep-or-buy/).

## Read more

- [Context Engine vs RAG: Why Retrieval Alone Isn't Enough](https://getunblocked.com/blog/context-engine-vs-rag/)
- [Context Engineering vs RAG: When to Use Which Approach](https://getunblocked.com/blog/context-engineering-vs-rag/)

## Related answers

- [What enterprise search works for a 50 to 300 person engineering team when Glean feels like too much?](https://getunblocked.com/answers/enterprise-search-mid-size-engineering-team/)
- [How do we cut ramp-up time for engineers joining a large existing codebase?](https://getunblocked.com/answers/cut-ramp-up-time-large-codebase/)
- [How do I give Claude Code docs for our internal SDK that isn't on the public internet?](https://getunblocked.com/answers/claude-code-docs-internal-sdk/)
- [Which AI assistants answer engineering questions in Slack with links to their sources?](https://getunblocked.com/answers/ai-assistant-engineering-questions-slack-sources/)
