经 AI Skill Hub 精选评估,OpenClaw网关 获评「强烈推荐」。这款AI工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.2 分,适合有一定技术背景的用户使用。
自托管的MCP协议网关和Agent运行时框架,采用.NET与NativeAOT技术构建。支持本地部署Agent应用,提供高性能的AI代理执行环境,适合需要私有化部署和自主可控的企业和开发者。
OpenClaw网关 是一款基于 C# 开发的开源工具,专注于 MCP协议、Agent运行时、自托管网关 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
自托管的MCP协议网关和Agent运行时框架,采用.NET与NativeAOT技术构建。支持本地部署Agent应用,提供高性能的AI代理执行环境,适合需要私有化部署和自主可控的企业和开发者。
OpenClaw网关 是一款基于 C# 开发的开源工具,专注于 MCP协议、Agent运行时、自托管网关 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 克隆仓库 git clone https://github.com/clawdotnet/openclaw.net cd openclaw.net # 查看安装说明 cat README.md # 按 README 完成环境依赖安装后即可使用
# 查看帮助 openclaw.net --help # 基本运行 openclaw.net [options] <input> # 详细使用说明请查阅文档 # https://github.com/clawdotnet/openclaw.net
# openclaw.net 配置说明 # 查看配置选项 openclaw.net --config-example > config.yml # 常见配置项 # output_dir: ./output # log_level: info # workers: 4 # 环境变量(覆盖配置文件) export OPENCLAW.NET_CONFIG="/path/to/config.yml"
For a real local gateway from source:
export MODEL_PROVIDER_KEY="sk-..."
dotnet run --project src/OpenClaw.Cli -c Release -- start
When the gateway finishes startup it now prints explicit phase markers, a final OpenClaw gateway ready. block, the localhost URLs, Ctrl-C to stop, and any non-fatal startup notices under Started with notices:. Then open:
| Surface | URL |
|---|---|
| Web UI / Live Chat | http://127.0.0.1:18789/chat |
| Admin UI | http://127.0.0.1:18789/admin |
| Integration API | http://127.0.0.1:18789/api/integration/status |
| MCP endpoint | http://127.0.0.1:18789/mcp |
The root URL redirects to /chat. For the full first-run walkthrough (including the "First 10 Minutes" runbook and debugging flow), see docs/QUICKSTART.md. For the project shape and repository map before changing code, see docs/GETTING_STARTED.md.
If you want a direct gateway fallback instead of the full CLI onboarding flow, run:
dotnet run --project src/OpenClaw.Gateway -c Release -- --quickstart
--quickstart is interactive-only. It applies a minimal loopback-local profile for the current process, prompts for missing provider inputs, retries on the common first-run failures, and after a successful start can save the working setup to ~/.openclaw/config/openclaw.settings.json.
If the CLI is already on your PATH, the same guided entrypoints are:
openclaw start
openclaw setup
openclaw setup launch --config ~/.openclaw/config/openclaw.settings.json
openclaw setup service --config ~/.openclaw/config/openclaw.settings.json --platform all
openclaw setup status --config ~/.openclaw/config/openclaw.settings.json
openclaw upgrade check --config ~/.openclaw/config/openclaw.settings.json
openclaw upgrade rollback --config ~/.openclaw/config/openclaw.settings.json --offline
Useful follow-up commands and surfaces:
openclaw models presets
openclaw models packages
openclaw models install gemma-4-e4b --accept-license --path ~/Downloads/gemma-4-E4B-it-Q4_K_M.gguf --mmproj-path ~/Downloads/mmproj-gemma-4-E4B-it-Q8_0.gguf
openclaw models doctor
openclaw maintenance scan --config ~/.openclaw/config/openclaw.settings.json
openclaw maintenance fix --config ~/.openclaw/config/openclaw.settings.json --dry-run
openclaw skills inspect ./skills/my-skill
openclaw compatibility catalog
openclaw insights
openclaw admin trajectory export --anonymize --output ./trajectory.jsonl
openclaw upgrade check --config ~/.openclaw/config/openclaw.settings.json --offline
openclaw upgrade rollback --config ~/.openclaw/config/openclaw.settings.json --offline
openclaw migrate upstream --source ./upstream-agent --target-config ~/.openclaw/config/openclaw.settings.json
/admin/skills/admin/maintenance/admin/observability/summary/admin/insights/admin/audit/export/admin/trajectory/exportFor local Ollama setups, prefer the native root endpoint and an explicit preset:
openclaw setup --non-interactive --profile local --workspace ./workspace --provider ollama --model llama3.2 --model-preset ollama-general
OpenClaw.NET now treats Ollama as a first-class native provider at http://127.0.0.1:11434. Older /v1 endpoints still work for one compatibility cycle, but openclaw models doctor will flag them so you can migrate cleanly.
For OpenClaw-managed local inference, use provider embedded with an installable package. Gemma 4 is now the main embedded local model path:
openclaw models packages
openclaw models install gemma-4-e4b \
--accept-license \
--path ~/Downloads/gemma-4-E4B-it-Q4_K_M.gguf \
--mmproj-path ~/Downloads/mmproj-gemma-4-E4B-it-Q8_0.gguf
openclaw setup --provider embedded --model-preset embedded-gemma-4-e4b --model gemma-4-e4b
openclaw models status gemma-4-e4b
The package catalog includes Gemma 4 E2B, E4B, 31B, and 26B-A4B GGUF entries, plus the experimental Gemma 4 E2B LiteRT-LM package for adapter work. The older gemma-local-small-q4 Gemma 3 package remains available for smaller machines.
Embedded video support is frame-based: OpenClaw samples local video/* inputs into ordered image frames before calling the local sidecar, and Gemma 4 GGUF packages include the multimodal projector file needed for image-frame inputs. LiteRT-LM packages are experimental and require an OpenClaw-compatible adapter binary; see docs/LOCAL_MODELS.md.
Breaking change: browser admin usage is account/session-first. Use named operator accounts for /admin, and use operator account tokens for Companion, CLI, API, and websocket clients.
优质的MCP实现方案,.NET+NativeAOT技术栈选择合理,支持本地化部署。代码活跃度高,适合企业级应用。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:OpenClaw网关 的核心功能完整,质量优秀。对于AI爱好者来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | openclaw-net |
| 原始描述 | 开源MCP工具:Self-hosted OpenClaw gateway + agent runtime in .NET (NativeAOT-friendly)。⭐340 · C# |
| Topics | MCP协议Agent运行时自托管网关.NETNativeAOT |
| GitHub | https://github.com/clawdotnet/openclaw.net |
| License | MIT |
| 语言 | C# |
收录时间:2026-05-21 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。