>
从入门到 MCP

文档与快速开始

涵盖安装、CLI 命令、配置文件、MCP 接入、技能与计费缓存。

快速开始

在项目根目录初始化 Reasonix,它会自动检测你的技术栈并生成配置。

$ npx @reasonix/cli@latest init $ npx @reasonix/cli@latest ✔ 计划已生成,等待通过计划门

CLI 命令

常用命令一览,完整列表可通过 reasonix --help 查看。

# 初始化 / 运行 / 回放 $ reasonix init $ reasonix run "描述你的意图" $ reasonix replay <session-id>

配置文件

所有行为都通过 .reasonix/config.yaml 调整,支持本地覆盖。

# .reasonix/config.yaml engine: v4-pro sandbox: true mcp: - postgres - playwright

MCP 接入

通过 Model Context Protocol 接入任意工具,密钥保存在本地。

$ reasonix mcp add postgres ✔ postgres 已连接

技能系统

本地技能 SL-* 与 Agent 技能 SK-* 都可自定义,放进 .reasonix/skills 即可。

$ reasonix skill list SL-REVIEW SK-MIGRATE SL-CHANGELOG

计费与缓存

V4 Pro 按推理 token 计费;本地缓存会显著降低重复任务成本。

$ reasonix cache status ✔ 命中 38 次,节省约 62% token

想看实际案例?

博客里有我们的设计理念与版本发布记录。

查看博客 立即下载