Compact URI flow to workflow graph compiler for uri3/nl2uri pipelines
Project description
uri2flow v0.1
AI Cost Tracking
- 🤖 LLM usage: $0.6733 (12 commits)
- 👤 Human dev: ~$724 (7.2h @ $100/h, 30min dedup)
Generated on 2026-06-22 using openrouter/qwen/qwen3-coder-next
uri2flow is a small compiler for compact URI flows.
It converts human/LLM-friendly YAML:
flow:
id: weather-agent-local-health
do:
- agent://weather-generator
- hypervisor://local/weather-agent/run
- browser://chrome/page/open:
url: http://localhost:8101/health
into an expanded workflow_graph manifest for uri3.
Why this exists
Full workflow YAML is useful for machines, debugging and audit, but it is too verbose for humans and LLMs. The preferred input format should be URI-first and compact. uri2flow handles the expansion step.
Role in the system
nl2uri -> natural language -> compact URI flow / URI graph
uri2flow -> compact URI flow -> expanded workflow graph
uri3 -> validate, plan, route and execute graph
uri2ops -> execute UI/OS/browser operations
hypervisor -> lifecycle, deployment, policy, registry
Install
pip install -e .
Commands
uri2flow validate examples/15_compact_uri_flow/weather.uri.flow.yaml
uri2flow expand examples/15_compact_uri_flow/weather.uri.flow.yaml --out output/weather.uri.graph.yaml
uri2flow print examples/15_compact_uri_flow/weather.uri.flow.yaml
Example
See examples/15_compact_uri_flow.
Design rule
uri2flow does not execute anything. It only parses, normalizes and expands compact URI flows.
Links
- TODO · CHANGELOG
- nl2uri · uri3
- Org status:
../TODO_STATUS.md
License
Licensed under Apache-2.0.
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 uri2flow-0.1.7.tar.gz.
File metadata
- Download URL: uri2flow-0.1.7.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6d9e8feae3bd04f36009b8b6e05b75c05f56ead335b2e7c09f4404ab8ad0d14
|
|
| MD5 |
5a78962466f974612960b0636874fa14
|
|
| BLAKE2b-256 |
d2e1d83e661156fab4258ff6e921c6bf6030acc801c411f94a7556968c39ba62
|
File details
Details for the file uri2flow-0.1.7-py3-none-any.whl.
File metadata
- Download URL: uri2flow-0.1.7-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2de4298d9b3584de774c38fff733b8929133368ebab0f3a363f69d82e6cef332
|
|
| MD5 |
c261bc99b004c884ec89476b2180f1ed
|
|
| BLAKE2b-256 |
89ce9aef39cfb7182bb183d37b67945fe07598a5decf7d622b6e793d5452aa41
|