Hurozo Agentic Platform CLI
Project description
Hurozo CLI
Hurozo is a visual agent builder and execution platform. You compose agents as graphs of nodes, connect inputs and outputs, and save them to run via API calls, webhooks, or the UI. The Hurozo CLI helps you:
- Scaffold runnable Python projects for your saved agents
- List available agents in your account
- Run agents programmatically using Python
The CLI is designed for quick prototyping and integration into scripts or services.
Features
- Scaffold a minimal Python project with
main.pyfor selected agents - Instantiate agents by name or by UUID directly
- Prefill input keys in the scaffolded script (when the agent defines required inputs)
- Lightweight
Agentclass for invoking agents via the Hurozo API
Installation
Install from PyPI:
pip install hurozo
This will provide the hurozo console command and the hurozo Python package.
Authentication
The CLI and the Agent class use a bearer token to access your Hurozo account.
HUROZO_API_TOKEN: required. A user or org API token.
Example:
export HUROZO_API_TOKEN=...your token...
Commands
-
hurozo init [dirname]- Interactively select one or more agents from your account
- Scaffolds a minimal project in
dirname(createsrequirements.txtandmain.py) main.pyinstantiates each selected agent by display name and pre-fills.input({...})if inputs are defined- When run,
main.pywill execute all selected agents and print their results
-
hurozo list- Lists accessible agents with their display names and UUIDs
-
hurozo help [command]- Shows help for a specific command
Python API
The packaged Python module also exposes a small API for running agents directly:
from hurozo import Agent
# Name-based: resolves display name → UUID at runtime
bruno = Agent("Bruno")
bruno.input({"naam": "De Hengst"})
print(bruno.run())
# UUID-based: skip resolution and use UUID directly
bruno = Agent("2375125b-1455-40fa-8458-d319cdef9b32d", True)
print(by_id.run())
Both styles call the Hurozo backend execute endpoint under the hood. Name-based resolution fetches your agent list and prefers exact (case-sensitive) name matches, falling back to case-insensitive.
Scaffolded Project Layout
When you run hurozo init my-agent, the CLI generates:
requirements.txt– dependencies:hurozo,python-dotenv,requestsmain.py– a runnable script that:- imports
Agentfromhurozo - defines one variable per selected agent using its display name
- fills in
.input({...})from the agent’s defined input keys (if available) - calls
.run()for each agent and prints the results
- imports
.env(optional) – if not present, a template is created with aHUROZO_API_TOKENplaceholder
Run it with:
cd my-agent
pip install -r requirements.txt
export HUROZO_API_TOKEN=...your token... (or set it in .env)
python main.py
Environment Variables
HUROZO_API_TOKEN– required for both listing agents and executing themNO_COLOR– if set, disables colored output in the CLI
Designing agents
- Go to https://app.hurozo.com/ to design your agents visually. Save your agent, create an API token, and scaffold a project with
hurozo init.
Troubleshooting
- Missing token: ensure
HUROZO_API_TOKENis set in your shell or.env - Name resolution fails: the CLI falls back to using the provided string; switch to UUID-based invocation by passing
Trueas the secondAgentargument - Inputs missing at runtime: open the agent in the Hurozo UI and ensure inputs are defined; re-run
hurozo initto regenerate a script with updated keys
Project details
Release history Release notifications | RSS feed
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 hurozo-0.1.0.tar.gz.
File metadata
- Download URL: hurozo-0.1.0.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a92c8a87202858170c52c0c5c527e98904fbcd54cdaa2d2c387783df77b8e14b
|
|
| MD5 |
b8bd8044e230a059c1fa694c1f8bc543
|
|
| BLAKE2b-256 |
2d69d5e84ce318e21593e1f8d4ef39c2585c0ff2a58074ca4cf5cc8f6ff48be9
|
File details
Details for the file hurozo-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hurozo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eab46f58514b77ac85d01139a40935243cf312baeb767d46df8d3abbc12b167c
|
|
| MD5 |
fd420995c52bdbb0bd449d45a97a9c38
|
|
| BLAKE2b-256 |
3143cbc9705dcead5923dc0c2eca94ad8d774bc5ac9a7618ac7a301592fb9811
|