Skip to main content

enbanc

Adversarial multi-agent adjudication. Advocates argue each possible answer; a judge cross-examines them until it can rule — with a full audit transcript.

Built on PydanticAI.

Why

Most "LLM as judge" tooling asks one model to score an output. enbanc instead stages an adversarial proceeding: every possible answer gets a dedicated advocate with its own tools, and a tool-less judge interrogates them across rounds until it can rule or the round limit is hit.

That structure is designed for decisions that need to be defensible — loan underwriting, insurance appetite, eligibility screening — where you need the reasoning and the evidence, not just the answer.

Install

uv add enbanc

Usage

from enbanc import Tribunal, Advocate, Statute, Case, Verdict

class LoanDecision(Verdict):
    APPROVE = "approve"
    DENY = "deny"

statute = Statute.draft(
    "Approve $500k loans only where DTI < 0.43 and ...",
    model="anthropic:claude-sonnet-4-6",
)

tribunal = Tribunal(
    question="Shall the bank loan this applicant $500k?",
    verdicts=LoanDecision,
    statute=statute,
    advocates={
        LoanDecision.APPROVE: Advocate(tools=[psql, tavily]),
        LoanDecision.DENY: Advocate(tools=[psql]),
    },
    max_rounds=5,
)

ruling = await tribunal.hear(Case(applicant=..., income=...))

ruling.verdict      # LoanDecision.DENY
ruling.reasoning
ruling.transcript   # every argument, exhibit, and interrogatory, in order

How it works

Round 1 — each advocate argues freely for its assigned verdict, or concedes that no reasonable case exists. The judge hears all arguments and evidence.

Round 2+ — if the judge cannot rule, it issues interrogatories: targeted questions to a chosen subset of advocates. Those advocates answer. Repeat.

Ends when the judge rules, or max_rounds is exceeded.

The judge has no tools — it reasons only over what advocates put into the record. All advocate tools are strictly read-only.

Vocabulary

enbanc borrows courtroom terms because they're precise. See glossary.md — six rows, one minute.

Status

Early. API will change.

License

MIT

Metadata

Release files for enbanc 0.0.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 enbanc 0.0.2
File Size Uploaded Provenance Actions
enbanc-0.0.2.tar.gz 3.3 kB Without provenance Details for enbanc-0.0.2.tar.gz

Built distribution (wheel)

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

Total release size: 6.8 kB

Release files / enbanc-0.0.2.tar.gz

Download URL enbanc-0.0.2.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
cc4099a13fc922dcfa039ea3d8036249ab2f82a8c6fb92faa7853f2062ff3974
BLAKE2b-256 checksum
How to use checksums
0cea72229f8312e44a0a070317a320628a36960a9aaff112770cbf49358a2ba4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / enbanc-0.0.2-py3-none-any.whl

Download URL enbanc-0.0.2-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
30139c6c808f8e096c05b807dc005f61c4873df3b70e890c1c1c385f21ce176d
BLAKE2b-256 checksum
How to use checksums
2fd94f890a896b86d340de8d35b080485b24ec07af4abbda3412377540b7b71a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for enbanc 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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