Skip to main content

Installation

Install the CLI tool

Create Agent

Create agents from templates

Login & Profiles

Authenticate and manage profiles

Agents

Manage your AI agents

Knowledge Base

Manage vector stores for RAG

Prompts

Manage prompt templates

Profiles

Multi-tenant profile management

Test

Test agents locally with web interface

What is Runflow CLI?

RunFlow CLI is a powerful command line interface to manage AI agents via API Portal. Create agents from templates, manage knowledge bases, handle prompts, and switch between multiple tenants — all from the terminal.

Key Features

  • 🚀 Create agents from templates with rf create
  • 🧠 Manage knowledge bases (vector stores) with rf kb
  • 📝 Full prompts management with CRUD and editor integration
  • 👥 Multi-tenant profiles - switch between tenants and environments easily
  • 🧪 Local testing with web interface and live reload
  • 🤖 AI-friendly - non-interactive flags for automation

Quick Start

Main Commands

Interactive & Non-Interactive Modes

All commands support both interactive and non-interactive modes:

Interactive Mode (Default)

Perfect for developers working manually:

Non-Interactive Mode

Perfect for scripts, CI/CD, and AI tools (Cursor, Copilot):
Use --yes or -y to skip confirmations in scripts and automation!

Multi-Tenant Support

If your account has access to multiple tenants, switch between them without logging in again:

Local Development

Test your agents locally before deploying:
Features:
  • Zero config - auto-detects from .runflow/rf.json
  • Web portal with real-time monitoring
  • Live reload on file changes
  • Traces saved to .runflow/traces.json

Complete Workflow Example

Next Steps

Installation

Install the CLI

Create Agent

Create your first agent

Login

Authenticate