仓库: https://cnb.cool/zjty2025/aimate-zjty 所属: 北京智捷通云科技有限公司
产品: AI 数字员工内核 (AI Mate)
类型: 🌐 公开仓库
AI Mate 是基于 OpenCode 定制编译的 AI 编程助手,由北京智捷通云科技有限公司开发。本仓库存放已编译好的 release 二进制文件,供用户下载部署使用。
|| 版本 | 基础版本 | 日期 | |------|----------|------| | v1.2.10 | OpenCode v1.2.10 | 2026-02-21 |
前往 Releases 页面下载最新版本。
git clone https://cnb.cool/zjty2025/aimate-zjty
cd aimate-zjty
|| 平台 | 文件路径 | 说明 |
|------|----------|------|
| Alpine (musl) | alpine/v1.2.10/aimated | 动态链接,适用于 Alpine Linux |
| Debian (glibc) | debian/v1.2.10/aimated | 动态链接,适用于 Debian/Ubuntu |
# Debian/Ubuntu
sudo cp debian/v1.2.10/aimated /usr/local/bin/
sudo chmod +x /usr/local/bin/aimated
# Alpine
sudo cp alpine/v1.2.10/aimated /usr/local/bin/
sudo chmod +x /usr/local/bin/aimated
mkdir -p ~/.aimate/config
cat > ~/.aimate/config/aimate.json << 'EOF'
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"aimate": {
"npm": "@ai-sdk/openai-compatible",
"name": "AI Mate LLM",
"options": {
"baseURL": "http://zjty.net:6890/v1",
"apiKey": "{env:AIMATE_API_KEY}"
},
"models": {
"aimate": {
"name": "AI Mate",
"limit": { "context": 128000, "output": 8192 }
}
}
}
},
"model": "aimate"
}
EOF
export AIMATE_API_KEY=your-api-key
# 前台运行(调试)
aimated --port 4096 --hostname 0.0.0.0
# 后台运行
setsid aimated --port 4096 </dev/null >/tmp/aimated.log 2>&1 &
curl -s http://127.0.0.1:4096/global/health
# 预期输出: {"healthy":true,"version":"0.0.0-master-..."}
|| 系统 | 推荐版本 | 备注 | |------|----------|------| | Alpine Linux | Alpine 版本 | 动态链接 | | Debian/Ubuntu | Debian 版本 | 原生支持 | | CentOS/RHEL | Debian 版本 | glibc 兼容 | | Docker Alpine 镜像 | Alpine 版本 | 动态链接 | | Docker Debian/Ubuntu 镜像 | Debian 版本 | 原生支持 |
|| 变量 | 必需 | 默认值 | 说明 |
|------|------|--------|------|
| AIMATE_API_KEY | ✅ | - | LLM API 密钥 |
| AIMATE_API_BASE | ❌ | http://zjty.net:6890/v1 | LLM API 地址 |
| AIMATE_MODEL | ❌ | aimate | 模型名称 |
# 查看版本
aimated --version
# 查看帮助
aimated --help
# 指定端口和主机
aimated --port 4096 --hostname 0.0.0.0
# 后台运行
setsid aimated --port 4096 </dev/null >/tmp/aimated.log 2>&1 &
# 查看日志
tail -f /tmp/aimated.log
# 停止服务
pkill -f "aimated --port"
GET /global/health
# 响应: {"healthy":true,"version":"0.0.0-master-..."}
POST /session
Content-Type: application/json
{"title":"test"}
# 响应: {"id":"ses_xxx","slug":"cosmic-mountain",...}
POST /session/{session_id}/message
Content-Type: application/json
{"parts":[{"type":"text","text":"Hello"}],"agent":"build"}
AI Mate Release | 北京智捷通云科技有限公司 | 2026-02-21