经 AI Skill Hub 精选评估,Serf AI编码智能体 获评「推荐使用」。这款AI工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.2 分,适合有一定技术背景的用户使用。
非交互式AI编码助手,接收自然语言提示自动完成代码阅读、编写和执行。支持多轮推理和命令行集成,适合开发者自动化编码任务和快速原型开发。
Serf AI编码智能体 是一款基于 Go 开发的开源工具,专注于 AI代理、代码生成、工作流自动化 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
非交互式AI编码助手,接收自然语言提示自动完成代码阅读、编写和执行。支持多轮推理和命令行集成,适合开发者自动化编码任务和快速原型开发。
Serf AI编码智能体 是一款基于 Go 开发的开源工具,专注于 AI代理、代码生成、工作流自动化 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:go install(推荐) go install github.com/prime-radiant-inc/serf@latest # 方式二:从源码编译 git clone https://github.com/prime-radiant-inc/serf cd serf go build -o serf . # 方式三:下载预编译二进制 # 访问 Releases 页面下载对应平台二进制文件 # https://github.com/prime-radiant-inc/serf/releases
# 查看帮助 serf --help # 基本运行 serf [options] <input> # 详细使用说明请查阅文档 # https://github.com/prime-radiant-inc/serf
# serf 配置说明 # 查看配置选项 serf --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export SERF_CONFIG="/path/to/config.yml"
A non-interactive coding agent. Give it a prompt, it does the work.
Serf uses the LLM's native tool-calling to read files, write files, run commands, and search code in a loop until the work is complete. It supports OpenAI, Anthropic, and Google models.
For how the code is organized — modules, layout, and the build workspace — see docs/architecture.md.
⎇ glyph)./new — prompt-first, pick model and working dir, click spawn.✎ edit, hit ⌘↵, label the original branch, confirm. The new branch becomes active; the original is preserved as a sibling fork.make build
Build the standalone one-shot client (no agent loop):
make build-llmcall
Build the multi-session web orchestrator:
make build-hub
make build-tui
make build-hub
serf-hub # default 127.0.0.1:9180
Open http://127.0.0.1:9180 in your browser. For production-style setup, credentials, Codex app-server sources, and smoke checks, see cmd/serf-hub/README.md.
serf --model <provider/model> [flags] <prompt>
The prompt can be passed as arguments or piped via stdin:
```bash
Start the dashboard:
serf-tui
By default serf-tui connects to http://127.0.0.1:9180. If no local hub is running, it starts serf-hub automatically and waits for /api/health.
Connect to a specific hub:
serf-tui --hub-addr http://127.0.0.1:9180
Use a specific hub binary or disable auto-start:
serf-tui --hub-bin /path/to/serf-hub
serf-tui --no-auto-start-hub
| Variable | Description |
|---|---|
SERF_MODEL | Default model as provider/model (used when --model is omitted) |
OPENAI_API_KEY | OpenAI API key |
ANTHROPIC_API_KEY | Anthropic API key |
GEMINI_API_KEY | Google Gemini API key |
OLLAMA_BASE_URL | Ollama base URL (default http://localhost:11434/v1) |
OLLAMA_HOST | Ollama host (Ollama's canonical env var; used if OLLAMA_BASE_URL is unset) |
OLLAMA_API_KEY | Optional API key for authenticated Ollama proxies / Ollama Cloud |
~/.serf/hub.toml (optional):
```toml addr = "127.0.0.1:9180" spawn_timeout = "30s" past_results_per_page = 50
past_index_db = "/Users/you/.serf/index.db"
Hub launch model choices come from the Serf launch harness contract
(`serf launch-check --models`), not from a static model roster in `hub.toml`.
Launch defaults live in layered launch config files. For user-wide defaults,
create `~/.serf/launch.toml`:
toml app_replay_size = 4096
[env] OPENAI_API_KEY = "..." ```
serf-tui is a hub-backed terminal dashboard for Serf sessions. It connects to serf-hub, lists live and saved sessions, lets you drill into a transcript, and sends session actions through the hub API.
轻量级Go实现的AI编码代理,架构简洁高效���非交互设计适合自动化场景,但成熟度和功能完整性有待提升。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:Serf AI编码智能体 的核心功能完整,质量良好。对于AI爱好者来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | serf |
| 原始描述 | 开源AI工作流:A non-interactive coding agent: give it a prompt and it reads, writes, runs comm。⭐48 · Go |
| Topics | AI代理代码生成工作流自动化CLI工具LLM应用 |
| GitHub | https://github.com/prime-radiant-inc/serf |
| License | MIT |
| 语言 | Go |
收录时间:2026-06-06 · 更新时间:2026-06-11 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。