IronEngine: Towards General AI Assistant
Organizations: NiusRobotLab
Abstract
This paper presents IronEngine, a general AI assistant platform organized around a unified orchestration core that connects a desktop user interface, REST and WebSocket APIs, Python clients, local and cloud model backends, persistent memory, task scheduling, reusable skills, 24-category tool execution, MCP-compatible extensibility, and hardware-facing integration. IronEngine introduces a three-phase pipeline -- Discussion (Planner--Reviewer collaboration), Model Switch (VRAM-aware transition), and Execution (tool-augmented action loop) -- that separates planning quality from execution capability. The system features a hierarchical memory architecture with multi-level consolidation, a vectorized skill repository backed by ChromaDB, an adaptive model management layer supporting 92 model profiles with VRAM-aware context budgeting, and an intelligent tool routing system with 130+ alias normalization and automatic error correction. We present experimental results on file operation benchmarks achieving 100% task completion with a mean total time of 1541 seconds across four heterogeneous tasks, and provide detailed comparisons with representative AI assistant systems including ChatGPT, Claude Desktop, Cursor, Windsurf, and open-source agent frameworks. Without disclosing proprietary prompts or core algorithms, this paper analyzes the platform's architectural decomposition, subsystem design, experimental performance, safety boundaries, and comparative engineering advantages. The resulting study positions IronEngine as a system-oriented foundation for general-purpose personal assistants, automation frameworks, and future human-centered agent platforms.
Figures & tables
| Evidence location | Capability | Interpretation |
|---|---|---|
| main.py | Multi-entry runtime | ui , api , cli modes under one engine |
| docs/API.md | Service interfaces | REST, WebSocket, Python client surfaces |
| docs/ARCHITECTURE.md | Pipeline design | Plan/Review/Execute, skills, memory, MCP |
| pipeline.py | Three-phase orchestration | Discussion, Switch, Execution; 17 callbacks |
| tool_router.py | 24-category dispatch | Routing, auto-correction, 130+ aliases |
| memomap.py | Hierarchical memory | Session/pipeline/summary/refined entries |
| Domain | Tool types | Description |
|---|---|---|
| File system | file_ops, file_write, archive, binary_read | List, copy, move, rename, delete files; create/overwrite files; compress/extract archives; read binary file metadata |
| Web | web_search, web_read, browser | Multi-engine search with captcha handling; HTTP content extraction with OCR fallback; full browser automation via CDP |
| Communication | Automated messaging, file transfer, sticker sending, and message reading for WeChat | |
| Desktop GUI | gui_auto, app_control, auto_input | Mouse/keyboard automation; window management and UIA element interaction; automated form input |
| Media | image_gen, image_read, speech_tts, speech_stt, video_analyze, audio_analyze | Image generation and vision analysis; text-to-speech and speech-to-text; video frame analysis with audio transcription |
| System | cli, classify, network | Sandboxed command execution; text classification; WiFi, FTP, ping, DNS, port scanning |
| Tier | Tool docs | SOUL | Strategy |
|---|---|---|---|
| Small ( 10B) | 733 tok | 44 tok | Identity only; minimal tool descriptions |
| Medium (10–25B) | 1964 tok | 623 tok | Core SOUL sections; standard tool docs |
| Large ( 25B) | 2236 tok | 1309 tok | Full SOUL with all behavioral sections; comprehensive tool docs |
| # | Task description | Time (s) | Rounds | Result | Key observations |
| 1 | List files in a directory with spaces and quotes in path | 379 | 2 | PASS | Path with special characters correctly handled; file_ops auto-selected |
| 2 | Move a file from one directory to another (cross-drive) | 311 | 2 | PASS | Two-path parsing with “to” separator; cross-drive move succeeded |
| 3a | Create a new text file with specific content | 421 | 2 | PASS | file_write tool correctly dispatched; content verified |
| 3b | Delete a specific file by path | 430 | 2 | PASS | file_ops delete operation; existence verified pre/post deletion |
| Total | 1541 | 8 | 4/4 | Mean: 385s per task; 2 rounds per task average | |
| Correction type | Count | Success | Notes |
|---|---|---|---|
| cli file_ops | 12 | 100% | Path pattern detected |
| browse browser | 3 | 100% | Alias normalized |
| web_read browser | 2 | 100% | JS-heavy site detected |
| Alias normalization | 47 | 100% | 130+ aliases |
| No correction needed | 89 | 100% | Direct dispatch |
| Phase | Peak VRAM | Notes |
|---|---|---|
| Discussion (Planner) | 17.5 GB | qwen3.5:27b Q4 quantized |
| Discussion (Reviewer) | 13.0 GB | gpt-oss:20b Q4 quantized |
| Model switch | 2 GB | Post-unload residual |
| Execution (Executor) | 17.5 GB | Reuses Planner or dedicated model |
| Tool translation | 2.5 GB | phi4-mini:3.8b |
| IronEngine | ChatGPT | Claude | OpenClaw | NanoClaw | IronClaw | Cursor | AutoGen | Open Interp. | |
|---|---|---|---|---|---|---|---|---|---|
| Local models | S | W | W | S | S | M | M | M | S |
| Multi-role pipeline | S | W | M | W | W | W | M | S | W |
| Tool categories | S (24) | M | M | M | W | M | M | M | M |
| Memory system | S | M | W | M | W | W | W | W | W |
| Skill learning | S | W | W | M | W | W | W | W | W |
| Task scheduling | S | W | W | M | W | M | – | M | W |
| Model | Params | Score | Time (s) |
|---|---|---|---|
| cogito:8b | 8B | 100 | 10.5 |
| cogito:14b | 14B | 100 | 13.5 |
| lfm2:24b | 24B | 100 | 33.7 |
| qwen3.5:27b | 27B | 100 | 50.2 |
| Model Config | Scenario | Quality Score | Time (s) | Result | Observations |
|---|---|---|---|---|---|
| cogito:14b + cogito:8b | Shell command execution | 0.20 0.85 | 139.6 | PASS | Reviewer feedback improved plan specificity |
| cogito:14b + cogito:8b | PDF processing | 0.15 0.80 | 152.2 | PASS | Two rounds needed; tool selection corrected |
| cogito:14b + cogito:8b | WeChat messaging | 0.10 0.85 | 81.8 | PASS | Skill-augmented execution; fastest completion |
| cogito:14b + cogito:8b | Story creation | 0.85 (R1) | 321.4 | PASS | Generative task; passed on first round |
| qwen3.5:27b + cogito:8b | MCU comparison | 0.75 (R1) | 172.0 | PASS | Web search required; larger Planner beneficial |
| qwen3.5:27b + cogito:8b | Travel planning | 0.20 0.40 | 309.8 | FAIL | No network search available in test env |
| Model | Params | Translate | Execute |
|---|---|---|---|
| phi4-mini | 3.8B | 98.2% | 70.6% |
| (109/111) | (77/109) | ||
| functiongemma | 270M | 54.0% | 25.9% |
| (27/50) | (7/27) | ||
| ministral-3 | 14B | 100% | 20.0% |
| (40/40) | (8/40) |
| Scenario | Status | Score | Time (s) | Rounds | Tool Calls | Skill Learned | Notes |
|---|---|---|---|---|---|---|---|
| Shell command | PASS | 9 | 139.6 | 1 | 5 | ✓ | CLI execution via Executor |
| PDF processing | PASS | 9 | 152.2 | 2 | 7 | ✓ | Multi-step: extract + summarize |
| Travel planning | FAIL | 0 | 309.8 | 1 | 1 | — | No network in test environment |
| MCU comparison | PASS | 7 | 172.0 | 1 | 3 | — | Web search + analysis |
| WeChat messaging | PASS | 9 | 81.8 | 1 | 5 | ✓ | Innate skill + GUI automation |
| Story creation | PASS | 8 | 321.4 | 1 | 7 | ✓ | Generative task; file_write used |
| System | Primary positioning | Local | Multi-entry | MCP | Representative characteristics |
|---|---|---|---|---|---|
| IronEngine | Desktop workbench + general assistant engine | S | S | S | Plan–Review–Execute pipeline, unified UI/API, task scheduling, hierarchical memory, skill learning, 24 tool categories, VRAM management, orchestration observability |
| OpenClaw | Personal AI assistant + always-on gateway | S | S | M | Multi-channel messaging (Telegram, WhatsApp, SMS), device node management, persistent skills, gateway routing |
| NanoClaw | Edge/IoT lightweight assistant | S | M | W | Aggressive quantization, stripped skill set, upstream proxy, Raspberry Pi deployment |
| IronClaw | Hardware-oriented AI agent | M | W | W | Sensor ingestion, actuator commands, safety interlocks, embedded systems integration |
| ChatGPT | Cloud conversational AI | W | M | W | Strong conversation, web browsing, code interpreter; cloud-dependent, no local models |
| Claude Desktop | Protocol-extensible assistant | M | M | S | Strong MCP integration; limited local model, scheduling, and memory support |
LLM Agent Orchestration
Large language model agent orchestration coordinates models, tools, and workflows to complete complex tasks reliably and efficiently.
See all 458 papers