How mehmetozkaya/agents-on-enterprise works
This repository is a book’s collection of .NET enterprise-agent examples, not a single deployable application. Its principal user-to-result pattern is demonstrated by the agent examples: a user prompt reaches an agent, which may call tools or retrieve context, then returns a response. The graph groups the examples by capability rather than implying they run together. Several subsystems are documented in the README but their source was not sampled; those appear as directory-level nodes, with uncertain runtime links omitted.
Main entry points: QdrantVectorStore/Program.cs Qdrant RAG · FinanceAgentMiddleware/Program.cs Agent Middleware · StructuredOutputStreaming/Program.cs Streaming Output · 15-mcp MCP Examples
Components 34
Agent Development
- Basic Agent
part-03-core/07-getting-started/BasicAgentApp/Program.cs - Streaming Output
part-03-core/07-getting-started/StructuredOutputStreaming/Program.cs - Tool Use
part-03-core/08-tool-use - Session Memory
part-03-core/09-memory - Context Provider
part-03-core/09-memory/CustomContextProvider/Program.cs
Workflows and RAG
- Workflow Orchestration
part-04-multi-agent/10-workflows/AgenticWorkflowPatterns/Program.cs - Workflow Runner
part-04-multi-agent/10-workflows/AgenticWorkflowPatterns/EnterpriseOrchestrator.cs - Human Checkpoints
part-04-multi-agent/10-workflows/CheckpointHumanInTheLoop/SecOpsWorkflowFactory.cs - Text RAG
part-05-agentic-rag/12-develop-agentic-rag/BasicTextRAGExample/Program.cs - Qdrant RAG
part-05-agentic-rag/12-develop-agentic-rag/QdrantVectorStore/Program.cs - Architecture Records
part-05-agentic-rag/12-develop-agentic-rag/QdrantVectorStore/ArchitectureDecision.cs
Protocols and UI
- A2A Service
part-06-communications/14-a2a/EnterpriseComplianceService/Program.cs - Forecast Contract
part-06-communications/14-a2a/EnterpriseComplianceService/WeatherForecast.cs - MCP Examples
part-06-communications/15-mcp - AG-UI Client Server
part-06-communications/16-ag-ui - Developer UI
part-06-communications/17-devui/EnterpriseKycService/Program.cs
Governance and Reasoning
- Agent Middleware
part-07-advanced/18-middleware/FinanceAgentMiddleware/Program.cs - Guardrails
part-07-advanced/18-middleware/FinanceAgentMiddleware/Middleware/GuardrailMiddleware.cs - PII Redaction
part-07-advanced/18-middleware/FinanceAgentMiddleware/Middleware/PIIRedactionMiddleware.cs - Rate Limiting
part-07-advanced/18-middleware/FinanceAgentMiddleware/Middleware/RateLimitingMiddleware.cs - Skills Architecture
part-07-advanced/19-skills/EnterpriseSkillsArchitecture/Program.cs - Agent Reasoning
part-07-advanced/20-reasoning/AgentReasoning/Program.cs
Enterprise Operations
- Observability Defaults
part-08-enterprise/22-observability/SupplyChain.ServiceDefaults/Extensions.cs - Supply Chain API
part-08-enterprise/22-observability/SupplyChain.ApiService/Program.cs - Weather API Client
part-08-enterprise/22-observability/SupplyChain.Web/WeatherApiClient.cs - Agent Evaluation
part-08-enterprise/23-evaluation/AgentEvaluation/Program.cs - Security Middleware
part-08-enterprise/24-security/SecurityArchitecture/EnterpriseSecurityMiddleware.cs - Security Example
part-08-enterprise/24-security/SecurityArchitecture/Program.cs
Other components
- User
- Qdrant Store
- Hosted MCP
- Azure OpenAI
- Agent Response
- Human Reviewer
Connections 25
- User → Streaming Output: submits prompt
part-03-core/07-getting-started/StructuredOutputStreaming/Program.cs - Streaming Output → Azure OpenAI: requests completion
part-03-core/07-getting-started/StructuredOutputStreaming/Program.cs - Streaming Output → Agent Response: returns analysis
part-03-core/07-getting-started/StructuredOutputStreaming/Program.cs - User → Context Provider: provides context
part-03-core/09-memory/CustomContextProvider/Program.cs - Context Provider → Azure OpenAI: extracts profile
part-03-core/09-memory/CustomContextProvider/Program.cs - User → Workflow Orchestration: selects workflow
part-04-multi-agent/10-workflows/AgenticWorkflowPatterns/Program.cs - Workflow Orchestration → Workflow Runner: runs workflow
part-04-multi-agent/10-workflows/AgenticWorkflowPatterns/Program.cs - User → Qdrant RAG: asks question
part-05-agentic-rag/12-develop-agentic-rag/QdrantVectorStore/Program.cs - Qdrant RAG → Architecture Records: stores records
part-05-agentic-rag/12-develop-agentic-rag/QdrantVectorStore/Program.cs - Qdrant RAG → Qdrant Store: upserts and searches
part-05-agentic-rag/12-develop-agentic-rag/QdrantVectorStore/Program.cs - Qdrant RAG → Azure OpenAI: embeds and answers
part-05-agentic-rag/12-develop-agentic-rag/QdrantVectorStore/Program.cs - MCP Examples → Hosted MCP: connects remotely
part-06-communications/15-mcp/HostedMcpGovernanceExample/Program.cs - User → MCP Examples: asks question
part-06-communications/15-mcp/HostedMcpGovernanceExample/Program.cs - Human Reviewer → MCP Examples: approves tool use
part-06-communications/15-mcp/HostedMcpGovernanceExample/Program.cs - Agent Middleware → Rate Limiting: wraps client
part-07-advanced/18-middleware/FinanceAgentMiddleware/Program.cs - Agent Middleware → PII Redaction: wraps client
part-07-advanced/18-middleware/FinanceAgentMiddleware/Program.cs - Agent Middleware → Guardrails: wraps client
part-07-advanced/18-middleware/FinanceAgentMiddleware/Program.cs - Security Example → Security Middleware: configures pipeline
part-08-enterprise/24-security/SecurityArchitecture/Program.cs - User → Security Example: submits query
part-08-enterprise/24-security/SecurityArchitecture/Program.cs - User → Agent Evaluation: scenario input
part-08-enterprise/23-evaluation/AgentEvaluation/Program.cs - Agent Evaluation → Azure OpenAI: runs target and judge
part-08-enterprise/23-evaluation/AgentEvaluation/Program.cs - Supply Chain API → Observability Defaults: uses defaults
part-08-enterprise/22-observability/SupplyChain.ApiService/Program.cs - Weather API Client → Forecast Contract: deserializes data
part-08-enterprise/22-observability/SupplyChain.Web/WeatherApiClient.cs - AG-UI Client Server → User: serves agent UI
- A2A Service → Forecast Contract: uses contract