Run Friday non-interactively

Overview

Autostart mode allows you to launch Friday with a specific task and have it execute immediately without manual interaction. Friday automatically sets approval mode to 10x (unless you specify otherwise) and uses Autonomous working style for uninterrupted execution.

Quick Start

To use Autostart Mode, simply provide the --prompt flag when launching Friday:

friday --prompt "your task here"

For example:

friday --prompt "add error handling to the API endpoints"

Usage

Basic Syntax

friday --prompt "<your task description>"

Combining with Approval Modes

By default, autostart uses 10x approval mode. You can override this with:

  • --2x for more conservative auto-approval
  • --5x for moderate auto-approval

Example:

friday --prompt "refactor the authentication module" --2x

One-Shot Mode

Use --one-shot to exit immediately after completing the task. Requires --prompt and cannot be combined with approval mode flags.

friday --prompt "your task here" --one-shot

Specifying a Project Directory

Use --base-path to specify which project to work on:

friday --base-path /path/to/project --prompt "update dependencies"

Examples

Example 1: Quick Bug Fix

Start Friday and immediately have it fix a specific bug:

friday --prompt "fix the null pointer exception in UserService.java"

Example 2: One-Shot Automation

Use one-shot mode to complete a task and exit automatically:

friday --prompt "fix all ESLint errors in the codebase and open a PR" --one-shot

Example 3: Documentation Updates

Update documentation across your codebase with a more conservative approval mode:

friday --prompt "update all API documentation to reflect the new authentication flow" --2x

What Happens After Autostart?

After Friday completes the initial prompt, the session continues in interactive mode. You can continue working with Friday on additional tasks, review changes, or use /settings to adjust behavior.