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.1

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.1
File Size Uploaded Provenance Actions
enbanc-0.0.1.tar.gz 3.3 kB Without provenance Details for enbanc-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 6.9 kB

Release files / enbanc-0.0.1.tar.gz

Download URL enbanc-0.0.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
489b341a4f13a3ded3755e594e8d5fcd52fd4a32b7239da994f2c02ede3afc4d
BLAKE2b-256 checksum
How to use checksums
567d4212849ca8f26f3321031c8128b7d8a845190f6024725b705e2bb15c234a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

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

Download URL enbanc-0.0.1-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e0883862050c03e985190d7ec8c592b8db4a5ff3a0fb01229211c9b9106dbd4
BLAKE2b-256 checksum
How to use checksums
09091a108bccff21cf1e1ab1ecb62ec6c0484f35ec4dac6a8ff94de07c8bdce1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for enbanc 0.0.1

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