README 未给出 CLI 的具体安装命令,需查阅 docs.costrict.ai/cli/guide/installation;私有化部署需另行参考部署文档,不是装完插件就能离线用;模型需自行配置 API 或使用内置免费模型。

costrict
zgsm-aiApache-2.0活跃维护面向企业的严格 AI 编码助手,提供 AI Agent、代码审查和代码补全,强调代码质量优先,可接入 Claude、DeepSeek、Gemini 等模型。
Costrict - strict AI coder for enterprises, quality first, including AI Agent, AI CodeReview, AI Completion.
在 VS Code 扩展市场安装 zgsm-ai.zgsm,或从 https://costrict.ai/download 下载 CLI 与 JetBrains 插件README 未说明具体显存或 GPU 型号要求;提供 VS Code 扩展、JetBrains 插件和 CLI 三种形态,也可使用云端服务。
面向企业的严格 AI 编码助手,含 Agent、代码评审与补全,支持私有化部署
面向企业的严格 AI 编码助手,提供 AI Agent、代码审查和代码补全,强调代码质量优先,可接入 Claude、DeepSeek、Gemini 等模型。
核心能力
- 严格模式按需求分析、架构设计、任务规划、测试生成规范产出代码
- 基于仓库级 RAG 索引做代码评审,并用多专家模型交叉验证
- 通过 MCP 标准化接入 API、数据库与自定义工具
- 支持图片上下文多模态输入与可扩展 Skills 工作流
- 内置免费模型,也可接 Anthropic、OpenAI 兼容 API 与本地模型
容易踩的坑
- v3.0.23Release v3.0.23最新正式版2026-09-30 · 2026-09-30 09:24 UTC
- Optimize CoStrict Cloud stability and diagnostics
- Fix known issues
- v3.0.22Release v3.0.222026-09-24 · 2026-09-24 04:41 UTC
查看更新说明
- Remove code completion feature and runtime installer
- Temporarily disable quota purchase entries
- Fix known issues
- v3.0.21Release v3.0.212026-09-09 · 2026-09-09 12:13 UTC
查看更新说明
- Fix normalize non-array cs-cloud diff responses in getDiff to prevent a render crash
- Fix known issues
- v3.0.20Release v3.0.202026-08-18 · 2026-08-18 16:59 UTC
查看更新说明
- Add MiniMax-M3 model to the MiniMax model registry
- Optimize cloud mode auto-start fallback and improve the not-running error UI
- Execute
/compactlocally via the session command API in Cloud mode (assistant-ui) - Fix known issues
- v3.0.19Release v3.0.192026-08-09 · 2026-08-09 11:57 UTC
查看更新说明
- Implement workspace trust service requiring explicit user approval before starting project-scoped MCP servers and loading custom tools
- Persist trust decisions per workspace with command fingerprint tracking for re-approval on changes
- Fix known issues
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
CoStrict
Strict AI Coder for Enterprises
Free • Open Source • Private Deployment
简体中文 | English
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 |
| 🎯 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
🚀 Key Features
Strict Mode
Standardizes AI-generated code workflows for enterprise scenarios, ensuring high-quality and controllable outputs.
Code Review
Repository-wide indexing and RAG-based analysis with multi-model verification strategies.
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 - 🔗 VSCode SCM Integration - Seamless integration with Git for code review and collaboration
- Auto Cleanup History - Automatically clean up history and reduce disk usage.
- 📝 History Import&Export - Supports import and export of historical records to facilitate offline migration
- 🔗 Lite Mode - Reduce context usage and reduce token consumption.
📚 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
🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
📄 License
Apache 2.0 © 2025 Sangfor, Inc.
⭐ Star History
🙏 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).