InsForge
The agent-native cloud infrastructure platform
1.8K followers
The agent-native cloud infrastructure platform
1.8K followers
InsForge is the agent-native alternative to AWS.
This is the 3rd launch from InsForge. View more
InsForge Backend Branching
Launching today
Git-style branching for your entire backend. Spin off a branch to get a full, isolated copy of everything: your database, storage, auth, edge functions, and more, ready for your agents to experiment on without touching production.






Launch Team / Built With



Really love the concept. How does InsForge handle schema migrations across branches? If I run a migration on a feature branch and then want to merge back is there a conflict resolution mechanism or does that still live on the developer to manage?
InsForge
@amna9 We run a 3-way diff across parent at T0, parent now, and branch now. If both sides changed the same schema object differently, merge is blocked with conflict context, then the developer or agent resolves it on the branch and retries.
InsForge
@amna9 yes if there’s a conflict, then merge will be blocked. And yes we have conflict resolution mechanism
StoreClaw
Curious how teams are using this today. Is the most common use case schema changes, auth config, or edge functions?
InsForge
@phoenixhu The first use case is usually schema / RLS / migration changes, because that’s where touching prod is scariest. But the branch is the whole backend, so auth config, storage buckets, edge functions, realtime, schedules, and config changes are all part of the same workflow.
InsForge
@phoenixhu every write operation - e.g. you are developing a new feature, or want to start a dev / staging environment
Impressive concept. Curious about the infrastructure side when a branch is created is it a true isolated environment or more of a logical separation? And does spinning up a branch introduce any latency for time sensitive staging workflows?
InsForge
@antonio_manuel1 it’s a true isolated backend environment. Each branch runs on its own EC2 with its own Postgres, auth config, storage, functions, realtime, and schedules, restored from the parent at create time. Create time has the restore cost, but after the branch is ready it runs on dedicated infrastructure with no live coupling to the parent.
InsForge
@antonio_manuel1 as of today, creating a branch still takes around 2 mins, but we are working on optimizing it to bring it down to instantly (~5s)
Lessie AI
Congrats! Can this work with existing apps, or does the app need to be built on InsForge from the start?
InsForge
@libin_yao yes, it needs to on InsForge, because we built the branching for InsForge's primitives
congrats to the team!
can multiple coding agents work on separate branches simultaneously? how do you prevent conflicts when they merge back?
InsForge
@olivia_bennett7 yes, multiple agents can work on separate backend branches at the same time. Each branch is isolated, then merge uses a 3-way diff against the parent. If two branches changed the same backend object differently, the merge is blocked with conflict context instead of guessing.
InsForge
@olivia_bennett7 yes! it's designed for multiple agents to be working on different branches! just like git worktrees! If there are conflicts agents can figure out what's wrong and merge it correctly!
Do branches have a configurable TTL or auto-cleanup policy? I can imagine teams accumulating dozens of stale branches quickly if there's no automated housekeeping. Would love to know if that's built in or on the roadmap.
InsForge
@carlos_leonardo1 very fair point. Today you can delete/reset branches manually, but configurable TTL / auto-cleanup is exactly the kind of housekeeping we want for teams running lots of agent branches.
InsForge
@carlos_leonardo1 This is on our roadmap! we don't want to see 100 branches all live and hard for it to clean up lol
Congrats on shipping this! Does InsForge support snapshotting a branch at a specific point in time? Being able to roll back a branch to a known good state mid experiment would be incredibly useful when agents go off the rails.
InsForge
@chen_hao3 great point. Today `branch reset` rolls the branch back to its T0 state, the moment it was created. We don’t support arbitrary point-in-time snapshots inside a branch yet, but the reset flow is there for “agent went off the rails, give me a clean slate.”
InsForge
@chen_hao3 We support branch reset! and we also have backups that people or agents can manually backup as well!