How pronative-ai/loop-graph-engg works
This .NET console app demonstrates three agent-workflow patterns: iterative code repair, DAG-based multi-agent development, and a human-approved deployment gate. Users select a walkthrough in the console; the entry point configures the LLM client and tracing, then dispatches to the selected flow. The graph walkthrough coordinates specialist stages through a shared workflow engine and state, while governance pauses deployment for operator approval. The README documents several capabilities whose implementation details are only partly sampled; edges below reflect documented or excerpted relationships, not inferred wiring.
Main entry points: Program.cs Menu Runtime · GraphWorkflowWalkthrough.cs Graph Walkthrough · MiddlewareGuardrail.cs Approval Guardrail · LoopAgentWalkthrough.cs Loop Walkthrough
Components 20
Console Runtime
- Menu Runtime
src/Program.cs
Loop Engineering
- Loop Walkthrough
src/LoopParadigm/LoopAgentWalkthrough.cs - Diagnostic Workspace
src/LoopParadigm/LoopDiagnosticWorkspace.cs - Command Execution
src/TerminalExecutionTool.cs
Graph Engineering
- Graph Walkthrough
src/GraphParadigm/GraphWorkflowWalkthrough.cs - Workflow Engine
src/WorkflowGraph.cs - Workflow State
src/CodingProjectState.cs - Architect Stage
src/GraphParadigm/GraphWorkflowWalkthrough.cs - Parallel Coders
src/GraphParadigm/GraphWorkflowWalkthrough.cs - Reviewer Stage
src/GraphParadigm/GraphWorkflowWalkthrough.cs - Deployment Stage
src/GraphParadigm/GraphWorkflowWalkthrough.cs
Governance
- Approval Guardrail
src/Governance/MiddlewareGuardrail.cs - Approval Store
src/HumanCheckpointStore.cs
Shared Services
- LLM Configuration
src/LlmConfiguration.cs - Console Presentation
src/Shared/ConsoleLogger.cs - Trace Configuration
src/Shared/TelemetryConfiguration.cs
Other components
- Console User
- LLM Gateway
- Human Operator
- OTLP Collector
Connections 23
- Console User → Menu Runtime: selects walkthrough
src/Program.cs - Menu Runtime → LLM Configuration: creates client
src/Program.cs - LLM Configuration → LLM Gateway: connects to
src/LlmConfiguration.cs - Menu Runtime → Loop Walkthrough: dispatches to
src/Program.cs - Menu Runtime → Graph Walkthrough: dispatches to
src/Program.cs - Menu Runtime → Approval Guardrail: dispatches to
src/Program.cs - Loop Walkthrough → Diagnostic Workspace: uses tools
src/LoopParadigm/LoopAgentWalkthrough.cs - Diagnostic Workspace → LLM Gateway: requests evaluation
src/LoopParadigm/LoopDiagnosticWorkspace.cs - Loop Walkthrough → Command Execution: uses execution tool
src/TerminalExecutionTool.cs - Graph Walkthrough → Workflow Engine: configures workflow
README.md - Graph Walkthrough → Workflow State: initializes state
src/GraphParadigm/GraphWorkflowWalkthrough.cs - Graph Walkthrough → Architect Stage: defines stages
README.md - Architect Stage → Parallel Coders: fans out parallel
src/GraphParadigm/GraphWorkflowWalkthrough.cs - Parallel Coders → Reviewer Stage: joins at review
README.md - Reviewer Stage → Deployment Stage: gates on approval
src/GraphParadigm/GraphWorkflowWalkthrough.cs - Approval Guardrail → Workflow Engine: registers middleware
src/Governance/MiddlewareGuardrail.cs - Approval Guardrail → Approval Store: records decision
src/Governance/MiddlewareGuardrail.cs - Human Operator → Approval Store: approves or rejects
src/HumanCheckpointStore.cs - Approval Guardrail → Deployment Stage: intercepts transition
src/Governance/MiddlewareGuardrail.cs - Menu Runtime → Trace Configuration: initializes tracing
src/Program.cs - Trace Configuration → OTLP Collector: exports traces
src/Shared/TelemetryConfiguration.cs - LLM Configuration → Trace Configuration: instruments client
src/LlmConfiguration.cs - Menu Runtime → Console Presentation: prints menu
src/Program.cs