Skip to main content

qubi-cli

CLI for qubi Agentic Flows — validate, save, and deploy workflows from the command line.

Install

pip install qubi-cli

For automated browser login (recommended):

pip install 'qubi-cli[browser]'
playwright install chromium

Quick Start

# Login (prompts for credentials once, then fully automated)
qubi login

# List workflows
qubi flow list

# Validate a workflow JSON file
qubi flow validate my_workflow.json

# Push a workflow to the platform
qubi flow save my_workflow.json --workflow-id <id>

# Download a workflow
qubi flow get <workflow-id>

# List available AI agents
qubi agents list

Commands

Command Purpose
qubi login Authenticate (automated browser login)
qubi login --headed Login with visible browser (debugging)
qubi logout Clear session
qubi status Show login status
qubi flow list List all workflows
qubi flow validate <file> Validate workflow JSON offline
qubi flow get <id> Download a workflow
qubi flow save <file> -w <id> Push workflow to qubi
qubi flow run <id> Execute a workflow
qubi flow use <#> Select workflow by list number
qubi agents list List AI agents
qubi rpa list List RPA automations

Authentication

On first run, qubi login prompts for your credentials and stores them at ~/.qubi/.env. After that, login is fully automated — no password prompts.

The CLI uses Playwright to navigate the full OAuth2 flow headlessly and capture the correct session cookies.

Workflow Format

Workflows are JSON graphs (React Flow format):

{
  "nodes": [
    { "id": "uuid", "type": "Start", "position": {"x": 100, "y": 200}, "data": {"type": "Start", "name": "Start"} },
    { "id": "uuid", "type": "Http", "position": {"x": 300, "y": 200}, "data": {"type": "Http", "name": "Fetch", "method": "GET", "url": "https://..."} },
    { "id": "uuid", "type": "End", "position": {"x": 500, "y": 200}, "data": {"type": "End", "name": "End"} }
  ],
  "edges": [
    { "id": "xy-edge__src-tgt", "source": "node1-id", "target": "node2-id" }
  ],
  "viewport": { "x": 0, "y": 0, "zoom": 1 },
  "executionMode": "Sequential"
}

Node Types

Type What It Does
Start Entry point
End Exit point
Agent Calls an AI agent
Http HTTP request
Code JavaScript or Python
Branch Conditional routing
Assign Set variables
RPA Desktop automation
DocumentAI Document processing
Hitl Human-in-the-loop
HitlTask Structured human task
JsonParser Parse JSON
TextParser Regex extraction

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qubi_cli-0.3.1.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qubi_cli-0.3.1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file qubi_cli-0.3.1.tar.gz.

File metadata

  • Download URL: qubi_cli-0.3.1.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.5

File hashes

Hashes for qubi_cli-0.3.1.tar.gz
Algorithm Hash digest
SHA256 1ed65705ce72cd40f97aaea3bcf25ac08f1c5a2bf07b06b1b1911f99ce418156
MD5 620dd405cd9de9920b0e34fbec4e4c29
BLAKE2b-256 24eee9a0f8190fcc711a2a76042efde3442e4736a0b7d7efd644772c91a461b1

See more details on using hashes here.

File details

Details for the file qubi_cli-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: qubi_cli-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.5

File hashes

Hashes for qubi_cli-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0950cefa49a470bbf2afa085ad6cedf9329831e4e7d9727883cb0a80df4d6875
MD5 f137c226e364b04ad10c2b13400477d8
BLAKE2b-256 6637603931fab63043d4a8d8081f576039106a66aa64ea6d9792eb0f229e6da2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page