Loved by developers
See what developers are saying about thinslice.
Works with any coding agent
Run any agent in an isolated worktree. thinslice provides the state — the agent uses its own credentials, config, and MCP servers.
State bags, not containers
Each worktree gets its own postgres, redis, ports, and config. Detach the worktree, keep the state. Reattach different code whenever you need.
per-worktree state bag
or
shared across worktrees
Slice, work, reconcile
Create a worktree with cloned state, let the agent work in isolation, review the diff, then merge back and reconcile the database — without touching main.
Forget about ports
When agents work in parallel, they all run dev servers. thinslice gives each one a URL based on the branch name — no port conflicts, no guessing.
Fully scriptable
Everything you can do in the config, you can do from the terminal.
slice new feature-auth slice tmp --from current claude -p "implement user auth" # agent in isolation slice attach feature-auth --to my-app # attach worktree to state bag slice detach feature-auth # keep state, detach code slice ls # list worktrees + state
Voice control, fully local
Dictate tasks to your agents without leaving the terminal. Speech-to-text runs entirely on your machine — nothing leaves your network.
Migrate the auth tables to the new schema, then run the test suite
I'll run the migration against your feature-auth state bag, then execute the full test suite in that worktree.
FAQ
+Is this free?
+Does my code or data leave my machine?
+What's a state bag?
+What agents does it support?
+Do I need Docker?
+How does `slice tmp` work?
slice tmp --from current creates a new git worktree branched from your current HEAD, clones the active state bag into a fresh one, then launches the agent inside that isolated environment. When the agent finishes, you review the diff and decide whether to merge.+Do I need GitHub?
+How do I reconcile database changes after merging?
thinslice is an open source CLI for binding git worktrees to bags of state, so every branch can run your full stack in isolation.
It's built around the idea that coding agents work best when they can't step on each other — separate postgres, separate redis, separate ports, all from plain processes you can inspect and kill.
If thinslice saves you time, sponsorship is the best way to support continued development.