Tutorial: Your First Session
This tutorial walks you through launching planeai, configuring Claude as your provider, and running your first AI coding session. By the end, you’ll have an agent working in your codebase.
Prerequisites
Section titled “Prerequisites”- planeai installed (download here)
- Claude CLI installed and authenticated (
claudeavailable on your PATH) - A project directory with code you want to work on
Step 1: Configure your provider
Section titled “Step 1: Configure your provider”Open (or create) your config file at ~/.config/planeai/config.json:
{ "providers": { "claude": { "command": "claude", "prompt_command": "claude --message \"{{prompt}}\"", "yolo_flag": "--dangerously-skip-permissions", }, }, "default_provider": "claude", "session_backend": "local",}Alternatively, configure this in Preferences (⌘, / Ctrl+,) under the Models tab.
This tells planeai:
- command — launch Claude by running
claude - prompt_command — send messages to a running Claude session
- yolo_flag — the flag for autonomous mode (used by auto-dispatch; not needed for manual sessions)
- session_backend — use the local backend (no tmux required, sessions run in-process)
Step 2: Launch planeai and add a project
Section titled “Step 2: Launch planeai and add a project”Open planeai. On first launch you’ll see an empty sidebar.
- Press ⌘⇧N (macOS) or Ctrl+Shift+N (Linux/Windows) to add a project
- Choose your project directory
Your project now appears in the sidebar.
Step 3: Create a session
Section titled “Step 3: Create a session”- Press ⌘N (macOS) or Ctrl+N to open the new item modal
- Press S to create a session
- Select your project
- Choose a branch (or create a new one)
- Confirm — planeai launches Claude in a terminal pane
You’ll see Claude’s CLI boot up in the main panel, ready for input.
Step 4: Interact with the agent
Section titled “Step 4: Interact with the agent”Type directly in the terminal to talk to Claude. For example:
Explain the structure of this project and suggest improvements to the README.Claude reads your codebase and responds. You can continue the conversation, ask follow-up questions, or give it tasks to implement.
Step 5: Review and wrap up
Section titled “Step 5: Review and wrap up”When the agent makes changes:
- Open the diff viewer with ⌘D (macOS) or Ctrl+D — this shows all file changes the agent made
- Review the diff and send feedback directly to the agent if needed
- When you’re satisfied, archive the session from the context menu (right-click the session in the sidebar)
What’s next
Section titled “What’s next”You’ve just run a single agent session. Here’s where planeai gets powerful:
- Run multiple sessions — create more sessions to work on different tasks in parallel
- Use task management — create tasks and let planeai dispatch them to agents automatically. See the Task Management guide
- Enable auto-dispatch — let planeai assign tasks to agents without manual intervention. See the Auto-Dispatch guide
- Add git worktree isolation — when creating sessions linked to tasks, planeai creates worktrees so agents don’t conflict. See Concepts