Skip to content

Latest commit

ย 

History

234 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

AgentProject - AI-Powered Intelligent Agent Platform

A professional-grade AI agent framework built with .NET 8.0 and React, designed for autonomous task execution and intelligent workflow automation. All files and solution logic are generated from Manus. reference: https://manus.im/ About to be abandoned

๐Ÿ“ข Author's Message

This project is continuously being optimized, and the author strives for 3+ updates and optimizations per week.

C# never lost online, never won in reality. Man! what can i say? ๐Ÿš€

2026-02-01 Reminder

Due to Manus' recent reduction of key functions and the increasingly serious problems exposed in its Reddit community, the author's expectations for Manus have been declining.

Because it has become more oriented towards non-professional users, both the loopholes in the payment system and the efficiency of integrating the model for project modifications have become increasingly poor. I began to miss the version that was released not long ago.

This has forced the author to rethink and switch to more professional platforms and tools such as Cursor / Claude Code / Antigravity / Codex in order to continue the project.

Not only this was disappointing:

Damn

ไธญๆ–‡็‰ˆๆœฌ

๐Ÿ“‹ Table of Contents


๐ŸŽฏ Project Overview

AgentProject is an enterprise-grade AI agent framework that combines cutting-edge Large Language Model (LLM) technologies with robust backend infrastructure and intuitive frontend interfaces. The platform enables autonomous task execution through intelligent workflow management, Retrieval-Augmented Generation (RAG), and sandbox-based task processing.

Key Highlights

  • ๐Ÿค– Multi-Model Support: Integration with OpenAI, DeepSeek, Kimi, and Llama 4, supporting both open-source and closed-source models
  • ๐Ÿ—๏ธ Distributed Architecture: Native support for Kubernetes and Docker, inherently scalable
  • ๐Ÿ”’ Advanced Security: eBPF system monitoring, ASP.NET Core Identity integration, fine-grained access control
  • โšก Real-time Communication: SignalR enables instant updates and push notifications
  • ๐Ÿ“Š Enterprise-Ready: Comprehensive logging, distributed tracing, and observability
  • ๐ŸŽจ Modern UI: Dark theme support with intuitive workflow visualization

โœจ Key Features

๐Ÿค– AI & LLM Capabilities

  • Semantic Kernel Integration - Unified LLM abstraction layer supporting multiple model providers (OpenAI, DeepSeek, Kimi, Llama 4)
  • Model Context Protocol (MCP) - Standardized tool integration framework for seamless AI tool interoperability
  • Retrieval-Augmented Generation (RAG) - Intelligent knowledge base with ChromaDB and custom vector store integration
  • Advanced Prompt Engineering - Prompt system with dynamic variable substitution and template management
  • Model Fine-tuning Tools - Complete scripts and utilities for custom model adaptation with MLflow tracking

โš™๏ธ Workflow & Automation

  • Intelligent Workflow Engine - Orchestration and execution of complex multi-step tasks
  • Workflow Visualization - Visual workflow editor with drag-and-drop interface
  • Sandbox Terminal Integration - Secure isolated command execution environment preventing malicious operations
  • Dynamic Task Planning - AI-driven automatic to-do list generation and task decomposition
  • Flexible Interaction Handling - Support for interaction patterns across diverse task types

๐Ÿ” System & Security

  • eBPF Detection Module - Low-level system monitoring and security threat analysis
  • Identity & Authorization - Complete ASP.NET Core Identity implementation
  • Custom Policy Engine - Fine-grained role and permission management
  • Web Search Integration - Real-time information retrieval via SearXNG and SerpApi

๐Ÿ“ˆ Observability & Operations

  • Agent Trace - Distributed tracing for AI agent execution flows with OpenTelemetry
  • Distributed Tracing - OpenTelemetry integration for end-to-end request visualization
  • Prometheus Metrics - Comprehensive application and system health metrics
  • MLflow Experiment Management - Model training and experiment tracking
  • Structured Logging - Correlation IDs and contextual logging across the call stack

๐Ÿš€ Infrastructure & Deployment

  • Docker Containerization - Complete Docker Compose multi-container orchestration solution
  • Kubernetes Support - Helm charts and raw manifests for cloud deployment
  • YARP Reverse Proxy - Intelligent gateway with circuit breaker pattern support
  • High Availability Design - Load balancing and failover mechanisms

๐Ÿ›  Technology Stack

๐Ÿ“ฑ Backend Technologies

Component Version Purpose
.NET 8.0+ Modern high-performance web framework
ASP.NET Core 8.0+ Web API and real-time communication
Entity Framework Core 8.0+ PostgreSQL ORM mapping
SignalR 8.0+ Real-time bidirectional communication
Autofac Latest Advanced dependency injection container
OpenTelemetry Latest Observability and distributed tracing
Semantic Kernel Latest LLM abstraction and orchestration
YARP Latest Reverse proxy and gateway

๐ŸŽจ Frontend Technologies

Component Version Purpose
React 18.0+ Modern UI framework
TypeScript 5.0+ Type-safe JavaScript development
SignalR Client 8.0+ Real-time notification client
Tailwind CSS Latest Modern CSS framework
Theme System Built-in Light/Dark theme switching

๐Ÿ’พ Data & Storage

Component Purpose
PostgreSQL 12+ Primary relational database for metadata storage
ChromaDB Vector database supporting RAG functionality
Redis (Optional) Caching layer for improved query performance

๐Ÿณ Containerization & Orchestration

Component Purpose
Docker Application and service containerization
Docker Compose Local development multi-container orchestration
Kubernetes 1.21+ Production cloud deployment
Helm 3.0+ Kubernetes package management and templating

๐Ÿ“Š Monitoring & Operations

Component Purpose
Prometheus Metrics collection and storage
Grafana (Optional) Metrics visualization dashboard
MLflow Machine learning experiment tracking
Elasticsearch (Optional) Log indexing and search

๐Ÿ”— Integration & Extensions

Component Purpose
Model Context Protocol (MCP) Standardized tool integration framework
Nginx Web server and load balancing
SearXNG / SerpApi Web search integration

๐Ÿ— System Architecture

Layered Architecture Design (Layered Architecture Pattern)

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”“
โ”ƒ                      Layer 1: Presentation                          โ”ƒ
โ”ƒ  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”ƒ
โ”ƒ  โ”‚  React 18+ Application Interface (agent-ui)                 โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ”‚  Dashboard       โ”‚  โ”‚  Workflow        โ”‚  โ”‚  Task    โ”‚  โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ”‚  - Analytics     โ”‚  โ”‚  - Editor        โ”‚  โ”‚  - Board โ”‚  โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ”‚  - Overview      โ”‚  โ”‚  - Visualizer    โ”‚  โ”‚  - Cards โ”‚  โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚   โ”ƒ
โ”ƒ  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”ƒ
โ”—โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”›
                                  โ†•                                   
                      HTTP/HTTPS + WebSocket                          
                                  โ†•                                   
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”“
โ”ƒ                    API Gateway Layer                                โ”ƒ
โ”ƒ              (Nginx / YARP - Load Balancing)                        โ”ƒ
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜       
                              โ”‚                                       
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ปโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”“
โ”ƒ         Business Logic Layer (Application Layer)              โ”ƒ
โ”ƒ                    ASP.NET Core Backend                       โ”ƒ
โ”ƒ                                                                โ”ƒ
โ”ƒ  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”ƒ
โ”ƒ  โ”‚  Agent.Api (Startup, Configuration, Routing)         โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ”œโ”€ Program.cs: App Entry Point & DI Setup           โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ”œโ”€ GlobalUsings.cs: Global Namespaces               โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ”œโ”€ Controllers: REST API Routes                     โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ””โ”€ Extensions: Modular Service Registration         โ”‚   โ”ƒ
โ”ƒ  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”ƒ
โ”ƒ                                                                โ”ƒ
โ”ƒ  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”ƒ
โ”ƒ  โ”‚  Agent.Application (Application Orchestration)       โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ”œโ”€ DTOs: Request/Response Data Transfer Objects     โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ”œโ”€ Mappers: Entity-DTO Mapping Logic                โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ”œโ”€ Validators: Business Rule Validation             โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ”œโ”€ Commands: CQRS Command Handling                  โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ”œโ”€ Queries: CQRS Query Handling                     โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ”œโ”€ Events: Domain Events Definition                 โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ””โ”€ Behaviors: Pipeline Behaviors & Intercepting     โ”‚   โ”ƒ
โ”ƒ  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”ƒ
โ”ƒ                                                                โ”ƒ
โ”ƒ  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”ƒ
โ”ƒ  โ”‚  Agent.Core (Core Business Logic - Domain Layer)     โ”‚   โ”ƒ
โ”ƒ  โ”‚                                                       โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ–ถ Identity & Authorization                          โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ Authorization Handlers (Roles/Policies/Claims) โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ Authorization Policies (Permission Rules)      โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ””โ”€ Identity Services (User/Role Management)       โ”‚   โ”ƒ
โ”ƒ  โ”‚                                                       โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ–ถ Workflow & Task Management                        โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ WorkflowService (Workflow Orchestration)       โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ TaskService (Task Management)                  โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ StateManager (State Tracking)                  โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ””โ”€ ExecutionContext (Execution Context)           โ”‚   โ”ƒ
โ”ƒ  โ”‚                                                       โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ–ถ System Monitoring & Detection                     โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ eBPF Services (Process Monitoring)             โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ SecurityDetector (Threat Detection)            โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ””โ”€ HealthChecker (Health Checking)                โ”‚   โ”ƒ
โ”ƒ  โ”‚                                                       โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ–ถ Data Access & Persistence                         โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ Entity Models (Data Entities)                  โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ DbContext (EF Core Context)                    โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ Repositories (Generic Repository Pattern)      โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ””โ”€ Migrations (Database Migrations)               โ”‚   โ”ƒ
โ”ƒ  โ”‚                                                       โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ–ถ Real-Time Communication                           โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ SignalR Hubs (Real-time Message Push)          โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ NotificationService (Notification Service)     โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ””โ”€ ConnectionManager (Connection Management)      โ”‚   โ”ƒ
โ”ƒ  โ”‚                                                       โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ–ถ Gateway & Routing                                 โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ YARP Configuration (YARP Setup)                โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ RouteService (Routing Service)                 โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ””โ”€ CircuitBreaker (Circuit Breaker Pattern)       โ”‚   โ”ƒ
โ”ƒ  โ”‚                                                       โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ–ถ Exception & Logging                               โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ Exception Handlers (Exception Handling)         โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ Logging Middleware (Logging Middleware)        โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ””โ”€ Correlation ID (Correlation ID)                โ”‚   โ”ƒ
โ”ƒ  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”ƒ
โ”ƒ                                                                โ”ƒ
โ”ƒ  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”   โ”ƒ
โ”ƒ  โ”‚  Agent.McpGateway (AI Orchestration Engine)          โ”‚   โ”ƒ
โ”ƒ  โ”‚                                                       โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ–ถ LLM Integration & Management                      โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ SemanticKernelService (SK Wrapper)             โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ ModelRouter (Model Routing)                    โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ PluginManager (Plugin Management)              โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ””โ”€ PromptOptimizer (Prompt Optimization)          โ”‚   โ”ƒ
โ”ƒ  โ”‚                                                       โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ–ถ Knowledge Base & RAG                              โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ RagService (RAG Core Service)                  โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ DocumentProcessor (Document Processing)        โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ EmbeddingGenerator (Vector Generation)         โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ VectorDatabaseService (Vector DB Operations)   โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ””โ”€ SimilaritySearcher (Similarity Search)          โ”‚   โ”ƒ
โ”ƒ  โ”‚                                                       โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ–ถ Workflow Orchestration                            โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ WorkflowService (Workflow Engine)              โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ WorkflowVisualization (Visual Editor Backend)  โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ WorkflowExecutor (Executor)                    โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ WorkflowParser (Parser)                        โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ””โ”€ StateManager (State Management)                โ”‚   โ”ƒ
โ”ƒ  โ”‚                                                       โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ–ถ Prompt Engineering                                โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ PromptService (Prompt Management)              โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ TemplateEngine (Template Engine)               โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ VariableResolver (Variable Resolution)         โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ””โ”€ PromptCache (Prompt Caching)                   โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ””โ”€ ToolCallEnhancer (Tool Call Reliability)       โ”‚   โ”ƒ
โ”ƒ  โ”‚                                                       โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ–ถ Sandbox & Isolated Execution                      โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ SandboxService (Sandbox Service)               โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ ProcessExecutor (Process Execution)            โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ EnvironmentManager (Environment Management)    โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ””โ”€ SecurityManager (Security Isolation)           โ”‚   โ”ƒ
โ”ƒ  โ”‚                                                       โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ–ถ Search & Integration                              โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ WebSearchService (Web Search)                  โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ CacheWarmupService (Intelligent Cache Preload) โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ McpTools (MCP Tools)                           โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ FileUploadService (File Management)            โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ””โ”€ UserInputService (User Input)                  โ”‚   โ”ƒ
โ”ƒ  โ”‚                                                       โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ–ถ Model Fine-Tuning                                 โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ FinetuneService (Fine-tuning Service)          โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ MeteringService (Usage Tracking & Billing)     โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ DatasetPreparer (Dataset Preparation)          โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ ModelTrainer (Model Training)                  โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ””โ”€ MetricsCalculator (Metrics Calculation)        โ”‚   โ”ƒ
โ”ƒ  โ”‚                                                       โ”‚   โ”ƒ
โ”ƒ  โ”‚  โ–ถ Observability                                     โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ AgentTraceService (Agent Execution Tracing)    โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ TelemetryService (Telemetry Service)           โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ”œโ”€ MetricsCollector (Metrics Collection)          โ”‚   โ”ƒ
โ”ƒ  โ”‚    โ””โ”€ TraceExporter (Trace Exporting)                โ”‚   โ”ƒ
โ”ƒ  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜   โ”ƒ
โ”—โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”›
                                  โ†•                                   
          โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”               
          โ”‚                       โ”‚                   โ”‚               
    โ”Œโ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”            
    โ”‚ PostgreSQL โ”‚        โ”‚  ChromaDB   โ”‚    โ”‚ External   โ”‚            
    โ”‚ (Metadata) โ”‚        โ”‚  (Vectors)  โ”‚    โ”‚ Services   โ”‚            
    โ”‚            โ”‚        โ”‚             โ”‚    โ”‚            โ”‚            
    โ”‚ - Users    โ”‚        โ”‚ - Embeddingsโ”‚    โ”‚ - OpenAI   โ”‚            
    โ”‚ - Workflowsโ”‚        โ”‚ - Documents โ”‚    โ”‚ - DeepSeek โ”‚            
    โ”‚ - Tasks    โ”‚        โ”‚ - RAG Index โ”‚    โ”‚ - Kimi     โ”‚            
    โ”‚ - Config   โ”‚        โ”‚             โ”‚    โ”‚ - Llama 4  โ”‚            
    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜        โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ”‚ - SearXNG  โ”‚            
                                              โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜            

Architecture Characteristics

๐Ÿ“Œ Separation of Concerns

  • Single responsibility per layer, clear boundaries
  • Dependencies flow from top to bottom
  • Each layer independently testable and maintainable

๐Ÿ”„ Data Flow

  1. Request Flow: Presentation โ†’ Gateway โ†’ Application โ†’ Business โ†’ Data โ†’ Storage
  2. Response Flow: Storage โ†’ Data โ†’ Business โ†’ Application โ†’ Gateway โ†’ Presentation
  3. Notification Flow: SignalR Hub โ†’ Gateway โ†’ Presentation (Real-time Push)

๐Ÿ›ก๏ธ Cross-Cutting Concerns

  • Authentication/Authorization: Enforced at gateway and business layers
  • Logging/Tracing: Collected across all layers
  • Error Handling: Unified handling at gateway layer
  • Caching: Implemented at data layer

๐Ÿ’ป System Requirements

Minimum Hardware Configuration

CPU:     4 cores (8+ cores recommended)
Memory:  8 GB (16+ GB recommended)
Storage: 50 GB SSD (100+ GB recommended)
Network: Stable 1Mbps+ network connection

Software Dependencies

Required Components

.NET SDK         8.0.0 or higher
Node.js          16.x or higher
npm / yarn       7.0+ or 1.22.x+
Docker           20.10+ (for containerized deployment)
Docker Compose   1.29+ (for container orchestration)
PostgreSQL       12.x or higher
Git              2.20+

Optional Components

Kubernetes       1.21+ (for cloud deployment)
Helm             3.0+ (for Kubernetes package management)
NVIDIA CUDA      11.0+ (for GPU acceleration)
Prometheus       Latest (for monitoring)
MLflow           Latest (for experiment tracking)
Elasticsearch    7.0+ (for log analysis)
Redis            6.0+ (for caching)

Network Requirements

- Network connectivity to various LLM service providers
- Firewall rules allowing:
  * Port 3000 (Frontend)
  * Port 5000 (Backend API)
  * Port 5432 (PostgreSQL)
  * Port 8000 (ChromaDB)
  * Port 9090 (Prometheus)

๐Ÿ“ Project Structure

apps/ - Application Code

apps/
โ”œโ”€ agent-api/                         # ๐Ÿ”ง Backend API Services
โ”‚  โ”œโ”€ Agent.Api/                      # ๐ŸŽฏ Application Startup & Configuration
โ”‚  โ”œโ”€ Agent.Application/              # ๐Ÿ’ผ Application Orchestration Layer
โ”‚  โ”œโ”€ Agent.Core/                     # ๐Ÿ’Ž Core Business Logic
โ”‚  โ””โ”€ Agent.McpGateway/               # ๐Ÿค– AI Orchestration Engine
โ”‚
โ”œโ”€ agent-ui/                          # ๐ŸŽจ React Frontend Application
โ”‚  โ”œโ”€ public/                         # ๐Ÿ“Š Static Assets
โ”‚  โ””โ”€ src/                            # ๐Ÿ’ป Source Code
โ”‚     โ”œโ”€ components/                  # ๐Ÿงฉ Reusable UI Components
โ”‚     โ”œโ”€ pages/                       # ๐Ÿ“„ Application Pages
โ”‚     โ”œโ”€ services/                    # ๐Ÿ”Œ API Services
โ”‚     โ”œโ”€ hooks/                       # โš›๏ธ Custom React Hooks
โ”‚     โ”œโ”€ store/                       # ๐Ÿ—„๏ธ State Management
โ”‚     โ”œโ”€ styles/                      # ๐ŸŽจ CSS Styles
โ”‚     โ”œโ”€ utils/                       # ๐Ÿ› ๏ธ Utility Functions
โ”‚     โ””โ”€ types/                       # ๐Ÿ“‹ TypeScript Types
โ”‚
โ”œโ”€ agent-ops-ui/                      # ๐Ÿ“ˆ Operations & Monitoring UI
โ”‚  โ””โ”€ ...                             # Dashboard for system metrics
โ”‚
โ”œโ”€ agent-ops/                         # ๐Ÿ” Operational Services
โ”‚  โ””โ”€ Agent.Metering/                 # ๐Ÿ“Š Usage Metering & Billing
โ”‚
โ””โ”€ agent-tools/                       # ๐Ÿ› ๏ธ Utility Tools & Scripts
    โ””โ”€ ...                            # Python-based tool collection

docs/ - Documentation

docs/
โ”œโ”€ agent-ui_dependency_summary.md     # ๐Ÿ“‹ Agent UI Dependencies
โ”œโ”€ api_documentation.md               # ๐Ÿ“š API Documentation
โ”œโ”€ chromadb_integration.md            # ๐Ÿ” ChromaDB Setup Guide
โ”œโ”€ clickhouse_integration.md          # ๐Ÿ’พ ClickHouse Integration
โ”œโ”€ deepo_unsloth_cuda_setup.md        # ๐ŸŽ“ Deepo & Unsloth CUDA Setup
โ”œโ”€ docker_quickstart.md               # ๐Ÿณ Docker Quick Start
โ”œโ”€ dynamic_external_access.md         # ๐ŸŒ Dynamic External Access
โ”œโ”€ ebpf_integration.md                # ๐Ÿ”’ eBPF Security Module
โ”œโ”€ environment_setup.md               # โš™๏ธ Environment Configuration
โ”œโ”€ github_upload.md                   # ๐Ÿ“ค GitHub Upload Guide
โ”œโ”€ grafana_integration.md             # ๐Ÿ“Š Grafana Dashboard Setup
โ”œโ”€ harbor_installation.md             # ๐Ÿ—๏ธ Harbor Registry Installation
โ”œโ”€ helm_installation.md               # โŽˆ Helm Charts Guide
โ”œโ”€ identity_signalr_integration.md    # ๐Ÿ” Auth & Real-time Comm
โ”œโ”€ kubernetes_istio_grayscale_release.zh_CN.md  # โ˜ธ๏ธ K8s Deployment
โ”œโ”€ mcp_integration_guide.zh_CN.md     # ๐Ÿ”Œ MCP Integration
โ”œโ”€ mlflow_integration.md              # ๐Ÿ“ˆ MLflow Experiment Tracking
โ”œโ”€ openmanus_integration.md           # ๐Ÿค– OpenManus Integration
โ”œโ”€ prometheus_integration.md          # ๐Ÿ“‰ Prometheus Monitoring
โ”œโ”€ rag_prompt_engineering.md          # ๐Ÿค– RAG & Prompt Engineering
โ”œโ”€ sandbox_terminal_integration.md    # ๐Ÿ”’ Sandbox Environment
โ”œโ”€ semantic_kernel_examples.md        # ๐Ÿง  Semantic Kernel Guide
โ”œโ”€ ssh_setup.md                       # ๐Ÿ”‘ SSH Configuration
โ”œโ”€ unsloth_lora_finetuning.md         # ๐ŸŽ“ Model Fine-tuning
โ”œโ”€ vllm_integration.md                # โšก vLLM Integration
โ”œโ”€ workflow_integration.md            # ๐Ÿ”„ Workflow Engine Guide
โ””โ”€ yarp_gateway_integration.md        # ๐Ÿšช YARP Gateway Setup

infra/ - Infrastructure

infra/
โ”œโ”€ cicd/                              # ๐Ÿ”„ CI/CD Pipeline Configs
โ”‚  โ””โ”€ ...                             # GitHub Actions, Jenkins
โ”‚
โ”œโ”€ docker/                            # ๐Ÿณ Docker Configuration
โ”‚  โ”œโ”€ Dockerfile.webapi               # Backend Dockerfile
โ”‚  โ”œโ”€ Dockerfile.react                # Frontend Dockerfile
โ”‚  โ”œโ”€ docker-compose.yml              # Compose orchestration
โ”‚  โ”œโ”€ nginx.conf                      # Nginx configuration
โ”‚  โ””โ”€ ...
โ”‚
โ”œโ”€ envsetup/                          # ๐Ÿ› ๏ธ Environment Setup Scripts
โ”‚  โ”œโ”€ install_dependencies.sh
โ”‚  โ”œโ”€ setup_database.sh
โ”‚  โ””โ”€ ...
โ”‚
โ”œโ”€ helm/                              # โŽˆ Helm Charts
โ”‚  โ””โ”€ agent-project/                  # Kubernetes deployment charts
โ”‚     โ”œโ”€ Chart.yaml
โ”‚     โ”œโ”€ values.yaml
โ”‚     โ””โ”€ templates/
โ”‚
โ”œโ”€ kubernetes/                        # โ˜ธ๏ธ Raw K8s Manifests
โ”‚  โ”œโ”€ namespace.yaml
โ”‚  โ”œโ”€ deployments.yaml
โ”‚  โ”œโ”€ services.yaml
โ”‚  โ”œโ”€ ingress.yaml
โ”‚  โ””โ”€ ...
โ”‚
โ””โ”€ git_ci.yml                         # ๐Ÿ”ง GitHub Actions Workflow

llm/ - Machine Learning Components

llm/
โ”œโ”€ deploy/                            # ๐Ÿš€ Model Deployment
โ”‚  โ”œโ”€ model_server.py                 # Model serving API
โ”‚  โ”œโ”€ requirements.txt
โ”‚  โ””โ”€ Dockerfile
โ”‚
โ””โ”€ finetune/                          # ๐ŸŽ“ Model Fine-tuning
   โ”œโ”€ train.py                        # Training scripts
   โ”œโ”€ evaluate.py                     # Evaluation scripts
   โ”œโ”€ dataset_loader.py               # Data loading utilities
   โ”œโ”€ config.yaml                     # Training configuration
   โ””โ”€ ...

test/ - Test Suites

test/
โ”œโ”€ Agent.Api.Tests/                   # ๐Ÿงช API Layer Tests
โ”‚  โ””โ”€ ...                             # Controller & Endpoint tests
โ”‚
โ””โ”€ Agent.Core.Tests/                  # ๐Ÿงช Core Business Logic Tests
   โ”œโ”€ Unit/                           # Unit Tests
   โ”‚  โ”œโ”€ Services/                    # Service layer tests
   โ”‚  โ”œโ”€ Repositories/                # Data access tests
   โ”‚  โ””โ”€ ...
   โ”œโ”€ Integration/                    # Integration Tests
   โ”‚  โ”œโ”€ ApiIntegrationTests.cs
   โ”‚  โ”œโ”€ DatabaseIntegrationTests.cs
   โ”‚  โ””โ”€ WorkflowIntegrationTests.cs
   โ””โ”€ MockData/                       # Test Data Factories
      โ”œโ”€ TestDataFactory.cs
      โ””โ”€ MockServices.cs

๐Ÿš€ Quick Start

Option 1๏ธโƒฃ: Docker Deployment (Recommended)

# Clone repository
git clone https://github.com/DrDrZ95/AgentProject.git
cd AgentProject

# Navigate to Docker directory
cd infra/docker

# Start all services
docker-compose up -d

# Check service status
docker-compose ps

# View live logs
docker-compose logs -f

# Stop services
docker-compose down

Service Access Points:

Option 2๏ธโƒฃ: Local Development Deployment

# Clone repository
git clone https://github.com/DrDrZ95/AgentProject.git
cd AgentProject

# 1. Configure backend
cd apps/agent-api/Agent.Api
dotnet restore
dotnet build
dotnet run

# 2. In another terminal, configure frontend
cd apps/agent-ui
npm install
npm start

# 3. Setup database (requires PostgreSQL running)
# Update connection string in appsettings.json
# Then run migrations
dotnet ef database update

Option 3๏ธโƒฃ: Kubernetes Deployment

# Create namespace
kubectl create namespace agent-project

# Install using Helm
cd infra/helm
helm install agent-project ./agent-project-chart \
  -n agent-project \
  -f values.yaml

# Verify deployment
kubectl get pods -n agent-project
kubectl get svc -n agent-project

# View deployment logs
kubectl logs -n agent-project -l app=agent-project -f

๐Ÿ“ฆ Deployment Guide

Docker Compose Configuration

# Service List
services:
  agent-api:           # ASP.NET Core Backend
  agent-ui:            # React Frontend
  postgres:            # Relational Database
  chromadb:            # Vector Database
  nginx:               # Reverse Proxy
  prometheus:          # Monitoring (Optional)
  mlflow:              # Experiment Tracking (Optional)

Environment Variables Configuration

# infra/docker/.env

# PostgreSQL Database
POSTGRES_PASSWORD=your_secure_password
DATABASE_CONNECTION_STRING=Host=postgres;Port=5432;Database=agent;...

# API Configuration
API_ENDPOINT=https://your-domain.com
API_PORT=5000

# LLM Service Configuration
OPENAI_API_KEY=sk-xxxxxxxxxxxxx
OPENAI_MODEL=gpt-4
DEEPSEEK_API_KEY=xxxxxxxxxxxxx
DEEPSEEK_MODEL=deepseek-chat
KIMI_API_KEY=xxxxxxxxxxxxx
KIMI_MODEL=moonshot-v1
LLAMA_API_ENDPOINT=http://localhost:8000
LLAMA_MODEL=llama-4-70b

# Authentication
JWT_SECRET_KEY=your-super-secret-key-min-32-chars
IDENTITY_SEED_ADMIN_PASSWORD=Admin@123456

# Vector Database
CHROMADB_HOST=chromadb
CHROMADB_PORT=8000

# Web Search
ENABLE_WEB_SEARCH=true
SEARXNG_ENDPOINT=http://searxng:8888

# Monitoring & Telemetry
ENABLE_PROMETHEUS=true
ENABLE_MLFLOW=true

Production Deployment Checklist

  1. Configure HTTPS/TLS certificates
  2. Setup database backups and replication
  3. Configure external authentication (OIDC/LDAP)
  4. Enable audit logging
  5. Deploy monitoring and alerting system
  6. Configure log aggregation
  7. Test disaster recovery procedures
  8. Establish CI/CD automation pipeline
  9. Perform performance and load testing
  10. Conduct security audit

๐Ÿ”ง Core Modules

Agent.Api - Application Entry Point

  • Responsibility: Application startup, dependency injection, middleware configuration
  • Key Files: Program.cs, GlobalUsings.cs
  • Extension Points: ServiceCollectionExtensions, MiddlewareExtensions

Agent.Application - Application Orchestration

  • Responsibility: CQRS pattern implementation, DTO mapping, business process orchestration
  • Key Features: MediatR command/query handling, AutoMapper, validation pipeline
  • Extension Points: CommandHandlers, QueryHandlers, Behaviors

Agent.Core - Core Business Logic

  • Identity & Authorization: Role-based, policy-based, claim-based authorization
  • Workflow & Task Management: Orchestration and execution of complex processes
  • System Monitoring: eBPF and security detection
  • Data Access: EF Core repositories
  • Real-Time Communication: SignalR integration
  • Gateway & Routing: YARP reverse proxy
  • Exception & Logging: Unified exception handling and structured logging
  • Identity Management: User, role, and permission management

Agent.McpGateway - AI Orchestration Engine

  • LLM Integration: Semantic Kernel wrapper, model routing
  • Knowledge Base & RAG: Document processing, vector database, similarity search
  • Workflow Orchestration: Complex task orchestration and execution with visual editor
  • Prompt Engineering: Template management, optimization, and tool call reliability
  • Sandbox Execution: Isolated command execution
  • Search & Integration: Web search, cache warmup, tool integration, file management
  • Model Fine-Tuning: Dataset preparation, model training, usage metering
  • Observability: Agent trace, telemetry and metrics collection

๐Ÿ“š Documentation

Document Description Link
api_documentation.md Complete API reference with examples View
chromadb_integration.md Vector database setup and RAG configuration View
clickhouse_integration.md ClickHouse analytics database integration View
deepo_unsloth_cuda_setup.md Deepo and Unsloth CUDA environment setup View
docker_quickstart.md Quick start guide for Docker deployment View
dynamic_external_access.md Dynamic external access configuration View
ebpf_integration.md eBPF security module and system monitoring View
environment_setup.md Development environment configuration View
github_upload.md GitHub repository upload guide View
grafana_integration.md Grafana dashboard and visualization setup View
harbor_installation.md Harbor container registry installation View
helm_installation.md Helm charts for Kubernetes deployment View
identity_signalr_integration.md Authentication and real-time communication View
mcp_integration_guide.zh_CN.md Model Context Protocol integration guide View
mlflow_integration.md MLflow experiment tracking and model management View
openmanus_integration.md OpenManus integration guide View
prometheus_integration.md Prometheus metrics and monitoring View
prompt-engineering-best-practices.md Prompt engineering best practices guide View
rag_prompt_engineering.md RAG implementation and prompt optimization View
sandbox_terminal_integration.md Secure sandbox execution environment View
semantic_kernel_examples.md Semantic Kernel usage examples View
ssh_setup.md SSH configuration for remote access View
unsloth_lora_finetuning.md Model fine-tuning with Unsloth LoRA View
vllm_integration.md vLLM high-performance inference View
workflow_integration.md Workflow engine design and implementation View
yarp_gateway_integration.md YARP reverse proxy and gateway View

๐Ÿ‘จโ€๐Ÿ’ป Development Guide

Build from Source

# Backend
cd apps/agent-api
dotnet restore
dotnet build -c Release
dotnet test

# Frontend
cd apps/agent-ui
npm install
npm run build
npm test

Development Workflow

  1. Create feature branch: git checkout -b feature/your-feature
  2. Write code: Follow coding standards
  3. Write tests: Unit and integration tests
  4. Commit changes: git commit -am 'Add feature'
  5. Push code: git push origin feature/your-feature
  6. Create PR: Detailed description of changes
  7. Code review: Wait for maintainer review
  8. Merge: Merge after approval

Coding Standards

  • C#: Follow Microsoft C# coding guidelines
  • TypeScript: Use ESLint and Prettier
  • Commits: [feat|fix|docs|style|refactor|test]: description

๐Ÿค Contributing Guide

We welcome any form of contribution! Whether it's code improvements, documentation updates, bug fixes, or new feature suggestions, we appreciate your involvement.

Contribution Process

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit changes (git commit -m 'Add some AmazingFeature')
  4. Push to branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Welcome Feedback & Suggestions

  • ๐Ÿ’ก Share Optimization Suggestions in PRs: If you have ideas for improving code, performance, or user experience, please share them in detail in your Pull Request
  • ๐Ÿ› Report Bugs: If you find any issues, please report them via Issues with reproduction steps
  • โœจ Feature Suggestions: For new features or improvements, feel free to discuss in Issues or Discussions
  • ๐Ÿ“ Documentation Improvements: If documentation is unclear or incomplete, we welcome improvement suggestions

Contribution Requirements

  • โœ… All tests must pass
  • โœ… Code conforms to project style guidelines
  • โœ… Commit messages are clear and concise
  • โœ… PR includes detailed description of changes
  • โœ… New features require documentation updates

Review Process

Our maintenance team will review Pull Requests regularly. You may receive feedback such as:

  • Code review comments
  • Requests for additional tests
  • Documentation update suggestions
  • Performance or security optimization recommendations

Please be patient with the review process as we aim to maintain code quality and long-term project maintainability.


๐Ÿ“„ License

This project is licensed under the MIT License. See LICENSE file for details.

MIT License allows:

  • โœ… Commercial use
  • โœ… Code modification
  • โœ… Distribution
  • โœ… Private use

Conditions:

  • ๐Ÿ“Œ Must include license copy
  • ๐Ÿ“Œ Must state significant changes

๐Ÿ”— Related Resources

Official Documentation

Related Projects

Reference Links


๐Ÿ“ž Support & Feedback

Getting Help

Community Support

  • Review existing Issues and Discussions
  • Participate in GitHub Discussions
  • Contribute improvements and bug fixes

๐Ÿ“Š Project Statistics

  • Programming Languages: C# (68.6%), TypeScript (27.1%), Python (2.6%), Shell (0.8%), HTML (0.6%), Go Template (0.2%), Other (0.1%)
  • Framework Versions: .NET 8.0, React 18+, ASP.NET Core 8.0
  • Lines of Code: 20,000+
  • Module Count: 25+
  • Documentation Pages: 60+
  • Test Coverage: 80%+
  • Commits: 215+
  • Stars: 21+
  • Forks: 3+

๐ŸŽฏ Roadmap

Phase 1 Completed โœ…

  • โœ… Core AI agent framework with .NET 8.0
  • โœ… Workflow management system with visual editor
  • โœ… RAG (Retrieval-Augmented Generation) implementation
  • โœ… Docker deployment support with multi-container orchestration
  • โœ… System architecture optimization with layered design
  • โœ… Modularization refactor with clean architecture principles
  • โœ… OpenAPI documentation with unified response models
  • โœ… Comprehensive unit and integration test coverage

Phase 2 In Progress ๐Ÿš€

  • โœ… Agent Trace - Distributed tracing and observability for AI agents
  • โœ… Dark Theme Support - UI theme switching capability
  • โœ… Workflow Visualization Backend - Visual workflow editor backend
  • โœ… Cache Warmup - Intelligent cache preloading
  • โœ… Tool Call Reliability Enhancement - Improved tool execution stability
  • โœ… OpenAPI Documentation Enhancement - Scalar integration and export capabilities
  • โœ… Autofac DI Integration - Unified assembly scanning dependency injection
  • ๐Ÿ”„ Advanced caching strategy optimization (Redis integration)
  • ๐Ÿ”„ WebSearch enhancement and expansion (multi-provider support)
  • ๐Ÿ”„ Model fine-tuning tool refinement with MLflow integration
  • ๐Ÿ”„ Performance benchmark testing and optimization
  • ๐Ÿ”„ API gateway enhancements with YARP
  • ๐Ÿ”„ Real-time collaboration features

Phase 3 Planned ๐Ÿ”ฎ

  • ๐Ÿ”ฎ Multi-language support (Chinese, English, Japanese, Korean)
  • ๐Ÿ”ฎ Additional LLM integrations (Claude, Gemini, local models)
  • ๐Ÿ”ฎ Community plugin system with marketplace
  • ๐Ÿ”ฎ Desktop client (Electron-based)
  • ๐Ÿ”ฎ Mobile app support (React Native)
  • ๐Ÿ”ฎ GraphQL API layer alongside REST
  • ๐Ÿ”ฎ Advanced analytics dashboard
  • ๐Ÿ”ฎ Enterprise SSO integration (SAML/OIDC)

Phase 4 Future Vision ๐Ÿ”ญ

  • ๐Ÿ”ญ AI-powered code generation assistant
  • ๐Ÿ”ญ Automated workflow optimization with self-learning capabilities
  • ๐Ÿ”ญ Multi-tenant SaaS architecture with tenant isolation
  • ๐Ÿ”ญ Advanced security compliance (SOC 2, GDPR, ISO 27001)
  • ๐Ÿ”ญ Cloud-native serverless deployment options (AWS Lambda, Azure Functions)
  • ๐Ÿ”ญ Edge computing support for low-latency scenarios
  • ๐Ÿ”ญ Federated learning integration for distributed model training
  • ๐Ÿ”ญ Natural language to workflow conversion
  • ๐Ÿ”ญ Autonomous agent swarms for complex task coordination
  • ๐Ÿ”ญ Quantum-resistant cryptography implementation

About

We are now shifting to a more specialized AGI platform to continue building this project, as Manus seems to be paying less attention to the IT professional domain.

Resources

Stars

21 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages