社区
看 2 分钟演示 实时看看 MAREF 如何拦截失控的 Agent。 → 加入 MAREF 社区
Agent 治理是集体努力的结果。以下是你参与的方式。
社区墙
贡献者、维护者和用户,一起建造被治理的 AI。
MAREF 由核心维护者团队治理,重大决策通过 RFC 和社区讨论做出。每一位贡献者——从一行文档修复到核心适配器——都在加固这面墙。
100+
GitHub Stars
11,000+
测试通过
10/10
OWASP Agentic Top 10
开发环境搭建
1. 克隆仓库
git clone https://github.com/maref-org/maref.git
cd maref 2. 安装依赖
pip install -e ".[dev]" 3. 运行测试
pytest tests/ -v --cov=src/maref 4. 代码质量
ruff check src/ # 代码检查
mypy src/ # 类型检查
pytest tests/ # 运行所有测试 贡献指南
编码规范
- • Python: PEP 8 + ruff + mypy strict mode
- • TypeScript: ESLint + strict mode
- • 所有安全关键函数必须使用
@security_critical
提交信息格式
使用 conventional commits:feat(module): description、fix(security): description、docs(readme): description
PR 要求
- • 所有测试必须通过
- • 代码覆盖率不能降低
- • 新功能必须包含测试
- • 公共 API 需要更新文档
保持联系
在 GitHub 上关注 MAREF,及时了解版本发布、RFC 和社区新闻。