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.3.tar.gz (16.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.3-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qubi_cli-0.3.3.tar.gz
  • Upload date:
  • Size: 16.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.3.tar.gz
Algorithm Hash digest
SHA256 c4030adc855b28465dac33100e625fcb090b6ee9025fd62cf2a4e165d8e6e1da
MD5 1dd718612800c8666143ef120df2a5fa
BLAKE2b-256 a34ec2760dd409cfd437312d3abe0693c25ea0ff98aad416fbb7e9ffcc42b4a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qubi_cli-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 18.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c5bb48f8c33c53e271b806d4023c556e8b5fb7fad9c9a9906254d1d86ec06086
MD5 6ef11499714026322b1ec49b0de378f6
BLAKE2b-256 3581682b837450063d327e7352e7d71a01ffdca0d9434779b271c9f3687e5d1e

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