Copy library / Guides / Grok Bot
agent-tincan now recommends Grok Bot's managed Tailscale connector
# agent-tincan 改为推荐 Grok Bot 托管的 Tailscale 连接器 Source: https://github.com/mvanhorn/agent-tincan/pull/221 Author: mvanhorn 这个 PR 修正 Grok Bot 适配文档:Grok Bot 现在自带托管的 Tailscale 连接器,官方文档说不要在 Bot 的电脑上装 Tailscale 客户端,因为换电脑时会被清掉。文档改为推荐托管连接器,说明个人和公司 tailnet 的连接方式、用中继完整 MagicDNS 名加入,以及如何限制访问;脚本新增 TS_MODE=managed,原先自装 userspace 客户端的方法保留为备选。
- What it does
- This PR fixes the Grok Bot adapter docs: Grok Bot now ships a managed Tailscale connector, and its docs say not to install a Tailscale client on the bot's computer because it is wiped when that computer is replaced. The docs now recommend the managed connector, covering personal and company tailnets, joining with the relay's full MagicDNS name, and limiting access; the script gains TS_MODE=managed, and the self-installed userspace method stays as a fallback.
- Scenarios
- Watch PRs / repos Code & ship
- What the source covers
- Author & original linkYes
- What it doesYes
- Verbatim source excerptYes
- Screenshots / mediaNot in source
- Steps / chaptersYes
- Verbatim prompt / configNot in source
- Results / numbersNot in source
- Risk notesYes
- Related entriesYes
— means the source doesn't say; we don't fill it in.
- Verbatim source excerpt
docs(grokbot): recommend Grok Bot's managed Tailscale connector
## Summary
Fixes #219. Grok Bot now ships a managed Tailscale connector and its docs say not to install a Tailscale client on the bot's computer, because it is wiped when that computer is replaced. The adapter told people to install a userspace client, so setup was blocked.
- `docs/adapters/grokbot.md`: the managed connector is now the recommended path. It covers connecting it (personal and company tailnets), joining with the relay's full MagicDNS name and no `--proxy`, and limiting access. On a company tailnet that is aShow full post
`custom:grokbot` posture grant to just the relay's port. On a personal tailnet the device has the owner's full access and cannot be tagged right now, because a tag disconnects it (cursor/plugins#1140). It says never to list the untagged `grokbot-user-...` device in `--admin`, and how to move an existing grokbot agent (`tincan invite` + `tincan join --replace --proxy=`). The self-installed userspace method stays as a fallback, labeled as not what Grok Bot recommends.
- `examples/grokbot/tincan-up.sh`: new `TS_MODE=managed`. It installs, starts and logs in to no Tailscale. It checks tincan, still starts the relay with `START_RELAY=1`, and runs `tincan doctor --json`. A relay that does not answer exits 5. If the saved config still sends relay traffic through the userspace proxy port, the script says so without printing the proxy. The default stays `userspace`. I did not auto-detect, because the connector only serves the owner's own turns, so a turn it does not serve would look like "needs Tailscale" and reinstall it.
- The vm-webhook standing instructions, `docs/adapters/agent-instructions.md`, `site/agents.txt` and the README mention the mode and the new join line.
- `--proxy` is saved in `client.json`, and a later join or rejoin keeps it unless `--proxmvanhorn · · Open original ↗ From the project README, verbatim and untranslated.
- Steps / points from the source
- Why it matters
- Getting started
- New in v0.18.1 and v0.18.0
- New in v0.17.0 and v0.16.0
- New in v0.15.0
- New in v0.14 and v0.12
- New in v0.11.2
- New in v0.11.1
Verbatim from the source, untranslated.
- Prompt
The source does not include a prompt you can copy verbatim.
- How to copy
- Open the repo: github.com/mvanhorn/agent-tincan/pull/221 ↗
- Read the README, send the repo link to your Bot and have it reproduce it
- Get it working small first, then add a routine
- Risks and limits
- The author's result may not reproduce for you; the original post is the reference
- Usage estimate
- Estimate with the metal calculator