EDB Postgres AI Semantic Layer Integration with Amazon Bedrock
EDB Postgres AI enables semantic layer construction for agentic AI through integration with Stardog C360 and Amazon Bedrock AgentCore, using functions like aidb.create_semantic_kb and embedding models such as bge-small-en-v1.5-f16.
Semantic Layer Construction with EDB Postgres AI
EDB Postgres AI enables the construction of a semantic layer for agentic AI through its integration with tools like the Stardog C360 kit and Amazon Bedrock AgentCore. The process begins with loading the Stardog C360 kit’s CSV files into a dedicated schema, ensuring proper primary and foreign key relationships are established. Once the data is in place, the aidb.create_semantic_kb function can be used to create a semantic knowledge base. This function requires specifying a name, an embedding model (such as bge-small-en-v1.5-f16), the relevant schemas, and an auto-processing mode. The embedding model used in this example is a local llamacpp_embeddings model included in the AIDB Amazon Machine Image (AMI). This approach allows for the automatic processing of data in real time, facilitating the creation of a semantic layer that supports agentic AI applications.
Integration with Amazon Bedrock AgentCore
Integration with Amazon Bedrock AgentCore enables agentic AI systems to leverage a semantic layer built with EDB Postgres AI. According to AWS Machine Learning, a Strands Agents agent operates on Amazon Bedrock AgentCore, querying the semantic layer to answer customer 360 (C360) questions. AWS Machine Learning explains that the gateway routes requests to the AgentCore runtime, which collaborates with Claude on Amazon Bedrock for planning and execution. AWS Machine Learning outlines the inbound process, where a client connects to the AgentCore Gateway using a bearer token issued by an Amazon Cognito user pool, ensuring secure authentication. These steps illustrate how the integration supports secure, scalable, and context-aware AI interactions without making claims about performance or testing outcomes.
Security and Access Control Implementation
Implementing security and access control in a semantic layer for agentic AI requires careful configuration of database roles and integration with AI guardrails. According to AWS Machine Learning, two Postgres roles—mcp_agent_full and mcp_agent_restricted—differ only in column-level GRANT permissions, with the latter excluding access to the customers.ssn column. AWS Machine Learning notes that the distinction in access is enforced by the credential AgentCore Identity, which injects different credentials into the outbound Basic auth header. To further secure the system, AWS Machine Learning recommends pairing this with Amazon Bedrock Guardrails, which apply content filters, denied-topic lists, and PII redaction on the model side to control what the agent can generate. These measures ensure that access control is enforced at both the database and AI layers, without requiring changes to the underlying data schema or agent logic.
EDB Postgres AI's Agent Factory Capabilities
EDB Postgres AI's Agent Factory provides a drag-and-drop canvas powered by open source Langflow, enabling users to build multi-agent workflows visually. This design simplifies the creation of complex AI systems without requiring deep coding expertise. The native vector engine within EDB Postgres AI stores and indexes all AI data directly inside the Postgres environment, supporting semantic and hybrid search without the need for a separate vector database. This eliminates data movement and ensures seamless integration between AI data and traditional relational data. According to enterprisedb.com, this approach creates a zero-gap transition from prototype to production, streamlining the deployment process and reducing operational overhead.
Semantic Layer Governance and Data Integration
Semantic layer governance and data integration are critical components in building a robust foundation for agentic AI systems. According to cdomagazine.tech, a semantic layer serves as the central repository where data definitions are established and enforced. This layer ensures consistency and clarity across all data interactions. As highlighted in cdomagazine.tech, a governed platform must incorporate a medallion architecture, a unified semantic layer, vector search capabilities, lineage tracking, and role-based access control to maintain data integrity and security. cdomagazine.tech emphasizes the importance of constructing a single semantic layer and context store on a platform under your control, enabling all agents and interfaces to access standardized and governed data. These practices support scalable, secure, and compliant AI operations by aligning data usage with organizational policies and regulatory requirements.
Sources and reporting notes
Based on published source material. No independent hands-on testing is claimed.