graph TD
A[Subagent: Backend API Processor] --> B[Receive Input Parameters]
B --> C[Environment Selection]
B --> D[Config Details]
B --> E[Endpoint Requirements]
C --> F[LLM Processing]
D --> F
E --> F
F --> G[Generate Server Code]
G --> H[Setup Endpoint Logic]
G --> I[Input Processing]
G --> J[Response Handling]
G --> K[Error Management]
H --> L[Code Assembly]
I --> L
J --> L
K --> L
L --> M[Format Output]
M --> N[Final Code File]
style A fill:#f9d71c
style F fill:#a2d2ff
style N fill:#90ee90