Why We Built a Thin Go Gateway Instead of Forking OpenClaw
Frontier labs spend billions tuning their native CLI agent loops (Claude Code, Codex, AGY). Instead of fighting them by maintaining a parallel agent loop or a 24/7 VPS stack, TagTag stays thin in Go: it owns IM connections, 31 deterministic connectors, Bot schedules, and hard credential/outbound boundaries—while letting you swap harnesses live with /model.
1. Do Not Compete With Frontier Labs on the Agent Loop
Every month, Anthropic, OpenAI, and Google ship deep harness improvements inside Claude Code, Codex CLI, and AGY: better diff editing, smarter context compaction, native tool policies, and subscription billing that developers already pay for.
When an external framework rebuilds its own agent loop, it inherits two permanent taxes: chasing upstream prompt/tool regressions every week, and forcing users onto raw pay-per-token API bills. TagTag wraps the native local CLI already installed on your laptop so you get every upstream harness upgrade on day one.
2. State Follows the Bot, Never the Vendor
First-party channels (like Claude Code Channels) are convenient when you only use one vendor and three consumer chats. The moment your team works in Feishu, Slack, DingTalk, or WeCom—or one provider hits rate limits mid-sprint—single-vendor coupling breaks your workflow.
In TagTag, Bot identities, IM bindings, schedules (`/schedule`), and 31 external connectors live in clean local files owned by the Go runtime. Running `/model harness codex` switches the engine underneath `@dev-bot` in zero tokens without re-creating any IM bot or losing scheduled briefs.
IM & 31 Data Sources (Feishu / Slack / Gmail / Sentry / Obsidian ...)
│ (outbound long-connection / deterministic poll · 0 LLM tokens)
▼
TagTag Go Core (Bot Identity · Schedules · AccessGuardSink · 25-Prefix Stripper)
│ (swappable live via /model harness <codex|claude|agy>)
▼
Native Local CLI Harness (Codex / Claude Code / AGY on your Mac)3. Boring Go Determinism for Everything Outside Reasoning
Polling RSS, hashing web diffs, checking Gmail history cursors, redacting Telegram token URLs, stripping 25 credential prefixes, and blocking direct email sends do not need an LLM. Moving them into Go and zero-dependency Python stdlib plugins means idle polling spends 0 tokens and security rules survive context compaction 100% of the time.