Skip to content

AI Integration

Glint integrates with CLI-based AI coding assistants, letting you launch interactive sessions with repository context directly from the app.

Supported Systems

Glint ships with predefined profiles for 9 known AI assistants:

SystemCLI Tool
Claude Codeclaude
Codexcodex
GitHub Copilotcopilot
Gemini CLIgemini
Ampamp
Aideraider
OpenCodeopencode
Goosegoose
Clinecline

You can also register any custom CLI tool.

Setting Up AI Systems

Auto-Detection

  1. Open Settings > AI Systems (or click the AI button in the menu bar and select Manage…)
  2. Click Scan Now — Glint searches your PATH for known AI CLIs
  3. Detected tools are added automatically with their default profiles

Manual Setup

  1. Open Settings > AI Systems
  2. Click Add AI System
  3. Choose a known type from the dropdown (or select Custom)
  4. Enter the executable path (e.g., /usr/local/bin/claude)
  5. Argument templates are pre-filled for known types
  6. Click Save

Editing a System

Click the pencil icon on any system in the list to edit its name, command path, or argument templates. Click Reset to Defaults to restore the predefined profile for known system types.

Execution Modes

Each AI system supports up to three modes:

Interactive Mode

Launches the AI CLI in a terminal tab where you can have a back-and-forth conversation. This is the default mode.

Unrestricted Mode

Same as interactive, but passes additional flags that skip safety prompts (e.g., --dangerously-skip-permissions for Claude Code). Unrestricted mode is disabled by default for each system and must be explicitly enabled.

To enable:

  1. Open Settings > AI Systems
  2. Toggle the switch next to the system, or open the editor and check Enable Unrestricted Mode
  3. Confirm the warning dialog

When enabled, a warning badge appears in the AI dropdown and system list.

Background Mode

Runs the AI CLI as a non-interactive subprocess that returns JSON output. Used for programmatic integrations. You can test background mode from the editor with the Test button, which sends a sample prompt and validates the output format.

Launching AI Sessions

From the Context List

The primary way to launch an AI session with context:

  1. Add issues, PRs, and files to the Context List by dragging tabs or using the Add to Context List button
  2. Open the Context List tab and click Launch AI Chat
  3. Glint builds a prompt from all items and opens a terminal with the AI CLI

The context list is cleared after launch.

From the AI Dropdown

Click the sparkles button in toolbars to open the AI dropdown. This launches a session with the currently selected item(s) as context — without affecting the Context List.

The dropdown shows all configured systems. If unrestricted mode is enabled for a system, both safe and unrestricted options appear.

From the Menu Bar

The AI selector in the menu bar lets you switch the active (default) system and open the management dialog. The active system is used when launching from the Context List or other quick-launch entry points.

How Sessions Work

When you launch an AI session, Glint:

  1. Expands the argument template, replacing {prompt} with the context text
  2. Opens a new Terminal tab running the AI CLI with the expanded arguments
  3. Sets the working directory to your repository path

The session runs as a standard interactive terminal — you can type follow-up prompts, view output, and use all normal terminal features.