| 1 | # A highly efficient, secure, and stable application development platform with excellent performance, easy scalability, and deep integration of AI capabilities such as LLM, AI Chat, RAG, and Agents.
|
| 2 |
|
| 3 | <div align="center">
|
| 4 | <img src="https://img.shields.io/badge/Go-1.24+-00ADD8?style=for-the-badge&logo=go&logoColor=white" alt="Go Version">
|
| 5 | <img src="https://img.shields.io/badge/Microkernel-Layered-6BA539?style=for-the-badge" alt="Architecture">
|
| 6 | <img src="https://img.shields.io/badge/LLM--Agent--MCP-74AA9C?style=for-the-badge&logo=brain&logoColor=white" alt="LLM-Agent-MCP">
|
| 7 | <img src="https://img.shields.io/badge/AIChat--RAG-FF6F00?style=for-the-badge&logo=ai&logoColor=white" alt="AIChat-RAG">
|
| 8 | <img src="https://img.shields.io/badge/Cloud_Native-3371E3?style=for-the-badge&logo=Docker&logoColor=white" alt="Cloud Native">
|
| 9 |
|
| 10 | **Language Options:** [中文](README.zh-CN.md) | [English](README.md)
|
| 11 | </div>
|
| 12 |
|
| 13 | ## 📋 Project Introduction
|
| 14 |
|
| 15 | Weave (meaning "to weave") – from a simple thread to a complex tapestry, weaving is the creative process from simplicity to complexity. A high-performance, high-efficiency, easily extensible **empowerment tool/AI application development platform** built with Golang, designed for efficiently constructing stable and reliable intelligent applications. It employs a microkernel + layered architecture, allowing developers to develop efficiently and integrate/manage various tools/services with ease, while maintaining high system performance and scalability.
|
| 16 |
|
| 17 | <img width="660" height="265" alt="image" src="https://github.com/user-attachments/assets/1c4b8e34-aa4b-496a-8a27-ec7f212e0cc7" />
|
| 18 |
|
| 19 | Weave's core strength lies in its stable and reliable **AI feature development stack + plugin/tool system**, deeply integrating core AI capabilities such as LLM (Large Language Models), AIChat (Intelligent Chat), Agent (Intelligent Agent), RAG (Retrieval-Augmented Generation), and more. It provides a unified development framework and standardized interfaces, enabling developers to rapidly build powerful intelligent applications without needing to focus on underlying complex implementations.
|
| 20 |
|
| 21 | Primary application scenarios include:
|
| 22 | - Tool/Application Development Aggregation
|
| 23 | - Data/Service Flow Middle Platform
|
| 24 | - API Gateway and Service Orchestration
|
| 25 | - AI Application Development - Building LLM, AIChat, Agent, and RAG intelligent applications
|
| 26 | - Automated Workflows - Complex task automation combining ETL, DevOps, and Agent
|
| 27 |
|
| 28 | ---
|
| 29 |
|
| 30 | ## 🏗️ Overall Architecture
|
| 31 |
|
| 32 | <img width="1562" height="545" alt="image" src="https://github.com/user-attachments/assets/e56f5d3b-b9e4-417a-992e-2997991aa2ad" />
|
| 33 |
|
| 34 | Weave adopts a microkernel + layered architectural design pattern, fully leveraging the advantages of both to ensure system availability, achieving high flexibility, scalability, and excellent performance.
|
| 35 |
|
| 36 | ### Integration of Microkernel and Layered Architecture
|
| 37 |
|
| 38 | Weave incorporates the design philosophy of layered architecture on top of a microkernel architecture, forming a complete, efficient, and flexible architectural system:
|
| 39 |
|
| 40 | - Microkernel Architecture (Plugin System): Provides plugin management, lifecycle control, and inter-plugin communication mechanisms.
|
| 41 | - Layered Architecture (Core System): Separates core functionalities by concerns, forming a clear hierarchical structure.
|
| 42 |
|
| 43 | ### Microkernel Architecture Components
|
| 44 |
|
| 45 | - Core Kernel: Provides fundamental runtime environment, plugin management, configuration management, logging services, security mechanisms, and other basic functionalities.
|
| 46 | - Plugin System: The plugin manager handles plugin registration, lifecycle management, dependency resolution, and conflict detection.
|
| 47 | - Extension Plugins: Integrated into the core system through plugin interfaces, implementing various business functionalities.
|
| 48 |
|
| 49 | ### Layered Architecture Components
|
| 50 |
|
| 51 | - Interface Layer: Handles HTTP requests, including routing management and controllers.
|
| 52 | - Business Layer: Contain |