# TagTag > TagTag (https://tagtag.im) is an open-source, local-first gateway in Go that wraps existing local AI agent harnesses (Codex, Claude Code, AGY) into independent Bots connected to your existing IM apps (Feishu/Lark, Slack, Telegram, Discord, DingTalk, WeCom) and group chats, with 31 tested connectors, 7 zero-token IM slash commands, and strict credential isolation. (Unrelated to Google Tag Gateway.) ## Core Facts - **Reuse, don't rebuild**: Connects the native local CLI harnesses already installed on your machine (`codex`, `claude`, `agy`). Harnesses, Bots, and IM platforms are decoupled—swap engines anytime without losing Bot schedules or session continuity. - **Any IM & Multi-Bot Group Chats**: Built-in Go connectors for Feishu (WebSocket), Slack (Socket Mode), Telegram (Long Polling), Discord (Gateway WebSocket), DingTalk (Stream Mode), and WeCom (App API / Group Webhook). Invite multiple Bots into the same group chat and `@mention` them directly—no public IP or reverse proxy required. - **31 Live-Tested Connectors**: 14 built-in Go adapters (6 IM, 2 Mail, 6 Local/macOS) + 17 zero-dependency Python stdlib plugins covering Mail (`gmail`, `outlook`, `imap-smtp`), Local/macOS (`local`, `timer`, `fswatch` for Obsidian/folders, `webhook`, `imessage`, `macosnotify`), Collab/Alerts/Knowledge (`github`, `linear`, `jira`, `sentry`, `grafana`, `notion`, `feishu-bitable`), Calendars (`google-calendar`, `outlook-calendar`, `apple-calendar`), and Web/Social feeds (`rss`, `web-diff`, `x-feed`, `reddit`, `youtube`, `podcast`). - **Out-of-Band Security**: Strips all 25 connector credential prefixes (`FEISHU_`, `LARK_`, `SLACK_`, `GMAIL_`, `OUTLOOK_`, `GITHUB_`, `SENTRY_`, etc.) before spawning any LLM harness subprocess. Enforces `readonly`, `draft`, and `send` permissions in Go (`AccessGuardSink`) outside the model. - **7 Zero-Token IM Slash Commands**: `/help`, `/status`, `/trace`, `/model`, `/stop`, `/session` (`/new`), and `/schedule` with strict owner vs group visibility boundaries (`/trace prompt` and `/trace raw` deliver only to owner DM or local CLI). - **Current Release Status**: Go core, 31 connectors, and 7 slash commands are implemented and tested; minimal macOS desktop UI, cross-run memory plugin, deferred tool approvals, and public GitHub release are in progress. ## IM Integration Guides - [Feishu / Lark WebSocket Guide](https://tagtag.im/integrations/feishu): Zero-public-IP WebSocket long connection and multi-Bot group chat setup. - [Slack Socket Mode Guide](https://tagtag.im/integrations/slack): Socket Mode setup, `thread_ts` isolation, and 429 backoff. - [Telegram Long Polling Guide](https://tagtag.im/integrations/telegram): `getUpdates` setup, cursor truth rules, and token-redacted errors. - [Discord Gateway Guide](https://tagtag.im/integrations/discord): Gateway WebSocket, Message Content Intent, and Obsidian `fswatch` workflows. - [DingTalk Stream Mode Guide](https://tagtag.im/integrations/dingtalk): Stream Mode WebSocket and sessionWebhook setup without a public IP. - [WeCom Guide](https://tagtag.im/integrations/wecom): Official App API and Group Webhook setup with zero-send TCP/TLS checks. ## Connectors, Commands & Tools - [All 31 Connectors Directory](https://tagtag.im/connectors): Full catalog with protocol details, credentials, and 2-file custom plugin contract. - [7 Zero-Token IM Slash Commands](https://tagtag.im/commands): Complete syntax and 3-tier owner vs group permission table. - [Free IM Bot Manifest & Config Generator](https://tagtag.im/tools/im-bot-setup): Generate Feishu WebSocket permission JSON, Slack Socket Mode YAML/JSON Manifests, and TagTag `connectors.json` snippets. ## Comparisons & Engineering Notes - [Master Comparison](https://tagtag.im/compare): Side-by-side matrix comparing TagTag with OpenClaw, cc-connect, Claude Code Channels, and LangBot. - [TagTag vs OpenClaw](https://tagtag.im/compare/openclaw) - [TagTag vs cc-connect](https://tagtag.im/compare/cc-connect) - [TagTag vs Claude Code Channels](https://tagtag.im/compare/claude-code-channels) - [Security Architecture: Stripping 25 Credential Prefixes](https://tagtag.im/blog/stripping-25-credential-prefixes-from-local-ai-agents) - [Zero-Public-IP IM Gateways: 4 Bugs Caught Across 6 Platforms](https://tagtag.im/blog/zero-public-ip-im-gateways-6-platforms) ## Optional - [Full Single-File Reference](https://tagtag.im/llms-full.txt): Complete plain-text specification for deep LLM ingestion. - [Chinese Site (中文站)](https://tagtag.im/zh): Full Chinese documentation and IM guides.