Skip to main content

Compact URI flow to workflow graph compiler for uri3/nl2uri pipelines

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uri2flow-0.1.7.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uri2flow-0.1.7-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

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

Hashes for uri2flow-0.1.7.tar.gz
Algorithm Hash digest
SHA256 f6d9e8feae3bd04f36009b8b6e05b75c05f56ead335b2e7c09f4404ab8ad0d14
MD5 5a78962466f974612960b0636874fa14
BLAKE2b-256 d2e1d83e661156fab4258ff6e921c6bf6030acc801c411f94a7556968c39ba62

See more details on using hashes here.

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

Hashes for uri2flow-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 2de4298d9b3584de774c38fff733b8929133368ebab0f3a363f69d82e6cef332
MD5 c261bc99b004c884ec89476b2180f1ed
BLAKE2b-256 89ce9aef39cfb7182bb183d37b67945fe07598a5decf7d622b6e793d5452aa41

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