From local reasoning prototype to a live, Bedrock-backed AWS runtime with an evolving Workbench.
The runtime executes through a React Workbench and an authenticated AWS path: API Gateway, Lambda, two independent async orchestration mechanisms, persistent operational state, evidence artifacts and structured execution traces. Recent mainline work adds real multi-turn conversation memory, a bounded V2 tool-calling path, cross-turn grounding and a patient source-data view. The system remains a synthetic engineering reference implementation, not a production or clinical deployment.
Runtime statusAWS live runtime validated
Authentication, orchestration, persistence, Workbench integration and Bedrock execution are verified with synthetic data; the newer Workbench flows remain part of the same reference environment.
Cloud model planeAmazon Bedrock Claude Haiku 4.5
Real, non-mocked Converse calls are recorded from the local CLI and deployed Lambdas; model identity remains visible in traces.
Evidence boundarySynthetic and non-clinical
Public evidence covers implemented engineering paths, synthetic data and repository-backed live verification. No clinical or regulatory claim is made.
Why this exists
Healthcare reasoning systems need more than a model response. They need structured context, grounded retrieval, independent safety checks, durable evidence and an execution path that can be inspected after the fact. This project explores those control patterns in an AWS-native reference architecture without moving workflow semantics or the safety boundary into the model vendor.
Ownership principle. Model providers remain replaceable — a deterministic template, Amazon Bedrock or other optional backends — while healthcare context, retrieval, safety validation, persistence and workflow semantics remain owned by the runtime.
Step Functions retry and SQS buffering were load-tested head-to-head against the same live account. SQS reached 100% success at the largest tested burst of 100 concurrent requests, trading latency for buffering.
02Terminal-state ownership
DynamoDB conditional writes prevent a start/cancel race from producing two different terminal states. The live Bedrock-backed race was repeated 15 times in both directions with consistent outcomes.
03Quota-aware capacity testing
Testing used the account's real Lambda and Bedrock limits rather than guessed capacity, exposing and fixing retry wiring and input-validation defects.
04DLQ and reconciliation
The queued path includes a dead-letter queue and processing-lease/reconciliation handling for jobs that fail mid-flight.
Safety & evaluation
Independent safety validation
A non-LLM verifier checks numeric claims against pre-computed grounded facts and screens diagnosis and dosing language after every narration. Failed drafts fall back to the deterministic template.
Deterministic regression path
A template narrator provides a free, reproducible CI baseline with zero model dependency.
Two rounds of security review
Independent reviews found and helped fix a real authorization vulnerability and safety-check bypasses; follow-up review re-verified fixes and caught regressions.
Capability regression evaluation
A curated question set checks capabilities against execution traces, with pass-rate history and a generated trend chart tracked in CI.
Workbench evidence
The public repository includes real screenshots from a synthetic demo run. They show the operator surface and its evidence trace; they are not a hosted product promise or clinical evidence.
Workbench answer. A live Bedrock-backed answer is shown with a visible SAFE result and grounded sample context.V2 orchestration trace. Tool calls, retrieval, answer composition and independent safety verification remain visible for a compound synthetic question.
Latest verified Workbench progression. The public repository now includes threaded multi-turn history, a dark operator surface with inline cancellation, a V2 orchestration trace, patient source-data inspection and cross-turn grounding. These are reference-environment capabilities backed by synthetic data, not a claim of production healthcare readiness.
Latest data-quality control. Implausible source values are retained for disclosure but excluded from focus-marker ranking, while severe plausible values remain eligible. This is an implemented input-quality safeguard with regression coverage, not a new clinical-safety guarantee.
Retrieval and model provider strategy
Swappable retrievalBM25 default + optional local semantic backend
Both backends share one interface. A documented comparison against eight differently styled questions found a concrete BM25 overlap failure mode that the semantic path avoided for that comparison.
Provider boundaryOne independent safety contract
The deterministic template, Bedrock, Anthropic, OpenAI, Google and Ollama paths can participate without changing the runtime-owned safety boundary.
A pgvector-on-Aurora experiment was attempted live and deliberately stopped at an account-tier constraint rather than weakening the project's network-isolation principle.
GitHub Actions deploys through AWS identity federation with no stored AWS credential in the repository and a human approval gate for deployed changes.
Automated security scanning
CDK synthesis runs cdk-nag AwsSolutionsChecks as a hard gate; findings are fixed or explicitly justified.
Least-privilege IAM
Infrastructure tests reject wildcard grants while preserving exact resource-scoped permissions.
Authenticated execution
Cognito-issued JWTs protect synchronous and asynchronous paths; run ownership is enforced at the data layer.
Current scope and maturity
This is a synthetic, non-clinical ARMIE AI Labs public reference engineering system. AWS infrastructure, authenticated execution, dual async orchestration, DynamoDB/S3 persistence, Workbench integration, OIDC CI/CD, security scanning and a live Bedrock model connection have been implemented and validated against documented test and trace evidence.
It is not a production healthcare deployment, hospital system, diagnostic or prescribing product, regulated medical device or HIPAA/compliance-certified application. No PHI processing, production SLA or clinical safety benchmark is claimed. The live account and model evidence describe this reference environment, not production-scale healthcare hosting.
Related infrastructure
Compare the AWS reference system with ARMIE's Azure-native healthcare work.