r/devtools • • Oct 05 '26

Threadlane: a native AI coding workspace built with Rust and GPUI (macOS, Windows, Linux)

Iโ€™m building Threadlane, a native desktop workspace for AI-assisted software development, using Rust and GPUI.

It brings project workspaces, persistent coding-agent conversations, an integrated PTY terminal, a file editor, and Git/PR review into one app. It supports provider integrations, external ACP agents, MCP servers, and sandboxed WASI extensions. Recurring automations can create fresh chats with optional isolated worktrees.

On the Rust side, the UI is split into focused crates, with the headless services and agent runtime kept separate from the GPUI views. Sessions persist execution history, plans, and context-compaction checkpoints.

We support macOS, Windows, and Linux. An experimental iOS build is also available in the repository.

Repo: https://github.com/wheregmis/threadlane

Iโ€™d appreciate feedback from people building native Rust desktop apps, especially on the GPUI interface and the coding workflow. Screenshot below is the current macOS app.

3 Upvotes

7 comments sorted by

0

u/UsedPerception5171 Oct 05 '26

Keeping the headless services and agent runtime separate from the GPUI views seems like the right call. Does that mean the agent runtime could run without the UI later, like a CLI or a remote session? That could also be how the iOS build stays thin.

A few questions on the workflow:

  • Worktrees: When an automation runs in an isolated worktree, how does its result come back for review? Does it show up as a PR or diff in the Review panel, or do you merge it by hand?
  • Context compaction: Can you roll back to an earlier checkpoint in a session, or is compaction one-way?
  • ACP agents vs. built-in providers: Do external ACP agents get the same terminal, editor and Git integration as the native providers?

On the UI: the screenshot looks clean and close to Zed, which makes sense with GPUI. One small thing is that the status bar's "126 changed +25766 โˆ’12918" is easy to miss next to the "Workspace changes ยท 126 files" bar above the input. Merging those two could make the screen easier to read. What has GPUI been like on Windows and Linux compared to macOS?

1

u/Human_Training2414 Oct 06 '26

Thank you so much. Yes agent runtime can run without the UI, Technically i want to do that and want to have full flegded UI in one of my laptop. And other hardwares will have their own daemon running. IOS is thin because of the same reason, the foundation is all IN, just need some love.

  1. It opens as a DRAFT PR.
  2. Currently its one way, but rolling back is definately on my list.
  3. Yes ACP agents gets all the treatment, terminal, editor, git integrations as native provider. The only issue is ACP model cannot run as a fusion mode as of now.

I am using gpui-fast from longbridge for the release as they have invested heavily on retain mode without any API changes, so experience in Windows and Linux is clean and resource efficient.

0

u/BudgetSport Oct 05 '26

This is super cool! A native Rust/GPUI app with agents, terminal, editor and PR review all in one place is exactly what I've wanted, and it's nice to see something that isn't another Electron app. The worktree automations are a really smart idea too.

A couple of questions:

  • Any plans to add a license? I'd love to contribute.
  • Will there be prebuilt Windows/Linux builds? Building it from source is a bit of a hurdle.
  • Is Claude or Ollama support coming, or is ACP the way to go for now?

Starred, can't wait to try it ๐Ÿ”ฅ

1

u/Human_Training2414 Oct 06 '26

So sorry about that, I will add the license. Please open issues and PR, it will be MIT and all free to use. There is prebuilt windows/linux build already in release. Currently we have native support for Codex with ChatGPT subscription, Antigravity and Opencode Go subscriptions. For other we are using ACP but if you need something natively, PR is more than welcome.

1

u/BudgetSport Oct 06 '26

Thanks so much for getting back to me! MIT is perfect, and that makes it much easier to jump in and contribute. My bad on the builds, I didn't check the releases page closely enough. I'll download the Windows build and share feedback on the GPUI interface and the agent workflow. Native Codex/Antigravity/OpenCode support is already a great start, and ACP should cover me for now. If I end up building a native Claude integration, I'll send a PR your way. Really excited to see where Threadlane goes! ๐Ÿš€

1

u/[deleted] Oct 05 '26

[removed] โ€” view removed comment

1

u/Human_Training2414 Oct 05 '26

yes, terminal, files, git shows the active terminal based on the worktree. I will add option to show the path. Thank you for the feedback