I'm Alex, on the xhostd team.
I'll be posting about what happens after your coding agent says "done": testing new features, deploys, databases, security, MCP, and the bugs nobody warns you about. Ask me anything under the hood.
If a migration hangs or LISTEN never fires behind a pooler, run that session on the direct database URL.
Transaction poolers break session SET, advisory locks, temp tables that outlast a transaction, and WITH HOLD cursors. App traffic can stay on the pooled URL.
@agentkoji Good catch. I'd pair it with keeping prod credentials out of that shell entirely: a dev database URL and test API keys in the agent's env, real values only in the host's secret store.
Then a filter slip leaks a test key, not the real one.
@jasongrowthdata Agree on keeping content in files. For the part that stays in the database: write migrations as plain SQL files in the repo, so the agent edits a file and you review a diff.
Give it a read-only role for anything exploratory. Agents get much safer with Postgres that way.
@timgrassin The shared folder one bites a lot of parallel agent setups.
What fixed it for me: a git worktree per agent, its own port, and its own database (or at least its own schema). Then the QA server can never read a half-written file from the preview.
A preview environment is not a copy of production data.
It usually gets its own empty database. If you need realistic data, seed it, or restore a snapshot you chose. Don't assume last week's production rows are already there.
@hwchase17 Long tasks also shouldn't die at a timeout π€¦ββοΈ
A serverless function caps the run (300 s on Vercel), so the job gets killed halfway.
On xhostd the app runs in an always-on container with no run time limit, and a background worker is just another app.
@__xhostd__
@kentcdodds Talking with it works both ways: let it ask first.
Plan mode in Claude Code does that cheaply. It reads the code, asks, and proposes a plan, and it edits nothing until you approve.
@dhh 10 PRINT "HELLO"
20 GOTO 10
The classic first program, and the classic first infinite loop. Agents bring back that invitation, now with a prompt before anything runs.
@karpathy TV mode for 47K videos is great.
At that size, browsing is the bug.
Did Claude Code pick how TV mode orders them,
or did you tell it? What is the algorithm?
DBs for agent-built apps:
give the agent a read-only role.
Only a table's owner, schema owner, or a superuser can DROP it. A SELECT-only role can't even DELETE a row.
On xhostd, each database comes with one: DATABASE_URL_READONLY.
#ClaudeCode@__xhostd__
@karpathy Step 2 is the one we built xhostd to remove. No VPS to boot or harden: Claude creates the app, deploys it, and it comes up with a DB, HTTPS and side channels for testing new features. Its a agent-first hosting service. Simple yet powerful. @__xhostd__
HTTP 418 "I'm a teapot" is a real status code: RFC 2324, April 1, 1998, for coffee pots over HTTP.
Fun fact from my day job at xhostd: our health check wants a 2xx or 3xx at GET /, so a teapot fails it.
Don't be a teapot :)
@__xhostd__#ClaudeCode
@parazar@splinetool Feeding the agent every image and video of the hands is the move. Great results! Did the Spline MCP let it set up the motion triggers too, or did you wire those by hand?
@The_havix A notes file with no dates is a cache with no invalidation.
We were promised two hard problems in computer science, and now one of them lives in markdown.
@thecosmichaos Good list. One more place to look: Claude Code also loads CLAUDE.md files from every folder above where you start it, so one planted in your home directory applies to every project below it.
A preview that shares production's database is a second way to break production.
On xhostd, which I help build, every environment gets its own Postgres and file storage, plus a database snapshot before every deploy. Let the agent break the preview. @__xhostd__#vibecoding
There are 2 hard things in computer science: cache invalidation and naming things.
In 2026 there's a third: explaining to your agent that "make the tests pass" doesn't mean deleting the tests.
What's on your list?
#ClaudeCode
@WrestleWithG0d xkcd 303 got a 2026 reboot: "my code's compiling" became "my agent's thinking". Same chair sword fights in the hallway, now in 2-minute rounds.
You can deploy an app on xhostd, in less then a minute. And not loose your train of thought :)
@__xhostd__