AN

aisht669/netclaw

Deployment & DevOps

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

20 stars 品質 43 トレンド 10

A lightweight AI assistant built on .NET, inspired by OpenClaw / PicoClaw / ZeroClaw.

概要

A lightweight AI assistant built on .NET, inspired by OpenClaw / PicoClaw / ZeroClaw. - 🪶 : AOT compiled, single-file deployment, fast startup - 🔌 : Cloud APIs + Local models (Ollama, vLLM, etc.) - 🛠️ : File read/write, directory listing, shell execution - 💾 : Identity, personality, long-term memory, user info separated - 🔧 : SKILL.md format with YAML frontmatter support - 📢 : QQ, DingTalk, Feishu message integration - 🔒 : Dangerous commands auto-filtered Stores configuration, memory, skills and other , completely separated from working directory: The directory where Agent actually operates files. Can be set during onboard or temporarily specified with -w parameter: Configuration file located at ~/.netclaw/config.json - Dangerous commands auto-blocked (rm -rf, format, shutdown, etc.) - Command execution timeout limit (default 30 seconds, max 5 minutes)

README

以下は原文 README の抜粋です。原文を見る。

NetClaw

中文文档 | English

A lightweight AI assistant built on .NET, inspired by OpenClaw / PicoClaw / ZeroClaw.

Features

  • 🪶 Lightweight: AOT compiled, single-file deployment, fast startup
  • 🔌 Multi-LLM Support: Cloud APIs + Local models (Ollama, vLLM, etc.)
  • 🛠️ Built-in Tools: File read/write, directory listing, shell execution
  • 💾 Memory System: Identity, personality, long-term memory, user info separated
  • 🔧 Skill System: SKILL.md format with YAML frontmatter support
  • 📢 Multi-Channel: QQ, DingTalk, Feishu message integration
  • 🔒 Sandbox: Dangerous commands auto-filtered

Quick Start

Requirements

  • .NET 10 SDK

Installation & Run

# Initialize configuration
dotnet run --project src/NetClaw -- onboard

# Send a single message
dotnet run --project src/NetClaw -- agent -m "Hello"

# Interactive mode
dotnet run --project src/NetClaw -- agent

Commands

Command Description
onboard Initialize configuration, set API key or local model
agent Chat with AI
status Show current configuration status
clear Clear conversation history
skill Skill management
memory Memory management
gateway Start message gateway server
channel Channel configuration management

Agent Options

-m, --message    Send a single message
-p, --provider   Specify LLM provider (override default)
--model          Specify model (override default)
-w, --workdir    Specify working directory (override default)
-s, --session    Specify session ID

Skill Management

# List all skills
netclaw skill list

# Add a skill
netclaw skill add -n "translate" -d "Translate text"

# Delete a skill
netclaw skill delete -n "translate"

Memory Management

# Show memory content
netclaw memory show -t user      # User info
netclaw memory show -t identity  # Identity settings
netclaw memory show -t soul      # Personality settings
netclaw memory show -t memory    # Long-term memory

# Edit memory content
netclaw memory edit -t user

Message Gateway

# Start gateway (listen on port 8080)
netclaw gateway

# Specify port
netclaw gateway -p 9090

# View channel configuration
netclaw channel list

# Enable a channel
netclaw channel enable -n dingtalk

# Configure channel parameters
netclaw channel config -n dingtalk -k webhook_url -v "https://oapi.dingtalk.com/robot/send?access_token=xxx"

Channel Integration

Supports three messaging platforms:

Channel Protocol Description
QQ OneBot Compatible with NapCat, Lagrange, etc.
DingTalk Webhook Custom bot + Enterprise internal bot
Feishu Webhook Custom bot + Enterprise self-built app

QQ Configuration

# Enable QQ channel
netclaw channel enable -n qq

# Configure OneBot API address
GitHub で README 全文を見る

推奨ツール

別のキーワードを試すか、フィルタを外してください。

インストール

npx skillfish add aisht669/netclaw
MCP 初心者?mcpskill.org のガイドから始めましょう →