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.0.tar.gz (11.7 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.0-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qubi_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 11.7 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.0.tar.gz
Algorithm Hash digest
SHA256 76dc144e43534394852c8dd3f216b299fe9d85a2c28669aec15a731307d1617d
MD5 d8167ec60ff86fe86f1658188dbdbe39
BLAKE2b-256 12beb49fdd3cefc6da47abab71e0c259929c9f2b6f749ff42d695949ed3816f5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qubi_cli-0.3.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba549e259ac3a31bb17513bcb6709af8b8b7504b4019e59c80e4e22ad85b31d2
MD5 9c3b3b9a17856d50d7662e0a7778158a
BLAKE2b-256 a5107c9c83e7c062d22fa4488154e8b9bfe473f5dc0bd596d0ced7e0a139c9ed

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