Configuration
AgentFlow stores settings in a JSON file and automatically detects your Claude CLI installation. Here's how to configure every aspect of the app.
App Settings
Settings are persisted to {APP_DATA_DIR}/settings.json and loaded on startup.
| Property | Type | Description |
|---|---|---|
claude_cli_path | string | null | Absolute path to the Claude Code CLI binary. Auto-detected if null. |
theme | string | "dark" — the only supported theme. Light theme has been removed. |
experience_mode | string | "simple" for essential features only, or "advanced" for the full feature set including parallel, loops, and advanced configuration. |
notifications | boolean | Enable/disable desktop notifications for pipeline events. |
{
"claude_cli_path": null,
"theme": "dark",
"experience_mode": "simple",
"notifications": true
}Setup Wizard
When you launch AgentFlow for the first time (or when no project is configured), a setup wizard guides you through initial configuration:
- Select your project directory (git repository)
- Auto-detect and verify the Claude CLI installation
- Choose your experience mode (Simple or Advanced)
- Create the
.claude/directory structure if it doesn't exist
Tip
Experience Modes
AgentFlow offers two experience modes to match your comfort level:
Simple Mode
Essential features only. Hides advanced node types (Parallel, Loop) and complex configuration options. Ideal for getting started or for straightforward linear pipelines.
Advanced Mode
Full feature set including Parallel nodes, Loop nodes, advanced retry/timeout configuration, per-node model selection, and all pipeline settings. For power users building complex workflows.
Info
Claude CLI Auto-Detection
When claude_cli_path is null, AgentFlow searches the following locations in order, returning the first match:
| Priority | Source | Path |
|---|---|---|
| 1 | System PATH | which claude |
| 2 | NVM | ~/.nvm/versions/node/*/bin/claude |
| 3 | fnm | ~/.local/share/fnm/node-versions/*/installation/bin/claude |
| 4 | Bun | ~/.bun/bin/claude |
| 5 | npm global | ~/.npm-global/bin/claude |
| 6 | Claude Desktop | ~/.claude/local/claude |
| 7 | Cargo | ~/.cargo/bin/claude |
| 8 | Local bin | ~/.local/bin/claude |
| 9 | Homebrew | /opt/homebrew/bin/claude |
| 10 | Linuxbrew | /home/linuxbrew/.linuxbrew/bin/claude |
| 11 | System | /usr/local/bin/claude |
| 12 | System | /usr/bin/claude |
| 13 | Snap | /snap/bin/claude |
Manual override
claude_cli_path explicitly in Settings → Claude CLI Path within the app.Tauri Configuration
The desktop app is configured via tauri.conf.json in the project root.
| Property | Type | Description |
|---|---|---|
productName | string | "AgentFlow" |
identifier | string | "com.agentflow.app" |
window.width / height | number | Default: 1280 x 800. Min: 900 x 600. |
window.resizable | boolean | true — window can be resized freely. |
bundle.targets | string | "all" — builds .deb, .dmg, .msi, .AppImage, etc. |
{
"productName": "AgentFlow",
"identifier": "com.agentflow.app",
"build": {
"devUrl": "http://localhost:1420",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"title": "AgentFlow",
"width": 1280,
"height": 800,
"minWidth": 900,
"minHeight": 600,
"resizable": true
}
]
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/icon.icns",
"icons/icon.ico"
]
}
}Vite Configuration
Frontend build is managed by Vite 7 with React and Tailwind plugins.
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import tailwindcss from "@tailwindcss/vite";
const host = process.env.TAURI_DEV_HOST;
export default defineConfig({
plugins: [react(), tailwindcss()],
clearScreen: false,
server: {
port: 1420,
strictPort: true,
host: host || false,
hmr: host
? { protocol: "ws", host, port: 1421 }
: undefined,
},
});Project Setup
AgentFlow works with any git repository. It looks for a .claude/ directory containing agents and pipelines.
# AgentFlow creates .claude/ if it doesn't exist when you
# initialize a project from the app, or you can do it manually:
mkdir -p .claude/agents .claude/pipelinesProject Detection
When launched, AgentFlow attempts to auto-detect your project by walking parent directories from the current working directory looking for a .claude/ directory. You can also select a project manually or choose from recent projects.
Project Scanning
When a project is selected, AgentFlow scans it and reports:
- Whether
.claude/exists - Number of agent files found
- Number of pipeline files found
- Whether
.mcp.jsonexists (for MCP tool validation)
File Watching
AgentFlow watches the .claude/agents/ and .claude/pipelines/ directories for filesystem changes using the notify crate.
- Changes are debounced at 500ms to prevent rapid reloads
- A
file-changedevent is emitted to the frontend with the change kind and affected paths - Agent and pipeline lists auto-refresh when teammates push changes via git
Environment Variables
| Property | Type | Description |
|---|---|---|
TAURI_DEV_HOST | string | Dev only. Sets the Vite HMR host for remote development. |
HOME | string | Used for Claude CLI detection paths (~/.nvm, ~/.bun, etc.). |
NVM_DIR | string | Defaults to ~/.nvm. Used for NVM-based CLI detection. |
Info