AutoSwarm-Shadow-Adapter
by AhmadHassan-BTed
Zero-modification human-in-the-loop shadow adapter for OpenOPC
Overview
Adds a zero-modification human-in-the-loop Human-in-the-Loop Pattern and opens OpenOPC's agentic DAG runtime so human reviewers can observe and interpose on agent decisions without changing agents. Runs as an external adapter that taps into the runtime execution graph and surfaces candidate actions in a FastAPI + React UI for review or delayed injection. Supports shadow-mode logging and selective escalation so the same DAG can be used for automated runs, supervised runs, or mixed operation with minimal engineering changes.
Why It Matters
Best For
Teams running OpenOPC DAGs who want to add human review, shadow testing, or audit logging without changing agent code. This approach supports Shadow Mode for controlled, auditable Shadow operations.
How It's Used
- Observe agent proposals in production-like DAG runs to collect human judgments and build agent track records
- Run agents in shadow mode to compare automated outputs against human overrides before full rollout
- Log agent interactions and reviewer decisions to feed continuous evaluation and spot failure modes