Add Agentic Knowledge Discovery sample - #111
Conversation
A FAST-based agent that answers questions over a mix of unstructured documents (Bedrock Knowledge Base) and structured metadata (Aurora PostgreSQL), with metadata-filtered retrieval, page-level citations, follow-up suggestions, and both Strands and LangGraph patterns.
|
Latest scan for commit: Security Scan ResultsScan Metadata
SummaryScanner ResultsThe table below shows findings by scanner, with status based on severity thresholds and dependencies: Column Explanations: Severity Levels (S/C/H/M/L/I):
Other Columns:
Scanner Results:
Severity Thresholds (Thresh Column):
Threshold Source: Values in parentheses indicate where the threshold is configured:
Statistics calculation:
Detailed FindingsShow 14 actionable findingsFinding 1: CKV_DOCKER_3
Description: Code Snippet: Finding 2: CKV_DOCKER_2
Description: Code Snippet: Finding 3: CKV_DOCKER_3
Description: Code Snippet: Finding 4: CKV_DOCKER_2
Description: Code Snippet: Finding 5: dockerfile.security.missing-user.missing-user
Description: Code Snippet: Finding 6: python.lang.security.audit.formatted-sql-query.formatted-sql-query
Description: Code Snippet: Finding 7: python.sqlalchemy.security.sqlalchemy-execute-raw-query.sqlalchemy-execute-raw-query
Description: Code Snippet: Finding 8: python.lang.security.audit.formatted-sql-query.formatted-sql-query
Description: Code Snippet: Finding 9: python.sqlalchemy.security.sqlalchemy-execute-raw-query.sqlalchemy-execute-raw-query
Description: Code Snippet: Finding 10: dockerfile.security.missing-user.missing-user
Description: Code Snippet: Finding 11: python.lang.security.audit.logging.logger-credential-leak.python-logger-credential-disclosure
Description: Code Snippet: Finding 12: python.lang.security.audit.logging.logger-credential-leak.python-logger-credential-disclosure
Description: Code Snippet: Finding 13: python.lang.security.audit.logging.logger-credential-leak.python-logger-credential-disclosure
Description: Code Snippet: Finding 14: python.lang.security.audit.dynamic-urllib-use-detected.dynamic-urllib-use-detected
Description: Code Snippet: Report generated by Automated Security Helper (ASH) at 2026-07-19T01:19:26+00:00 |
Summary
Adds a new sample, Agentic Knowledge Discovery, to
samples/agentic-knowledge-discovery/. The sample demonstrates an agent that combines unstructured document search (Amazon Bedrock Knowledge Bases, OpenSearch Serverless, Nova multimodal embeddings) with structured metadata search (Aurora PostgreSQL) to plan retrieval across both, then answers with page-level citations. It ships two agent implementations (Strands and LangGraph) behind an AG-UI frontend, following the same construct-based CDK pattern as core FAST.Built on FAST v0.4.2.
Key differences from FAST
doc_search(Bedrock Knowledge Base) andstructured_search(read-only SQL over Aurora), sharing adoc_idand metadata keys so the agent can filter by attribute then search content.doc_searchstay outside the VPC.