RustyHand 标志

RustyHand

社区
ginkida

Agent OS in Rust — one binary, 37 agents, 26 LLM providers, 37 channels (Telegram/Discord/Slack...), MCP server, A2A protocol, 120+ API endpoints, web dashboard

发布者ginkida
代码仓库rustyhand
语言Rust
复刻数
8
星标数
20
可用工具
0
传输类型stdio, streamable-http
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    RustyHand 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 20 个星标和 8 个复刻。


v0.7.87 — Audit iteration 3: 27 verifier-confirmed fixes (June 2026) A third adversarial-audit sweep over API auth, channels, the kernel scheduler/workflows, memory/knowledge, and request routing — each finding gated behind a 3-lens refute panel. Closes an unauthenticated-Owner auth bypass (spoofed X-Forwarded-For), redirect-based SSRF in the A2A and cron-webhook clients, an RHP pre-shared-key serialization leak, MCP allowlist/file-read hardening, a ~24× cost-quota over-count, cron validation/timezone correctness, workflow run-leak + persistence races, knowledge-graph multi-hop traversal, and Unicode-aware session search. See the release notes for details.

Clone → cargo run --release -- start → open the dashboard → talk to an agent. No API key required. When no provider key is found in the environment, RustyHand falls back to a deterministic mock driver and seeds four sample resources so every major dashboard page is interactive on first visit:

  • rusty welcome agent (chat-ready)
  • demo-pipeline workflow (2-step sample, click to run)
  • sample agent-spawn trigger
  • demo-daily-ping cron job (registered, disabled by default)

A welcome modal on first visit lists all four with one-click navigation. The CLI startup banner and Docker entrypoint both announce demo mode as a feature instead of a missing-key warning. Set ANTHROPIC_API_KEY (or a Kimi / DeepSeek / Zhipu / MiniMax / OpenRouter / Ollama key) and restart for real LLM responses, or RUSTYHAND_DISABLE_DEMO_MODE=1 to force a hard fail.

Highlights since v0.7.41:

  • React dashboard — every subsystem is a page: agents, chat, workflows, automation (cron + triggers), channels, analytics, knowledge graph, skills, approvals, audit, and a full config.toml editor.
  • Autonomous-by-default agents — tuned to act without asking; grant any agent all 72 tools live via PATCH /api/agents/{id}/config (no respawn).
  • 72 built-in tools — shell, web/news search, browser automation, RAG, knowledge-graph CRUD, file ops, image vision, and config management.
  • Trust-by-default security with visible guardrails — GET /api/security reports the real runtime posture (exec mode, approval policy, per-channel gating); flip to allowlist/deny with RUSTYHAND_EXEC_MODE.
  • Everything persists — audit log (Merkle hash chain), workflows, and triggers all survive daemon restart and are replayed/validated on boot.

Origin

This project is based on OpenFang by RightNow-AI, modified and extended for custom use cases.

Table of Contents


What is RustyHand?

RustyHand is an open-source Agent Operating System — not a chatbot framework, not a Python wrapper around an LLM. It is a full operating system for autonomous agents, built from scratch in Rust.

Traditional agent frameworks wait for you to type something. RustyHand runs autonomous agents that work for you — on schedules, 24/7, building knowledge graphs, monitoring targets, generating leads, managing social media, and reporting results directly to your Telegram chat.

Telegram-First Autonomous Agent

Telegram is the primary interface for RustyHand agents. Your agent can:

CapabilityHow it works
See photosAuto-describes images via vision API
Hear voiceAuto-transcribes voice messages via Whisper
Receive filesDownloads documents, forwards to agent
Send files/photos/voiceSends generated content back to chat
Ask permissionInline keyboard buttons (Approve/Reject) pushed automatically
Show progressReal-time tool-use updates: "⚙️ web_search..." → "✅ Done"
Report autonomouslyBackground tasks push results to your chat without prompting
72 built-in toolsShell, web/news search, browser (wait, JS exec, scroll, download), RAG, knowledge graph, file ops, image vision
Markdown formattingBold, italic, code blocks render natively in Telegram
Reply threadingResponses reply to the user's message for clean conversation flow
Sticker/GIF/LocationAgent understands stickers, animations, and shared locations

The entire system compiles to a single ~32MB binary. One install, one command, your agents are live.


Installation

One-liner (Linux / macOS / WSL)

bash
curl -fsSL https://raw.githubusercontent.com/ginkida/rustyhand/main/scripts/install.sh | sh

Environment variables:

  • RUSTY_HAND_INSTALL_DIR — custom install path (default: ~/.rustyhand/bin)
  • RUSTY_HAND_VERSION — pin a specific version tag

Windows (PowerShell)

powershell
irm https://raw.githubusercontent.com/ginkida/rustyhand/main/scripts/install.ps1 | iex

From source

bash
git clone https://github.com/ginkida/rustyhand.git
cd rustyhand
cargo build --release -p rusty-hand-cli
# Binary: target/release/rustyhand (or rustyhand.exe on Windows)

Requires Rust 1.75+ (stable). The rust-toolchain.toml in the repo will auto-select the right toolchain.

Docker

bash
docker compose up --build
# Dashboard at http://localhost:4200

Or run directly with env vars (no config.toml needed):

bash
docker run -p 4200:4200 \
  -e ANTHROPIC_API_KEY=your-key \
  -e RUSTYHAND_API_KEY=my-secret-bearer-token \
  -v rustyhand-data:/data \
  ghcr.io/ginkida/rustyhand:latest

All configuration can be set via RUSTYHAND_* environment variables — see Docker Environment Variables.


Quick Start

Option Zero: Try it in 30 seconds, no API key

The fastest possible first run, no credentials, no configuration:

bash
git clone https://github.com/ginkida/rustyhand
cd rustyhand
cargo run --release -- start
# In another tab: open http://localhost:4200

The dashboard banner will read "DEMO MODE — running on the deterministic mock driver." Spawn an agent, send a message, watch the agent loop run, session grow, audit log fill up. Every reply is [mock] <your message> — unmistakably demo, but the full pipeline (sessions, persistence, workflows, cron jobs) is real. Set ANTHROPIC_API_KEY (or any of 26 other supported providers' env vars) and restart for real LLM responses.

Option A: Docker (fastest)

bash
docker run -d --name rustyhand \
  -p 4200:4200 \
  -e ANTHROPIC_API_KEY=your-key \
  -v rustyhand-data:/data \
  ghcr.io/ginkida/rustyhand:latest

# Dashboard: http://localhost:4200
# API:       http://localhost:4200/api/health

To secure the API with a bearer token:

bash
docker run -d --name rustyhand \
  -p 4200:4200 \
  -e ANTHROPIC_API_KEY=your-key \
  -e RUSTYHAND_API_KEY=my-secret-token \
  -v rustyhand-data:/data \
  ghcr.io/ginkida/rustyhand:latest

# Now all API calls require: -H "Authorization: Bearer my-secret-token"

See Docker Environment Variables for all options.

Option B: From binary

bash
# 1. Initialize — creates ~/.rustyhand/ and walks you through provider setup
rustyhand init

# 2. Start the daemon (API + kernel)
rustyhand start
# Dashboard is live at http://localhost:4200

# 3. Chat with the default agent
rustyhand chat

# 4. Spawn a pre-built agent
rustyhand agent new coder

# 5. Send a one-shot message
rustyhand message researcher "What are the emerging trends in AI agent frameworks?"

# 6. Launch the interactive TUI dashboard
rustyhand tui

# 7. Run diagnostics
rustyhand doctor

Telegram Setup

Telegram is the primary channel for interacting with RustyHand agents. Setup takes 2 minutes:

1. Create a Telegram Bot

  1. Message @BotFather on Telegram
  2. Send /newbot, follow prompts, get your bot token
  3. Set the token: export TELEGRAM_BOT_TOKEN=123456:ABC-DEF...

2. Configure RustyHand

toml
# ~/.rustyhand/config.toml
[channels.telegram]
bot_token_env = "TELEGRAM_BOT_TOKEN"
allowed_users = []    # Empty = allow anyone. Set [123456] for specific user IDs.

3. Start and chat

bash
rustyhand start
# Open Telegram, message your bot
# /agents — list agents
# /agent assistant — select an agent
# Send text, photos, voice messages — the agent handles all of them

What your agent can do in Telegram

You:     [send a voice message]
Agent:   [auto-transcribes via Whisper, processes your request]

You:     [send a photo]
Agent:   [auto-describes the image, responds based on what it sees]

You:     "Search for Rust 2024 edition changes"
Agent:   ⚙️ web_search...
         ✅ web_search
         Here are the key changes in Rust 2024...

Agent:   ⚠️ Agent "coder" wants to execute:
         `shell_exec: rm -rf /tmp/cache`
         [✅ Approve] [❌ Reject]    ⏱️ 60s

You:     [click ✅ Approve]
Agent:   Done! Cache cleared.

Autonomous mode

Agents with schedule_mode = "continuous" or "periodic" run in the background and push results to your Telegram chat automatically — no prompting needed.

toml
# agent.toml
[schedule]
mode = "periodic"
cron = "0 9 * * *"    # Every day at 9 AM

The agent wakes up, performs its task, and sends the result to the last Telegram chat it was used in.


Configuration

RustyHand can be configured in two ways:

  • Config file (~/.rustyhand/config.toml) — for binary installs
  • Environment variables (RUSTYHAND_*) — for Docker, see Docker Environment Variables

API Authentication

When api_key is set, all endpoints (except /api/health) require a Bearer token:

bash
# In config.toml:
api_key = "my-secret-token"

# Or via env var (Docker):
RUSTYHAND_API_KEY=my-secret-token

# Clients must include the header:
curl -H "Authorization: Bearer my-secret-token" http://localhost:4200/api/agents

Without api_key, the API is open (fine for local development).

Config file

Location: ~/.rustyhand/config.toml

toml
# API server settings
api_key = "your-bearer-token"          # Recommended for non-localhost access
api_listen = "127.0.0.1:4200"          # HTTP bind address

[default_model]
provider = "anthropic"                 # anthropic, kimi, deepseek, zhipu, minimax, openrouter, ollama
model = "claude-sonnet-4-6"     # Model identifier
api_key_env = "ANTHROPIC_API_KEY"      # Env var holding the API key
# base_url = "https://api.anthropic.com"  # Optional: override endpoint

[memory]
decay_rate = 0.05                      # Memory confidence decay
# sqlite_path = "~/.rustyhand/data/rustyhand.db"

[network]
listen_addr = "127.0.0.1:4200"        # RHP P2P listen address
# shared_secret = ""                  # Required for P2P authentication

# Session compaction (LLM-based context management)
[compaction]
threshold = 80                         # Compact when messages exceed this count
keep_recent = 20                       # Keep this many recent messages
max_summary_tokens = 1024

# Usage display in chat responses
# usage_footer = "Full"               # Off, Tokens, Cost, Full

# Channel adapters (tokens via env vars)
[telegram]
bot_token_env = "TELEGRAM_BOT_TOKEN"
allowed_users = []                     # Empty = allow all

[discord]
bot_token_env = "DISCORD_BOT_TOKEN"
# guild_ids = []

[slack]
bot_token_env = "SLACK_BOT_TOKEN"
app_token_env = "SLACK_APP_TOKEN"

# MCP server connections
[[mcp_servers]]
name = "filesystem"
command = "npx"
args = ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]

Environment variables

Copy .env.example to ~/.rustyhand/.env and fill in the keys you need:

bash
# LLM providers — set ANY key and RustyHand auto-detects the provider.
# Priority order: Anthropic → Kimi → DeepSeek → Zhipu → MiniMax → OpenRouter.
ANTHROPIC_API_KEY=sk-ant-...       # Claude Opus / Sonnet / Haiku (default)
KIMI_API_KEY=sk-kimi-...            # Kimi Code — Anthropic-compat, 256K ctx
DEEPSEEK_API_KEY=sk-...             # DeepSeek V4 Flash / V4 Pro (V3/R1 legacy, deprecated 2026-07-24)
ZHIPU_API_KEY=...                   # Zhipu GLM-4.6
MINIMAX_API_KEY=eyJ...              # MiniMax M1 / M2.7 (1M context)
OPENROUTER_API_KEY=sk-or-...        # Universal gateway (GPT/Gemini/Grok/etc.)

# Local LLM — no key needed, just run `ollama serve`
# (Base URL defaults to http://localhost:11434/v1 — override only if needed)

# Embedding-only upstreams (independent of LLM provider)
VOYAGE_API_KEY=pa-...                # Voyage AI (voyage-3-lite, code, legal, ...)
# OPENAI_API_KEY can also be used for text-embedding-3-* — not for LLM completion.

# Channel tokens
TELEGRAM_BOT_TOKEN=123456:ABC-...
DISCORD_BOT_TOKEN=...
SLACK_BOT_TOKEN=xoxb-...
SLACK_APP_TOKEN=xapp-...

# Log level
RUST_LOG=info
# RUST_LOG=rusty_hand=debug            # Debug RustyHand only

Manage config from the CLI

bash
rustyhand config show                              # Print current config
rustyhand config edit                              # Open in $EDITOR
rustyhand config get default_model.provider        # Read a key
rustyhand config set default_model.provider kimi   # Switch provider
rustyhand config set-key kimi                      # Interactively save API key
rustyhand config test-key kimi                     # Verify connectivity

CLI Reference

Core commands

CommandDescription
rustyhand initInitialize ~/.rustyhand/ and default config
rustyhand startStart the daemon (API server + kernel)
rustyhand stopStop the running daemon
rustyhand status [--json]Show kernel status
rustyhand health [--json]Quick daemon health check
rustyhand doctor [--repair]Run diagnostic checks
rustyhand tools [--json]List all 72 built-in tools, grouped by category (offline)
rustyhand tuiLaunch interactive TUI dashboard
rustyhand dashboardOpen web dashboard in browser
rustyhand chat [agent]Quick chat with an agent
rustyhand message <agent> <text>Send a one-shot message
rustyhand logs [--follow] [--lines N]Tail the log file
rustyhand reset [--confirm]Reset local config and state

Agents

CommandDescription
rustyhand agent new [template]Spawn from a template (interactive picker if omitted)
rustyhand agent templates [--json]List the bundled agent templates (offline)
rustyhand agent spawn <manifest.toml>Spawn from a manifest file
rustyhand agent list [--json]List running agents
rustyhand agent chat <id>Interactive chat with an agent by ID
rustyhand agent kill <id>Kill an agent

Channels

CommandDescription
rustyhand channel listList configured channels and status
rustyhand channel setup [name]Interactive channel setup wizard
rustyhand channel test <name>Send a test message
rustyhand channel enable <name>Enable a channel
rustyhand channel disable <name>Disable a channel

Models

CommandDescription
rustyhand models list [--provider X]Browse available models
rustyhand models aliasesShow model shorthand names
rustyhand models providersList providers and their auth status
rustyhand models set [model]Set the default model

Skills

CommandDescription
rustyhand skill install <source>Install from ClawHub, local path, or git URL
rustyhand skill listList installed skills
rustyhand skill search <query>Search ClawHub marketplace
rustyhand skill remove <name>Remove a skill
rustyhand skill createScaffold a new skill

Workflows & scheduling

CommandDescription
rustyhand workflow listList workflows
rustyhand workflow create <file.json>Create from JSON
rustyhand workflow run <id> <input>Run a workflow
rustyhand trigger list [--agent-id X]List event triggers
rustyhand trigger create <agent-id> <pattern-json>Create a trigger
rustyhand cron listList scheduled jobs

Integrations (MCP)

CommandDescription
rustyhand add <name> [--key TOKEN]Install an integration (e.g., github, notion)
rustyhand remove <name>Remove an integration
rustyhand integrations [query]List / search integrations

Security & vault

CommandDescription
rustyhand vault initInitialize the credential vault (AES-256-GCM)
rustyhand vault set <key>Store a credential
rustyhand vault listList stored keys (values hidden)
rustyhand vault remove <key>Remove a credential
rustyhand security auditView the audit trail
rustyhand security rbacManage access control

Other

CommandDescription
rustyhand mcpStart MCP server over stdio
rustyhand sessions [agent]List conversation sessions
rustyhand approvals listList pending approval requests
rustyhand qrGenerate device pairing QR code
rustyhand onboardInteractive onboarding wizard
rustyhand completion <shell>Generate shell completions (bash/zsh/fish/powershell)
rustyhand new skill|integrationScaffold a new skill or integration

All list/status commands support --json for scripting.


Autonomous Templates

RustyHand ships autonomous templates as agent presets in the dashboard. They are not a separate runtime entity: each template creates a normal agent, and you can optionally attach a cron schedule during creation.

Each autonomous template bundles:

  • Agent preset — model, profile, prompt, and capabilities
  • Schedule defaults — suggested cron expression and trigger message
  • Operational playbook — multi-phase prompt for recurring work
  • Guardrails — approval and tool constraints where needed

Bundled Autonomous Templates

TemplateWhat It Does
GitHub MonitorMonitors repositories, runs tests, detects regressions, and files issues on a schedule.
Web ResearcherRuns recurring research sweeps, cross-references sources, and produces structured reports.
Content ClipperProcesses long-form video into short clips with captions and packaging.
Lead GeneratorDiscovers and enriches qualified leads on a recurring schedule.
Intel CollectorMonitors targets, detects changes, and updates a living knowledge base.
PredictorCollects signals, updates forecasts, and tracks prediction accuracy.
Twitter ManagerCreates, schedules, and reviews social content with approval controls.
Web BrowserExecutes recurring browser automation tasks with strict purchase approval gates.

Use the dashboard to launch one: Agents → Templates or Create Agent → enable schedule.


40 Pre-built Agent Templates

Spawn any template with rustyhand agent new <name>:

TemplateDescription
analystData analysis and reporting
api-monitorAPI endpoint monitoring
architectSystem design and architecture
assistantGeneral-purpose assistant
capability-builderMeta-agent — writes new skills at runtime via privileged skill_install tool
ci-monitorCI/CD pipeline monitoring
code-reviewerCode review and feedback
coderSoftware development
coordinatorMeta-agent — delegates work across other agents via agent_send
customer-supportCustomer support
dag-monitorDAG/workflow monitoring
data-scientistData science and ML
db-reporterDatabase reporting
debuggerBug investigation
devops-leadDevOps and infrastructure
diagnosticMeta-agent — read-only observability (self-history, metrics, audit log)
doc-writerDocumentation
email-assistantEmail drafting and management
health-trackerHealth and fitness tracking
hello-worldStarter agent for new users
home-automationSmart home control
legal-assistantLegal document review
log-analyzerLog analysis and alerting
meeting-assistantMeeting notes and follow-ups
opsOperations management
orchestratorMulti-agent orchestration
personal-financeFinancial tracking
plannerProject planning
recruiterRecruiting and screening
researcherResearch and analysis
sales-assistantSales support
security-auditorSecurity analysis
slack-notifierSlack notification automation
social-mediaSocial media management
test-engineerTesting and QA
translatorMulti-language translation
travel-plannerTravel planning
tutorEducation and tutoring
weekly-digestWeekly summary reports
writerContent writing

Agent manifest format (agent.toml)

toml
name = "hello-world"
version = "0.1.0"
description = "A friendly greeting agent"
author = "rusty-hand"
module = "builtin:chat"

[model]
provider = "anthropic"
model = "claude-sonnet-4-6"
max_tokens = 4096
temperature = 0.6
system_prompt = """Your system prompt here..."""

[resources]
max_llm_tokens_per_hour = 100000

[capabilities]
tools = ["file_read", "file_list", "web_fetch", "web_search", "memory_store", "memory_recall"]
network = ["*"]
memory_read = ["*"]
memory_write = ["self.*"]
agent_spawn = false

Channel Adapters

RustyHand ships three messaging adapters — the ones whose APIs work without a public webhook URL, which is what most users actually run:

  • Telegram — long-polling Bot API (@BotFather token).
  • Discord — Gateway WebSocket (Developer Portal bot token).
  • Slack — Socket Mode (xapp- app token + xoxb- bot token).

Each adapter supports per-channel model overrides, DM/group policies, rate limiting, and output formatting.

v0.7.4 and earlier shipped 38 adapters (Matrix, WhatsApp, Signal, Teams, IRC, ...). They were dropped in v0.7.5 — most were webhook-only and broken in typical localhost / home-Docker setups, and many were sprint fillers without real usage. Pin to v0.7.4 if you need them, or open an issue and we'll discuss a route.

Channel policies

Configure each channel under the [channels.*] table in config.toml:

toml
[channels.telegram]
bot_token_env = "TELEGRAM_BOT_TOKEN"
allowed_users = [123456789]            # Restrict to specific users
default_agent = "assistant"            # Route inbound messages here

[channels.telegram.overrides]
dm_policy = "Respond"                  # Respond | AllowedOnly | Ignore
group_policy = "MentionOnly"           # All | MentionOnly | CommandsOnly | Ignore
output_format = "TelegramHtml"         # Markdown | TelegramHtml | SlackMrkdwn | PlainText

Zero-config Telegram on Docker

Since v0.7.10, the Docker entrypoint generates default_agent = "assistant" under each [channels.*] section automatically (override with the RUSTYHAND_{TELEGRAM,DISCORD,SLACK}_DEFAULT_AGENT env var, or set it to an empty string to leave it blank). The bundled assistant manifest uses provider = "anthropic", so a fresh container with ANTHROPIC_API_KEY plus a bot token replies to the first message without any extra config or rustyhand init step.

If the router can't resolve a target at message time (no default_agent, no bindings, no direct routes), the bridge tries to auto-route to a running agent first, then to spawn one of the bundled meta-agents (assistant → coordinator → coder). The user only sees a config-pointing error message when every fallback fails.


7 LLM Providers

RustyHand v0.7.0 ships with a deliberately lean set of 7 providers, driven by 2 wire protocols (Anthropic Messages API + OpenAI-compatible Chat Completions). Anthropic and Kimi Code are the two first-class coding providers:

ProviderEnv varRole
Anthropic (default)ANTHROPIC_API_KEYClaude Opus/Sonnet/Haiku — best-in-class tool use + extended thinking
Kimi (Moonshot)KIMI_API_KEYKimi Code — Anthropic-compatible, 256K ctx, vision, reasoning
DeepSeekDEEPSEEK_API_KEYV4 Flash + V4 Pro — fast & reasoning (V3/R1 deprecated 2026-07-24). Also exposes an Anthropic-compatible endpoint at /anthropic
Zhipu GLMZHIPU_API_KEYGLM-4.6 — Chinese frontier
MiniMaxMINIMAX_API_KEYM1/M2 — 1M context
OpenRouterOPENROUTER_API_KEYUniversal gateway — any model via one key
Ollama(no key)Local on localhost:11434

Default auto-detect order: Anthropic → Kimi → DeepSeek → Zhipu → MiniMax → OpenRouter. Set whichever key you have; RustyHand picks the first one found.

Prefer Kimi? Set KIMI_API_KEY and auto-detect will route to the stable kimi-for-coding model ID on the Kimi Code endpoint (api.kimi.com/coding); Moonshot maps that ID to the current Kimi Code backend. Change anytime via rustyhand config set default_model.provider <name>.

v0.6.x shipped 27 providers (OpenAI, Gemini, Groq, xAI, Copilot, Mistral, Together, Fireworks, Perplexity, Cohere, AI21, Cerebras, SambaNova, HuggingFace, Replicate, vLLM, LM Studio, Moonshot, Qwen, Qianfan, Bedrock). They were removed in v0.7.0 — use openrouter to reach any of those models through one gateway.

Features:

  • Intelligent routing with task complexity scoring
  • Automatic fallback between providers
  • Per-model pricing and cost tracking
  • Per-agent budget limits

Embedding providers

Vector embeddings power semantic memory recall. The catalog is independent of the LLM provider list — OPENAI_API_KEY is still usable for text-embedding-3-* even though OpenAI is not a first-class LLM provider in v0.7.0.

Auto-detected at boot (first available wins):

ProviderModelsKey required
Voyage AIvoyage-3, voyage-3-lite, voyage-code-3, voyage-finance-2, voyage-law-2, voyage-multilingual-2VOYAGE_API_KEY
OpenAI (embedding-only)text-embedding-3-small, text-embedding-3-large, text-embedding-ada-002OPENAI_API_KEY
Ollamanomic-embed-text, all-MiniLM-L6-v2, mxbai-embed-largeNo
Any OpenAI-compat endpointwhatever the server exposesprovider-specific

Configure explicitly in config.toml:

toml
[memory]
embedding_provider = "voyage"              # or "openai", "ollama", "<custom>"
embedding_api_key_env = "VOYAGE_API_KEY"

Or let RustyHand auto-detect: it probes Voyage → OpenAI → Ollama at boot and uses the first available provider. Falls back to text search (SQLite LIKE) when no embedding driver is found.

bash
rustyhand models list                 # Browse all models
rustyhand models list --provider kimi # Filter by provider
rustyhand models set claude-sonnet    # Set default model

Architecture

10 Rust crates with a modular kernel design:

rusty-hand-types       Core types, traits, config, taint tracking, Ed25519 manifest signing
    |
    +-- rusty-hand-memory      SQLite persistence, vector embeddings (Voyage/OpenAI/Ollama), session compaction
    +-- rusty-hand-wire        RHP P2P protocol (JSON-RPC over TCP, HMAC-SHA256 auth)
    +-- rusty-hand-channels    Telegram + Discord + Slack adapters with rate limiting
    +-- rusty-hand-skills      Skill system + ClawHub marketplace
    +-- rusty-hand-extensions  25 MCP integrations, AES-256-GCM credential vault, OAuth2
    |
    +-- rusty-hand-runtime     Agent loop, 2 LLM drivers (Anthropic + OpenAI-compat), 53+ tools, WASM sandbox, MCP, A2A
    |
    +-- rusty-hand-kernel      Orchestration: lifecycle, scheduling, metering, RBAC, workflows
    |
    +-- rusty-hand-api         Axum HTTP daemon, 120+ endpoints, WebSocket, SSE, OpenAI-compat
    |
    +-- rusty-hand-cli         CLI binary + TUI dashboard (ratatui)

Key internals

ConceptImplementation
Agent looprusty-hand-runtime — iterative LLM call → tool execution → response cycle
KernelRustyHandKernel struct (40+ fields) — central orchestration for all subsystems
AppStateBridges kernel to HTTP routes via Arc<RustyHandKernel> in Axum state
SandboxWASM (wasmtime) with fuel metering + epoch interruption + watchdog thread
MemorySQLite + vector embeddings (Voyage AI, OpenAI, Ollama) for semantic search + knowledge graph
MeteringPer-agent token/cost tracking with budget enforcement and alerts
P2PRHP (RustyHand Protocol) — JSON-RPC over TCP, Ed25519 identity, nonce-based auth
A2AAgent-to-Agent protocol for cross-instance agent communication

API Endpoints

Default: http://127.0.0.1:4200. All endpoints return JSON. Authenticate with Authorization: Bearer <api_key> when api_key is set in config.

Health & status

EndpointMethodDescription
/api/healthGETHealth check
/api/statusGETFull kernel status

Agents

EndpointMethodDescription
/api/agentsGETList all agents
/api/agentsPOSTSpawn a new agent
/api/agents/{id}GETAgent details
/api/agents/{id}DELETEKill an agent
/api/agents/{id}/messagePOSTSend message (triggers LLM)

Budget

EndpointMethodDescription
/api/budgetGETGlobal budget status
/api/budgetPUTUpdate budget settings
/api/budget/agentsGETPer-agent cost ranking
/api/budget/agents/{id}GETSingle agent budget detail

Network & P2P

EndpointMethodDescription
/api/network/statusGETRHP network status
/api/peersGETConnected peers

A2A (Agent-to-Agent)

EndpointMethodDescription
/api/a2a/agentsGETExternal A2A agents
/api/a2a/discoverPOSTDiscover agent at URL
/api/a2a/sendPOSTSend task to external agent
/api/a2a/tasks/{id}/statusGETCheck task status

OpenAI-compatible

Drop-in replacement for OpenAI API:

bash
curl -X POST http://localhost:4200/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "researcher",
    "messages": [{"role": "user", "content": "Analyze Q4 market trends"}],
    "stream": true
  }'

Full REST/WS/SSE endpoints cover agents, memory, workflows, channels, models, skills, sessions, approvals, triggers, crons, security, and more (120+ total).


Dashboard

The web dashboard is served at http://localhost:4200 when the daemon is running. Since v0.7.45 it's a React 18 control panel (industrial-rust palette, 15 pages); React + ReactDOM UMD bundles and the precompiled JSX are inlined into the binary at compile time, so the dashboard ships single-binary like before — no CDN, no node_modules at runtime.

Sections

SectionWhat you see
OverviewLive tiles (running agents, cost, audit entries, errors), recent activity, approvals waiting, demo-seed shortcuts, providers, audit chain head
AgentsSpawn (template or custom), kill / restart, drawer with Info / Config / Identity / Activity tabs editing the agent's manifest live
ChatWebSocket streaming with HTTP fallback, markdown rendering, tool-trace cards, sessions list per agent
WorkflowsVisual step builder with HTML5 drag-and-drop reorder, fan-out / collect / conditional / loop modes, runs history, run-with-JSON-input
AutomationCron jobs (3 schedule × 3 action variants), triggers (9 pattern variants), toggle / run-now / delete
ChannelsConfigure modal generated from /api/channels field metadata, test / reload / disconnect
SkillsCustom install via inline editor, ClawHub browse + search + install, uninstall
AnalyticsCost, requests, cache hit-rate, p95 latency, top agents, provider state, CSV export
KnowledgeLive graph viz + mini-cypher query (source:foo relation:works_at depth:3 → POST /api/knowledge/query)
MemorySessions list with label edit + delete, export to markdown, full backup / restore via /api/memory/{export,import}
ApprovalsPending decisions with one-click approve / reject
Audit logRecent + chain-verify + JSON export
MCP serversConfigured + connected MCP bridges from /api/mcp/servers
NetworkRHP P2P status + known peers (/api/network/status, /api/peers)
BindingsAgent → channel/trigger bindings (/api/bindings)
SettingsProvider key set / delete / test, demo-mode info, build info

Other niceties: ⌘K / Ctrl-K command palette, toast notifications, tweaks fab (theme dark/light, accent rust/copper/amber/forest/electric, density), AuthGate + LoginScreen for remote deployments, error boundary so a component crash shows a recovery card instead of a blank #root.

Maintaining the panel

JSX sources live in crates/rusty-hand-api/static/js/panel/src/*.jsx; compiled outputs sit one level up at static/js/panel/*.js. After editing JSX, recompile via:

bash
cd crates/rusty-hand-api/static/js/panel/src && ./build.sh

The build needs Node + esbuild (npm i -g esbuild or use ESBUILD="npx --yes esbuild@0.24.0" ./build.sh). The Rust build itself doesn't touch Node — it include_str!s the .js files. A build.rs checks JSX/JS mtimes and emits a cargo:warning= if you forget to recompile.

Tests pinning the panel contract:

  • tests/panel_dashboard_test.rs — 10 tests asserting HTML response, React inlined, every page component + endpoint wired, no Alpine residue, bundle size 100 KB ≤ x ≤ 1 MB
  • tests/panel_jsx_smoke.rs — runs the compiled bundle under Node with a React shim and asserts every page component instantiates without throwing (catches JSX runtime errors that string-match tests miss)

Security

16 independent security layers — defense in depth, no single point of failure.

#SystemDescription
1WASM Dual-Metered SandboxTool code runs in WebAssembly with fuel metering + epoch interruption. Watchdog kills runaway code.
2Merkle Hash-Chain Audit TrailEvery action cryptographically linked. Tamper with one entry and the chain breaks.
3Taint TrackingInformation flow labels propagate through execution — secrets tracked from source to sink.
4Ed25519 Signed ManifestsAgent identity and capabilities are cryptographically signed.
5SSRF ProtectionBlocks private IPs, cloud metadata endpoints, DNS rebinding.
6Secret ZeroizationZeroizing<String> auto-wipes API keys from memory when no longer needed.
7RHP Mutual AuthHMAC-SHA256 nonce-based, constant-time verification for P2P.
8Capability GatesRole-based access control — agents declare tools, kernel enforces.
9Security HeadersCSP, X-Frame-Options, HSTS, X-Content-Type-Options on every response.
10Health RedactionPublic health check returns minimal info. Full diagnostics require auth.
11Subprocess Sandboxenv_clear() + selective passthrough. Process tree isolation with cross-platform kill.
12Prompt Injection ScannerDetects override attempts, data exfiltration patterns, shell injection in skills.
13Loop GuardSHA256-based tool call loop detection with circuit breaker.
14Session Repair7-phase message history validation and automatic recovery.
15Path Traversal PreventionCanonicalization with symlink escape prevention.
16GCRA Rate LimiterCost-aware token bucket rate limiting with per-IP tracking.

Deployment

Systemd

A service file is provided in deploy/rustyhand.service:

bash
sudo cp deploy/rustyhand.service /etc/systemd/system/rustyhand.service
# Edit ExecStart path and user as needed
sudo systemctl daemon-reload
sudo systemctl enable --now rustyhand

The service includes security hardening: NoNewPrivileges, ProtectSystem=strict, ProtectHome, PrivateTmp, and resource limits.

Docker Environment Variables

The Docker entrypoint generates config.toml from environment variables automatically — no config file needed. If you mount your own config.toml, env vars are ignored.

Set RUSTYHAND_FORCE_ENV_CONFIG=1 to always regenerate config from env vars (overrides mounted file).

Core

Env varDefaultDescription
RUSTYHAND_API_KEY(none)Bearer auth token. When set, all API endpoints require Authorization: Bearer <token> header. Strongly recommended for non-local access.
RUSTYHAND_API_LISTEN0.0.0.0:4200HTTP bind address
RUSTYHAND_LOG_LEVELinfoLog level: trace, debug, info, warn, error

LLM Provider

Env varDefaultDescription
RUSTYHAND_PROVIDERanthropicLLM provider: anthropic, kimi, deepseek, zhipu, minimax, openrouter, ollama
RUSTYHAND_MODELclaude-sonnet-4-6Model identifier
RUSTYHAND_MODEL_KEY_ENVANTHROPIC_API_KEYWhich env var holds the LLM API key
RUSTYHAND_MODEL_BASE_URL(auto)Override provider API endpoint
RUSTYHAND_FALLBACK_PROVIDER(none)Fallback provider if primary fails
RUSTYHAND_FALLBACK_MODEL(none)Fallback model
RUSTYHAND_FALLBACK_KEY_ENV(none)Env var for fallback API key

LLM API Keys (pass through to agents)

Env varProvider
ANTHROPIC_API_KEYAnthropic Claude (default)
KIMI_API_KEYKimi Code (Moonshot)
DEEPSEEK_API_KEYDeepSeek V4 Flash / V4 Pro (V3/R1 legacy, deprecated 2026-07-24)
ZHIPU_API_KEYZhipu GLM-4.6
MINIMAX_API_KEYMiniMax M1 / M2
OPENROUTER_API_KEYOpenRouter gateway (any upstream model)

Budget

Env varDefaultDescription
RUSTYHAND_BUDGET_HOURLY0.0Max spend per hour in USD (0 = unlimited)
RUSTYHAND_BUDGET_DAILY0.0Max spend per day in USD
RUSTYHAND_BUDGET_MONTHLY0.0Max spend per month in USD

Memory & Embeddings

Env varDefaultDescription
RUSTYHAND_MEMORY_DECAY0.05Memory confidence decay rate
RUSTYHAND_EMBEDDING_PROVIDER(auto)Embedding provider: voyage, openai, ollama
RUSTYHAND_EMBEDDING_KEY_ENV(auto)Env var for embedding API key
VOYAGE_API_KEY(none)Voyage AI embeddings key

Channels

Env varDescription
TELEGRAM_BOT_TOKENTelegram bot — auto-enables [telegram] section
DISCORD_BOT_TOKENDiscord bot — auto-enables [discord] section
SLACK_BOT_TOKENSlack bot — auto-enables [slack] section
SLACK_APP_TOKENSlack app-level token (for Socket Mode)
RUSTYHAND_TELEGRAM_USERSComma-separated Telegram user IDs to allow (e.g. 123456789,987654321). Brackets and quotes tolerated. Negative IDs (channels) supported. Unset = open to ANY Telegram user — strongly recommended to set.

Other

Env varDescription
RUSTYHAND_EXEC_MODEShell exec policy: deny, allowlist, full
RUSTYHAND_A2A_ENABLEDEnable A2A protocol: true / 1
RUSTYHAND_USAGE_FOOTERResponse footer: Off, Tokens, Cost, Full
RUSTYHAND_FORCE_ENV_CONFIGSet to 1 to always regenerate config from env vars

Example: full Docker run

bash
docker run -d --name rustyhand \
  -p 4200:4200 \
  -e RUSTYHAND_API_KEY=my-secret-token \
  -e RUSTYHAND_PROVIDER=anthropic \
  -e RUSTYHAND_MODEL=claude-sonnet-4-6 \
  -e RUSTYHAND_MODEL_KEY_ENV=ANTHROPIC_API_KEY \
  -e ANTHROPIC_API_KEY=sk-ant-... \
  -e RUSTYHAND_BUDGET_DAILY=5.0 \
  -e TELEGRAM_BOT_TOKEN=123456:ABC... \
  -v rustyhand-data:/data \
  ghcr.io/ginkida/rustyhand:latest

Cross-compilation

Cross-compilation to aarch64-unknown-linux-gnu is supported via Cross.toml:

bash
cross build --release --target aarch64-unknown-linux-gnu -p rusty-hand-cli

Development

Prerequisites

  • Rust 1.75+ (stable) — rust-toolchain.toml auto-selects
  • Components: rustfmt, clippy (included in toolchain)

Build & verify

bash
# Compile all crates (use --lib if the daemon binary is locked)
cargo build --workspace --lib

# Run all tests (1,481 as of v0.7.10)
cargo test --workspace

# Lint — must be 0 warnings
cargo clippy --workspace --all-targets -- -D warnings

# Format check
cargo fmt --all -- --check

Release build

bash
cargo build --release -p rusty-hand-cli
# Binary: target/release/rustyhand (~32 MB)
# LTO + single codegen unit + stripped symbols + opt-level 3

Project structure

rustyhand/
  Cargo.toml                # Workspace manifest (10 member crates)
  Cargo.lock
  rust-toolchain.toml       # Rust stable + rustfmt + clippy
  .env.example              # Environment variable template
  Dockerfile                # Multi-stage build
  docker-compose.yml
  Cross.toml                # Cross-compilation config
  agents/                   # 37 pre-built agent templates (agent.toml each)
  deploy/                   # systemd service, Docker scripts
  scripts/                  # install.sh, install.ps1
  crates/
    rusty-hand-types/       # Core types (config.rs is the master config struct)
    rusty-hand-memory/      # SQLite + vector embeddings (Voyage AI, OpenAI, Ollama)
    rusty-hand-runtime/     # Agent loop + LLM drivers + tools + sandbox
    rusty-hand-wire/        # RHP P2P protocol
    rusty-hand-api/         # Axum HTTP server + routes + dashboard
      src/
        server.rs           # Router setup, middleware, AppState
        routes.rs           # All API endpoint handlers (~7600 LOC)
      static/
        index_body.html     # Dashboard SPA (Alpine.js)
        index_head.html     # CSS + fonts
    rusty-hand-kernel/      # Central kernel (~5300 LOC, 40+ fields)
    rusty-hand-cli/         # CLI + TUI binary
    rusty-hand-channels/    # Telegram + Discord + Slack adapters
    rusty-hand-skills/      # Skill system + ClawHub + OpenClaw compat
    rusty-hand-extensions/  # MCP + vault + OAuth2

Key files for contributors

FileWhat it does
crates/rusty-hand-kernel/src/kernel.rsThe kernel — 40+ fields, central orchestration
crates/rusty-hand-api/src/routes.rsAll API handlers (~7600 LOC)
crates/rusty-hand-api/src/server.rsRouter, middleware, AppState struct
crates/rusty-hand-types/src/config.rsMaster config struct (KernelConfig)
crates/rusty-hand-api/static/index_body.htmlDashboard SPA
crates/rusty-hand-api/src/channel_bridge.rsChannel adapter wiring
crates/rusty-hand-runtime/src/drivers/LLM drivers (anthropic.rs for Anthropic + Kimi; openai.rs for DeepSeek/Zhipu/MiniMax/OpenRouter/Ollama)

Common gotchas

  • rustyhand.exe may be locked if the daemon is running — use --lib flag or kill daemon first
  • New config fields need: struct field + #[serde(default)] + Default impl entry
  • New routes must be registered in server.rs router AND implemented in routes.rs
  • Dashboard tabs need both HTML in index_body.html and JS data/methods
  • AgentLoopResult field is .response not .response_text
  • CLI daemon command is start (not daemon)

Benchmarks

All data from official documentation and public repositories — April 2026.

MetricRustyHandZeroClawLangGraphCrewAIAutoGenOpenClaw
Cold start180 ms10 ms2.5 s3.0 s4.0 s5.98 s
Idle memory40 MB5 MB180 MB200 MB250 MB394 MB
Install size32 MB8.8 MB150 MB100 MB200 MB500 MB
Security layers1662123
Channel adapters31500013
LLM providers7 (+ OpenRouter gateway)281510810
LanguageRustRustPythonPythonPythonTypeScript

MCP Integration (for AI Agents)

RustyHand exposes itself as an MCP server over stdio, giving any MCP-compatible AI agent (Claude Desktop, Cursor, Windsurf, Claude Code, etc.) full control over the agent OS.

Setup

Add to your MCP client config (e.g. claude_desktop_config.json):

json
{
  "mcpServers": {
    "rustyhand": {
      "command": "rustyhand",
      "args": ["mcp"]
    }
  }
}

That's it. The AI agent now has 30+ tools to manage the entire system.

Available MCP Tools

ToolWhat it does
System
rustyhand_system_healthCheck daemon health and DB connectivity
rustyhand_system_statusUptime, agent count, default provider/model
rustyhand_config_getRead current config (secrets redacted)
rustyhand_config_setSet config field by dotted path (e.g. default_model.provider)
rustyhand_config_reloadHot-reload config from ~/.rustyhand/config.toml
Agents
rustyhand_agent_listList all agents (ID, name, state, model)
rustyhand_agent_getFull agent details by ID
rustyhand_agent_spawnSpawn new agent from TOML manifest
rustyhand_agent_killStop and remove agent
rustyhand_agent_messageSend message, get LLM-powered response
rustyhand_agent_sessionGet conversation history
rustyhand_agent_set_modelChange agent's LLM model at runtime
rustyhand_agent_session_resetClear conversation history
Models & Providers
rustyhand_provider_listAll 7 providers with auth status
rustyhand_model_listAvailable models (tier, context window, cost)
Budget
rustyhand_budget_statusGlobal spend vs limits (hourly/daily/monthly)
rustyhand_budget_agentsPer-agent cost ranking
Workflows
rustyhand_workflow_listList workflow definitions
rustyhand_workflow_runExecute workflow with input
rustyhand_workflow_runsList past workflow runs
Cron
rustyhand_cron_listList all scheduled jobs
rustyhand_cron_createSchedule recurring agent task (cron expression)
rustyhand_cron_deleteRemove scheduled job
Approvals
rustyhand_approval_listList pending/approved/rejected requests
rustyhand_approval_approveApprove a pending execution
rustyhand_approval_rejectReject a pending execution
Other
rustyhand_channel_listChannel adapters and their status
rustyhand_template_listAvailable agent templates
rustyhand_tool_listAll built-in tools available to agents

Plus: every running agent automatically becomes an MCP tool named rusty_hand_agent_{name}, so the AI agent can delegate tasks to specialized RustyHand agents.

Example: AI agent workflow via MCP

An AI agent (Claude, GPT, etc.) can autonomously:

  1. rustyhand_agent_spawn — create a researcher agent with web access
  2. rustyhand_agent_message — ask it to research a topic
  3. rustyhand_agent_spawn — create a writer agent
  4. rustyhand_agent_message — pass research results to the writer
  5. rustyhand_cron_create — schedule the researcher to update weekly
  6. rustyhand_budget_status — check how much it all cost

Why an AI agent should use RustyHand

  • Delegate work — spawn specialized agents instead of doing everything yourself
  • **Persi

安装

TypingMind
前提条件:

Node.js 18+

{
  "mcpServers": {
    "ginkida-rustyhand": {
      "command": "npx",
      "args": [
        "-y",
        "rustyhand"
      ]
    }
  }
}

将 RustyHand MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 RustyHand 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 您可以在自己的设备上本地运行 MCP,也可以通过 URL 连接远程 MCP 服务器。

方式 1:使用本地连接器

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 RustyHand 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 RustyHand MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "ginkida-rustyhand": {
      "command": "npx",
      "args": [
        "-y",
        "rustyhand"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 RustyHand MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 RustyHand MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 RustyHand 帮我完成这项任务吗?
RustyHand
当然,我看过了。
以下是我使用 RustyHand 得到的结果。

方式 2:添加 MCP 服务器 URL

如果 RustyHand 已托管在远程服务器上,或您的团队希望让多个用户共用一个连接器,请选择此方式。

1

打开 MCP 连接器

在 TypingMind 中,前往“插件”,打开“MCP 连接器”,然后选择“添加 URL”。

  1. 在您的浏览器中打开 TypingMind。
  2. 进入“插件”。
  3. 打开“MCP 连接器”。
  4. 点击“添加 URL”。
TypingMind 的“添加自定义 MCP 服务器 URL”表单
2

粘贴服务器 URL

在“服务器 URL”字段中输入 您的服务器 URL。根据服务器要求,添加连接名称、描述、图标、自定义 HTTP 请求头或 OAuth 客户端设置。

  1. 将 您的服务器 URL 粘贴到“服务器 URL”字段中。
  2. 为 RustyHand 输入连接名称。
  3. 您可以添加描述和图标,以便更容易识别此连接。
  4. 如果服务器需要身份验证,请添加自定义 HTTP 请求头或 OAuth 客户端信息。
3

创建连接

点击“创建连接”,然后返回插件列表,确认新的 MCP 连接处于可用状态。

  1. 点击“创建连接”。
  2. 返回 MCP 连接器列表。
  3. 确认列表中的 RustyHand 连接显示为可用状态。
  4. 如果连接未立即出现,请刷新插件列表。
4

切换模型,无需重新连接

使用您偏好的模型开始聊天,在“插件”中启用 RustyHand 工具,并根据需要随时切换到其他模型。该 MCP 连接在 TypingMind 工作区中仍然可用。

  1. 在 TypingMind 中开始新聊天。
  2. 选择您想使用的 AI 模型。
  3. 在“插件”中启用 RustyHand 工具。
  4. 需要时,请让模型使用该工具。
  5. 切换到其他 AI 模型,继续使用同一个 MCP 连接。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 RustyHand 帮我完成这项任务吗?
RustyHand
当然,我看过了。
以下是我使用 RustyHand 得到的结果。

常见问题

RustyHand MCP 服务器有什么用途?

RustyHand 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 RustyHand MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 RustyHand。

为什么在 TypingMind 中使用 RustyHand MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 RustyHand 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 RustyHand MCP 连接到 TypingMind?

在 TypingMind 中,您可以使用本地 MCP 连接器或添加远程 MCP 服务器的 URL 来连接 RustyHand。当服务器需要访问您设备上的文件、应用或私有资源时,请使用本地连接器;如果 MCP 服务器部署在远端,请使用服务器 URL。

RustyHand MCP 在 TypingMind 中提供哪些工具?

RustyHand 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 RustyHand MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 RustyHand 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇