Costrict
Costrict - strict AI coder for enterprises, quality first, including AI Agent, AI CodeReview, AI Completion.
Install / Use
/learn @zgsm-ai/CostrictQuality Score
Category
Development & EngineeringSupported Platforms
README
CoStrict
<img src="./assets/images/shenma_robot_logo_big.png" alt="CoStrict Logo" width="60">Strict AI Coder for Enterprises
Free • Open Source • Private Deployment
简体中文 | English
</div>CoStrict is a free, open-source AI-powered coding assistant designed for enterprise-grade development. With support for private deployment, it's the optimal choice for organizations requiring secure, standardized AI development workflows.
✨ Core Capabilities
| Feature | Description | | ---------------------- | ------------------------------------------------------------------------------------------------------------------- | | 🔒 Strict Mode | Standardized AI code generation with requirements analysis, architecture design, task planning, and test generation | | 🔍 Code Review | Repository-wide RAG-based code analysis with multi-expert model verification | | ⚡ Code Completion | Context-aware code generation in seconds | | 🎯 Vibe Code | Rapid development through natural language dialogue | | 🔗 MCP Integration | Standardized system connectivity for APIs, databases, and custom tools | | 🎨 Multi-modal | Support for image context and visual inputs | | 🛠️ Skills Support | Extensible skills system for specialized task workflows |
📦 Installation
<table> <tr> <td align="center" width="33%"> <b>VS Code Extension</b><br><br> <a href="https://marketplace.visualstudio.com/items?itemName=zgsm-ai.zgsm"> <img src="./assets/images/readme/download on vscode marketplace_en.png" alt="Install from VS Marketplace" width="180"> </a> </td> <td align="center" width="33%"> <b>CLI Tool</b><br><br> <a href="https://docs.costrict.ai/cli/guide/installation"> <img src="https://img.shields.io/badge/CLI-Documentation-blue?style=for-the-badge" alt="CLI Docs"> </a> <a href="https://costrict.ai/download"> <img src="https://img.shields.io/badge/Download-Latest-success?style=for-the-badge" alt="Download"> </a> </td> <td align="center" width="33%"> <b>JetBrains Plugin</b><br><br> <a href="https://github.com/zgsm-ai/costrict-jetbrains-agent"> <img src="https://img.shields.io/badge/GitHub-Repository-informational?style=for-the-badge" alt="JetBrains Repo"> </a> <a href="https://costrict.ai/download"> <img src="https://img.shields.io/badge/Download-Latest-success?style=for-the-badge" alt="Download"> </a> </td> </tr> </table>🚀 Key Features
Strict Mode
Standardizes AI-generated code workflows for enterprise scenarios, ensuring high-quality and controllable outputs.
<table bgcolor="#1e1e1e"> <tr> <td align="center" width="50%"> <a href="https://docs.costrict.ai/en/tutorial-videos/video/#strict-mode"> <img src="./assets/images/readme/strict_mode_en_buffer.webp" alt="Strict Mode Demo" width="100%"> </a> </td> <td align="center" width="50%"> <img src="./assets/images/readme/strict_mode_en.webp" alt="Strict Mode" width="100%"> </td> </tr> </table>Code Review
Repository-wide indexing and RAG-based analysis with multi-model verification strategies.
<table bgcolor="#1e1e1e"> <tr> <td align="center" width="50%"> <a href="https://docs.costrict.ai/en/tutorial-videos/video/#ai-codereview"> <img src="./assets/images/readme/codereview_buffer.webp" alt="Code Review Demo" width="100%"> </a> </td> <td align="center" width="50%"> <img src="./assets/images/readme/codereview_en.webp" alt="Code Review" width="100%"> </td> </tr> </table>More Features
- 🌐 Multi-language Support - Python, Go, Java, JavaScript/TypeScript, C/C++, and all programming languages
- 🔐 Privacy & Security - Professional private deployment with physical isolation and end-to-end encryption
- 🎛️ API & Model Customization - Built-in free models + support for Anthropic, OpenAI, OpenAI-compatible APIs, and local models
- 📁 Large Repository Context - Automatic context inclusion with @ file/folder mentions
- 🔧 Mode Customization - Multiple default modes (Code, Orchestrator) with custom mode support
- 📝 OpenSpec Integration - Standardized change proposal workflows with
/openspec-init
📚 Documentation
| Resource | Link | | ------------------ | -------------------------------------------------------------------------------------------------- | | Installation Guide | docs.costrict.ai/en/guide/installation | | Private Deployment | docs.costrict.ai/en/deployment/introduction | | Tutorial Videos | docs.costrict.ai/en/tutorial-videos/video | | CLI Documentation | docs.costrict.ai/cli/guide/installation |
🤝 Community & Support
<table> <tr> <td align="center" width="33%"> <img src="./assets/images/readme/wechat.png" width="120"><br> <b>WeChat Group</b> </td> <td align="center" width="33%"> <img src="./assets/images/readme/communication_group.webp" width="120"><br> <b>Feedback</b> </td> <td align="center" width="33%"> <a href="https://github.com/zgsm-ai/costrict/issues/new/choose"> <img src="https://img.shields.io/badge/GitHub-Issues-blue?style=for-the-badge&logo=github" alt="GitHub Issues"> </a> </td> </tr> </table>🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
📄 License
Apache 2.0 © 2025 Sangfor, Inc.
⭐ Star History
<a href="https://www.star-history.com/#zgsm-ai/costrict&Date"> <img src="https://api.star-history.com/svg?repos=zgsm-ai/costrict&type=Date" alt="Star History Chart" width="100%"> </a>🙏 Acknowledgments
Special thanks to our open-source partners:
Disclaimer
Please note that Sangfor, Inc does not make any representations or warranties regarding any code, models, or other tools provided or made available in connection with CoStrict, any associated third-party tools, or any resulting outputs. You assume all risks associated with the use of any such tools or outputs; such tools are provided on an "AS IS" and "AS AVAILABLE" basis. Such risks may include, without limitation, intellectual property infringement, cyber vulnerabilities or attacks, bias, inaccuracies, errors, defects, viruses, downtime, property loss or damage, and/or personal injury. You are solely responsible for your use of any such tools or outputs (including, without limitation, the legality, appropriateness, and results thereof).
