Today I began planning a full automation framework for my IRC bot network using n8n — a no-code/low-code workflow automation tool with powerful extensibility via Docker.
I’ll be using n8n as a central brain to orchestrate my modular AI bot system. Each bot will live in its own Docker container and communicate through IRC. n8n will act as the automation backbone, parsing messages, routing tasks, handling retries, logging output, and triggering more advanced scripts.
n8n (short for "nodemation") is a workflow automation tool similar to Zapier, but fully open-source and self-hostable. It allows you to visually build flows triggered by events (webhooks, timers, file changes, etc.), and chain actions like API calls, text parsing, logic branches, and command execution.
Unlike no-code-only platforms, n8n lets you run custom code at any point — a sweet spot between visual and programmable automation.
I’m containerizing each element of the system. Here’s the plan:
/dockers/
├── n8n/ # Core automation orchestrator
├── irc-server/ # Custom IRC server (UnrealIRCd or InspIRCd)
├── watcher-bot/ # Monitors keywords, triggers alerts
├── daemon-bot/ # Background logic processor
├── coder-bot/ # LLM bot answering code questions
├── philosopher-bot/ # LLM bot answering deep questions
└── news-bot/ # Fetches and summarizes RSS feeds or APIs
Each bot will have a narrow focus and communicate with n8n using simple messaging protocols (via HTTP, UNIX socket, or direct IRC relay). This modular design allows bots to fail, restart, or evolve independently.
Here’s how n8n will empower the entire network:
docker run -it --rm \
--name n8n \
-p 5678:5678 \
-v ~/.n8n:/home/node/.n8n \
n8nio/n8n
For permanent use, I’ll add it to a `docker-compose.yml` file and map it to a shared volume where other bots can access logs and event queues.
Before n8n, I had to write long Python scripts with `while True:` loops, log files, and retry logic — all manually. Now I get:
This phase will link my local AI assistants to the public IRC interface. Each one, living in its own container, trained for a unique purpose, and orchestrated through n8n — the soul of the network.
— Lorelei Noble