enbanc 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
enbanc-0.0.1/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2026 Andy Tseng
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
14
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
15
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
16
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
17
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
18
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
19
+ OR OTHER DEALINGS IN THE SOFTWARE.
enbanc-0.0.1/PKG-INFO ADDED
@@ -0,0 +1,99 @@
1
+ Metadata-Version: 2.4
2
+ Name: enbanc
3
+ Version: 0.0.1
4
+ Summary: Adversarial multi-agent adjudication for structured decisions
5
+ Author-email: Andy Tseng <ohandyya@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/ohandyya/enbanc
8
+ Project-URL: Repository, https://github.com/ohandyya/enbanc
9
+ Keywords: llm,agents,multi-agent,adjudication,pydantic-ai
10
+ Classifier: Development Status :: 2 - Pre-Alpha
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Typing :: Typed
14
+ Requires-Python: >=3.11
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ Dynamic: license-file
18
+
19
+ # enbanc
20
+
21
+ **Adversarial multi-agent adjudication.** Advocates argue each possible answer;
22
+ a judge cross-examines them until it can rule — with a full audit transcript.
23
+
24
+ Built on [PydanticAI](https://ai.pydantic.dev).
25
+
26
+ ## Why
27
+
28
+ Most "LLM as judge" tooling asks one model to score an output. `enbanc` instead
29
+ stages an adversarial proceeding: every possible answer gets a dedicated
30
+ advocate with its own tools, and a tool-less judge interrogates them across
31
+ rounds until it can rule or the round limit is hit.
32
+
33
+ That structure is designed for decisions that need to be **defensible** —
34
+ loan underwriting, insurance appetite, eligibility screening — where you need
35
+ the reasoning and the evidence, not just the answer.
36
+
37
+ ## Install
38
+
39
+ ```bash
40
+ uv add enbanc
41
+ ```
42
+
43
+ ## Usage
44
+
45
+ ```python
46
+ from enbanc import Tribunal, Advocate, Statute, Case, Verdict
47
+
48
+ class LoanDecision(Verdict):
49
+ APPROVE = "approve"
50
+ DENY = "deny"
51
+
52
+ statute = Statute.draft(
53
+ "Approve $500k loans only where DTI < 0.43 and ...",
54
+ model="anthropic:claude-sonnet-4-6",
55
+ )
56
+
57
+ tribunal = Tribunal(
58
+ question="Shall the bank loan this applicant $500k?",
59
+ verdicts=LoanDecision,
60
+ statute=statute,
61
+ advocates={
62
+ LoanDecision.APPROVE: Advocate(tools=[psql, tavily]),
63
+ LoanDecision.DENY: Advocate(tools=[psql]),
64
+ },
65
+ max_rounds=5,
66
+ )
67
+
68
+ ruling = await tribunal.hear(Case(applicant=..., income=...))
69
+
70
+ ruling.verdict # LoanDecision.DENY
71
+ ruling.reasoning
72
+ ruling.transcript # every argument, exhibit, and interrogatory, in order
73
+ ```
74
+
75
+ ## How it works
76
+
77
+ **Round 1** — each advocate argues freely for its assigned verdict, or concedes
78
+ that no reasonable case exists. The judge hears all arguments and evidence.
79
+
80
+ **Round 2+** — if the judge cannot rule, it issues *interrogatories*: targeted
81
+ questions to a chosen subset of advocates. Those advocates answer. Repeat.
82
+
83
+ Ends when the judge rules, or `max_rounds` is exceeded.
84
+
85
+ The judge has **no tools** — it reasons only over what advocates put into the
86
+ record. All advocate tools are **strictly read-only**.
87
+
88
+ ## Vocabulary
89
+
90
+ `enbanc` borrows courtroom terms because they're precise. See
91
+ [`glossary.md`](./glossary.md) — six rows, one minute.
92
+
93
+ ## Status
94
+
95
+ Early. API will change.
96
+
97
+ ## License
98
+
99
+ MIT
enbanc-0.0.1/README.md ADDED
@@ -0,0 +1,81 @@
1
+ # enbanc
2
+
3
+ **Adversarial multi-agent adjudication.** Advocates argue each possible answer;
4
+ a judge cross-examines them until it can rule — with a full audit transcript.
5
+
6
+ Built on [PydanticAI](https://ai.pydantic.dev).
7
+
8
+ ## Why
9
+
10
+ Most "LLM as judge" tooling asks one model to score an output. `enbanc` instead
11
+ stages an adversarial proceeding: every possible answer gets a dedicated
12
+ advocate with its own tools, and a tool-less judge interrogates them across
13
+ rounds until it can rule or the round limit is hit.
14
+
15
+ That structure is designed for decisions that need to be **defensible** —
16
+ loan underwriting, insurance appetite, eligibility screening — where you need
17
+ the reasoning and the evidence, not just the answer.
18
+
19
+ ## Install
20
+
21
+ ```bash
22
+ uv add enbanc
23
+ ```
24
+
25
+ ## Usage
26
+
27
+ ```python
28
+ from enbanc import Tribunal, Advocate, Statute, Case, Verdict
29
+
30
+ class LoanDecision(Verdict):
31
+ APPROVE = "approve"
32
+ DENY = "deny"
33
+
34
+ statute = Statute.draft(
35
+ "Approve $500k loans only where DTI < 0.43 and ...",
36
+ model="anthropic:claude-sonnet-4-6",
37
+ )
38
+
39
+ tribunal = Tribunal(
40
+ question="Shall the bank loan this applicant $500k?",
41
+ verdicts=LoanDecision,
42
+ statute=statute,
43
+ advocates={
44
+ LoanDecision.APPROVE: Advocate(tools=[psql, tavily]),
45
+ LoanDecision.DENY: Advocate(tools=[psql]),
46
+ },
47
+ max_rounds=5,
48
+ )
49
+
50
+ ruling = await tribunal.hear(Case(applicant=..., income=...))
51
+
52
+ ruling.verdict # LoanDecision.DENY
53
+ ruling.reasoning
54
+ ruling.transcript # every argument, exhibit, and interrogatory, in order
55
+ ```
56
+
57
+ ## How it works
58
+
59
+ **Round 1** — each advocate argues freely for its assigned verdict, or concedes
60
+ that no reasonable case exists. The judge hears all arguments and evidence.
61
+
62
+ **Round 2+** — if the judge cannot rule, it issues *interrogatories*: targeted
63
+ questions to a chosen subset of advocates. Those advocates answer. Repeat.
64
+
65
+ Ends when the judge rules, or `max_rounds` is exceeded.
66
+
67
+ The judge has **no tools** — it reasons only over what advocates put into the
68
+ record. All advocate tools are **strictly read-only**.
69
+
70
+ ## Vocabulary
71
+
72
+ `enbanc` borrows courtroom terms because they're precise. See
73
+ [`glossary.md`](./glossary.md) — six rows, one minute.
74
+
75
+ ## Status
76
+
77
+ Early. API will change.
78
+
79
+ ## License
80
+
81
+ MIT
@@ -0,0 +1,21 @@
1
+ [project]
2
+ name = "enbanc"
3
+ version = "0.0.1"
4
+ description = "Adversarial multi-agent adjudication for structured decisions"
5
+ readme = "README.md"
6
+ requires-python = ">=3.11"
7
+ license = "MIT"
8
+ license-files = ["LICENSE"]
9
+ authors = [{ name = "Andy Tseng", email = "ohandyya@gmail.com" }]
10
+ keywords = ["llm", "agents", "multi-agent", "adjudication", "pydantic-ai"]
11
+ classifiers = [
12
+ "Development Status :: 2 - Pre-Alpha",
13
+ "Intended Audience :: Developers",
14
+ "Programming Language :: Python :: 3",
15
+ "Typing :: Typed",
16
+ ]
17
+ dependencies = []
18
+
19
+ [project.urls]
20
+ Homepage = "https://github.com/ohandyya/enbanc"
21
+ Repository = "https://github.com/ohandyya/enbanc"
enbanc-0.0.1/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,2 @@
1
+ def hello() -> str:
2
+ return "Hello from enbanc!"
File without changes
@@ -0,0 +1,99 @@
1
+ Metadata-Version: 2.4
2
+ Name: enbanc
3
+ Version: 0.0.1
4
+ Summary: Adversarial multi-agent adjudication for structured decisions
5
+ Author-email: Andy Tseng <ohandyya@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/ohandyya/enbanc
8
+ Project-URL: Repository, https://github.com/ohandyya/enbanc
9
+ Keywords: llm,agents,multi-agent,adjudication,pydantic-ai
10
+ Classifier: Development Status :: 2 - Pre-Alpha
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Typing :: Typed
14
+ Requires-Python: >=3.11
15
+ Description-Content-Type: text/markdown
16
+ License-File: LICENSE
17
+ Dynamic: license-file
18
+
19
+ # enbanc
20
+
21
+ **Adversarial multi-agent adjudication.** Advocates argue each possible answer;
22
+ a judge cross-examines them until it can rule — with a full audit transcript.
23
+
24
+ Built on [PydanticAI](https://ai.pydantic.dev).
25
+
26
+ ## Why
27
+
28
+ Most "LLM as judge" tooling asks one model to score an output. `enbanc` instead
29
+ stages an adversarial proceeding: every possible answer gets a dedicated
30
+ advocate with its own tools, and a tool-less judge interrogates them across
31
+ rounds until it can rule or the round limit is hit.
32
+
33
+ That structure is designed for decisions that need to be **defensible** —
34
+ loan underwriting, insurance appetite, eligibility screening — where you need
35
+ the reasoning and the evidence, not just the answer.
36
+
37
+ ## Install
38
+
39
+ ```bash
40
+ uv add enbanc
41
+ ```
42
+
43
+ ## Usage
44
+
45
+ ```python
46
+ from enbanc import Tribunal, Advocate, Statute, Case, Verdict
47
+
48
+ class LoanDecision(Verdict):
49
+ APPROVE = "approve"
50
+ DENY = "deny"
51
+
52
+ statute = Statute.draft(
53
+ "Approve $500k loans only where DTI < 0.43 and ...",
54
+ model="anthropic:claude-sonnet-4-6",
55
+ )
56
+
57
+ tribunal = Tribunal(
58
+ question="Shall the bank loan this applicant $500k?",
59
+ verdicts=LoanDecision,
60
+ statute=statute,
61
+ advocates={
62
+ LoanDecision.APPROVE: Advocate(tools=[psql, tavily]),
63
+ LoanDecision.DENY: Advocate(tools=[psql]),
64
+ },
65
+ max_rounds=5,
66
+ )
67
+
68
+ ruling = await tribunal.hear(Case(applicant=..., income=...))
69
+
70
+ ruling.verdict # LoanDecision.DENY
71
+ ruling.reasoning
72
+ ruling.transcript # every argument, exhibit, and interrogatory, in order
73
+ ```
74
+
75
+ ## How it works
76
+
77
+ **Round 1** — each advocate argues freely for its assigned verdict, or concedes
78
+ that no reasonable case exists. The judge hears all arguments and evidence.
79
+
80
+ **Round 2+** — if the judge cannot rule, it issues *interrogatories*: targeted
81
+ questions to a chosen subset of advocates. Those advocates answer. Repeat.
82
+
83
+ Ends when the judge rules, or `max_rounds` is exceeded.
84
+
85
+ The judge has **no tools** — it reasons only over what advocates put into the
86
+ record. All advocate tools are **strictly read-only**.
87
+
88
+ ## Vocabulary
89
+
90
+ `enbanc` borrows courtroom terms because they're precise. See
91
+ [`glossary.md`](./glossary.md) — six rows, one minute.
92
+
93
+ ## Status
94
+
95
+ Early. API will change.
96
+
97
+ ## License
98
+
99
+ MIT
@@ -0,0 +1,9 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/enbanc/__init__.py
5
+ src/enbanc/py.typed
6
+ src/enbanc.egg-info/PKG-INFO
7
+ src/enbanc.egg-info/SOURCES.txt
8
+ src/enbanc.egg-info/dependency_links.txt
9
+ src/enbanc.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ enbanc