DBL Boundary Service Demo
Reference UI and service for deterministic boundary evaluation. Each request produces explicit DECISION events in V (append-only). Observations are non-normative.
Quick Start
pip install dbl-boundary-service
dbl-boundary
What it does
Flow:
Input -> Boundary policies -> DECISION -> LLM call -> Observations
DECISION is produced before any LLM call and is the only normative effect in V.
Demo presets
| Preset | Purpose |
|---|---|
| minimal | no policies (testing only) |
| basic_safety | light content safety |
| standard | content safety and rate limiting |
| enterprise | strict content safety and rate limiting |
Dry run (no LLM)
Use "Dry run" to exercise the full boundary flow without calling the LLM.
Observable outputs
The UI exposes the following outputs for each run:
- Outcome and DECISION events
- Request context and Psi definition
- LLM payload and LLM result (when executed)
- Observations (request id, timestamps, trace id)
Observations and timing metrics are non-normative and MUST NOT affect decisions.
API usage
curl -X POST http://127.0.0.1:8787/run \
-H "Content-Type: application/json" \
-d '{
"prompt": "Hello, how are you?",
"pipeline_mode": "standard",
"dry_run": true
}'
Learn more
Deterministic Boundary Layer: https://github.com/lukaspfisterch/deterministic-boundary-layer
This repo is the reference UI/service. The theory and ecosystem map live there.
Metadata
Release files for dbl-boundary-service 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dbl_boundary_service-0.2.1.tar.gz | 25.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dbl_boundary_service-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 52.1 kB
Release files / dbl_boundary_service-0.2.1.tar.gz
| Download URL | dbl_boundary_service-0.2.1.tar.gz |
|---|---|
| Size | 25.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7623054f77c0d186f4b33b97c80891c9f504ee60826736512d9a97e8e9b82d3
|
|
BLAKE2b-256 checksum How to use checksums |
832c70a89cae8113dbec611da0da94b957f3def87f3cc6d1def7ec0398c86949
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.8
|
Release files / dbl_boundary_service-0.2.1-py3-none-any.whl
| Download URL | dbl_boundary_service-0.2.1-py3-none-any.whl |
|---|---|
| Size | 26.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4ae0509322691a3984f99555ccf3b5115755c94d7344b3539a4195acaa9555f9
|
|
BLAKE2b-256 checksum How to use checksums |
8c3680a3c1a47a166e0b8e47dde5934bf1bc381b3ede4f19661378dc9e69e49d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.8
|