OpenClaw operations guide
Set up your first OpenClaw IRC bot
Short answer. Connect OpenClaw to a private IRC server over TLS, admit one sender in a test channel, and verify a reply when you mention the bot. Start with a working local OpenClaw Gateway and a private IRC server you control. Get its TLS hostname and port, pick an unused nick for the bot, and choose a test channel.
Last updated · Published
By CWYN · Reviewed November 19, 2026 against OpenClaw 2026.11.5
1. Choose a private IRC server, channel, and sender
Start with a working local OpenClaw Gateway and a private IRC server you control. Get its TLS hostname and port, pick an unused nick for the bot, and choose a test channel. Use a server where the test bot needs no server password. Confirm the test sender's server-reported nick!user@host identity. The IRC channel reference explains why a bare nickname is a poor access rule.
2. Install the IRC plugin on the Gateway host
Check the install result before editing your configuration. The plugin connects directly to the IRC server over TCP/TLS.
openclaw plugins install @openclaw/irc
3. Join one channel and allow one sender
Find the active file with openclaw config file. Add the irc entry under channels. Replace the example host, port, bot nick, both channel names, and sender identity with your own values. The channels list inside irc tells the bot where to join. The groups entry says whose messages can trigger a reply there.
{
channels: {
irc: {
enabled: true,
host: "irc.example.com",
port: 6697,
tls: true,
nick: "openclaw-bot",
channels: ["#openclaw-test"],
groupPolicy: "allowlist",
groups: {
"#openclaw-test": {
allowFrom: ["alice!ident@host.example.com"],
requireMention: true,
},
},
},
},
}
4. Check the connection and the bot's nick
Validate the configuration and fix any errors. Restart the managed local Gateway and run the channel probe. In your IRC client, confirm that the bot has joined the test channel and note the nick it is actually using.
openclaw config validate
openclaw gateway restart
openclaw channels status --probe
5. Mention the bot from the allowed identity
From the allowed sender, mention the bot by its connected nick and ask it to reply with a short test phrase. Look for that phrase in the channel. If the bot joined but stayed silent, compare the sender identity with the channel's allowFrom entry and check the mention against the bot's current nick.