Mitchell Hashimoto (@mitchellh) header
Mitchell Hashimoto (@mitchellh) profile picture

Co-founder of @Superlogical. Creator of Ghostty. šŸ‘» Prev founded @HashiCorp, created Vagrant, Terraform, Vault, and others.

Los Angeles, CA
Joined January 2008
Photo by Mitchell Hashimoto (@mitchellh)Photo by Mitchell Hashimoto (@mitchellh)Photo by Mitchell Hashimoto (@mitchellh)Photo by Mitchell Hashimoto (@mitchellh)Photo by Mitchell Hashimoto (@mitchellh)Photo by Mitchell Hashimoto (@mitchellh)Photo by Mitchell Hashimoto (@mitchellh)Photo by Mitchell Hashimoto (@mitchellh)Photo by Mitchell Hashimoto (@mitchellh)Photo by Mitchell Hashimoto (@mitchellh)
I have Coldplay's "Fix You" stuck in repeat in my head whenever I'm working with AI agents, and they're confidently just doing their flawed, crappy work, and I'm just doing my best to fix them. The lyrics are perfect for it: > When you try your best, but you don’t succeed > When you get what you want, but not what you need > When you feel so tired, but you can’t sleep > Stuck in reverse > > … > > Lights will guide you home > And ignite your bones > And I will try to fix you > > … > > Tears stream down your face > I promise you I will learn from my mistakes > Tears stream down your face > And I ... will fix you
87
54
14
959
40,937
This is a prime example of a true professional augmented with AI. Well worth a read. I can’t tell you how many people asked me for ā€œthe promptā€ to create our videos yesterday as if… there wasn’t much much much more skill involved.
A lot of people asked about how I made this video and the various UI videos on the site... The idea of the ticking cursor has been in my head since we worked on Echo earlier this year, but I never had any use for it. The Rex launch finally presented an opportunity. For the site, I had an agent spend all night building a UI clone of our macOS app in html/css, so that it would be infinitely scalable and we could animate it easily for the site to tell various stories. It worked so well thanks to continually checking pixel difference between the native app and the twin, the output was almost perfect. Once I had the twin, I wanted to add depth of field and perspective. The obvious answer was to put the animated html scene in threejs, but you can't directly do this, so instead I take a still of every 2d frame and project it into 3d space, then take all the stills rendered against a virtual clock and render a video out from them all. For the launch video I created a little 3d studio app UI in the style of Blender so I could easily control the storyboard, animations and shaders and see the effects in realtime without needing to re-render. It worked so well, and I got the whole video together in an hour or so of tweaking.
69
94
16
2,966
191,260
Herdr is not my enemy. The internet loves to manufacture drama and conflict and its distracting. Between the two of us today we have a meaninglessly small amount of adoption. Trading users with each other achieves nothing, we'd both fail. Our joint competition is convincing everyone else. I've been through this before, I'm old now in the startup world. The market is big. Early stage there's a lot of overlap in vision amongst companies, but as time goes on visions diverge and differences become obvious. Through it all, growing and maturing the market benefits everyone. @cancelik and I have a good relationship and we're happy to see each other succeed. The internet will do internet things, but there's greater work to be done than to be distracted by that.
Great to see herdr and rex work together for all of us
64
68
25
2,495
119,890
In case anyone forgot what original, creative, tasteful web design looked like, it looked like this. And it's beautiful. And thoughtful. And is filled with fun little easter eggs (try cmd-dragging some blocks, also those "pucks" are draggable maybe). superlogical.com/rex
142
120
40
4,248
180,301
Meet Rex, now publicly available. Make any machine in the world feel like localhost. Clients on macOS/iOS (Windows/Linux still in testing), servers for Linux, FreeBSD, and Windows. superlogical.com/rex
481
1,207
491
12,122
973,406
Sometimes you need to look at the way things have been for decades and say "let's change that." Maybe it was always wrong, or maybe the world changed around it. Either way, don't mistake historical decisions (even from very smart people) as immutable. You can just do things.
88
352
54
3,830
169,109
One of the first things I talked about with regards to Rex is the very different architecture compared to traditional multiplexers. I posted that video before we had any testers, and now we've had over 100,000 daily active testers proving the model works and is better. These diagrams* explain, but let me share more again. I've also said before that Rex is the multiplexer for all work not just terminals, but let's just focus on terminals for the sake of explanation here. One of the first questions I often get asked is: "How is Rex different from tmux/zellij/screen/whatever?" And starting at the lowest layers, it is fundamentally, architecturally different. Tmux, zellij, screen all share the same underlying architectural design: a separation of terminal + transport + multiplexer, a screen diff based approach (render only the viewport to the user), etc. I believe this is an architectural dead end. Rex on the other hand: merge terminal/transport/multiplexer (although, you can optionally use ssh as a transport) and ship the full pty stream to the clients and expect the clients to run full terminal emulators. The diagrams attached explain best. The obvious result is less resource usage across all dimensions. But, there are also feature differences that make this, I believe, the better architecture going forward. Examples: - By shipping the full pty stream, the client can allow native scrolling, text selection, desynced scrolling (so different clients can be at different places), etc. - Rex has full visibility into what you're doing across terminals, so we can do things like prioritize network traffic for the focused terminal in poor network conditions. Traditional architecture can't do this due to the separation (Note: this is all self-hosted, no data leaves your devices). - Without the terminal nesting, we don't need to complicate keybindings with leader keys and prefixes and things like that. Cmd/Ctrl-T just makes a tab, as you'd expect. (Note: we support leader keys though, if you want!) The ramificiations of this architectural difference will only continue to become more apparent over time. :) *: I apologize, these diagrams were created with AI, but they're pretty simple and the information is more important than the admittedly shitty design and the information is directly mine.
100
106
31
2,446
165,664
Sat down in sunny Manhattan Beach with @julia_rosenberg for Show Me Your Stack to talk about "taste", Ghostty, Rex, AI, etc. I've been a big fan of SMYS since season 1, proud to be part of it now! youtube.com/watch?v=rF50NzSI…
20
19
4
604
49,557
Rex is live in the App Store. It requires a Rex Server running on another device so maybe a hint that a full public release is imminent… in the meantime enjoy the startup animation and screenshots. šŸ˜Ž apps.apple.com/us/app/rex-by…
251
199
82
3,916
416,968
Rex can now resume your programs through a server restart! This is based on a brand new terminal protocol we're also publishing today (OSC 7577) that we worked on in collaboration with @herdrdev with review from multiple terminal emulator and terminal program authors. Link: superlogical.com/rex/docs/bu… This means that ANY program can restart, not just agentic coding tools, and it doesn't require any special integration with any specific terminal or out-of-band protocol. It's plain old terminal escape sequences that are easily implemented by any program! Rex is shipping with built-in support for Claude Code to start (we emit OSC 7577 in a session start hook), but hope that other programs will adopt this and enable restart. Program restart in terminals is fundamentally unsafe, so a lot of effort was put into making this as safe as possible. Ultimately, the security of this lies in the terminal emulator. For Rex, we have a highly flexible Lua-based configuration to opt-in to resume on a program-by-program basis. You can filter by program name, path, working directory, command-line flags, and more. You can also disable the whole thing with one line.
237
268
140
4,220
337,151
libghostty-vt 1.0.2 released: correct widths for skin tone emoji, insert/delete line (IL/DL) fixes, up to 1.8x faster scrolling inside left/right margins (think tmux side-by-side panes or Neovim vertical splits), and more. Release notes below. lib.ghostty.org/vt/release-n… Bug Fixes: - The mouse encoder no longer forgets the last cell when calling `ghostty_mouse_encoder_set_from_terminal` and setting the size now only forget it when the value actually changes. Previously, with `GHOSTTY_MOUSE_ENCODER_OPT_TRACK_LAST_CELL` on, motion in the same cell was reported again, so a click could come out as a press, a motion and a release. This isn't incorrect VT sequencing, but it was wasteful and unnecessary. - With grapheme clustering (mode 2027), a skin tone modifier now makes an emoji that is text by default 2 cells wide, the same as VS16. For example, U+261D U+1F3FB (index pointing up, light skin tone) was 1 cell and is now 2. `ghostty_unicode_grapheme_width` changes the same way. - Terminals created with the C API now ignore the Kitty drag and drop protocol (OSC 72), including its queries. The C API can't deliver drops yet, so programs registered for drops that never came instead of falling back. - Insert and delete lines (IL and DL) no longer break the soft wraps of rows that move together. Previously a wrapped line in the scroll region, such as a long URL, became two lines until the program redrew it. - Insert and delete lines with left and right margins no longer drop the semantic prompt marks (OSC 133) of the rows they move, so scrolling by prompts no longer skips prompts. - Kitty graphics: Unicode placeholders no longer disappear when insert or delete lines with left and right margins move their row. - A restored snapshot now keeps a pending wrap at any column, for both the cursor and the saved cursor (DECSC). Previously it was kept only on the last column, so with a right margin (DECSLRM) the next character overwrote the cursor cell instead of wrapping. The snapshot format is unchanged. Performance: - Insert and delete lines with left and right margins now move styled rows with a single copy. This is how tmux scrolls a pane next to another pane, and how Neovim scrolls a vertical split. A stream that does this went from 1,716 to 936 ms on x86_64 (1.8x) and from 1,100 to 695 ms on an M1 Pro (1.6x). - Hyperlinks (OSC 8) are hashed in one pass instead of a byte at a time. `ls -laR --hyperlink=always` output is 1.3x faster. - Carriage returns and absolute column moves (CHA, HPA) no longer look up the cursor's row again. Scrolling streams are up to 6% faster. - Erasing cells skips rows that are already blank and releases styles a run at a time instead of a cell at a time. Erase-heavy streams are 3–6% faster.
26
6
370
31,213
I've seen Rob in Discord relentlessly improving terminal-browser in Rex! Note that some of his experience also resulted in finding issues in Rex as well (mainly performance issues in some of our Kitty graphics stack). It's been a good benchmark for us.
terminal-browser now officially supports rex!
27
22
1
1,118
58,546
Some folks are shocked we're doing Windows (client) before Linux (client) for Rex. Note we will publicly ship with full Linux and FreeBSD server support soon, but clients will come later. Why? Let's talk about it! If you don't want to watch a [short] video, here is some commentary but I'm not including everything I said in the vidoe: First, there are a LOT of Windows devs. Like, a LOT A LOT. In fact, based on various recent sources, there are more developers on Windows than every other desktop OS combined. And that shouldn't surprise people, but it sometimes does. Second, Linux is hard because there are a LOT of opinions because there are LOT of ways to do things and people tend to hold their own opinions in very high regard. I've been shipping Linux software for my whole career, and desktop Linux software almost full time the past few years, so I'm very familiar with the nuances here and we want to get it right or at least communicate it right. Third, we found a super awesome motivated Windows (amongst other things) developer early on, so we have someone very talented already looking at it full time. We're still working through the Linux side. But, watch the video!
105
52
20
2,028
126,835
It's magic being able to easily connect to a Windows Rex server from macOS (or vice versa), and more importantly for the `rex` CLI to be able to see it for automations, testing, etc. The Rex Server for Windows expanded from alpha (limited) to beta (full Discord) testing today. Public release soon. 😊 Getting the Rex Server to work on Windows was complicated. There is an incredible amount of Windows-specific logic throughout the Rex server everywhere... Networking (supporting Windows named pipes and their ACLs) to terminals (windows-specific memory management) to job control (so we can detect the proper running program) to the myriad shells and ways you can run Windows programs (PowerShell, Cmd, Cygwin, plus as a user, admin, etc.). Some super fun edge cases found during testing, for example we had to build-in detection for Entra accounts (school, work, etc.) which don't support certain features (yeah, I didn't know about Entra before either). And others... We also have Windows-native packaging: the Rex server is available via WinGet, as an MSI, or as a plain old Zip. We support installation as a on-demand started user process, an on-login user process (no admin required), and a system service (admin required). We're serious about Windows.
54
35
5
1,170
56,405
This is super cool, and exposes a recently shipped feature I've been meaning to share: Rex now works across SSH, including one command to install over SSH: `rex server install ssh://<address>` and then you're up and running! Works in all our clients too.
47
43
6
1,350
82,783
I shared a terminal specification proposal with a group of people today including people working on Claude Code and totally forgot its their IPO day so this is the current status of Slack.
86
35
5
3,826
198,324
Rex has really powerful Lua scripting that our beta group has been using to huge effect. We expanded it today with `rex.ui`: a way to build automations that require user interaction. The way this works with multiple clients: the choice pops up on all attached clients. The first client to respond wins (and hides the prompt from the rest). If any client is already showing a prompt, we respond with a "busy" error code and let the Lua script decide what it wants to do (sleep, try again, force it, etc.). This will surely improve, but the API gives us flexibility to improve it later. If no clients exist, another error code Lua can detect is returned noting that no user is attached, and it can decide what it wants to do.
posted this into our Rex discord today... the new `šš›ššŽšš”.ššžšš’` primitives provides a new set of simple but powerful methods to build interactive scripts within Rex that require user interaction. Now you can build the workflow of your dreams, that little action you always wanted or just a pizza topping selector. I wrote some docs up that go into detail about how this feature works superlogical.com/rex/docs/cu…
52
13
2
693
48,634
The Rex for Windows alpha begins today! I think this is a better terminal than Windows Terminal, and I think WT is pretty good. Nick did an amazing job here, I think you’re about to feel one of the snappiest, most beautifully rendered Windows apps ever. This is all Nicks amazing work but some cool tech details: this is written in Odin! And it’s built on a completely custom GUI framework that leverages native widgets where possible but does plenty of fully custom drawing. The renderer is completely custom and built on DirectX, highly optimized to draw the full UI in one pass and supports things like animation and cursor shaders. Overall its one hell of a piece of software and I can’t wait for people to feel it.
Here's what I've been working on at @superlogical: Introducing Rex for Windows. We're starting to roll out the Alpha today!
104
54
28
1,301
118,246
Replying to @migueldeicaza
@migueldeicaza lol. (Markov robot)
SwiftTerm is great. This isn’t verbatim. It’s social media rage circle.
2
60
31,212
A thousand years ago, I made a dent in dev envs with ā€œVagrant.ā€ The most popular request always was ā€œI want Vagrant for remote envs.ā€ I’ve been asked this to this day!! I tried and failed many times. I made things that worked but didn’t work right. Well, Rex is done right. Rex is my answer, finally. It’s always lived in the back of my mind no matter what I did. I would come up with something and try it and it didn’t feel right. I got really close around 5 years ago to the point I setup a website branding etc (via HashiCorp). But at the last minute I pulled it. It still wasn’t right. I couldn’t explain why and didn’t have a better solution. I just knew it had to be binned. Well, Rex is it. This is the real deal. Rex is doing for remote development (and a lot more than just dev) what I think a proper solution should’ve done. It’s far more than just a dev tool but I think part of what I knew is once you reach into remote environments that line isn’t clear anymore. You have to solve both remote dev and remote prod. Here we go, back to the beginning.
95
63
15
2,731
123,615