Back to Prompt Library
implementation
Setup AutoGen Group Chat for Cyber-Physical Analysis
Inspect the original prompt language first, then copy or adapt it once you know how it fits your workflow.
Linked challenge: Physical-Cyber Anomaly Diagnostic System for Water Plants with AutoGen
Format
Code-aware
Lines
12
Sections
5
Linked challenge
Physical-Cyber Anomaly Diagnostic System for Water Plants with AutoGen
Prompt source
Original prompt text with formatting preserved for inspection.
12 lines
5 sections
No variables
0 checklist items
import autogen
config_list = autogen.config_list_from_json("OAI_CONFIG_LIST")
# Define CyberSecurityAgent and PhysicalProcessAgent
cyber_agent = autogen.AssistantAgent(
name="Cyber_Security_Analyst",
llm_config={"config_list": config_list}
)
physical_agent = autogen.AssistantAgent(
name="Process_Engineer",
llm_config={"config_list": config_list}
)
# Configure GroupChat and ManagerAdaptation plan
Keep the source stable, then change the prompt in a predictable order so the next run is easier to evaluate.
Keep stable
Hold the task contract and output shape stable so generated implementations remain comparable.
Tune next
Update libraries, interfaces, and environment assumptions to match the stack you actually run.
Verify after
Test failure handling, edge cases, and any code paths that depend on hidden context or secrets.