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

Not yet. Wait for 0.1.0.

Once it ships:

uv add enbanc

Usage (planned)

None of this works today — it's the API being designed toward 0.1.0, and it will change.

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 will work (planned)

Intended design, not current behavior.

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

Pre-alpha, work in progress. Not usable. Current releases are placeholders that exist only to reserve the name and exercise the release pipeline.

0.1.0 is the first version intended to actually run. The API will keep changing until then, and likely after.

License

MIT

Metadata

Release files for enbanc 0.0.3

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.3
File Size Uploaded Provenance Actions
enbanc-0.0.3.tar.gz 3.7 kB Without provenance Details for enbanc-0.0.3.tar.gz

Built distribution (wheel)

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

Total release size: 7.6 kB

Release files / enbanc-0.0.3.tar.gz

Download URL enbanc-0.0.3.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
37294246f316af7886b7eb8d257ad4e6726484e9f934118aa25cbd45480d6fd3
BLAKE2b-256 checksum
How to use checksums
ea6edf45d6d0a834dd453fe2dde90bc3164936722893b6c3283d05eaa60fe11a
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.3-py3-none-any.whl

Download URL enbanc-0.0.3-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f18a6f95e8db9efa6a4eb6d313e62f274728b28da8e759b2940fa3e2f9c208ba
BLAKE2b-256 checksum
How to use checksums
bc641aa4da71ee736dedf9f81c8d0bbb52e2a715725c0067fb89563be5365b1c
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.3

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