Malikclaw
Ultra-lightweight AI Agent & Assistant for $10 SBCs & Android. Urdu-first, Go-based, and privacy-focused. 99% smaller memory than typical gateways.

Установка Malikclaw
У сервера нет опубликованного npm/PyPI-пакета — склонируй репозиторий и собери по его README, затем добавь получившуюся команду в свой клиент.
Открыть репозиторийОписание
Ultra-lightweight AI Agent & Assistant for $10 SBCs & Android. Urdu-first, Go-based, and privacy-focused. 99% smaller memory than typical gateways.
README
MalikClaw 🦅 v2.0.0
Agentic Era 2026 — Everyday Edge AI & Production Agent Runtime in Pure Go
Sub-Second Boot (<1s) • Ultra-Low Footprint (<10MB core SLA) • $10 Hardware • English & اردو (RTL) • 100% Private & Self-Hostable
Website • Quickstart Guide • Installation • Architecture • Benchmarks • FAQ • Changelog • Security • Contributing • Roadmap
اردو | 日本語 | Português | Tiếng Việt | Français | English
⚡ Dual-Audience Quick Start (v2.0.0 — Zero Friction)
Whether you want an everyday personal assistant with zero coding or a hardened Go 1.25+ agent runtime with SSRF & prompt-injection defense, start in 30 seconds:
🌟 For Everyday Users (Zero Coding)Turn any laptop,
|
🛠️ For Developers & Self-HostersSingle static Go
|
One-Command Install, Node.js & Non-Root Docker
Linux / macOS / Termux:
curl -fsSL https://raw.githubusercontent.com/AbdullahMalik17/malikclaw/main/install.sh | bash
Windows (PowerShell):
irm https://raw.githubusercontent.com/AbdullahMalik17/malikclaw/main/install.ps1 | iex
Node.js (any platform with Node 18+):
npm install -g malikclaw
The npm package is a thin launcher that auto-installs the @malikclaw/cli-<os>-<cpu> package containing the native Go binary for your platform. Published alongside every GitHub release.
Docker (Non-Root alpine:3.23 Runtime):
docker run -d --name malikclaw -p 18790:18790 -v ~/.malikclaw:/home/malikclaw/.malikclaw ghcr.io/abdullahmalik17/malikclaw:latest
Configure & Launch:
# Run interactive onboarding setup (English / Urdu)
malikclaw onboard
# Execute a direct CLI prompt
malikclaw agent -m "Summarize the system specs of this machine and save it to specs.md"
# Start the web UI and omnichannel gateway (Dashboard on http://localhost:18790)
malikclaw gateway
🎬 Live Terminal Demo
Real-time demonstration of MalikClaw agent loop initializing in <0.8s, executing ReAct subtask planning, sandboxed tool execution, and updating Markdown memory on <10MB core RAM SLA.
⚡ 30-Second Overview
What is MalikClaw?
MalikClaw v2.0.0 ("Agentic Era 2026") is a production-grade, zero-dependency personal AI agent engine engineered in pure Go 1.25+. Designed for extreme resource efficiency and real-world security, it brings autonomous AI capabilities—tool execution, multi-step planning, persistent Markdown memory, smart model cost routing, and 21 messaging/social channels—to low-power single-board computers (SBCs), Android phones, local edge nodes, and cloud containers.
Why Use MalikClaw?
- 🪶
<10MBCore RAM SLA &<0.8sBoot: Up to 99% lighter than heavy Python/Node agent frameworks (~14.2 MBmeasured x86_64 idle RSS in full benchmarks). - 💰 Runs on $10 Hardware: Deploys seamlessly on Orange Pi Zero, Raspberry Pi Zero 2 W, recycled Android smartphones (via Termux), and low-tier VPS instances.
- 💬 21 Messaging & Social Channels: Unified Go
MessageBusfor Telegram, Discord, WhatsApp (whatsapp&whatsapp_native), Matrix, Slack, Google Chat, IRC, TikTok, LinkedIn, Twitter/X, Reddit, Instagram, WeCom, QQ, DingTalk, LINE, Feishu, OneBot, Pico, and MaixCam. - 📱 Native Mobile ADB & Termux Control: Autonomous phone automation—take screenshots, tap UI elements, swipe, type, and launch apps.
- 🛡️ Defense-in-Depth Security (
v2.0.0): SSRF Network Boundary Firewall (ValidateURL/IsBlockedIP), Prompt-Injection Structural Guard (WrapUntrusted/ScanPromptInjection), workspace jailing (restrict_to_workspace), and shell command filtering. - 💸 Smart Multi-Model Cost Router:
SmartCostRouterroutes simple everyday tasks to fast/local models (Ollama,gemini-2.5-flash,gpt-4o-mini) and complex reasoning to frontier models with automatic fallback. - 🧩 Universal
SKILL.md+ MCP Client: ProgressiveSKILL.mdecosystem (pkg/skills/loader.go) and MCP Client / Host (pkg/mcp/manager.go) supportingstdio,sse, andhttptransports. - 🤖 Guardian Engine: Autonomous code auditing, debugging, and self-patching capabilities.
💻 Embed MalikClaw in Go (Production Snippet)
MalikClaw can be embedded directly into your Go microservices as a lightweight agent runtime:
package main
import (
"context"
"fmt"
"log"
"time"
"github.com/AbdullahMalik17/malikclaw/pkg/agent/agentloop"
"github.com/AbdullahMalik17/malikclaw/pkg/providers"
"github.com/AbdullahMalik17/malikclaw/pkg/tools"
)
func main() {
ctx, cancel := context.WithTimeout(context.Background(), 3*time.Minute)
defer cancel()
workspace := "/home/user/workspace"
// 1. Initialize LLM Provider (OpenAI-compatible endpoint, Ollama, Gemini, etc.)
provider := providers.NewHTTPProvider(
"sk-proj-your-api-key",
"https://api.openai.com/v1",
"",
)
// 2. Initialize Tool Registry and register workspace-restricted tools
toolRegistry := tools.NewToolRegistry()
toolRegistry.Register(tools.NewReadFileTool(workspace, true, 0))
toolRegistry.Register(tools.NewWriteFileTool(workspace, true))
toolRegistry.Register(tools.NewListDirTool(workspace, true))
// 3. Configure the 5-Stage Agentic Loop
cfg := agentloop.DefaultLoopConfig(workspace)
cfg.MaxIterations = 10
cfg.EnableReflection = true
cfg.Reflector.Model = "gpt-4o-mini"
// 4. Instantiate & Run Agent Loop
loop := agentloop.NewAgentLoop(cfg, toolRegistry, provider)
defer loop.Close()
result, err := loop.ExecuteGoal(ctx, "Research recent Go 1.25 features and write a summary in go_features.md")
if err != nil {
log.Fatalf("Agent execution failed: %v", err)
}
fmt.Printf("Goal Achieved: %t | Actions Taken: %d | Duration: %s\n",
result.Success, result.ActionsTaken, result.Duration)
}
📊 Performance Benchmarks (MalikClaw v2.0.0 vs Alternatives)
Benchmarked across edge ARMv7 (Orange Pi Zero, 512MB RAM) for core SLA and x86_64 Linux (Intel i7, 16GB RAM) for full runtime profiling (methodology & results):
| Metric | Python (AutoGen / CrewAI) | LangChain (Python) | OpenClaw (Node.js) | MalikClaw v2.0.0 (Go 1.25+) |
|---|---|---|---|---|
| Idle Memory (RAM) | 180MB – 450MB | 210MB – 500MB | 350MB – 1.2GB | <10MB core SLA (~14.2 MB x86_64 RSS) |
| Boot / Cold Start | 12.4s – 35.0s | 15.1s – 42.0s | 8.5s – 18.0s | <0.8s (<1s SLA) |
| Binary / Package Size | 850MB (virtualenv + libs) | 920MB (pip packages) | 650MB (node_modules) |
~12–15 MB stripped static binary |
| Hardware Minimum | 2GB RAM PC ($100+) | 2GB RAM PC ($100+) | 1GB RAM Pi ($35+) | $10 Edge SBC / Laptop / Recycled Phone |
| Security & Isolation | Manual sandbox setup | Manual sandbox setup | Plugin scrutiny | SSRF Firewall + Prompt Guard + Workspace Jail |
| Cost & Model Routing | Static / manual config | Static / manual config | Single static model | SmartCostRouter (Ollama → Frontier fallback) |
| Ecosystem & Channels | Python SDK | Python SDK | Plugin marketplace | 21 Channels + MCP Client + Universal SKILL.md |
| 100% Private Offline | Complex setup | Complex setup | Partial | Native Ollama, SearXNG & Local Markdown |
🏛️ High-Level System Architecture
graph TD
UserClient["Clients / 21 Inbound Channels<br/>(Telegram, Discord, WhatsApp, Web UI)"] --> Gateway["Omnichannel Gateway<br/>(Port 18790 Webhook Server)"]
Gateway --> Bus["Unified MessageBus<br/>(Go Channels / Events)"]
Bus --> Loop["5-Stage Agent Loop<br/>(pkg/agent/agentloop)"]
subgraph AgenticEngine ["5-Stage Agentic Core"]
Loop --> Plan["1. Planner<br/>(ReAct Subtask Graph)"]
Plan --> Act["2. Executor<br/>(Tool Execution & Circuit Breaker)"]
Act --> Obs["3. Observer<br/>(Output Schema Normalizer)"]
Obs --> Ref["4. Reflector<br/>(Outcome & Lesson Critic)"]
Ref --> Mem["5. Memory Manager<br/>(Markdown Storage & Search)"]
end
Act --> Sandbox["Defense-in-Depth Guardrails<br/>(SSRF Firewall, Prompt Guard & Workspace Jail)"]
Sandbox --> Tools["Registered Tools & Skills<br/>(Shell, File, Web, ADB, MCP Client, SKILL.md)"]
Loop --> ProviderLayer["SmartCostRouter & Fallback Chain<br/>(TierFast → Balanced → Reasoning)"]
ProviderLayer --> LLMBackends["LLM APIs & Local Models<br/>(Ollama, Gemini, Anthropic, OpenAI)"]
Loop --> Guardian["Guardian Engine<br/>(Autonomous Self-Patching)"]
🔄 The 5-Stage Agent Loop Architecture
graph LR
Goal["Inbound Goal"] --> PLAN["PLAN<br/>Decompose goal into subtask graph"]
PLAN --> ACT["ACT<br/>Execute sandboxed tool action"]
ACT --> OBSERVE["OBSERVE<br/>Wrap & scan untrusted output"]
OBSERVE --> REFLECT["REFLECT<br/>Evaluate success & extract lessons"]
REFLECT --> MEMORY["MEMORY UPDATE<br/>Persist state to Markdown logs"]
MEMORY --> Choice{"Goal Achieved?"}
Choice -- "No / Retry" --> PLAN
Choice -- "Yes" --> Response["Return Final Output"]
✨ Core Features & Capabilities
- 🧠 5-Stage Production Agent Loop: Complete cycle of planning, step execution, output observation, reflection, and persistent memory updates.
- 🛡️ Defense-in-Depth Security (
v2.0.0): SSRF Network Boundary Firewall (pkg/security/ssrf.go), Prompt-Injection Structural Guard (pkg/security/prompt_guard.go), workspace jailing (restrict_to_workspace), and shell regex command blocking. - 💸 Smart Multi-Model Cost Router (
pkg/routing/cost_router.go): Complexity-aware tiering (TierFastlocal Ollama/gemini-2.5-flash/gpt-4o-mini→TierBalanced→TierReasoningfrontier) with automatic429/5xxfallback. - 🧩 Universal
SKILL.mdEcosystem (pkg/skills/loader.go): Progressive YAML/JSON frontmatter + Markdown AST loading compatible with~/.agents/skills/andmalikclaw skills install. - 🔌 MCP (Model Context Protocol) Client / Host (
pkg/mcp/manager.go): Connect external MCP servers overstdio,sse, andhttptransports to dynamically extend agent capabilities. - 💬 21-Channel Omnichannel Messaging Engine: Native
MessageBusintegration for Telegram, Discord, WhatsApp (whatsapp&whatsapp_native), Matrix, Google Chat, IRC, WeCom, QQ, DingTalk, LINE, Feishu, Slack, OneBot, Pico, MaixCam, TikTok, LinkedIn, Twitter/X, Instagram, and Reddit. - 📱 Mobile & Android ADB Automation: Direct mobile control over USB/Wi-Fi ADB or headless native execution inside Android Termux.
- 🌐 Web Interface & Dashboard: Modern Bento Grid UI listening on
http://localhost:18790with real-time logs, agent controls, and chat shortcuts. - 🛠️ Guardian Self-Evolution: Autonomous code inspection and safe git-diff patching for self-healing software agents.
- 🌍 RTL & Multilingual Translation: Built-in localization support for English, Urdu (RTL), Japanese, French, Portuguese, and Vietnamese.
🤖 Supported Model Providers & Web Search Engines
LLM Providers
- OpenAI:
gpt-4o,gpt-4o-mini,o1,o3-mini - Anthropic:
claude-3-7-sonnet,claude-3-5-haiku(Native & Messages API, Prompt Caching) - Google AI & Antigravity: Gemini 2.5 Pro, Gemini 2.5 Flash, Cloud Code Assist integration
- Ollama (Local Models): Llama 3.3, DeepSeek-R1, Qwen 2.5, Mistral (
http://localhost:11434/v1) - Groq: Ultra-fast LLaMA & Mixtral inference
- DeepSeek: DeepSeek-V3, DeepSeek-R1
- Zhipu GLM: GLM-4 Flash / Plus
- OpenRouter & ModelScope: Unified proxy access to hundreds of open/closed models
Web Search Providers
- DuckDuckGo: Free zero-config default search engine
- Tavily: AI-optimized structured research API
- Brave Search: Fast, independent privacy-first web index
- Perplexity: Conversational AI search
- SearXNG: Self-hosted privacy meta-search engine
🖥️ Platform & Hardware Support
| OS / Runtime | Architecture Support | Tested Devices / Environments |
|---|---|---|
| Linux | x86_64, arm64, armv7, riscv64 |
Ubuntu, Debian, Alpine, Arch, Orange Pi, Raspberry Pi |
| Android | arm64, armv7 |
Termux non-root environment, Android 8.0+ |
| macOS | arm64 (Apple Silicon), x86_64 |
macOS Monterey, Ventura, Sonoma, Sequoia |
| Windows | x86_64, arm64 |
Windows 10, Windows 11, WSL2 |
| Containers | Multi-arch Docker & Kubernetes | Multi-stage alpine:3.23 (non-root malikclaw), full MCP container |
📚 Documentation Index
- QUICKSTART.md: 5-minute onboarding & initial command guide.
- INSTALLATION.md: Detailed installation options (One-liner, Docker, Brew, Source).
- ARCHITECTURE.md: Deep-dive into internal packages, subsystems, and Go API patterns.
- FAQ.md: Frequently asked questions on setup, performance, ADB, and security.
- CHANGELOG.md: Version history, release notes, and migration steps.
- SECURITY.md: Threat model, directory sandboxing, and security policies.
- CODE_OF_CONDUCT.md: Community guidelines and standards.
- CONTRIBUTING.md: Developer guide for submitting code, tools, and translations.
- ROADMAP.md: Future technical vision and community priorities.
📄 License & Attribution
MalikClaw is licensed under the MIT License. See LICENSE for details.
🦅 Built with ❤️ for developers worldwide
آگے بڑھو، ملک کلاؤ! (Let's Go, MalikClaw!)
FAQ
Malikclaw MCP бесплатный?
Да, Malikclaw MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Malikclaw?
Нет, Malikclaw работает без API-ключей и переменных окружения.
Malikclaw — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Malikclaw в Claude Desktop, Claude Code или Cursor?
Открой Malikclaw на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Opencode Omniroute Plugin
GitHub Actions97OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
Roblox Studio
paralovEnables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
Antigravity Drawio
S-SUJAN-SMCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.
Fetch
Web content fetching and conversion for efficient LLM usage.
Mcp
mcpflow.ioModelContextProtocol server for enhancing JSON Resumes
Vault
agbergsmannBitwarden/Vaultwarden MCP server — BYOK vault access with 6 tools, Send-based reveal, TOTP, and safe agent-write
AWS KB Retrieval
modelcontextprotocolRetrieval from AWS Knowledge Base using Bedrock Agent Runtime.
Spring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
xuzexin-hzA very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
MCP-Agent
lastmile-aiA simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
Сравнить Malikclaw с
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
