openclaw-agents
Agent runtime for the community Rust implementation of OpenClaw
Part of openclaw-rs, a community Rust implementation of OpenClaw. This crate provides agent runtime, sandboxing, and workflow engine.
Features
- Agent Runtime: Execute AI agents with tool access
- Sandbox: Platform-specific process isolation
- Linux: bubblewrap (bwrap)
- macOS: sandbox-exec
- Windows: Job Objects
- Tool Registry: Register and execute tools
- Workflows: Node-based workflow execution (m9m pattern)
Usage
use ;
use AnthropicProvider;
// Create tool registry
let mut tools = new;
tools.register;
// Create sandbox config
let sandbox = SandboxConfig ;
// Create agent runtime
let runtime = new
.with_tools
.with_sandbox;
// Process message
let response = runtime.process_message.await?;
Sandbox Levels
| Level | File Access | Network | Use Case |
|---|---|---|---|
None |
Full | Allowed | Development/testing |
Relaxed |
Workspace only | Allowed | General agents |
Strict |
Workspace only | Blocked | Untrusted code execution |
License
MIT License - see LICENSE for details.