The era of treating every data source like a static PDF is ending. DeepSense, the team behind the internal AI assistant SensAI, revealed in a new technical breakdown that classic Retrieval-Augmented Generation (RAG) architectures are insufficient for modern enterprise tools. By moving toward agentic retrieval, SensAI can now handle live Slack conversations, structured SQL data, and complex knowledge graphs without forcing every data type through the same semantic search bottleneck.
The Limits of Static Vector Search
Classic RAG relies on chunking documents into embeddings and retrieving the most similar fragments to a user query. While this works for static documentation, it fails miserably with dynamic or structured data. DeepSense notes that questions about Slack threads or database counts cannot be answered by finding 'similar' text chunks. For structured data like their internal Skill Matrix, they abandoned vector search entirely in favor of letting the LLM generate SQL queries. This ensures answers are based on exact numbers and current permissions, not hallucinated approximations from fragmented embeddings.
Slack Requires Iterative, Agent-Driven Retrieval
The real shift occurs with live communication platforms like Slack. Unlike a handbook, Slack data is messy, threaded, and permission-sensitive. SensAI treats retrieval not as a pre-processing step, but as a tool the LLM can invoke repeatedly. If the initial search for a Slack message yields incomplete context, the agent decides to search again, open specific threads, or check subsequent messages for final decisions. This iterative process allows the model to 'read' the conversation flow rather than just grabbing isolated snippets, which is critical for accuracy in fast-moving team environments.
Architecture: Tools Over Pipelines
SensAI’s architecture demonstrates that a single pipeline cannot serve all data types. The system uses a main agent equipped with specialized tools: SQL for structured data, semantic search for documents, and live API calls for Slack and HubSpot. For complex sources, they employ specialist subagents that handle the heavy lifting of multi-step searches and report back with concise summaries. This prevents the main agent’s context window from being clogged with raw, irrelevant search results, maintaining performance while accessing diverse data sources.
Key Takeaways
- Match the Tool to the Data: Use SQL for structured tables and semantic search only for unstructured text; do not force all data through embeddings.
- Retrieval is a Tool, Not a Step: Allow the LLM to decide when and how to search, enabling iterative refinement for complex queries.
- Permissions Must Be Dynamic: Live data sources like Slack require retrieval methods that respect real-time user permissions, not static copies.
- Subagents Manage Context: Use specialized subagents for complex searches to keep the main agent’s context window clean and focused.
The Bottom Line
If you are still building RAG pipelines that treat Slack messages like static documents, you are solving yesterday’s problems. The future of enterprise AI is agentic, iterative, and tool-aware.