The author of the open-source Slightly Parallel project developed a custom terminal for working with multiple projects and AI agents. The application’s main feature is its close integration with Slightly Parallel’s tasks, notes, skills, and workspaces, eliminating the need to constantly switch between the terminal and graphical interface.
The final version runs on Linux, macOS, and Windows. Electron was chosen as the foundation, the terminal interface is built with xterm.js, and project management is handled by Slightly Parallel.
Why a Separate Terminal Was Needed
Conventional terminals are suitable for running commands, but they do not provide convenient access to project data and the state of agent-based development. The new tool was intended to combine multiple workspaces, terminal sessions, and task-management controls in a single window.
The interface includes project switching, tab grouping, and sidebars with current terminals, pinned messages, and tasks. A workspace can be temporarily “put to sleep”: agents are paused while servers continue running.
What Changed Between Fable 5.1 and 5.2
The first version was created with Fable 5.1. It received 26 commits, 3,114 added lines of code, and 535 lines of tests, but was barely used in practice. Problems included the browser-based implementation, limited variety in the interface options, and an insufficiently clear initial product vision.
After the release of Fable 5.2, six noticeably different layouts were produced in 40 minutes. They did not become a finished solution, but helped collect ideas for the final design. The author emphasizes that no proper controlled comparison of the two model versions was conducted.
Why Electron Was Chosen
A fully native Rust implementation could have delivered better resource efficiency, but would have required at least seven days of work for an MVP and significantly higher token usage. Electron proved to be a more practical compromise: it officially supports the three target operating systems and uses a shared Chromium base.
The main limitation of the stack is the requirement for Node.js 20 or newer. For an additional feature of Slightly Parallel, this was considered an acceptable compromise.
Performance and Memory Usage
In the tests, 20 MB of colored output—around 280,000 lines—was sent through a 1,000×640 window. The terminal history was limited to 10,000 lines. The comparison included VTE, GNOME Terminal, Chromium with xterm.js, WebKitGTK with xterm.js, and web-engine variants using WebGL rendering.
- WebKitGTK was approximately four times slower than Chromium and ten times slower than the native terminal.
- WebGL provided no noticeable acceleration in either Chromium or WebKitGTK.
- The native GNOME Terminal delivered the best speed, but its cross-platform implementation would require separate interfaces for each system.
The Electron version was also measured with multiple windows and tabs. One window used 222 MB with tmux and 281 MB without it. Each additional window added approximately 44 MB in the tmux configuration and about 64 MB without tmux.
With 20 windows, usage reached 1,051 MB with tmux and 1,501 MB without it. For comparison, the native GNOME Terminal used 343 MB. Tabs within a single window were considerably cheaper than separate windows.
Results Across Three Operating Systems
| System | Time to Output 20 MB |
|---|---|
| Linux with tmux | 0.9 s |
| Linux without tmux | 1.8 s |
| macOS with tmux | 3.8 s |
| macOS without tmux | 10.7 s |
| Windows | 17.2 s |
The test was performed in GitHub Actions on Ubuntu, macOS, and Windows virtual machines. On Windows, the main limitation was the slow ConPTY console: when output was sent directly to the window, the same amount of data was processed in 2 seconds. In the current version, Linux and macOS use tmux, while Windows uses ConPTY without preserving sessions after the server is stopped.
Timeline, Code, and Cost
It took 4 days, 8 hours, and 50 minutes from defining the task to the final commit of the second version. During that time, the project gained 186 commits, 16,321 added lines of main code, and 16,055 lines of tests.
The agents worked for a total of 54 hours and 53 minutes, including 25 hours and 52 minutes of subagent work. Claude Code used 44 assistants, while Codex used 27. The estimated API development cost for the terminal was approximately $550, or $927 including related tasks.
Additionally, GitHub Actions completed 58 runs with a combined duration of 29 hours and 12 minutes.
Features of the Finished Application
- workspaces linked to projects;
- terminal tab grouping;
- quick restoration of previous work;
- pinning important messages and tasks;
- built-in text editor;
- indicators for computer resources and operating time;
- configurable break timer;
- skins, keyboard shortcuts, and a compact top bar;
- direct access to Slightly Parallel data.
The Slightly Parallel project is distributed under the MIT license and is available on GitHub. The terminal source code includes a separate benchmark: it can be run with npm run bench, while output speed alone can be tested with npm run bench -- -g speed.