Skip to main content

Execution Constraint Engine (ECE)

Runtime decision layer for enforcing cost constraints in multi-step LLM workflows.

ECE evaluates projected cost before each step and returns a BLOCK decision when execution would exceed a defined budget.


Install

pip install veloryn

Minimal usage

from veloryn import execute

def run_task():
    return {
        "output": "model response",
        "usage": {
            "input_tokens": 120,
            "output_tokens": 300,
        },
    }

execute(
    task_id="demo",
    run_task=run_task,
    input_data="Analyze input",
    model="gpt-4o",
    max_cost=0.05,
)

run_task must return usage (input/output tokens).
ECE does not infer cost automatically.


Full documentation and examples:
https://github.com/veloryn-intel/execution-constraint-engine

Metadata

Release files for veloryn 0.1.2

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

Source distribution (sdist)

Source distribution for veloryn 0.1.2
File Size Uploaded
veloryn-0.1.2.tar.gz 7.9 kB Details

Built distribution (wheel)

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

Total release size: 17.4 kB

Release files / veloryn-0.1.2.tar.gz

Download URL veloryn-0.1.2.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d397ae0508194ae9cbfa1c939d437e0c9df362e40c64c1133c2917fa22756146
BLAKE2b-256 checksum
How to use checksums
6f2ad98c541fc4c5e57906a976541b3e9d681eb7f84c4ac9394fd297141127d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / veloryn-0.1.2-py3-none-any.whl

Download URL veloryn-0.1.2-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83ad1c04b7128593d14aa30ff337ea21cb6b19beaffcc49174499e3b5b5b42f7
BLAKE2b-256 checksum
How to use checksums
6e5c71cb6dfee671a755c40b7702178246c2af2daceeeee92eebba487967f85e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

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