GS EnergyResearch Archive

GS Energy: Extending project subscription permissions throughout the actual query path of the Text-to-Any Agent

Energy and MiningEnergy Data Analytics and GovernanceProduction implementationEnterprise AgentEnergyData governanceMCPText2SQLHITLSystem integrationAmazon Bedrock AgentCoreSageMaker Unified Studio

Korean Original · AI translated and organized · AI Implementation (FDE not disclosed)

In-depth case · Case quick read

Case Overview

Business Problem

Power generation equipment, operations, environmental, trading, and market data are scattered across different companies and systems, with catalog visibility, actual queries, approvals, and identity systems all differing, and non-developers often need to coordinate through IT tickets for multiple days.

Publicly disclosed AI solutions

Korean original · AI translation and compilation. GS Energy connects the data of three power generation affiliated companies to a unified platform, managing visibility and availability through projects, catalogs, and subscriptions; the catalog query Agent is already running, and the same permission boundary has been ex…

Core Engineering Findings

Engineering Analysis by This Library

Authorization for enterprise data Agents lies not in prompts, but in the intersection of identity, project, subscription, and each query path.

Cross-legal-entity energy data is simultaneously constrained by organizational boundaries, asset ownership, row/column filtering, time zone units, and freshness; ordinary RAG or single-point SQL permissions are insufficient to cover this.

Original disclosure · View basis

Technical Architecture

Public solution summary

The original text discloses Data Portal and LibreChat as entry points, with Keycloak/EAI carrying personnel and organizational identity; AgentCore Runtime isolates Agent sessions, EKS hosts MCP, the portal, data services, and Phoenix; SMUS/DataZone manages projects and subscriptions, and Lake Formation, Athena, and Sup…

View the complete architecture and reference data flow

Key engineering trade-offs

Engineering Analysis by This Library

Use the catalog as the policy basis, but re-enforce permissions in MCP and the data engine, and establish separate refresh and revocation contracts for service repository replication.

Increases state synchronization and operational complexity in exchange for auditable least privilege and multi-engine consistency.

In-depth Technical Analysis

Outcomes and Verification Boundaries

Production implementation

Disclosed by the project party: the platform registers 73 SMUS Data Assets and unstructured data such as video, and about 690 users can access them; the three power generation affiliated companies GS Power, GS EPS, and Incheon Combined Energy have been connected. No business savings or independent acceptance results have been disclosed.

Original text verified · Public cases · Benefits not independently accepted

The material comes from AWS and the project party's technical blog, not an independent acceptance review. The number of catalog assets, users, and affiliated companies is the scale of platform adoption, which is not equal to active Agent usage or business benefits; the catalog query Agent is already running, Text-to-An…

Complete results criteria and applicable boundaries
In-depth Technical Analysis Architecture, Trade-offs, and Transfer Conditions
01

Business Background and Process

Research Analysis

Power generation equipment, operations, environmental, trading, and market data are scattered across different companies and systems, with catalog visibility, actual queries, approvals, and identity systems all differing, and non-developers often need to coordinate through IT tickets for multiple days.

Role
GS Energy data platform team, three power generation affiliates, data asset owners, project Owners/Contributors, business analysts, Agent and data service operations personnel.
Reproduction scope
The reproduction recommended by this repository covers only read-only data discovery, subscription checks, and Athena queries, and does not include disclosure submission, equipment control, trade execution, or cross-company write-back.
  1. 1Users log in via Keycloak, and organizational information is synchronized by EAI and mapped to project membership relationships.
  2. 2Business personnel search for assets in the Data Portal, submit subscription requests, and view approval and authorization status.
  3. 3The catalog query Agent explains assets, all projects, and subscription status; Text-to-Any explores tags and schemas and generates authorized queries.
  4. 4The MCP service re-verifies the user, project, and subscription, and obtains temporary credentials by project role to access DataZone and Athena.
  5. 5Fixed high-frequency queries can be displayed by the Instance App; data replicated to Supabase is governed by a separate set of database permissions and revocation processes.
  6. 6Phoenix records tool and data failures by request, session, project, and pipeline, but avoids collecting user tokens and sensitive query results.

Engineering Problems and Transferable Lessons

Key Engineering Insight
Original disclosureSource verifiedweb-6b24247fe7050257d807b86c-governance-path
Special Issues
Catalog visibility, approval, lakehouse authorization, and replicated service repository permissions may be in different states; if the Agent trusts only one layer, it will cause unauthorized access or incorrect promises.
Why Ordinary Architecture Is Not Enough
Cross-legal-entity energy data is simultaneously constrained by organizational boundaries, asset ownership, row/column filtering, time zone units, and freshness; ordinary RAG or single-point SQL permissions are insufficient to cover this.
Key technical choices
Use the catalog as the policy basis, but re-enforce permissions in MCP and the data engine, and establish separate refresh and revocation contracts for service repository replication.
Costs and trade-offs
Increases state synchronization and operational complexity in exchange for auditable least privilege and multi-engine consistency.
Failure conditions
The highest risk is that after subscription withdrawal, replicated data, caches, or Agent memory can still be queried, and that catalog approval is mistakenly written as actual authorization having taken effect.
Transferable experience
Cross-business-unit Agents in manufacturing, finance, and logistics should also first map all query paths and revocation propagation before discussing models or Agent frameworks.

Public materials support the problem background; technical supplements are engineering inferences by this library. Related original text:

Original disclosureSource verifiedweb-6b24247fe7050257d807b86c-agent-statusEngineering ProjectionNot yet executedweb-6b24247fe7050257d807b86c-auth-insight
03

Technical Architecture and Data Flow

Original text / solution listed separately

Original architecture summary

The original text discloses Data Portal and LibreChat as entry points, with Keycloak/EAI carrying personnel and organizational identity; AgentCore Runtime isolates Agent sessions, EKS hosts MCP, the portal, data services, and Phoenix; SMUS/DataZone manages projects and subscriptions, and Lake Formation, Athena, and Supabase re-enforce permissions in each query path. The Raw/Conformed/Curated lakehouse is connected via Airflow, Kafka, DuckDB, and Iceberg.

The above identity chain, AgentCore/EKS, MCP, SMUS/DataZone, Lake Formation, Athena, Supabase, Phoenix, and lakehouse structure are all disclosed in the original text; the data keys, acceptance conditions, and degradation strategies below are migration recommendations from this repository.

Suggested Architecture for Reproduction

The following is the research design and does not represent the complete implementation of the enterprise's internal system.

  1. 1
    Identity and project binding

    It is recommended to separate personnel tokens from AWS service credentials and establish a user-project context that cannot be modified by the model.

  2. 2
    Catalog discovery and subscriptions

    The Agent only interprets visible metadata; application, approval, and authorization taking effect are recorded separately, and when approval has not taken effect, queryability must not be claimed.

  3. 3
    Re-authorization at the tool layer

    Each MCP call verifies the user, project, subscription, and tool scope, and then accesses Athena or the read-only service repository with the project role.

  4. 4
    Query and evidence return

    Return tables, tags, units, time ranges, data refresh times, and query IDs with the answer; timeouts or empty sets must not be filled in by the model.

  5. 5
    Revocation and replicated data handling

    When a subscription is revoked, update Lake Formation and PostgreSQL/Supabase permissions at the same time, and handle replication, caches, and session memory according to policy.

Suggested Data and System Interfaces

Business ObjectJoin key / criteriaSuggested SourcesPurpose in the process
User and project membership relationshipsIt is recommended to associate subject_id, org_id, project_id, role, valid_from/to, and identity_source.Keycloak, EAI, Data Portal, and DataZone projects.Determines the projects a user can see, the assets they can request, and the context of Agent tool calls.
Data assets and subscriptionsasset_id、owner_project_id、subscriber_project_id、subscription_id、approval_state、grant_state、filter_version。SMUS/DataZone, Glue Data Catalog, and Lake Formation.Distinguish catalog approval, actual permission taking effect, and row/column filtering versions.
Power generation metering and tagsplant_id, equipment_id, tag_id, event_time, unit, quality_flag, and source_time_zone.Raw/Conformed/Curated lakehouse, Athena, and service repository.Supports cross-company tag retrieval and time-series comparison, and explains units, sources, and last update times in answers.
Agent and Query Tracesrequest_id, session_id, subject_id, project_id, tool_name, query_id, policy_version, and pipeline_run_id.AgentCore, MCP, Phoenix, Athena query logs.Locate unauthorized access blocking, data delays, tool failures, and evidence gaps.
04

Key design trade-offs

Research Analysis

Can catalog approval be directly used as Agent query authorization?

Suggested choice:No; separate the three states of approval, permission grant completion, and actual query, and re-enforce at the tool and data engine layers.

Basis for judgment: The original text clearly points out that approval and permission completion are not the same step, and that different query engines do not automatically inherit the same filtering.

Costs and boundaries: More complex to implement with more states, but avoids the catalog showing availability while actual unauthorized access or failure occurs.

Should all queries go through the lakehouse engine?

Suggested choice:Exploration and large-scale analysis go through Athena; high-frequency low-latency pages can be replicated to the service repository, but a separate permission, refresh, and revocation contract must be established.

Basis for judgment: The original text separates Curated data from the Supabase service path and points out that Lake Formation filtering does not automatically cover replicated data.

Costs and boundaries: Lower service latency, but creates dual permissions, data staleness, and residual copies after revocation.

Is Agent runtime isolation equivalent to data isolation?

Suggested choice:No; Runtime only isolates compute sessions, while user-session ownership, MCP, Memory, database, and log permissions are still verified by the application.

Basis for judgment: The original text clearly distinguishes AgentCore's session isolation from external resource authorization responsibilities.

Costs and boundaries: An end-to-end policy and audit chain is needed, but avoid mistaking infrastructure isolation for business authorization.

Engineering Failure Conditions

Exceptions and Degradation

The subscription has been approved, but the actual authorization is still being processed or has failed.

Display authorization status, do not execute queries, and do not interpret catalog visibility as availability.

Lake Formation permission has been revoked, but data replicated to Supabase is still readable.

Trigger cross-path revocation orchestration, freeze the relevant service views, and clear caches/replicas.

JWT user identity, project context, and IAM calling principal are inconsistent.

Reject the tool call and record all three, and do not allow the model to choose another project role on its own.

The unit of the metering tag, the time zone, or the last synchronization time is missing.

Return the evidence gap and request manual confirmation; do not make cross-company aggregations or trend conclusions.

When it is suitable for adoption, and how value is measured

Research Recommendations by This Library
Data and Organizational Prerequisites
Stable organizational identity, project affiliation, data asset owners, subscription approval, and revocable query permissions are needed; it must also be possible to distinguish catalog metadata, lakehouse data, and data replicated to the service database.
Division of labor among AI, rules and humans
The Agent is responsible for understanding questions, finding tags and schemas, generating read-only queries, and explaining results; the rules and data platform are responsible for identity, subscriptions, row/column filtering, SQL resource limits, and revocation; business personnel are responsible for data requests, approval, and final judgment.
Conditions not recommended for adoption
When data owners cannot be traced, replicated data has no revocation process, user identity cannot be passed to the tool layer, or queries can directly bypass the governance engine, a cross-company natural language data Agent should not be opened.
Investment and Ongoing Costs
One-time investments include identity mapping, project/asset model, lakehouse standardization, MCP contracts, and read-only roles; ongoing investments include subscription changes, replicated data reclamation, tag semantics, data freshness, tool tracing, and cost allocation.
Value and evaluation criteria
Jointly measure the time from data request to availability, query success rate, unauthorized access blocking, revocation propagation latency, data freshness, answer evidence rate, and project-level cost; the number of registered users cannot replace active use and business results.
Suggested First Step
Select one affiliated company, one read-only metering topic, and a small number of users to establish an asset-project-user matrix; first use fixed SQL and unauthorized-access samples to verify full-chain authorization, then open natural language queries.
Research Appendix Complete evidence, metric criteria and research materials
02

Original disclosure and evidence boundaries

Original text verified

Original title: GS에너지의 SageMaker Unified Studio와 Bedrock AgentCore로 구축하는 엔터프라이즈 에이전트 데이터 플랫폼

Original summary: Korean original · AI translation and compilation. GS Energy connects the data of three power generation affiliated companies to a unified platform, managing visibility and availability through projects, catalogs, and subscriptions; the catalog query Agent is already running, and the same permission boundary has been extended to the MCP, Athena, and Supabase query paths.

The platform uses SageMaker Unified Studio/DataZone to manage projects, assets, and subscriptions, but the portal, MCP, Athena, and Supabase query paths still need to separately verify and enforce actual access permissions.

Original location: 4.3–4.5 Projects, Subscriptions, and Fine-Grained Access Control ↗

Currently 73 SMUS Data Assets and unstructured data such as video are registered, and approximately 690 users can access the platform.

Original location: 4.3 Projects and Catalog, Paragraphs 117–123 ↗

The Agent request goes from the Keycloak JWT through the Custom Endpoint to the AgentCore Runtime, and then MCP verifies the user, project, and subscription and accesses DataZone and Athena with the project role.

Original location: 5.3 Authentication and Authorization Flow, Steps 1–8 ↗

The catalog query Agent is running; Text-to-Any is in implementation and deployment system construction; the disclosure automation Agent is still in development, and final judgment and submission are reviewed by personnel.

Original location: 5.5 Agent Composition and Status ↗

As of disclosure, three power generation affiliates—GS Power, GS EPS, and Incheon Total Energy—have connected; the project has been advanced in phases since the second half of 2025.

Original location: 7.1–7.3 Implementation History and Current Results ↗
Metric Definitions

Disclosed by the project party: the platform registers 73 SMUS Data Assets and unstructured data such as video, and about 690 users can access them; the three power generation affiliated companies GS Power, GS EPS, and Incheon Combined Energy have been connected. No business savings or independent acceptance results have been disclosed.

Disclosure Boundaries

The material comes from AWS and the project party's technical blog, not an independent acceptance review. The number of catalog assets, users, and affiliated companies is the scale of platform adoption, which is not equal to active Agent usage or business benefits; the catalog query Agent is already running, Text-to-Any is still in the implementation and deployment system construction stage, and disclosure automation is still under development.

Delivery process

AI Implementation (FDE not disclosed)

The AWS Tech Blog discloses the GS Energy platform architecture and implementation history in detail, but does not use the term Forward Deployed Engineers, nor does it describe on-site FDE delivery, so it is recorded as actual AI implementation. The project team, acceptance checklist, and handover mechanism are not fully disclosed. Delivery method basis

Delivery process verification for this case has not yet been supplemented. Existing delivery method description: The AWS Tech Blog discloses the GS Energy platform architecture and implementation history in detail, but does not use the term Forward Deployed Engineers, nor does it describe on-site FDE delivery, so it is recorded as actual AI implementation. The project team, acceptance checklist, and handover mechanism are not fully disclosed.

Metrics and Measurement Definitions

Retain original criteria

"Source verified" only means the public disclosure can be located; it does not mean business results have undergone independent third-party acceptance. Unknown items remain "not disclosed in the original text."

Research Verification Materials

Engineering Verification Status

Type, scope, and execution are recorded separately

Verification has no automatic progression; passing limited synthetic samples does not prove the model, the complete system, or customer production acceptance. Public business outcomes are shown only according to the original evidence.

This section is an engineering reference design, and there is no end-to-end execution record in this library yet.

Test Plan · Not yet executed

Verification scope
The reproduction recommended by this repository covers only read-only data discovery, subscription checks, and Athena queries, and does not include disclosure submission, equipment control, trade execution, or cross-company write-back.
Input Data
Synthetic, public, or authorized data; specific experimental inputs are still to be prepared.
Expected output
All unauthorized access samples are blocked at any layer of the catalog, MCP, and data engine, and an explainable reason is retained.;Queries reference only authorized assets; empty sets, timeouts, and semantic ambiguity will stop and request clarification.;Revocation covers the lakehouse, service repository, and cache within the target time limit; answers include data time and query evidence.
Actual output
Not yet executed, no actual output
Execution Time
Not yet executed; collection time is not used as a substitute
Limitations and failure notes
Phased reproduction and evaluation are planned and cannot be used to prove that an actual system is already running.
05

Phased reproduction path

The complete solution has not yet been executed

Use synthetic, public or authorized data. The following is a follow-up plan; if there is a rule check above, it only proves the samples it explicitly lists and does not mean complete reproduction has been completed.

  1. 1

    Permission matrix baseline

    Construct allow and deny samples using synthetic users, projects, assets, subscriptions, and row/column filtering.

    Planned deliverables:Identity-project-asset matrix and a fixed SQL control set.

    Suggested acceptance conditions:All unauthorized access samples are blocked at any layer of the catalog, MCP, and data engine, and an explainable reason is retained.

  2. 2

    Read-only Agent shadow validation

    Have the Agent generate but not execute queries, and compare schema selection, time ranges, units, and project permissions.

    Planned deliverables:Per-request tool plan, SQL, evidence, and manual review records.

    Suggested acceptance conditions:Queries reference only authorized assets; empty sets, timeouts, and semantic ambiguity will stop and request clarification.

  3. 3

    Restricted query launch

    Open only one topic and a small number of users, set SQL resource limits, revocation drills, and service repository reclamation processes.

    Planned deliverables:Read-only production pilot, revocation manual, and query quality dashboard.

    Suggested acceptance conditions:Revocation covers the lakehouse, service repository, and cache within the target time limit; answers include data time and query evidence.

06

Evaluation and Failure Handling

Proposed Solution to Be Verified

The evaluation targets are recommended thresholds and need to be adjusted based on risk and baseline; there are currently no measured results.

MetricsMeasurement MethodSuggested Judgment Conditions
Unauthorized-access blocking rateTest the catalog, MCP, Athena, and service repository separately with cross-company, cross-project, post-revocation, and row/column filtering samples.Zero release for high-risk unauthorized access; false rejections are counted separately.
Authorization state consistencyMeasure subscription approval, permission grant, revocation, and effective time in each query path.There must be no case where the portal shows availability but the backend is unauthorized, or where queries remain possible after revocation.
Data freshness and definitionsReturn the original measurement, pipeline completion time, service database synchronization time, and unit/quality flags.Expired, unknown-unit, or low-quality data does not generate deterministic conclusions.
Query correctnessCompare table, tag, filtering, aggregation, and empty-set behavior using fixed SQL and a business personnel annotation set.Key definitions are consistent with the baseline; complex or high-impact conclusions require human review.
Business adoptionJointly observe the time from data request to availability, active users, repeated queries, IT tickets, and manual corrections.Value cannot be judged solely by registered users or catalog asset counts.

Questions to confirm in the next round

  • Among the approximately 690 users, what are the proportion, frequency, and role distribution of active use of the catalog and Agent?
  • After a subscription is revoked, what are the target propagation deadlines for Lake Formation, Supabase, caches, and Agent Memory?
  • What resource, table, time range, and result volume limits does Text-to-Any impose on SQL execution?
  • How are the answer correctness, evidence rate, and human correction of the catalog query Agent evaluated?
  • What approval, signature, and audit boundaries exist between recommendation and final submission in disclosure automation?

Verification Records and Items to Be Confirmed

2026-10-22

The content has been updated; historical evidence needs to be re-verified.

Verify the organizational scope, architecture, identity and permission chain, Agent stages, implementation history, and adoption scale in the Korean AWS tech blog; no code was executed, no system was reproduced, and no independent acceptance was performed.

The official tech blog body is readable; the page gives a publication date but no specific time.

  • Upgrade the original pending-verification leads to formal cases and retain stable IDs.
  • The catalog query Agent, Text-to-Any, and disclosure automation are marked as running, deployment system construction, and in development, respectively.
  • 73 assets, approximately 690 users, and three companies are recorded only as adoption scale, not as business benefits.
  • Web page verification records only SOURCE_REVIEW, not independent acceptance.
View all assertions · 4 items
Original disclosure · Source verified · web-6b24247fe7050257d807b86c-governance-path

Complete assertion: GS Energy uses SMUS/DataZone projects and subscriptions as the policy basis, while separately verifying and enforcing permissions in actual query paths such as MCP, Athena, and Supabase.

Verification method
Original materials verification
Last Verified
2026-10-22
Applicable boundaries
From the project party/AWS tech blog; no independent security audit or acceptance records provided.
Related cases
GS Energy: Extending project subscription permissions throughout the actual query path of the Text-to-Any Agent
Source location:4.3–4.6 Projects, Subscriptions, Fine-Grained Permissions, and Service Repository
Original disclosure · Source verified · web-6b24247fe7050257d807b86c-adoption-scale

Complete assertion: The platform registers 73 SMUS data assets and unstructured data, approximately 690 users can access it, and three power generation affiliates have connected.

Verification method
Original materials verification
Last Verified
2026-10-22
Applicable boundaries
Adoption scale is not equal to active usage, Agent usage, or business benefits.
Related cases
GS Energy: Extending project subscription permissions throughout the actual query path of the Text-to-Any Agent
Source location:4.3 Paragraph 117; 7.3 Paragraph 246
Original disclosure · Source verified · web-6b24247fe7050257d807b86c-agent-status

Complete assertion: The catalog query Agent is running, Text-to-Any is in implementation and deployment system construction, and disclosure automation is still in development with final judgment and submission reviewed by personnel.

Verification method
Original materials verification
Last Verified
2026-10-22
Applicable boundaries
Different Agent stages differ; the entire platform cannot be uniformly described as production automation.
Related cases
GS Energy: Extending project subscription permissions throughout the actual query path of the Text-to-Any Agent
Source location:5.5 Agent Composition and Current Status
Engineering Projection · Not yet executed · web-6b24247fe7050257d807b86c-auth-insight

Complete assertion: This repository's judgment: catalog approval, authorization taking effect, and query execution must be managed as three states; session isolation also cannot replace business authorization at the tool and data layers.

Verification method
No experimental validation yet
Last Verified
Not yet verified or executed
Applicable boundaries
Engineering analysis based on public materials; this site has not reproduced the platform.
Related cases
GS Energy: Extending project subscription permissions throughout the actual query path of the Text-to-Any Agent

Review record: web-6b24247fe7050257d807b86c-audit · Full-library review records

Original research judgment and attribution

The unique value of this case is not the component list, but separating personnel identity, project subscriptions, and data-path authorization, and requiring the Agent to re-prove permissions on every actual query chain.

Research compilation and solution analysis: Zuren Zhao · AI-assisted compilation. Original case delivery belongs to the original enterprises and service providers.