Recipes

Self-hosted personal AI agent bots on T3 Code with memory, routines, and a login vault

From README links · today

Life Admin & HomeWork & Operations

Threebot turns each bot into a long-lived T3 thread you host yourself.

What they did

They installed Threebot on a machine that already had T3 Code signed in to a provider, using the curl installer (or the Windows setup exe), then ran `threebot up` to have it request a T3 Code token, register itself as a background service (launchd, systemd, or the Startup folder), and print its local address at 127.0.0.1:3780. From the web UI they created their first Bot — a long-lived T3 thread with a face and icon that also shows up in T3 Code's sidebar — and gave it Markdown memory so context persists between sessions. They connected apps with real logos, stored logins in the encrypted Vault, and set a routine in plain chat ('do this every weekday at 8') so the bot runs on a schedule. They picked a model from the selector, then opened Settings → Remote access to reach the bot from a phone, choosing either one-click Tailscale for a private ts.net link or Cloudflare for a public trycloudflare.com link behind a password. Updates were handled from Settings → Updates or `threebot update`, with rollback if a new version fails to start.

How it went

The result is a working personal agent that lives on your own hardware and runs on subscriptions you already pay for, rather than a hosted assistant with a new bill. The flow is polished for a self-hosted project: one-command install, service registration, a desktop app, phone access in one click, and update rollback. Screenshots in the README are real runs on sample data. Limits show up around setup prerequisites and the fact that remote exposure, vault contents, and routine reliability are yours to manage.

Worth knowing

Requires T3 Code on the same machine with a provider already signed in, plus Node 22.18 or newer. The installer pulls the latest release over the network and verifies SHA-256 sums, so you are trusting that release channel. Remote access via Cloudflare exposes a public URL (password-gated), and Tailscale requires an account. The Vault holds real logins, so host security and backups matter. Anonymous usage stats are opt-in and off by default.

Wiring

Order matters: T3 Code must be installed and signed in to a provider first, since `threebot up` asks T3 Code for a token. Node 22.18+ is required. The installer downloads the latest GitHub release, checks it against the release SHA-256 sums, and installs into ~/.threebot. `threebot up` then starts Threebot as a background service — launchd on macOS, systemd on Linux, the Startup folder on Windows — and serves the UI at http://127.0.0.1:3780. Each Bot is a T3 thread, so the bot's identity, Markdown memory, connected apps, and Vault entries attach to that thread and appear in T3 Code's sidebar. Routines are scheduled jobs that post into the thread; the model selector chooses which provider/model backs each bot. Remote access is configured in Settings → Remote access: Tailscale for a private ts.net link, Cloudflare for a password-protected public link, or your own domain via Cloudflare Access with Google sign-in. Updates run from Settings → Updates or `threebot update`, restarting the service and rolling back on failure.

Try it yourself

Set up Threebot on this machine: confirm T3 Code is installed and a provider is signed in, check Node is 22.18+, run the install script, then `threebot up` and report the local URL. Create one Bot named after my main project with a short Markdown memory file describing what I work on, connect the apps I list, and add a weekday 8am routine that summarizes overnight changes. Finally, walk me through Settings → Remote access and recommend Tailscale vs Cloudflare for my phone.

Source

Tools in this stack

Run this stack

Install the stack into this project. It writes AGENTS.md and the manifest, merges the MCP servers into .mcp.json, and — with --yes — runs the tool installs.

npx runchr install runchr/stack-t3code-and-threebot
No CLI?curl -s https://api.runchr.com/api/recipes/runchr/stack-t3code-and-threebot/manifest

This stack has no prompt yet. You get the tools and the wiring, not the prompt.

The manifest is also at api.runchr.com/api/recipes/runchr/stack-t3code-and-threebot/manifest.