Glean

Shifting the work of context engineering to the AI platform

Dec 9, 2025
Shifting the work of context engineering to the AI platform
SummaryAI, from the source post

This post details Glean's design decisions and lessons learned in building enterprise context for AI agents. It introduces the concept of shifting context engineering from individual engineers to the AI platform. Key technical contributions include: 1. **Index Diversification:** Separating indexes for different jobs (e.g., calendar search by time/people, Glean search for unstructured data, Salesforce dashboard index for metrics) to improve retrieval. 2. **Hybrid Connectors:** Combining MCP tools with Glean's indexing system for real-time freshness and unified understanding, emphasizing the need for ongoing data modeling and signal extraction for MCP tools. 3. **Knowledge Graphs:** Using graph-based structures to encode entities (people, projects, processes) and their relationships for multi-hop reasoning, disambiguation, and understanding work flows. 4. **Tool Search:** Creating an index of tools and learning from successful agent workflows to map common patterns and select the best next tool, optimizing for speed and reducing hallucinations. 5. **Enterprise Memory:** Storing traces of agent runs (tools used, parameters, sequences, outcomes) and offline permutation analysis to learn tool-use heuristics, optimize tool parameterization, and improve action sequencing. This memory is fed back into the system to guide tool selection and structuring.

More from the Agent Orchestration Platform trail