Skip to content

AI Configuration

Hyprlayer requires AI tool configuration before initializing thoughts in a repository. This step installs the slash commands and agent files that power the development workflow.

Terminal window
hyprlayer ai configure

This interactive command will:

  1. Ask you to select an AI tool (Claude Code, GitHub Copilot, or OpenCode)
  2. For OpenCode, ask you to select a provider (GitHub Copilot, Anthropic, or Abacus)
  3. Download and install agent files to the appropriate directory
AI ToolInstall Location
Claude Code~/.claude/
GitHub Copilot~/.config/Code/User/ (Linux) or ~/Library/Application Support/Code/User/ (macOS)
OpenCode~/.config/opencode/

The installer creates commands/ and agents/ subdirectories containing the slash command definitions and sub-agent configurations.

When using OpenCode, you select a provider that determines which model endpoints are used:

ProviderSonnet ModelOpus Model
GitHub Copilotgithub-copilot/claude-sonnet-4.5github-copilot/claude-opus-4.5
Anthropicanthropic/claude-sonnet-4-5anthropic/claude-opus-4-5
Abacusabacus/claude-sonnet-4-5-20250929abacus/claude-opus-4-5-20251101

Opus models are used for research-heavy commands (/research_codebase, /create_plan, /iterate_plan). Sonnet models are used for everything else.

Terminal window
hyprlayer ai status

Shows the current AI tool configuration, installation status, and (for OpenCode) the configured provider and models.

Terminal window
hyprlayer ai status --json

Outputs status as JSON for scripting.

Terminal window
hyprlayer ai reinstall

Force re-downloads and installs agent files. Useful after updating Hyprlayer to get the latest command definitions.

Terminal window
hyprlayer ai configure --force

Use --force to reconfigure after initial setup, for example to switch from Claude Code to OpenCode.

After configuring your AI tool, initialize thoughts in a project.