Skip to main content

BIO-QMS Agent Orchestration Workflow

End-to-end multi-agent workflow for regulated biotech QMS operations.

Overview

The BIO-QMS agent system processes quality management operations through a coordinated multi-agent pipeline. The orchestrator receives requests, dispatches to specialized workers, collects results, and routes through QA review before completion.

Workflow: Work Order Processing

Workflow: CAPA Investigation

Agent Involvement:

  • INVESTIGATION phase: capa-investigation agent performs root cause analysis
  • ACTION_PLAN phase: documentation agent drafts action plan documents
  • EFFECTIVENESS_CHECK phase: compliance-monitoring agent verifies effectiveness

Workflow: Compliance Monitoring

Circuit Breaker Recovery

Tenant Isolation Flow

Audit Trail Flow

Every agent invocation generates an audit chain:

  1. AGENT_INVOCATION — Logged when agent job starts
  2. MODEL_SELECTION — Logged when model tier is resolved
  3. AGENT_RESPONSE or AGENT_ERROR — Logged on completion
  4. Workflow linkage — Audit entry linked to state transition (if applicable)

Retention: 7 years for regulated records, 3 years for non-regulated.

Rate Limiting

LimitValueScope
Concurrent jobs3Per tenant
Requests/minute10Per tenant
Requests/hour100Per tenant
Job timeout2 min (default)Per job
Max timeout10 minPer job

Key Decision Points

DecisionAgentHuman Required?
Route work order to agentswo-orchestratorNo
Pre-check quality recordqa-reviewerNo
Approve quality record-Yes (always)
Root cause methodologycapa-investigationNo
CAPA effectiveness decision-Yes (always)
Compliance risk scoringcompliance-monitoringNo
Regulatory submission-Yes (always)

See Also

  • Skill: skills/bio-qms-agent-framework/SKILL.md
  • Command: /bio-qms-agent
  • Hook: hooks/bio-qms-agent-audit.md
  • Product SSOT: submodules/dev/coditect-biosciences-qms-platform/agents/
  • TypeScript: backend/libs/qms-core/src/agents/ (7 modules)