IDE

Code editor, terminal, and development environment

Overview

Agentastic provides a full-featured development environment with a native macOS code editor, GPU-accelerated terminal, and integrated tooling. While optimized for AI agent workflows, it's a capable standalone editor for everyday development.

Editor

Opening Files

  • Click a file in the Navigator to preview it
  • Double-click to open in a permanent tab
  • Press Cmd+P for Quick Open
  • Drag files from Finder into the editor

Tab Management

ActionShortcut
Next TabCmd+}
Previous TabCmd+{
Close TabCmd+W
Reopen Closed TabCmd+Shift+T

Split Views

Work on multiple files side by side:

  • Drag a tab to the left or right edge
  • Right-click a tab and select Split Right or Split Down

Quick Open

Press Cmd+P to open Quick Open with multiple modes:

ModePrefixExample
File Search(none)AppDelegate
Symbol Search@@viewDidLoad
Go to Line::42
File at Linefilename:lineApp.swift:50

Code Editing

ActionShortcut
Move Line UpOption+Up
Move Line DownOption+Down
Duplicate LineCmd+D
Delete LineCmd+Shift+K
Comment LineCmd+/

Terminal

Agentastic includes a powerful integrated terminal with two backend options.

Ghostty (Recommended)

GPU-accelerated terminal using Metal for excellent performance:

  • Smooth scrolling
  • Fast text rendering
  • Native macOS feel

SwiftTerm

Pure Swift implementation as a reliable fallback:

  • Good compatibility
  • Works on all systems

Terminal Features

  • Multiple tabs - Create tabs with the + button or Cmd+T
  • Shell integration - Tab titles show current directory
  • Option as Meta - Use Option key as Meta in vim/emacs
  • Theme integration - Colors match your editor theme

Agent Terminals

Each agent (worktree) has its own terminal tabs:

  • Switching agents switches terminals
  • Terminal state persists per agent
  • New terminals open in the agent's directory

Container Terminals

For container-backed agents, terminals run inside Docker:

  • Commands execute in the container
  • Working directory is /workspace
  • Your shell config is available

Navigator

The left sidebar shows your project structure.

Navigator Tabs

TabShortcutPurpose
FilesCmd+1Project file tree
SearchCmd+2Find in project
Source ControlCmd+3Git changes
AgentsCmd+4Worktree management

File Operations

  • New File: Cmd+N
  • New Folder: Right-click > New Folder
  • Rename: Press Enter on selected file
  • Delete: Press Delete or right-click > Delete
  • Reveal in Finder: Right-click > Show in Finder

Utility Area

The bottom panel contains the terminal and other tools.

ActionShortcut
Toggle Utility AreaCmd+J
New Terminal TabCmd+T
Focus TerminalCtrl+`

Inspector

The right sidebar shows file information and history.

ActionShortcut
Toggle InspectorCmd+Ctrl+I

Command Palette

Access all commands with Cmd+Shift+P.

Type to filter commands, then press Enter to execute. The palette shows keyboard shortcuts for each command.

Search

Find in File

  • Cmd+F - Open find bar
  • Cmd+G - Find next
  • Cmd+Shift+G - Find previous

Find in Project

  • Cmd+Shift+F - Search across all files
  • Configure ignore patterns in Settings

Replace

  • Cmd+Option+F - Find and replace in file

Language Support

Agentastic supports 100+ programming languages with:

  • Syntax highlighting via Tree-sitter
  • LSP support for intelligent features
  • Auto-detection based on file extension

Configuring LSP

  1. Install a language server (e.g., typescript-language-server)
  2. Go to Settings > Languages
  3. Add the server path for your language

When configured, you get:

  • Code completion
  • Go to definition
  • Find references
  • Inline errors and warnings

Source Control

Built-in Git integration:

  • Status view - See changed files
  • Stage/unstage - Click the +/- buttons
  • Commit - Enter message and commit
  • Push/Pull - Sync with remote
  • Branch switching - Via dropdown or command palette

Settings

Access settings with Cmd+,.

Editor Settings

  • Font and size
  • Tab width
  • Word wrap
  • Line height

Terminal Settings

  • Backend (Ghostty/SwiftTerm)
  • Shell selection
  • Font and size
  • Cursor style

Theme

  • Editor theme
  • Match system dark/light mode

See Customization for detailed configuration options.