AN

aisht669/netclaw

Deployment & DevOps

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

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
Открыть полный README на GitHub

Рекомендуемые инструменты

Попробуйте другой запрос или уберите фильтр.

Установка

npx skillfish add aisht669/netclaw
Новичок в MCP? Начните с руководства на mcpskill.org →