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 API keys easily
- ๐งช Local testing with web interface and live reload
- ๐ค AI-friendly - non-interactive flags for automation
Quick Start
Main Commands
| Command | Description |
|---|---|
rf create | Create new agents from templates โญ |
rf login | Authenticate with RunFlow API |
rf switch | Switch between saved profiles |
rf agents | Manage AI agents (deploy, clone, duplicate) |
rf kb | Manage knowledge bases for RAG |
rf prompts | Manage prompt templates (CRUD) |
rf test | Start local development server with web interface |
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):Multi-Tenant Support
Manage multiple API keys and switch between them easily:Local Development
Test your agents locally before deploying:- 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