Coding & Developmentšuniversal
RustyClaw š¦š¦
A super-lightweight super-capable agentic tool with improved security versus OpenClaw.
Quick Start
Install this Skill
npx skills add rexlunae/RustyClaw# RustyClaw š¦š¦
**A lightweight, secure agentic AI runtime written in Rust.**
<p align="center">
<img src="logo.svg" alt="RustyClaw Logo" width="200"/>
</p>
<p align="center">
<a href="https://crates.io/crates/rustyclaw"><img src="https://img.shields.io/crates/v/rustyclaw.svg" alt="crates.io"></a>
<a href="https://github.com/rexlunae/RustyClaw/actions"><img src="https://github.com/rexlunae/RustyClaw/workflows/CI/badge.svg" alt="CI"></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="License"></a>
<a href="https://discord.com/invite/clawd"><img src="https://img.shields.io/discord/1234567890?label=discord" alt="Discord"></a>
</p>
RustyClaw is a drop-in Rust implementation of [OpenClaw](https://github.com/openclaw/openclaw) ā the agentic AI assistant that lives in your terminal. It brings the same powerful 30-tool ecosystem with improved security, lower memory footprint, and native performance.
## Why RustyClaw?
| Feature | RustyClaw | OpenClaw (Node.js) |
|---------|-----------|-------------------|
| **Memory usage** | ~15 MB | ~150 MB |
| **Startup time** | <50 ms | ~500 ms |
| **Binary size** | ~8 MB | ~200 MB (with node) |
| **Sandbox isolation** | Built-in (bwrap/Landlock/macOS) | External only |
| **Secrets vault** | AES-256 + TOTP | External (1Password, etc.) |
| **Language** | Rust š¦ | TypeScript |
### Security-First Design
RustyClaw was built with the assumption that **AI agents can't always be trusted**. The security model includes:
- **Encrypted secrets vault** ā AES-256 encryption for API keys, credentials, SSH keys
- **TOTP two-factor authentication** ā Optional 2FA for vault access
- **Per-credential access policies** ā Always, WithApproval, WithAuth, SkillOnly
- **Sandbox isolation** ā Bubblewrap (Linux), Landlock (Linux 5.13+), sandbox-exec (macOS)
- **Credentials directory protection** ā Agent tools cannot read the secrets directory
š **[Read the Security Model ā](docs/SECURITY.md)**
## Quick Start
### Install from crates.io
```bash
cargo install rustyclaw
```
### With optional features
```bash
# Matrix messenger support
cargo install rustyclaw --features matrix
# Browser automation (CDP)
cargo install rustyclaw --features browser
# All publishable features
cargo install rustyclaw --features full
```
> š **Signal messenger** requires building from source. See [BUILDING.md](BUILDING.md).
### Or build from source
```bash
git clone https://github.com/rexlunae/RustyClaw.git
cd RustyClaw
cargo build --release
```
### Run the interactive setup
```bash
rustyclaw onboard
```
### Start chatting
```bash
rustyclaw tui
```
## Features
### 30 Agentic Tools
RustyClaw implements the complete OpenClaw tool ecosystem:
| Category | Tools |
|----------|-------|
| **File Operations** | `read_file`, `write_file`, `edit_file`, `list_directory`, `search_files`, `find_files` |
| **Code Execution** | `execute_command`, `process`, `apply_patch` |
| **Web Access** | `web_fetch`, `web_search` |
| **Memory** | `memory_search`, `memory_get` |
| **Scheduling** | `cron` |
| **Multi-Agent** | `sessions_list`, `sessions_spawn`, `sessions_send`, `sessions_history`, `session_status`, `agents_list` |
| **Secrets** | `secrets_list`, `secrets_get`, `secrets_store` |
| **System** | `gateway`, `message`, `tts` |
| **Devices** | `browser`, `canvas`, `nodes`, `image` |
### Skills System
Load skills from the [OpenClaw ecosystem](https://clawhub.com) or write your own:
```markdown
---
name: my-skill
description: A custom skill
metadata: {"openclaw": {"requires": {"bins": ["git"]}}}
---
# Instructions for the agent
Do something useful with git.
```
Skills support **gating** ā require binaries, environment variables, or specific operating systems.
### Multi-Provider Support
Connect to any major AI provider:
- **Anthropic** (Claude 4, Claude Sonnet)
- **OpenAI** (GPT-4, GPT-4o)
- **Google** (Gemini Pro, Gemini Ultra)
- **GitHub Copilot** (with subscription)
- **xAI** (Grok)
- **Ollama** (local models)
- **OpenRouter** (any model)
### Terminal UI
A beautiful TUI with:
- Syntax-highlighted code blocks
- Markdown rendering
- Tab completion
- Slash commands (`/help`, `/clear`, `/model`, `/secrets`)
- Streaming responses
### Gateway Mode
Run as a daemon for integration with other tools:
```bash
rustyclaw gateway start
```
Supports WebSocket connections, heartbeats, and multi-session management.
## Configuration
Configuration lives at `~/.rustyclaw/config.toml`:
```toml
settings_dir = "/Users/myuser/.rustyclaw"
messengers = []
use_secrets = true
secrets_password_protected = true
totp_enabled = true
agent_access = false
agent_name = "A Rusty Little Crab"
message_spacing = 1
tab_width = 5
[model]
provider = "openrouter"
model = "gpt-4.1"
base_url = "https://openrouter.ai/api/v1"
[sandbox]
mode = ""
deny_paths = []
allow_paths = []
```
## Documentation
- **[Building](BUILDING.md)** ā Feature flags, Signal support, cross-compilation
- **[Getting Star
... (truncated)Repository
4stars
4forks
Details
Related Skills
More coding & development skills you might like
Reticle
Coding & DevelopmentAI agents can generate code, but still struggle to understand what they build. Reticle brings Jev-style machine-native runtime perception to web & desktop applications.
š¤claudešuniversal
1.2k
190
View
agentscope-java
Coding & DevelopmentExpert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or Java agent development. Specializes in non-blocking code, tool integration, hooks, pipelines, and production-ready agent applications.
šuniversal
6.0k
1.5k
View
ospec
Coding & DevelopmentDocument-driven OSpec workflow for initialization, change/goal routing, validation, archiving, and durable project knowledge.
āØgeminiš¤claudeš¬gptšuniversal
524
34
View
misakanet-failure-memory
Coding & Developmentš A zero-dependency, git-backed micro-lesson library for AI Agents to asynchronously share and search verified debugging experience. Python stdlib only. | https://misakanet.org
š¤claudeāØļøcursoršuniversal
424
158
View