ontology-for-mfg — PoC Architecture

Manufacturing ontology knowledge graph (22 classes) + Bedrock tool-use agent on AWS

ontology-for-mfg — PoC Architecture Manufacturing ontology knowledge graph (22 classes) + Bedrock tool-use agent on AWS AWS Cloud VPC — internal only Browser · user / persona · Architecture component Browser user / persona Amazon Cognito · User Pool (us-east-1) · AWS Cloud Amazon Cognito User Pool (us-east-1) CloudFront · edge + Lambda@Edge auth · AWS Cloud CloudFront edge + Lambda@Edge auth ECS Web · Next.js 14 · AWS Cloud › VPC — internal only · Fargate ARM64 ECS Web Next.js 14 Fargate ARM64 ALB · /api/* routing · AWS Cloud › VPC — internal only ALB /api/* routing FastAPI AgentRunner · agent.py / 12 scenarios · AWS Cloud › VPC — internal only · Fargate ARM64 FastAPI AgentRunner agent.py / 12 scenarios Fargate ARM64 Amazon Neptune · openCypher / 22 classes · AWS Cloud › VPC — internal only Amazon Neptune openCypher / 22 classes OpenSearch Serverless · Nori BM25 + k-NN HNSW · AWS Cloud › VPC — internal only OpenSearch Serverless Nori BM25 + k-NN HNSW Amazon Bedrock · Sonnet 4.6 / Haiku 4.5 + Guardrails · AWS Cloud Amazon Bedrock Sonnet 4.6 / Haiku 4.5 + Guardrails Knowledge Base · datasheets / 8D / regulations · AWS Cloud Knowledge Base datasheets / 8D / regulations DynamoDB Memory · ontology-mfg-dev-memory · AWS Cloud DynamoDB Memory ontology-mfg-dev-memory HTTPS / SSE JWT auth static + pages /api/* openCypher (read-only) BM25 + k-NN + RRF converse_stream kb_retrieve memory_save Legend Frontend Backend Database Cloud Security External

Agent Loop

  • • Sonnet 4.6 tool-use loop, max 8 rounds
  • • 5 tools: search_semantic, neptune_query, kb_retrieve, compliance_check, memory_save
  • • SSE token streaming — first token 300-600ms (v0.5.6)

Knowledge Graph

  • • 22 owl:Class / 24 relations in schema.ttl
  • • ~10,644 synthetic nodes loaded into Neptune
  • • Read-only Cypher gateway blocks CREATE/DELETE/SET (ADR-002)

Search & Safety

  • • Korean Nori BM25 + Titan 1,024-dim k-NN, RRF (k=60) fused in Python
  • • Bedrock Guardrails: 4 manufacturing topics
  • • Sync Bedrock calls: 25s timeout + deterministic fallback (ADR-003)