Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/nearai/ironclaw/llms.txt

Use this file to discover all available pages before exploring further.

Overview

IronClaw is a Rust reimplementation inspired by OpenClaw. This document tracks feature parity between the two projects to coordinate development across contributors. Current Version: IronClaw 0.13.1

Status Legend

  • Implemented: Feature is complete and working
  • 🚧 Partial: In progress or incomplete implementation
  • Not Implemented: Feature not yet started
  • 🔮 Planned: In scope but not started
  • 🚫 Out of Scope: Intentionally skipped
  • N/A: Not applicable to Rust implementation

Key Architectural Differences

IronClaw intentionally differs from OpenClaw in several areas:

1. Rust vs TypeScript

  • Native performance: No runtime overhead
  • Memory safety: Compile-time guarantees
  • Single binary: No dependencies required

2. WASM Sandbox vs Docker

  • Lightweight: WASM modules vs full containers
  • Faster startup: Milliseconds vs seconds
  • Capability-based security: Explicit permission model

3. Database Strategy

  • PostgreSQL + libSQL: Dual backend support
  • Production-ready: PostgreSQL for production
  • Zero-dependency mode: Embedded libSQL for development

4. NEAR AI Focus

  • Primary provider: NEAR AI as default LLM backend
  • Session-based auth: OAuth flow with refresh tokens

5. No Mobile/Desktop Apps Initially

  • Server-first: Focus on core agent functionality
  • CLI/TUI: Terminal interface for power users
  • Web gateway: Browser-based control UI

6. Novel Features

  • WASM channels: Extension mechanism unique to IronClaw
  • Tinfoil provider: Private/encrypted inference
  • Prompt-based skills: Trust gating and attenuation

Implementation Progress by Category

Core Systems (85% Complete)

FeatureStatusPriorityNotes
Agent loop & message handlingP0Complete
Session managementP0Per-sender sessions
Context compactionP0Auto summarization
Multi-provider failoverP1FailoverProvider with retry logic
WASM sandboxP0Capability-based permissions
Docker sandboxP0Orchestrator/worker pattern
Hybrid search (BM25 + vector)P0RRF algorithm
Prompt injection defenseP0Pattern detection + sanitization
Skills systemP0Prompt-based with trust gating
Heartbeat systemP0Periodic execution
Configuration hot-reloadP2Requires file watching
Global sessions-Optional shared context
Multi-agent routing-Workspace isolation

Messaging Channels (60% Complete)

ChannelStatusPriorityNotes
CLI/TUIP0Ratatui-based
HTTP webhookP0Secret validation
Web gateway chatP0SSE + WebSocket
TelegramP1WASM channel (MTProto)
SlackP1WASM tool
SignalP2signal-cli integration
WhatsAppP1Baileys integration needed
DiscordP2discord.js equivalent
iMessageP3BlueBubbles/Linq
MatrixP3E2EE support

Channel Features

FeatureStatusNotes
DM pairing codesironclaw pairing list/approve
Allowlist/blocklist🚧allow_from + pairing store
Thread isolationSeparate sessions per thread
Typing indicators🚧TUI + Telegram basic support
Mention-based activationbot_username config
Per-group tool policiesAllow/deny specific tools
Channel health monitorAuto-restart crashed channels

LLM Provider Support (70% Complete)

ProviderStatusPriorityNotes
NEAR AIP0Primary provider
Anthropic (Claude)🚧P0Via NEAR AI proxy
OpenAI🚧P0Via NEAR AI proxy
OpenRouterP1Via OpenAI-compatible adapter
Ollama (local)P2Full support via rig
Tinfoil-IronClaw-only private inference
AWS BedrockP3
Google GeminiP3
PerplexityP3Web search optimization

Provider Features

FeatureStatusNotes
Auto-discoveryDetect available models
Failover chainsFailoverProvider with fallback
Cooldown managementLock-free per-provider
Per-session model overrideTUI model selector

Security & Safety (75% Complete)

FeatureStatusNotes
Gateway token authBearer token
DM pairing verificationHost-based approval
Exec approvalsTUI overlay
TLS 1.3 minimumrustls
SSRF protectionWASM allowlist
WASM sandboxIronClaw innovation
Docker sandboxOrchestrator/worker
Tool policiesAllow/deny lists
Prompt injection defenseMulti-layer defense
Leak detectionSecret exfiltration prevention
Session file permissions0o600 mode
Webhook signature verificationHMAC validation
Sandbox env sanitization🚧Partial implementation
Tailscale identityNetwork identity
Trusted-proxy authReverse proxy headers
Device pairingMulti-device support
SSRF IPv6 bypass blockBlock IPv4-mapped IPv6

Memory & Knowledge (80% Complete)

FeatureStatusNotes
Vector memorypgvector
Session-based memoryPer-sender context
Hybrid search (BM25 + vector)RRF algorithm
OpenAI embeddingsDefault provider
Atomic reindexingSafe updates
Embeddings batchingembed_batch trait
Flexible path structureFilesystem-like API
Identity filesAGENTS.md, etc.
Daily logsAutomatic logging
Heartbeat checklistHEARTBEAT.md
Memory CLI commandssearch/read/write/tree/status
Temporal decayTime-based scoring
MMR re-rankingResult diversity
LLM query expansionExpand search queries
Local embeddingsOn-device models
Citation supportSource attribution

CLI Commands (75% Complete)

CommandStatusPriorityNotes
run (agent)P0Default command
onboardP0Setup wizard
tuiP0Ratatui interface
configP0Read/write settings
statusP0System status
memoryP0Memory operations
toolP0WASM tool management
skillsP0Skills management
pairingP0DM pairing approval
hooksP2Lifecycle hooks
completionP1Shell completion
gatewayP2Gateway control
channelsP2Channel management
cronP2Cron job management
doctorP2Diagnostics
logsP3Log queries

Automation & Hooks (70% Complete)

FeatureStatusNotes
Cron jobsRoutines with cron trigger
Timezone supportVia cron expressions
One-shot/recurring jobsManual + cron triggers
beforeInbound hookPre-process messages
beforeOutbound hookPre-send messages
beforeToolCall hookTool execution guard
onMessage hookEvent trigger routines
onSessionStart hookSession lifecycle
onSessionEnd hookSession cleanup
transformResponse hookResponse modification
Bundled hooksAudit + declarative rules
Plugin hooksWASM capabilities.json
Workspace hookshooks/hooks.json
Outbound webhooksFire-and-forget delivery
Heartbeat systemPeriodic execution
before_agent_start hookModel override
before_message_write hookPre-write interception
llm_input/llm_output hooksLLM payload inspection
Cron stagger controlsJob spacing

Web Interface (65% Complete)

FeatureStatusNotes
Control UI DashboardWeb gateway
WebChat interfaceSSE/WebSocket streaming
Debug/logs viewerReal-time log streaming
Model selectionTUI only
Gateway status widget🚧Partial implementation
Channel status viewFull channel overview
Agent managementMulti-agent control
Config editingWeb-based settings
Canvas system (A2UI)Agent-driven UI
Control UI i18nMulti-language support

Plugin & Extension System (70% Complete)

FeatureStatusNotes
Dynamic loadingWASM modules
Manifest validationWASM metadata
Workspace-relative install~/.ironclaw/tools/
Channel pluginsWASM channels
Tool pluginsWASM tools
Hook pluginsDeclarative hooks
Plugin CLItool subcommand
HTTP path registrationPlugin routes
Auth pluginsCustom auth
Memory pluginsCustom backends
Provider pluginsCustom LLM providers
ClawHub registryDiscovery service

Media Handling (10% Complete)

FeatureStatusPriorityNotes
Image processingP2Resize, format convert
Audio transcriptionP2Speech-to-text
PDF parsingP2Text extraction
MIME detectionP2File type detection
Vision model integrationP2Image understanding
Video supportP3Video processing
TTSP3Text-to-speech
Media cachingP3Performance optimization

Mobile & Desktop Apps (Out of Scope)

FeatureStatusPriorityNotes
iOS app🚫-Out of scope initially
Android app🚫-Out of scope initially
macOS app🚫-Out of scope initially
Apple Watch🚫-Out of scope initially
SwiftUI interfaces🚫-Focus on server-side
APNs push notifications🚫-Mobile dependency

Priority Definitions

P0 - Core (Already Done)

Essential features for basic functionality:
  • ✅ Agent loop and message handling
  • ✅ Session management and context compaction
  • ✅ WASM and Docker sandboxes
  • ✅ Hybrid search with pgvector
  • ✅ Prompt injection defense
  • ✅ Skills system with trust gating
  • ✅ Core channels (TUI, HTTP, WebChat)
  • ✅ Gateway control plane
  • ✅ Memory CLI commands

P1 - High Priority

Important features for production use:
  • ✅ Multi-provider failover
  • ✅ Telegram WASM channel
  • ✅ Hooks system (core + bundled/plugin/workspace)
  • ❌ WhatsApp channel
  • ✅ OpenRouter/OpenAI-compatible provider support

P2 - Medium Priority

Enhanced functionality:
  • ❌ Media handling (images, PDFs)
  • ✅ Ollama/local model support
  • ❌ Configuration hot-reload
  • ❌ Channel health monitor
  • ❌ Gateway and cron CLI commands

P3 - Lower Priority

Nice-to-have features:
  • ❌ Discord, Matrix channels
  • ❌ TTS/audio features
  • ❌ Video support
  • ❌ Streaming (block/tool/Z.AI)
  • ❌ Memory advanced features (temporal decay, MMR)
  • ❌ Control UI i18n

How to Contribute

1. Claim a Feature

Edit FEATURE_PARITY.md in the source repository and add your name/handle to the “Owner” field for your chosen section.

2. Create Tracking Issue

Open a GitHub issue for the feature area:
Title: Implement [Feature Name]

Description:
- Feature category: [Category]
- Priority: [P0/P1/P2/P3]
- Current status: [❌/🚧]
- Target status: []

Implementation plan:
1. Step one
2. Step two
3. ...

Related files:
- src/...
- tests/...

3. Update Status

As you work:
  • Change ❌ to 🚧 when starting
  • Update to ✅ when complete
  • Add notes for design decisions or deviations

4. Update in PR

Include FEATURE_PARITY.md updates in your pull request:
| Feature | OpenClaw | IronClaw | Notes |
|---------|----------|----------|-------|
- | Hot-reload | ✅ | ❌ | |
+ | Hot-reload | ✅ | ✅ | Uses notify crate for file watching |

Coordination

Section Ownership

  • Each major section should have one owner to avoid conflicts
  • Owners can delegate sub-features to others
  • Update ownership in FEATURE_PARITY.md

Communication

  • GitHub Issues: Track feature implementation
  • Pull Requests: Include parity updates
  • Discussions: Ask questions and propose designs
  • Telegram: @ironclawAI for real-time chat

Review Process

  1. Reviewers verify parity updates match code changes
  2. Status changes must be accurate
  3. Notes should explain any deviations from OpenClaw
  4. Priorities can be adjusted with justification

Current Status Summary

As of version 0.13.1:
CategoryCompletionNotes
Core Systems85%Context, sessions, failover complete
Messaging Channels60%Core channels done, WhatsApp/Discord pending
LLM Providers70%NEAR AI, OpenRouter, Ollama supported
Security & Safety75%WASM/Docker sandboxes, prompt defense done
Memory & Knowledge80%Hybrid search, embeddings, CLI complete
CLI Commands75%Core commands done, management tools pending
Automation & Hooks70%Cron, core hooks, webhooks working
Web Interface65%Gateway, chat, logs complete
Plugin System70%WASM loading, tools, channels working
Media Handling10%Major gap - images, audio, PDF needed
Mobile/Desktop0%Out of scope initially
Overall Progress: ~65% feature parity

Next Major Milestones

Q2 2026

  • Complete WhatsApp channel (P1)
  • Implement media handling (P2)
  • Add configuration hot-reload (P2)
  • Enhance channel health monitoring (P2)

Q3 2026

  • Discord channel implementation (P2)
  • Advanced memory features (temporal decay, MMR) (P3)
  • Streaming support (block/tool-level) (P3)
  • Control UI internationalization (P3)

Q4 2026

  • Matrix and additional messaging channels (P3)
  • TTS/audio features (P3)
  • Video processing support (P3)
  • Plugin registry/ClawHub (P3)

Resources

Questions?

If you’re unsure whether a feature is in scope or how to implement it:
  1. Check the full FEATURE_PARITY.md in the source repository
  2. Search existing GitHub issues
  3. Open a discussion on GitHub
  4. Ask in the Telegram group
We’re here to help you contribute successfully!

Build docs developers (and LLMs) love