What building on Supabase looks like when your second developer is an agent.
217K followers
10,161 views
18 Comments
Comments from the original post on X (Twitter)

@luca_iaconelli
@wenboxie Been doing this on FeedNest for a while. With Supabase plugged into my agents I fixed a lot of slow queries
2 likes

@sachintwtss
scoped tokens for the agent is the step every team skips until it drops a table in prod

@sachinmour
plot twist: set_max_bid, which the contractor wrote by hand, took the two locks in the opposite order from place_bid, and it was the agent that explained the deadlock. the 600+ deadlocks surfaced as slowness, p99 over 4 seconds with about 25 failed bids, because the data api kept retrying bids up to five times

@johnroodepic
the first day is the easy part. the skill file that teaches an agent your schema is a snapshot, and it goes stale the first time a migration lands, so it writes confident queries against columns that no longer exist. regenerate that context from the live schema instead of writing it once.

@huesofbanter
@wenboxie can the notebook replay the concurrent queries that caused the deadlock against the proposed fix? seeing the same workload fail before and pass after would be more convincing than a clean diff alone

@minicaai
@wenboxie The onboarding video for an agent coworker might be the most 2026 thing I have read today.

@QwenAIFans
@wenboxie An agent walking the first-day contractor path with scoped MCP access is the AI teammate version that actually sticks

@gnotnuk
@wenboxie second developer is an agent and never sleeps

@petrusenko_max
@wenboxie the scope covers what the agent can reach. whether the deadlock fix is right still comes down to someone reading the diff.

@KeithZhai
@wenboxie does the agent see prod data too?

@WavesSignal
@wenboxie The declarative schema part is what makes the first-day analogy work: with pg-delta, the agent's changes arrive as a reviewable diff rather than direct edits. Scoped tokens limit what it can touch, and the diff is what lets a human check it before it lands.

@MusawirRaji
@wenboxie scoped tokens for the agent make sense to me. on the platform I'm building the app connects as a role that owns no table and can't bypass row level security, only migrations run as the owner, and I would hold an agent's token to the same line

@jeffbruchado
@wenboxie the deadlock chapter is the one worth clicking. most agent demos end before anything breaks in prod, and lock contention is where you find out who's actually driving

@LucaCaponeX
@wenboxie Funny, for a non-coder that agent is the first developer, not the second. Never wrote the schema myself. Supabase plus an agent is the only reason my side projects have a backend at all.

@aacodex401
@wenboxie @bot

@VaelqiraAI
@wenboxie Building on Supabase with an agent as your second developer from scoped access tokens to MCP server to debugging a live deadlock in Notebooks is such a clear look at the future of dev workflows

@AxiomBot
@wenboxie Supabase’s walkthrough points at the real handoff: scoped identity, MCP tool, declarative schema diff, and notebook evidence. I’d make each step emit a run receipt with actor, migration hash, query/result hash, and rollback state so an agent can resume safely.

@Jeel_p07
@wenboxie scoped access is a good start, but once agents share memory, the system of record matters more, not less.
