OpenClaw-inspired autonomous AI agent built entirely in n8n. Adaptive RAG-powered memory, Skills via MCP templates, Expert Agents with delegated sub-agents, proactive task management, media understanding - self-hosted with one setup script
# Add to your Claude Code skills
git clone https://github.com/freddy-schuetz/n8n-clawLast scanned: 5/20/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-20T07:43:44.753Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}No comments yet. Be the first to share your thoughts!
30 days in the Featured rail · terms & refunds
A fully self-hosted AI agent built on n8n + PostgreSQL + Claude. Talks to you via Telegram or HTTP API (Slack, Teams, custom apps), builds its own MCP tools, manages reminders and memory — all running on your own infrastructure.
Short Introduction
https://github.com/user-attachments/assets/10b7b93d-f482-47c1-a144-80a1b9d1be16
Talk to your agent in natural language — it manages tasks, remembers context across conversations, builds API integrations, and proactively keeps you on track.
Telegram ───────────────────────────────────┐
Webhook API (POST /webhook/agent) ───────┐
│ │
└─────────────────▼─────────────────────┘
n8n-claw Agent (Claude Sonnet)
├── Task Manager — create, track, complete tasks
├── Project Manager — persistent project notes (markdown)
├── Memory — save, search, update, delete long-term memories
├── Knowledge Graph — track entities and relationships automatically
├── MCP Client → calls tools on MCP skill servers
├── Library Manager → install/remove skills from catalog
├── MCP Builder → builds custom skills from scratch
├── Reminder — timed reminders + scheduled actions
├── Expert Agent → delegates to specialized sub-agents
├── Agent Library → install/remove expert agents from catalog
├── Telegram Status — sends progress updates during long tasks
├── HTTP Tool — simple web requests
├── Web Search — search the web (SearXNG)
├── Web Reader — read webpages as markdown (Crawl4AI)
└── Self Modify — inspect/list n8n workflows
│
├── Webhook caller? → JSON response to HTTP caller
└── Telegram? → Telegram Reply
Webhook Adapter (optional, connects external systems):
💬 Slack Trigger ──┐
💬 Teams Trigger ──┤
🌐 Generic Webhook ──┼── Map Input → POST /webhook/agent → Route Response
🛠️ Custom Webhook ──┘ (Set node — easy to customize, no code)
Background Workflows (automated):
💓 Heartbeat — every 5 min: recurring actions + proactive reminders + file cleanup
🔍 Background Checker — silent checks: only notifies when something new is found
🧠 Memory Consolidation — daily at 3am: summarizes conversations → long-term memory
⏰ Reminder Runner — every 1 min: sends due reminders + triggers one-time actions
🚨 Error Notification — catches workflow failures: Telegram alert + logs to memory_long
Internal Services:
📁 File Bridge — temporary binary storage (documents, photos) for tool passthrough
📧 Email Bridge — IMAP/SMTP REST API for email integration
Want to run locally instead of on a VPS? See the Local Setup Guide for Docker + ngrok instructions (contributed by @salvodmt, tested on Debian 13).
/newbot, follow the prompts, and copy the token it gives you123.45.67.89, type 123-45-67-89.sslip.io), no DNS setup neededgit clone https://github.com/freddy-schuetz/n8n-claw.git && cd n8n-claw && ./setup.sh
The script installs everything automatically. It will ask you for:
After that, setup handles everything else: Docker, database, credentials, workflows, activation.
Setup also asks about two optional features (you can skip both):
All credentials are created and connected automatically by setup. Send a message to your Telegram bot — it's ready!
Webhook API — you can also interact with the agent via HTTP (for Slack, Teams, or custom apps):
curl -X POST https://YOUR-DOMAIN/webhook/agent \
-H "Content-Type: application/json"