Vibe Coding
返回 FastClaw

FastClaw / 开始使用

快速开始

从安装单二进制到进入 Dashboard:先跑起来,再创建 provider、agent 和第一条会话。

快速开始 核心概念信息图
快速开始 核心概念信息图

安装

官方 README 提供一行安装脚本。安装完成后,直接运行 fastclaw 会进入首次启动流程,并在本机打开 Dashboard。

curl -fsSL https://raw.githubusercontent.com/fastclaw-ai/fastclaw/main/install.sh | bash
fastclaw

首次启动

第一次启动会创建 FastClaw home、数据库和默认配置,并引导你设置 LLM provider 与默认 Agent。默认 Dashboard 地址是 http://localhost:18953。

1

启动网关

运行 fastclaw,进程会加载 env、安装 bundled skills、启动 API server 和 Dashboard。

2

完成 setup

浏览器打开本地页面后,创建管理员或使用 setup token 完成初始化。

3

配置 provider

在 Dashboard 或 CLI 中添加 OpenAI、Anthropic、Ollama、OpenRouter 等模型供应商。

4

创建 Agent

选择模型、写入 SOUL/IDENTITY,确认工具和沙盒,再开始第一条会话。

第一条会话

建议先用低风险 Agent 验证模型、工具和文件权限,而不是一上来接入生产工作流。

fastclaw agents init demo \
  --provider openai \
  --model openai/gpt-4o-mini \
  --api-key-env OPENAI_API_KEY

fastclaw agents ls

启动检查

跑通之后确认四件事:Dashboard 能登录,provider 能完成一次对话,Agent 文件可读写,沙盒工具按预期受限。

  • Dashboard: http://localhost:18953
  • 默认端口: FASTCLAW_PORT,默认 18953
  • 默认数据目录: ~/.fastclaw
  • 后台运行: fastclaw daemon start