---
id: 18640
lang: en
title: "An Android developer built Phasm, a lightweight Swift IDE centered on a terminal with agents"
published_at: "2026-11-29 16:32:23"
source_name: "Habr AI"
source_url: "https://habr.com/ru/articles/1113764/?utm_campaign=1113764&utm_source=habrahabr&utm_medium=rss"
canonical_url: "https://news.hamidun.com/en/news/18640"
categories: ["llm", "research"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# An Android developer built Phasm, a lightweight Swift IDE centered on a terminal with agents

> **Краткая суть (BLUF):** An Android developer spent over a year using IntelliJ only for the terminal with an agent and the diffs, and then wrote his own IDE, Phasm. It is native, built on Swift and AppKit, uses the Ghostty terminal, and has no Electron or WebView. The left side holds workspaces and a list of terminals with agent and git statuses, while the center has tabs with code, terminals, and diffs. A comment on a diff line goes straight into the agent's terminal along with the file path and line number. For people working with Claude Code or Codex, it's a way to avoid launching a heavy IDE just to open one file.  - MIT license, with macOS 15+ Apple Silicon builds available on GitHub Releases - Hooks for Claude Code, Codex, and Antigravity, a preset for OpenCode, and custom agents configured via config.toml - Terminal statuses: Working, Needs Input, Done, Error; jump to the one waiting for you with ⌘J

When a developer's main tool becomes a terminal with a CLI agent, a classic IDE starts getting in the way. Android developer Yuri (author of the yushman project) spent almost a year sitting in Android Studio just for the terminal, the file tree, and the diffs. Even for a twenty-line script or for running a document through an LLM, he had to launch a heavy suite: warming up the JVM, indexing, and all of it just to read one text file. That irritation grew into Phasm, an open-source native IDE for macOS.

## Why the "editor in the center" layout is outdated

Before, everything was built around the code editor. Logs, the debugger, and the terminal lived in side panels, and that made sense: most of the time went into reading and editing code. Now the author's main tool is an agent in a terminal. By his account, building side panels with code and logs around the terminal is extremely inconvenient: he tried it.

The solution is simple: tabs instead of edge panels. Just as you once jumped between files, you now switch between terminals, code, diffs, and the file tree. If needed, the screen splits, and tabs can be dragged between panels.

The author also rejected VS Code: he didn't want to haul in yet another "disguised Chrome" just for a couple of tabs. So Phasm is written in Swift and AppKit, the editor is built on STTextView, syntax highlighting runs through Tree-sitter, and the terminal is Ghostty. No WebView. The platform is macOS 15+ on Apple Silicon.

## How the interface works

On the left is a compact panel with three blocks:

- **Workspaces.** The repositories you work with at the same time: an SDK, a host app, a personal playground. Everything lives in one window instead of five IDE windows, and each workspace has its own isolated set of tabs.
- **Terminals.** A list of running terminals across all workspaces. Thanks to agent hooks, you can see the status: Working, Needs Input, Done, or Error. The ⌘J shortcut jumps to the next terminal that needs attention.
- **Git.** A list of changed files for quick review, so you can notice in time when an agent has decided to "also refactor" half the project.

The most practical detail is the built-in git diff with inline comments. You place a comment on the needed line, and it is sent straight to the active agent terminal along with the file path and line number. There's no need to write "look at FooBar.kt around line 142": the agent gets an exact reference. For reviewing agent edits, this saves both time and tokens: fewer clarifying messages and fewer attempts to guess what you meant.

## Agents and configuration

Out of the box, Phasm supports hooks for Claude Code, Codex, and Antigravity, and there is a ready-made preset for OpenCode. Any other CLI agent can be connected through the file ~/.config/phasm/config.toml. It's best to enable the hooks: they provide the live statuses, so you don't have to check every tab to see whether some agent has been waiting for your "y" for ten minutes.

The launch command for each agent can be configured: you can add environment variables or flags. The author jokingly mentions the --dangerously-skip-permissions flag for Claude Code, but this mode disables confirmation prompts, so it should be used deliberately and preferably in an isolated environment. There are also simple declarative plugins, which are described in the config as well.

## Scenarios and limitations

The author describes two typical scenarios. The first: you need to look at a neighboring repository. You attach its folder as a workspace, pull what you need, run commands, and remove the workspace, and the main project is untouched. The second: you need to parse a downloaded document or tangled logs. You attach Downloads, run the analysis through an agent, and move the result into the main project.

The limitations are also obvious. Builds exist only for macOS 15+ and Apple Silicon, so Linux, Windows, and Intel Mac owners won't be able to use Phasm. It is a personal project by a single developer, which means its maturity and the speed of bug fixes remain open questions. It does not replace a full-featured IDE with a debugger and refactorings: it is a "minimum IDE" for people who do nearly everything through an agent.

For developers who already live in a terminal with Claude Code or Codex, Phasm is an interesting example of where tool interfaces are heading: from the editor as the center to managing several agents and reviewing their diffs. The code is released under the MIT license, builds are available on GitHub Releases, and the author asks for ideas and bug reports in Issues.

---
- **Первоисточник:** [Habr AI](https://habr.com/ru/articles/1113764/?utm_campaign=1113764&utm_source=habrahabr&utm_medium=rss)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/18640
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
