ontology-for-assembly Architecture

National Assembly OpenAPI knowledge graph + 23 Agentic AI scenarios (PoC, ap-northeast-2)

ontology-for-assembly Architecture National Assembly OpenAPI knowledge graph + 23 Agentic AI scenarios (PoC, ap-northeast-2) AWS ap-northeast-2 / 6 CDK stacks Browser · 6 personas · Architecture component Browser 6 personas CloudFront · Lambda@Edge JWT · AWS ap-northeast-2 / 6 CDK stacks CloudFront Lambda@Edge JWT ALB · internal routing · AWS ap-northeast-2 / 6 CDK stacks ALB internal routing API Gateway · B2B usage plan + key · AWS ap-northeast-2 / 6 CDK stacks API Gateway B2B usage plan + key Next.js 14 · Fargate ARM64 · AWS ap-northeast-2 / 6 CDK stacks Next.js 14 Fargate ARM64 FastAPI · 21 routers / Fargate ARM64 · AWS ap-northeast-2 / 6 CDK stacks FastAPI 21 routers / Fargate ARM64 Ad Matcher Lambda · keyword / embedding / agent · AWS ap-northeast-2 / 6 CDK stacks Ad Matcher Lambda keyword / embedding / agent Neptune · openCypher / ~74k edges · AWS ap-northeast-2 / 6 CDK stacks · private subnet Neptune openCypher / ~74k edges private subnet OpenSearch Serverless · Nori BM25 + Cohere KNN · AWS ap-northeast-2 / 6 CDK stacks OpenSearch Serverless Nori BM25 + Cohere KNN Bedrock · Sonnet 4.6 + Guardrails · AWS ap-northeast-2 / 6 CDK stacks Bedrock Sonnet 4.6 + Guardrails AgentCore · Memory / Code Interpreter · AWS ap-northeast-2 / 6 CDK stacks · planned AgentCore Memory / Code Interpreter planned Assembly OpenAPI · open.assembly.go.kr · Architecture component Assembly OpenAPI open.assembly.go.kr HTTPS web / API B2B API key openCypher hybrid search invoke / SSE planned decoupled one-shot ECS load Legend Frontend Backend Database Cloud Security External

Data Provenance

  • • Every graph node's Pydantic base requires source: real | synthetic | external
  • • extra="forbid" blocks undeclared fields such as political-leaning inference
  • • DataSourceBadge shows the provenance of every result in the UI

Three-Stage Comparison

  • • Same question runs as Chatbot (RAG), Agent (tool use), and Agentic AI side by side
  • • Agentic pipeline: Planner -> Graph -> Analyst -> Editor (4 agents)
  • • Stage 2 tool use is still simulated; real Converse integration is Phase 2

Governance

  • • ADR-0004 defines 6 neutrality guardrail layers incl. Bedrock Guardrails and balance score
  • • Agent ad mode skips ads on sensitive content and records the reason as an AdMatchDecision node
  • • wow-eval: 84 cases (scenarios A-N x 6 personas), avg balance score 0.98