# Threebot > Threebot is an open-source, self-hosted personal AI agents app built on T3 Code. Think Grok Bot, but you host it on your own machine and run it on the AI subscriptions or local models you already pay for. Threebot turns long-lived [T3 Code](https://t3.codes) threads into personal AI agents ("Bots") you can message from a phone or desktop PWA. Each Bot has a face, persistent Markdown memory, standing instructions, scheduled routines, an encrypted login vault, connected apps, and the ability to run subagents and other T3 threads. Threebot is a free, MIT-licensed, self-hosted alternative to hosted personal AI agent apps like Grok Bot and Lindy, and a T3 Code–native alternative to OpenClaw. Threebot does not sell AI subscriptions or host your data; everything runs on your own machine or server using the providers T3 Code already has. ## Key facts - **Category:** Open-source, self-hosted personal AI agents app (messaging PWA + Node gateway on top of T3 Code) - **License:** MIT (independent project, not affiliated with or endorsed by T3 Tools Inc.) - **Website:** https://bot.swk.tools/ - **Documentation & FAQ:** https://bot.swk.tools/docs/ - **Repository:** https://github.com/swk-tools/threebot - **Requirements:** T3 Code 0.1.6+ with a signed-in provider, and Node.js 22.18+ (bundled on Windows installers) - **Supported AI providers & harnesses:** Anything T3 Code runs — Claude, Codex, Cursor, Grok Build, OpenCode, Antigravity, Muse Code, Pi, fx, ACP agents such as Hermes, and local models (including Ollama) - **Storage:** No database; plain folders with Markdown memory, instructions, library files, and JSON config under `~/.threebot` ## Core capabilities - **Messaging PWA for phone and desktop:** Installable web app with push notifications, search, themes, and `@` mentions between Bots. - **Persistent Markdown memory:** Per-Bot `MEMORY.md` plus a shared memory file across all Bots, editable directly in the Memory tab. - **Standing instructions:** User-written instructions per Bot kept separate from Bot-authored notes and loaded every session. - **Scheduled routines:** Turn natural-language schedules ("every weekday at 8") into recurring T3 scheduled tasks. - **Subagents & multi-machine orchestration:** Bots spawn T3 subagents, delegated threads, and work across linked T3 machines. - **Encrypted Vault:** Store logins and secrets that Bots can enter into websites via T3 secure requests without reading the raw passwords. - **Connected apps:** Connect Gmail, Calendar, GitHub, Slack, Notion, Stripe, and other services through [Executor](https://executor.sh). - **Phone remote access:** One-click Tailscale (`*.ts.net`), one-click Cloudflare Tunnel (`trycloudflare.com` with password), or a custom domain with Cloudflare Access. - **Projects board (beta):** Live board for projects, to-dos, machines, repos, notes, and links shared with Bots. ## Install macOS and Linux: ```sh curl -fsSL https://raw.githubusercontent.com/swk-tools/threebot/main/install.sh | sh threebot up ``` Windows (PowerShell, or download `Threebot-Setup-.exe` from GitHub Releases): ```powershell irm https://raw.githubusercontent.com/swk-tools/threebot/main/install.ps1 | iex threebot up ``` Threebot listens on `http://127.0.0.1:3780` by default. ## Threebot vs Grok Bot - **Hosting & privacy:** Grok Bot is a hosted service; Threebot is self-hosted on your own machine or server with local Markdown and JSON files. - **Models & billing:** Grok Bot is tied to xAI's hosted offering; Threebot brings your own AI subscriptions (Claude, Codex, Cursor, Grok Build, OpenCode, Antigravity, Pi, etc.) or local models with zero markup. - **Transparency & control:** Every Threebot Bot is a real T3 Code thread you can inspect, open, or take over in T3 Code at any time. - **License:** Threebot is MIT-licensed open source. ## Documentation & links - [Landing page](https://bot.swk.tools/): Product overview, interactive demo, and quick FAQ - [Documentation & FAQ](https://bot.swk.tools/docs/): Full guide covering "What is Threebot?", "Threebot vs Grok Bot", install steps, remote access, features, and security - [README](https://github.com/swk-tools/threebot/blob/main/README.md): Project overview, screenshots, and quick start - [Self-hosting guide](https://github.com/swk-tools/threebot/blob/main/docs/self-hosting.md): Services, updates, rollbacks, and phone remote access - [Architecture](https://github.com/swk-tools/threebot/blob/main/docs/architecture.md): Gateway, T3 Code mapping, Vault, and storage layout - [Harnesses](https://github.com/swk-tools/threebot/blob/main/docs/harnesses.md): Provider MCP setup for Codex, Claude Code, Pi, and Antigravity - [Cloudflare Access guide](https://github.com/swk-tools/threebot/blob/main/docs/cloudflare-access.md): Custom domain setup with Google sign-in - [Security](https://github.com/swk-tools/threebot/blob/main/SECURITY.md): Autonomy model, prompt-injection guard, and Always Ask rules - [Privacy](https://github.com/swk-tools/threebot/blob/main/PRIVACY.md): Local-first posture and opt-in anonymous usage stats