Default Command
Run an agent with optional configuration.Options
The agent to run. Agents are defined in
~/.rowboat/agents/.Example:Continue an existing run. Run IDs are stored in
~/.rowboat/runs/.Example:Initial input message to send to the agent. Useful for non-interactive execution.Example:
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
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
Name of a built-in example workflow to import.Example:
Path to a custom workflow JSON file to import.Example:
Workflow Structure
Workflow JSON format:Import Behavior
MCP Server Merge
MCP servers are merged into
~/.rowboat/config/mcp.json. Existing servers with the same name are skipped.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
Entry agent name to export. The export includes the agent and all its dependencies (sub-agents, MCP servers).Example:
Export Behavior
Dependency Discovery
Recursively discovers all agents referenced by the entry agent through tool dependencies.
Examples
model-config
Configure LLM provider and model settings interactively.Interactive Wizard
Provider Defaults
| Provider | Default Base URL | Default Model | API Key Env Var |
|---|---|---|---|
| openai | https://api.openai.com/v1 | gpt-5.1 | OPENAI_API_KEY |
| anthropic | https://api.anthropic.com/v1 | claude-sonnet-4-5 | ANTHROPIC_API_KEY |
https://generativelanguage.googleapis.com/v1beta | gemini-2.5-pro | GOOGLE_GENERATIVE_AI_API_KEY | |
| ollama | http://localhost:11434 | llama3.1 | - |
| openai-compatible | http://localhost:8080/v1 | openai/gpt-5.1 | - |
| openrouter | https://openrouter.ai/api/v1 | openrouter/auto | - |
| aigateway | https://ai-gateway.vercel.sh/v1/ai | gpt-5.1 | AI_GATEWAY_API_KEY |
| rowboat [free] | - | google/gemini-3-pro-preview | - |
Examples
API Server
Rowboat CLI includes a built-in HTTP API server for programmatic access.Starting the Server
PORT environment variable)
API Endpoints
POST /runs/:runId/messages/new
Create a new message in a run. Request:POST /runs/:runId/permissions/authorize
Authorize a tool permission request. Request:POST /runs/:runId/human-input-requests/:requestId/reply
Reply to a human input request. Request:POST /runs/:runId/stop
Stop a running agent. Response:GET /stream
Subscribe to run events via Server-Sent Events (SSE). Response: Stream of eventsGET /openapi.json
Retrieve OpenAPI specification for the API. Response: OpenAPI 3.0 JSON schemaAPI Examples
Environment Variables
Server port for the API server.
OpenAI API key. Used when not explicitly configured in
models.json.Anthropic API key.
Google AI API key.
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
Use --no-interactive for automation
Use --no-interactive for automation
When running agents in CI/CD pipelines or scripts, always use
--no-interactive to prevent hanging on prompts:Export workflows before sharing
Export workflows before sharing
Use
export to create portable workflow definitions:Organize agents by purpose
Organize agents by purpose
Create separate agents for different tasks:
copilot- General assistancecode-reviewer- Code review tasksdata-processor- Data ETL workflows
Version control your configurations
Version control your configurations
Keep
~/.rowboat/agents/ and ~/.rowboat/config/ in version control (excluding API keys):Use environment variables for API keys
Use environment variables for API keys
Avoid hardcoding API keys. Use environment variables: