-
Notifications
You must be signed in to change notification settings - Fork 12
Quick Start
Mingjun Zhao edited this page Jun 11, 2026
·
1 revision
在运行目录创建 .env:
DeepSeek(推荐):
LLM_PROVIDER=deepseek
DEEPSEEK_API_KEY=sk-your-api-key
DEEPSEEK_MODEL=deepseek-chatOllama(本地):
LLM_PROVIDER=ollama
OLLAMA_BASE_URL=http://localhost:11434
OLLAMA_MODEL=llama3.2已安装 Release 包:
secbot从源码:
npm run start:stackTUI 默认 spawn 模式:自动拉起本地 NestJS 子进程,通过 POST /api/chat SSE 流式展示推理、工具执行与报告。
SECBOT_TUI_BACKEND=service SECBOT_API_URL=http://127.0.0.1:8000 secbotremote 为 service 的兼容别名。
| 命令 | 作用 |
|---|---|
/model |
模型与 provider 配置 |
/skills |
列出 Skills |
/skill <name> |
查看 Skill |
/create-skill ... |
创建自定义 Skill |
secbot skills list
secbot skills view <name>
secbot skills create <name> --description "..." --trigger reconnpm run dev # 后端 watch
npm run start:tui # 仅 TUI
npm run typecheck
npm test
npm run release:pack # 本地打 .tgz| 端点 | 说明 |
|---|---|
GET /health |
健康检查 |
GET /api/system/info |
系统信息 |
POST /api/chat |
主聊天(SSE) |
GET/POST /api/skills |
Skills 管理 |
详见仓库 docs/API.md。