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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qubi_cli-0.3.2.tar.gz.
File metadata
- Download URL: qubi_cli-0.3.2.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01937f2787ce6ebdc601b506d7108f9d24f3a8d33081e16aabb78d8af34237e2
|
|
| MD5 |
68f3f8fa032934fa972ac65bbed7c13f
|
|
| BLAKE2b-256 |
54d321521e9ebaf9bdf8b62f68c2c18215d5f8bc94bb56ab6b9b55c3685d7461
|
File details
Details for the file qubi_cli-0.3.2-py3-none-any.whl.
File metadata
- Download URL: qubi_cli-0.3.2-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12aaa8367b34b1412203fd4cfa36f6043506c88c95712ae50932fd7436aaf9d3
|
|
| MD5 |
2274ffe93416953938185a98df8cafce
|
|
| BLAKE2b-256 |
1ba6b5b42f52b32f7d79efa350699b536bdf7ef2529f9756ae43c3bf0f72c2dc
|