> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# EDB Postgres AI Semantic Layer Integration with Amazon Bedrock
- URL: https://www.stirup.si/edb-postgres-ai-semantic-layer-integration-with-amazon-bedrock-bed69130/
- Published: 2026-11-03T16:54:14.000Z
- Updated: 2026-11-03T16:54:14.000Z
- Description: 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.
- Author: Satish Das
- Tags: Cloud, News, Stirup Research

## 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](https://aws.amazon.com/blogs/machine-learning/build-a-semantic-layer-for-agentic-ai-with-edb-postgres-ai-and-amazon-bedrock-agentcore/?ref=stirup.si), a Strands Agents agent operates on Amazon Bedrock AgentCore, querying the semantic layer to answer customer 360 (C360) questions. [AWS Machine Learning](https://aws.amazon.com/blogs/machine-learning/build-a-semantic-layer-for-agentic-ai-with-edb-postgres-ai-and-amazon-bedrock-agentcore/?ref=stirup.si) explains that the gateway routes requests to the AgentCore runtime, which collaborates with Claude on Amazon Bedrock for planning and execution. [AWS Machine Learning](https://aws.amazon.com/blogs/machine-learning/build-a-semantic-layer-for-agentic-ai-with-edb-postgres-ai-and-amazon-bedrock-agentcore/?ref=stirup.si) 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](https://aws.amazon.com/blogs/machine-learning/build-a-semantic-layer-for-agentic-ai-with-edb-postgres-ai-and-amazon-bedrock-agentcore/?ref=stirup.si), 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](https://aws.amazon.com/blogs/machine-learning/build-a-semantic-layer-for-agentic-ai-with-edb-postgres-ai-and-amazon-bedrock-agentcore/?ref=stirup.si) 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](https://aws.amazon.com/blogs/machine-learning/build-a-semantic-layer-for-agentic-ai-with-edb-postgres-ai-and-amazon-bedrock-agentcore/?ref=stirup.si) 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](https://www.enterprisedb.com/products/agent-factory?ref=stirup.si), 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](https://www.cdomagazine.tech/branded-content/rent-the-model-own-the-meaning?ref=stirup.si), 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](https://www.cdomagazine.tech/branded-content/rent-the-model-own-the-meaning?ref=stirup.si), 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](https://www.cdomagazine.tech/branded-content/rent-the-model-own-the-meaning?ref=stirup.si) 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

- [AWS Machine Learning](https://aws.amazon.com/blogs/machine-learning/build-a-semantic-layer-for-agentic-ai-with-edb-postgres-ai-and-amazon-bedrock-agentcore/?ref=stirup.si)
- [enterprisedb.com](https://www.enterprisedb.com/products/agent-factory?ref=stirup.si)
- [cdomagazine.tech](https://www.cdomagazine.tech/branded-content/rent-the-model-own-the-meaning?ref=stirup.si)
- [catalog.redhat.com](https://catalog.redhat.com/en/software/container-stacks/detail/67accc8ea0bba2756a73cb9a?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.