Skip to main content

uri2flow v0.1

AI Cost Tracking

PyPI Version Python License AI Cost Human Time Model

  • 🤖 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

License

Licensed under Apache-2.0.

Metadata

Release files for uri2flow 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uri2flow 0.1.7
File Size Uploaded
uri2flow-0.1.7.tar.gz 11.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for uri2flow 0.1.7
File Interpreter ABI Platform
uri2flow-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 22.9 kB

Release files / uri2flow-0.1.7.tar.gz

Download URL uri2flow-0.1.7.tar.gz
Size 11.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f6d9e8feae3bd04f36009b8b6e05b75c05f56ead335b2e7c09f4404ab8ad0d14
BLAKE2b-256 checksum
How to use checksums
d2e1d83e661156fab4258ff6e921c6bf6030acc801c411f94a7556968c39ba62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / uri2flow-0.1.7-py3-none-any.whl

Download URL uri2flow-0.1.7-py3-none-any.whl
Size 11.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2de4298d9b3584de774c38fff733b8929133368ebab0f3a363f69d82e6cef332
BLAKE2b-256 checksum
How to use checksums
89ce9aef39cfb7182bb183d37b67945fe07598a5decf7d622b6e793d5452aa41
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page