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

A taste

Planned API. None of this works today.

tribunal = Tribunal(
    question="Shall the bank loan this applicant $500k?",
    verdicts=LoanDecision,          # your enum: APPROVE / DENY
    statute=statute,                # the rule being judged against
    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

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

Design

The full design lives in docs/design/:

  • The tribunal — how a decision is reached: the round structure, the judge/advocate contract, and the constraints that hold it together.
  • Public API — the surface being designed toward 0.1.0, and what each piece carries.
  • Glossary — the courtroom vocabulary. Six rows, one minute.

Both design documents carry open questions that aren't settled yet. If you have opinions, that's the place to aim them.

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

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.4
File Size Uploaded Provenance Actions
enbanc-0.0.4.tar.gz 4.0 kB Without provenance Details for enbanc-0.0.4.tar.gz

Built distribution (wheel)

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

Total release size: 7.9 kB

Release files / enbanc-0.0.4.tar.gz

Download URL enbanc-0.0.4.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6db2a4a8895e6bf9b83feaa0497a160828bbaac6839bc5b46efd76e8e2c2e064
BLAKE2b-256 checksum
How to use checksums
dba7c52ad9a81501446e3f93acbff1b5f66a1a167f772ffcb4be07494f0abb9f
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.4-py3-none-any.whl

Download URL enbanc-0.0.4-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
076b95a2b39acd1a86dcbd6d3c2b27ac64aadd514ceeb253c0c80fa5c40e284e
BLAKE2b-256 checksum
How to use checksums
b39ba6ca4ff535c59ef6d45cb4963c7964bf58b822c082017883fa3f16d16a96
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.4

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