Knowledge Gap in Clinical Laboratory Operations
Natera is a leading company in the field of cell-free DNA (cfDNA) testing, where precise equipment utilization directly impacts specimen processing and patient outcome reporting. However, the failure modes, vendor documentation, and resolution patterns vary by equipment group, and the service engineering team operates in a dependency on individual experts, making knowledge continuity the biggest challenge. When a senior technician leaves, years of accumulated diagnostic know-how is lost, and there is no system to capture, organize, and distribute this knowledge.
Specifically, over 65 tickets per day pile up in three Jira queues, with an average initial response time of 17.4 hours. Simply adding personnel was clearly limited, and SWARM (Systematic Workflow Analytics and Resolutions Manager) was launched with the goal of minute-level responses, diagnostic accuracy across various equipment groups, and continuous improvement through structured evaluation loops.
"The system does not replace engineers; it allows immediate access to the full depth of institutional knowledge the moment a ticket is received." — Ariel Jirau, Lead of Natera's Lab Engineering Team
Background for Choosing Amazon Bedrock AgentCore
The Natera team selected Amazon Bedrock AgentCore as a managed runtime that meets three key requirements.
| Requirement | Description |
|---|---|
| Autonomous Processing | Autonomous handling of high-volume support tickets without human intervention |
| Tool Integration | Deep integration with existing operational tools like Jira and Confluence |
| Security & Observability | Built-in encryption, IAM integration, and distributed tracing without needing to build infrastructure from scratch |
Jirau stated, "I wanted to focus engineering capabilities on diagnostic accuracy and avoid infrastructure plumbing work. The AgentCore provided not only a managed runtime but also built-in identity management and flexibility to swap models without rewriting agent logic." The AgentCore integrates natively with Amazon DynamoDB, Amazon SQS, and AWS X-Ray (CloudWatch feature).
SWARM Architecture: Two Agents, One Skill Library
SWARM consists of two runtimes, swarm-agent and swarm-hive, sharing a single skill library.
- swarm-agent: Autonomously generates structured diagnostic reports before engineers open tickets
- swarm-hive: Used by engineers for real-time interaction, image uploads, and exploring alternative troubleshooting paths
Four layers connect the architecture.
- Receiving Jira ticket
- EventBridge routing
- SQS queuing
- Agent layer processing
- Context layer lookup
- Returning diagnostic report
- Observability layer logging
Role by Layer
1. Event Layer: Routing Jira tickets with Amazon EventBridge and SQS 2. Agent Layer: Hosting two agents and the skill library, delivering diagnostic reports to engineers 3. Context Layer: Utilizing vendor manuals, past tickets, and operational data 4. Observability & Delivery Layer: Collecting traces, logs, and metrics
Security Architecture: Keyless Deployment and Least Privilege
In clinical environments, credential exposure is unacceptable, so Natera adopted a keyless deployment model.
- OIDC + AWS STS: Generates scoped temporary credentials per deployment, with no long-term keys in the pipeline
- IAM Least Privilege: Enforces permissions at the component level
- VPC Private Subnet + VPC Endpoints: Isolates traffic outside of the public internet
- Secrets Manager: Automatically rotates residual credentials every 30 days
- GitLab CI → OIDC Token → IAM Identity Provider → STS → Short-term deployment role credentials flow secures the pipeline
This level of infrastructure control collaborates with SWARM's data governance policies to form a compliance posture necessary for operating AI systems in regulated clinical environments.
Compliance and Data Governance: HIPAA, BAA, Audit Logs
SWARM operates under HIPAA-compliant AWS services and a Business Associate Agreement (BAA). It reflects the obligations Natera has as a clinical laboratory operator.
- All agent calls record audit logs (meeting data access traceability requirements)
- Patient Identifiable Information (PII) is never touched by vector indexes or LLMs
- Tickets only contain equipment and workflow metadata
Teams building under regulatory frameworks like HIPAA must verify the scope of the BAA and data separation requirements before designing the knowledge base pipeline.
Knowledge Base & Document Pipeline: Ensuring RAG Precision with Equipment-Specific Metadata
Using only general search in the initial prototype led to inconsistent results due to the lack of equipment-specific metadata. The Natera team built a custom document processing pipeline specialized for technical equipment documentation.
- Amazon Titan Text Embeddings: Generates vector representations for semantic search
- Amazon Bedrock Knowledge Bases: Fully managed RAG, converting documents into embeddings and storing in batches of 100 (balancing indexing throughput and API rate limits)
This design accurately maps unique terms, error codes, and resolution procedures for each equipment group into the embedding space, significantly improving the quality of diagnostic reports.
Performance Metrics and Implications
| Metric | Before SWARM Implementation | After SWARM Implementation | Improvement Rate |
|---|---|---|---|
| Average Initial Response Time | 17.4 hours | ~8 minutes | 130x reduction |
| Automation Coverage | Manual-heavy | 96.2% | — |
| Daily Ticket Throughput | 65+ | Same volume autonomously processed | Minimal engineer intervention |
These figures illustrate how institutional knowledge becomes available to engineers in real-time and how operational continuity changes. Particularly in domains like clinical labs, where downtime directly translates to delays in patient outcomes, this is a proven case for the value of agent-type AI.
Implications for Developers, Planners, and Business Leaders
- Developers: Reduce the burden of container orchestration, scaling, and security infrastructure with a managed agent runtime (AgentCore), and design pipeline security from the start using OIDC and STS keyless patterns.
- Planners: Without injecting domain-specific metadata into the embedding pipeline, consistent diagnostic quality cannot be achieved with general RAG. Adjust document chunk strategies (e.g., batch size 100) based on throughput, cost, and accuracy trade-offs.
- Business Leaders: Deploying agent-type AI on a managed service stack that meets HIPAA and BAA requirements can absorb compliance costs at the infrastructure level. The 130x improvement in response speed directly correlates with equipment utilization, patient throughput, and revenue-related metrics.