Skip to main content

qubi-cli

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

Install

pip install qubi-cli

For automated browser login (recommended):

pip install 'qubi-cli[browser]'

Quick Start

# First-time setup
qubi skills install   # Install qubi skills for Claude Code
qubi login            # Authenticate (prompts credentials once, then automated)

# Manage workflows
qubi flow list
qubi flow validate my_workflow.json
qubi flow save my_workflow.json --workflow-id <id>
qubi flow get <workflow-id>

# Discover platform resources
qubi agents list
qubi rpa list

Skills

qubi skills teach AI coding agents (Claude Code) how to build, validate, and deploy qubi Agentic Flows — including generating workflow JSON from client documents like PDDs, SDDs, and BRDs.

# Install skills into Claude Code (~/.claude/skills/)
qubi skills install

# List installed skills
qubi skills list

# Update to latest
qubi skills update

# Remove all skills
qubi skills uninstall

After installing, Claude Code automatically uses qubi skills when relevant. Drop a PDD, SDD, or BRD into Claude Code and it will generate valid qubi workflow JSON.

Commands

Command Purpose
Skills
qubi skills install Download and install qubi skills for Claude Code
qubi skills list List installed skills
qubi skills update Update skills to latest version
qubi skills uninstall Remove all installed skills
Auth
qubi login Authenticate (automated browser login)
qubi login --headed Login with visible browser (debugging)
qubi login --no-browser Direct API login (no Playwright)
qubi logout Clear session
qubi status Show login status
Workflows
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
Resources
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 automate the full OAuth2 flow headlessly. If Chromium isn't installed, it auto-installs it for you.

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

How It All Works Together

┌─────────────────────────────────────────────────────┐
│  Client gives you a PDD / SDD / BRD                 │
└──────────────────────┬──────────────────────────────┘
                       ▼
┌─────────────────────────────────────────────────────┐
│  Claude Code (with qubi skills installed)            │
│  Reads the document → generates workflow JSON        │
└──────────────────────┬──────────────────────────────┘
                       ▼
┌─────────────────────────────────────────────────────┐
│  qubi flow validate workflow.json                    │
│  qubi flow save workflow.json -w <id>               │
│  → Deployed to qubi platform                        │
└─────────────────────────────────────────────────────┘

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.4.tar.gz (17.4 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.4-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qubi_cli-0.3.4.tar.gz
  • Upload date:
  • Size: 17.4 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.4.tar.gz
Algorithm Hash digest
SHA256 c6223aaacf9be4517ed58d3caf32c519f45cc80a4adf499a091d8f7e5079a4bf
MD5 09d298879766c2be84a0eff3e3d6870d
BLAKE2b-256 c879a2ee22ffbe9a6cd3a0d99a339c3ff226a86af91204f9ec31fc6e43d056a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qubi_cli-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 19.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2b12b8417e8a951f377c368d0a791e008ab6c4e08c4ec7da2dca3a844132f6b9
MD5 3b8896bd2b6225092aa526068f7fc2ce
BLAKE2b-256 52e898be0d839025f30152a75b88ff5cca442901a44cab001b41931ac861ba57

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