Menu
The New Stack·June 17, 2026

AWS Context: Building Knowledge Graphs for AI Agent Reasoning

AWS Context is a new service that automatically constructs knowledge graphs from an organization's disparate data sources to provide AI agents with enriched, governed context at runtime. This service aims to enhance AI reasoning by mapping relationships across data lakes, warehouses, and institutional knowledge, moving beyond simple data volume to deliver nuanced, interconnected information. It integrates identity-aware access controls and learns from agent usage patterns to continuously improve context delivery.

Read original on The New Stack

The Challenge of Context for AI Agents

AI agents require rich and accurate context to make informed decisions and reason effectively, rather than just raw data. Traditional data storage solutions like data lakes and warehouses often store data in unstructured forms, lacking explicit relationships and semantic meaning crucial for advanced AI reasoning. This gap highlights the need for a mechanism to organize and connect disparate data sources into a coherent knowledge base.

Knowledge Graphs as the Solution

AWS Context addresses this by leveraging knowledge graphs. A knowledge graph structures data by defining entities and the relationships between them, enabling semantic traversal and making it possible for AI agents to understand complex connections (e.g., how a cybersecurity vulnerability in one system links to a specific codebase and its impact on users). This goes beyond simple keyword matching, allowing for deeper inferencing.

💡

Why Knowledge Graphs for AI?

Knowledge graphs provide structured, interconnected data that AI agents can traverse semantically. This enables them to understand complex relationships, make logical deductions, and access relevant, governed business rules and domain knowledge at runtime, significantly improving reasoning capabilities over raw, unstructured data.

Architectural Aspects of AWS Context

  • Automated Graph Construction: The service automatically maps relationships across existing enterprise data (databases, data lakes, warehouses, streams) into a knowledge graph.
  • Dynamic Updates: The knowledge graph is continuously updated as relationships between data resources change, ensuring agents always have the latest context.
  • Governed Access: It inherits Identity and Access Management (IAM) and Lake Formation permissions, ensuring agents only access data they are authorized to see. Every query is identity-aware and auditable.
  • Learning from Usage: Similar to Amazon Quick, AWS Context learns from agent usage patterns, observing which sources produce correct results and which join paths are reliable, sharing these insights across the organization to refine the graph.
  • Open Data Formats: Context is provided in graph and open data formats, enabling flexibility for AI developers.

Integration with AWS Glue Data Catalog

AWS Context enhances the AWS Glue Data Catalog with new business context and semantic search functions, making it easier for both humans and AI agents to discover and comprehend data. It also introduces "skill assets" in Glue Data Catalog, allowing data producers to associate contextual instructions with data assets, which agents can progressively retrieve without repetitive re-teaching.

AWSKnowledge GraphAI AgentsContext EngineeringData LakeData WarehousingSemantic SearchIAM

Comments

Loading comments...