Skip to main content

Default Command

Run an agent with optional configuration.

Options

string
default:"copilot"
The agent to run. Agents are defined in ~/.rowboat/agents/.Example:
string
Continue an existing run. Run IDs are stored in ~/.rowboat/runs/.Example:
string
Initial input message to send to the agent. Useful for non-interactive execution.Example:
boolean
default:"false"
Run in non-interactive mode. The agent will not prompt for user input and will exit after processing.Example:

Examples


ui

Launch the interactive terminal-based dashboard for managing runs and agents.

Options

string
Rowboat server base URL. Connects the UI to a remote or local server instance.Example:

Features

The TUI (Terminal User Interface) provides:
  • Visual run management and monitoring
  • Agent execution controls
  • Real-time event streaming
  • Interactive permission approvals
  • Run history and logs

Example


import

Import example workflows or custom workflow definitions.

Options

string
Name of a built-in example workflow to import.Example:
string
Path to a custom workflow JSON file to import.Example:

Workflow Structure

Workflow JSON format:

Import Behavior

1

Agent Import

Agents are written to ~/.rowboat/agents/<agent-name>.json
2

MCP Server Merge

MCP servers are merged into ~/.rowboat/config/mcp.json. Existing servers with the same name are skipped.
3

Post-Install Instructions

If the workflow includes instructions, they are displayed after import.

Examples


list-examples

List all available built-in example workflows.

Output

Example


export

Export a workflow with all dependencies to stdout. Useful for sharing or backing up workflows.

Options

string
required
Entry agent name to export. The export includes the agent and all its dependencies (sub-agents, MCP servers).Example:

Export Behavior

1

Dependency Discovery

Recursively discovers all agents referenced by the entry agent through tool dependencies.
2

MCP Server Collection

Collects all MCP servers used by the agent and its dependencies.
3

JSON Output

Outputs a complete workflow definition to stdout in JSON format.

Examples


model-config

Configure LLM provider and model settings interactively.

Interactive Wizard

1

View Current Configuration

Displays current provider and model if configured.
2

Select Provider Flavor

Choose from available provider types:
3

Configure Provider

For existing providers, you can reuse or add new:
4

Enter Details

Provide provider-specific configuration:
5

Confirmation

Configuration is saved and confirmed:

Provider Defaults

Examples


API Server

Rowboat CLI includes a built-in HTTP API server for programmatic access.

Starting the Server

Default port: 3000 (configure via PORT environment variable)

API Endpoints

POST /runs/:runId/messages/new

Create a new message in a run. Request:
Response:

POST /runs/:runId/permissions/authorize

Authorize a tool permission request. Request:
Response:

POST /runs/:runId/human-input-requests/:requestId/reply

Reply to a human input request. Request:
Response:

POST /runs/:runId/stop

Stop a running agent. Response:

GET /stream

Subscribe to run events via Server-Sent Events (SSE). Response: Stream of events

GET /openapi.json

Retrieve OpenAPI specification for the API. Response: OpenAPI 3.0 JSON schema

API Examples


Environment Variables

number
default:"3000"
Server port for the API server.
string
OpenAI API key. Used when not explicitly configured in models.json.
string
Anthropic API key.
string
Google AI API key.
string
Vercel AI Gateway API key.

Configuration Files

models.json

Location: ~/.rowboat/config/models.json

mcp.json

Location: ~/.rowboat/config/mcp.json

Agent Definition

Location: ~/.rowboat/agents/<name>.json

Tips & Best Practices

When running agents in CI/CD pipelines or scripts, always use --no-interactive to prevent hanging on prompts:
Use export to create portable workflow definitions:
Create separate agents for different tasks:
  • copilot - General assistance
  • code-reviewer - Code review tasks
  • data-processor - Data ETL workflows
Keep ~/.rowboat/agents/ and ~/.rowboat/config/ in version control (excluding API keys):
Avoid hardcoding API keys. Use environment variables: