Getting Started

Getting Started

This guide walks you through installing SubFrame, setting up your first workspace, and running your first AI session. For an overview of what SubFrame is and why it exists, see What is SubFrame?.

System Requirements

SubFrame is an Electron desktop application. Windows is the primary supported platform. macOS and Linux builds are available in beta:

PlatformStatusInstaller
WindowsStable (Windows 10+).exe (NSIS installer)
macOSBeta — testers wanted.dmg
LinuxBeta — testers wantedAppImage / .deb

Platform Support

macOS and Linux builds are generated by CI and available in beta. If you try them, please report any issues — community testing helps us expand platform support.

You will also need at least one AI coding tool installed. See the AI Tool Setup guide for installation instructions.

Installation

Download a Release

Download the latest release for your platform from the GitHub Releases page.

macOS:

  1. Download the .dmg file
  2. Open the disk image and drag SubFrame into your Applications folder
  3. Launch SubFrame from Applications

macOS Gatekeeper

On first launch, macOS may warn that SubFrame is from an unidentified developer. Right-click the app and select Open, then click Open in the dialog to bypass Gatekeeper.

Windows:

  1. Download the .exe installer
  2. Run the installer — it will install SubFrame automatically
  3. Launch SubFrame from the Start Menu or desktop shortcut

Windows SmartScreen

Windows may show a "Windows protected your PC" warning. Click More info, then click Run anyway to proceed with the installation.

Linux:

  1. Download the AppImage or .deb package
  2. For AppImage: make it executable (chmod +x SubFrame-*.AppImage) and run it
  3. For .deb: install with sudo dpkg -i SubFrame-*.deb

Build from Source

If you prefer to build from source, you will need Node.js 20+ and native build tools for node-pty:

  • Windows — Visual Studio 2022 Build Tools with "Desktop development with C++"
  • macOSxcode-select --install
  • Linuxsudo apt install build-essential
bash
git clone https://github.com/Codename-11/SubFrame.git
cd SubFrame
npm install
npm run dev

First Launch

When you open SubFrame for the first time, you will see the Projects view in the sidebar — an empty workspace ready for your projects.

Setting a Default Project Directory

Before adding projects, you may want to set a default project directory. This tells SubFrame where to scan for existing projects on your machine.

  1. Click the Settings gear icon at the bottom of the sidebar
  2. Under General, set the Default Project Directory to the folder where you keep your coding projects (e.g., ~/Projects or C:\Users\you\Projects)
  3. SubFrame will automatically scan this directory and list any projects it finds

Creating Your First Workspace

Workspaces let you organize projects into groups — for example, "Work" and "Personal", or by client.

SubFrame starts with a Default Workspace. To create additional workspaces:

  1. Click the workspace name at the top of the sidebar
  2. Select Create Workspace from the dropdown
  3. Give it a name and press Enter

You can switch between workspaces at any time using the same dropdown.

Opening a Project

There are two ways to add a project to your workspace:

Add an existing folder:

  1. Click the Open Folder button in the sidebar (or use the menu File > Open Folder)
  2. Navigate to your project directory and select it
  3. The project appears in the sidebar project list

Auto-scanned projects:

If you set a default project directory in Settings, SubFrame automatically discovers projects in that folder. They appear in the project list with a subtle indicator that they were scanned rather than manually added.

Once a project is listed, click its name to open it. SubFrame will:

  • Load the file tree in the sidebar
  • Open a terminal in the project directory
  • Detect whether the project has been initialized with SubFrame

Initializing a Workspace

After opening a project, you can initialize it with SubFrame to enable context preservation, task tracking, hooks, and skills.

  1. Look for the Initialize button in the sidebar (it appears for projects that are not yet initialized)
  2. Click it, and SubFrame will show you a preview of what will be created
  3. Confirm, and SubFrame generates the .subframe/ directory and supporting files

What does initialization create?

Initialization creates a standardized project layer — context files, hooks, skills, and health monitoring — that your AI tools read automatically. See Configuration > Project Configuration for the full .subframe/ directory structure, or the blog post Initialize Workspace for a narrative walkthrough.

CLI initialization

You can also initialize from the command line:

bash
subframe init .                    # Current directory
subframe init ./my-project         # Specific path
subframe init --name "My App"      # Custom project name

Interface Overview

SubFrame uses a three-panel layout:

+----------+---------------------------+---------------+
|          |                           |               |
| Sidebar  |     Terminal Area         |  Right Panel  |
|          |                           |               |
|          |                           |               |
+----------+---------------------------+---------------+
|                   Activity Bar                       |
+------------------------------------------------------+

Key Concepts

  • Terminal (PTY) — SubFrame runs real pseudo-terminals, the same as your OS terminal. AI tools run inside these terminals just like they would in iTerm, Windows Terminal, or any other terminal app.
  • Hooks — Small scripts that run automatically at key moments (session start, after each prompt, on stop). They inject context and track tasks so your AI always knows the project state.
  • Backlinks — References added to CLAUDE.md and GEMINI.md that point AI tools to your shared AGENTS.md instructions file.

The sidebar has two tabs:

  • Projects — Lists all projects in your current workspace. Click a project name to open it. Shows initialization status for each project.
  • Files — File explorer for the currently open project. Click files to open them in the editor overlay. Supports file previews for Markdown, HTML, and images.

At the bottom of the sidebar you will find the Settings button and the current SubFrame version.

Terminal Area (Center)

The main workspace. SubFrame provides a full pseudo-terminal (PTY) powered by xterm.js and node-pty — not subprocess pipes. This means your AI coding tools run exactly as they would in any terminal.

Key features:

  • Multiple terminals — Open up to 9 terminals with tabs along the top
  • Grid view — Split the terminal area into a grid (2x1 through 3x3) to see multiple terminals at once
  • Full PTY — Supports interactive commands, colors, prompts, and everything your shell provides
  • AI tool selector — Switch between Claude Code, Codex CLI, and Gemini CLI from the toolbar

Right Panel

Context panels that provide additional views without leaving your terminal workflow:

  • Sub-Tasks — View and manage project tasks in table, graph, or kanban view
  • Agent Activity — Monitor Claude Code sessions in real time with tool usage timeline
  • Overview — Project dashboard with metrics, module counts, and recent activity
  • GitHub — Browse repository issues and branches
  • Sessions — Review past Claude Code conversation history
  • AI Files — View and edit context files (AGENTS.md, CLAUDE.md, GEMINI.md)
  • Health — Check SubFrame component status and update outdated components
  • Settings — Configure project and workspace preferences

Keyboard shortcuts

SubFrame is designed for keyboard-driven workflows. Press Ctrl+? (or Cmd+? on macOS) to see all available shortcuts, or check the Keyboard Shortcuts reference.

Starting Your First AI Session

  1. Open a project in SubFrame
  2. Click Start Claude Code in the sidebar (or press Ctrl+Shift+Enter)
  3. A terminal opens with Claude Code running — type your first prompt
  4. Use the right panel tabs (Sub-Tasks, GitHub, Overview) to track your work

That's it — SubFrame enhances your AI tools with persistent context and task tracking. Everything the AI does is visible in your terminal.

Next Steps

Now that you are up and running, explore these guides to get the most out of SubFrame:

  • Features — Deep dive into terminal management, task tracking, context preservation, and more
  • AI Tool Setup — Install and configure Claude Code, Codex CLI, or Gemini CLI
  • Keyboard Shortcuts — Full shortcut reference for fast navigation
  • Configuration — Customize SubFrame settings and workspace preferences
  • Troubleshooting — Common issues and solutions