CodeFuse-ChatBot is an open-source AI intelligent assistant developed by Ant's CodeFuse team, dedicated to simplifying and optimizing all stages of the software development lifecycle. The project combines a Multi-Agent collaborative scheduling mechanism and integrates a rich tool library, code repository, knowledge base, and sandbox environment, enabling LLM models to effectively execute and handle complex tasks in the DevOps field.
Purpose
The project aims to build an AI intelligent assistant for the entire software development lifecycle through retrieval-augmented generation (RAG), tool learning, and a sandbox environment, covering stages such as design, coding, testing, deployment, and operations. The goal is to transform the traditional development and operations model into an intelligent development and operations model based on large-model question answering.
Main Capabilities
- Intelligent scheduling core: Built a scheduling core with a well-developed system chain, supporting multi-mode one-click configuration.
- Full-repository code analysis: Achieves in-depth understanding of repository-level code, as well as code writing and generation at the project file level.
- Document analysis enhancement: Integrates a document knowledge base and knowledge graph to enhance document analysis through retrieval and reasoning.
- Vertical-domain dedicated knowledge: A dedicated knowledge base customized for the DevOps field, supporting self-service one-click construction of vertical-domain knowledge bases.
- Vertical-domain model compatibility: For small models in the DevOps field, ensures compatibility with DevOps-related platforms.
- Supports offline private deployment based on open-source LLMs and Embedding models, and also supports OpenAI API calls.
Core Components
- Multi-Agent Schedule Core: A multi-agent scheduling core that can create interactive agents with simple configuration.
- Multi Source Web Crawl: A multi-source web crawler that provides crawling functionality for specified URLs.
- Data Processor: A data processor that completes document loading, data cleaning, and text segmentation.
- Text Embedding & Index: A text embedding index that supports uploading files for document retrieval.
- Vector Database & Graph Database: Vector and graph databases that provide data management solutions.
- Prompt Control & Management: Prompt control and management that defines the context environment of agents.
- SandBox: A sandbox environment that safely executes code compilation and actions.
- LLM: The agent's brain, supporting multipleopen-source models and LLM interfaces.
- API Management: An API management tool that enables rapid integration of open-source components and operations platforms.
Usage
Testing has been completed on Windows and X86-architecture macOS systems under Python 3.9.18 and CUDA 11.7. The nvidia driver must be installed separately. For Apple Silicon (Apple M-series chips), it may be necessary to first run brew install qpdf. It is recommended to use conda to manage the Python environment (optional), or to start via start.py (the older startup method). For Docker installation, private LLM integration, and related startup issues, see the quick usage details. For more LLM integration methods, see the project documentation.
Applicable Scenarios
Suitable for stages such as design, coding, testing, deployment, and operations throughout the software development lifecycle, and especially suitable for teams that require private deployment, code repository question-answering enhancement, document analysis enhancement, and DevOps vertical-domain knowledge management.
Limitations
Specific features, fees, prices, platforms, effects, or usage steps are not fully explained in the provided materials. Please refer to the project's official documentation.