Skip to content

armgit / sie

Public Imported from GitHub
0

Open-source inference server and production cluster for all the models your agent needs.

fix(examples): use native primitives for industry agents (#231)

svonavac435a24d130d
diff --git a/examples/README.md b/examples/README.md
index adf6708ae..393a20416 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -21,13 +21,13 @@ service keys.
| [Find SOTA embedding models by MTEB task](./sie-hugging-face-mteb-semantic-search) | Searching ~14K HF embedding models ranked by task-specific MTEB scores | `encode`, `score` | Backend seed script plus Vite frontend; falls back without a live SIE endpoint | Runnable |
| [Private fine-tuned compliance RAG](./regulatory-rag) | Hot-loading a domain LoRA encoder and a custom token-pruning adapter on SIE | `encode`, `score`, `extract` | Custom SIE Docker image, GPU recommended | Advanced runnable example |
| [Build a multimodal wine recommender with OCR](./wine-recommender) | Combining preference-based retrieval with OCR-driven label detection in one UI | `encode`, `score`, `extract` | Docker Compose app plus local SIE endpoint; API key optional for unauthenticated SIE | Runnable demo |
-| [Build a multi-modal product classifier with embeddings](./taxonomy-classification) | Evaluating text, image, NLI, and reranking approaches for hierarchical product taxonomy classification | `extract`, `encode`, `score` | SIE endpoint, Shopify dataset prep via `uv run` scripts, standalone `uv` project | Runnable evaluation example |
+| [Build a multi-modal product classifier with embeddings](./taxonomy-classification) | Evaluating text, image, NLI, and reranking approaches for hierarchical product taxonomy classification | `encode`, `score`, `generate` | SIE endpoint, Shopify dataset prep via `uv run` scripts, standalone `uv` project | Runnable evaluation example |
| [Swap an OCR model with one identifier change](./document-ocr) | Driving recognition (VLM-OCR), structured extraction (Donut), and zero-shot NER (GLiNER) through the same `extract` call by swapping the model ID | `extract` | Docker Compose plus Node UI, no API key required, hosted version on [Hugging Face Spaces](https://huggingface.co/spaces/superlinked/document-ocr) | Runnable demo |
| [A Stripe Link checkout with an SIE fraud-risk gate](./stripe-link-fraud) | Wiring all three SIE primitives into a pre-authorization fraud-risk gate that runs in the same round-trip as the Stripe PaymentIntent | `extract`, `encode`, `score` | Docker Compose plus Node UI; Stripe test-mode keys optional (runs in mock mode without them) | Runnable demo |
| [Vision-first document RAG](./vision-doc-rag) | Retrieving and answering questions over a multi-tenant page corpus by looking at page images (including scanned drawings) with OCR kept out of the score path | `encode`, `chat/completions`, `score` (optional) | GPU SIE deployment required: ColQwen2.5 retriever + Qwen3.5-4B answer model (runs on the generation bundle) | Runnable demo |
-| [Multi-model contract review with the OpenAI Agents SDK](./contract-review-agent) | Running an OpenAI Agents SDK agent whose every model call (triage, orchestration, vision, OCR, embeddings, rerank, entity extraction, text-to-SQL, reasoning, and a safety guardrail) is served by one SIE cluster, each step on the right catalog model, with per-model observability | `chat/completions`, `encode`, `score`, `extract` | GPU SIE deployment required; standalone `uv` project; real contracts fetched from CUAD (CC BY 4.0) | Runnable demo |
+| [Multi-model contract review with the OpenAI Agents SDK](./contract-review-agent) | Running an OpenAI Agents SDK agent whose every model call (triage, orchestration, vision, OCR, embeddings, rerank, entity extraction, text-to-SQL, reasoning, and a safety guardrail) is served by one SIE cluster, each step on the right catalog model, with per-model observability | `generate`, `encode`, `score`, `extract` | GPU SIE deployment required; standalone `uv` project; real contracts fetched from CUAD (CC BY 4.0) | Runnable demo |
| [Turn difficult PDFs into Markdown](./document-to-markdown) | Preserving tables, reading order, headings, and form labels across real financial, academic, and government PDFs | `extract` | SIE endpoint with `docling`; standalone `uv` project; source PDFs fetched at run time | Runnable evaluation example |
-| [Review a published flood-insurance appeal](./insurance-claims-agent) | Separating FEMA's covered stone-removal scope from excluded barge, handling, disposal, and yard costs | `extract`, `score`, `chat/completions` | GPU SIE deployment; standalone `uv` project; bundled public FEMA appeal and policy | Runnable agent example |
+| [Review a published flood-insurance appeal](./insurance-claims-agent) | Separating FEMA's covered stone-removal scope from excluded barge, handling, disposal, and yard costs | `extract`, `score`, `generate` | GPU SIE deployment; standalone `uv` project; bundled public FEMA appeal and policy | Runnable agent example |
| [Trace a restated filing figure](./financial-filing-agent) | Following one reported figure through an original filing, corrective notice, and restatement while preserving source status | `extract`, `encode`, `score` | SIE endpoint; standalone `uv` project; public SEC facts and saved verified evidence | Runnable agent example |
| [Reproduce CMS's L1851 documentation finding](./prior-authorization-review-agent) | Tracing a published six-month requirement against a seven-month face-to-face encounter and CMS's recoupment result | `extract`, `encode`, `score` | SIE endpoint; standalone `uv` project; exact CMS published example | Runnable agent example |
| [Reconstruct a bearing failure](./maintenance-triage-agent) | Turning the NTSB's three East Palestine detector readings into a cited temperature and alert sequence without adding a new causal claim | `extract`, `encode`, `score` | SIE endpoint; standalone `uv` project; exact NTSB illustrated report spread | Runnable agent example |
diff --git a/examples/contract-review-agent/.env.example b/examples/contract-review-agent/.env.example
index b99497bb3..8af739757 100644
--- a/examples/contract-review-agent/.env.example
+++ b/examples/contract-review-agent/.env.example
@@ -1,4 +1,4 @@
-# Point these at any SIE deployment that serves /v1/chat/completions (a GPU
+# Point these at any SIE deployment that serves native generation (a GPU
# cluster — see README "Run it"). Defaults match a local CUDA container.
SIE_CLUSTER_URL=http://localhost:8080
SIE_API_KEY=
diff --git a/examples/contract-review-agent/.gitignore b/examples/contract-review-agent/.gitignore
index ea00f029f..57ce72753 100644
--- a/examples/contract-review-agent/.gitignore
+++ b/examples/contract-review-agent/.gitignore
@@ -2,7 +2,6 @@
__pycache__/
.env
*.log
-uv.lock
.ruff_cache/
# Generated sample artifacts (recreate with `uv run make-sample`)
contract_review_agent/data/generated/
diff --git a/examples/contract-review-agent/README.md b/examples/contract-review-agent/README.md
index d9f37aa34..9a76a90a8 100644
--- a/examples/contract-review-agent/README.md
+++ b/examples/contract-review-agent/README.md
@@ -1,6 +1,6 @@
# Contract review with the OpenAI Agents SDK, on one SIE cluster
-A multi-agent contract reviewer built with the [OpenAI Agents SDK](https://openai.github.io/openai-agents-python/) where **every model call is served by SIE**. No `api.openai.com`, no per-token bill. An **investigator** agent autonomously calls tools to gather grounded facts, then a **synthesizer** agent turns them into a structured review. Each step runs on the **right model from the SIE catalog**: a fast triage model, a vision model that reads the scanned signature page, a reasoning sub-agent for clause risk, a text-to-SQL specialist, an OCR model, embedding and reranker models for clause search, a zero-shot entity extractor, and a safety guardrail. Ten specialized jobs, one cluster.
+A multi-agent contract reviewer built with the [OpenAI Agents SDK](https://openai.github.io/openai-agents-python/) where **every model call is served by SIE**. No `api.openai.com`; managed calls are metered by SIE's native primitives. An **investigator** agent autonomously calls tools to gather grounded facts, then a **synthesizer** agent turns them into a structured review. Each step runs on the **right model from the SIE catalog**: a fast triage model, a vision model that reads the scanned signature page, a reasoning sub-agent for clause risk, a text-to-SQL specialist, an OCR model, embedding and reranker models for clause search, a zero-shot entity extractor, and a safety guardrail. Ten specialized jobs, one cluster.
This is the "one cluster powers every model your agent calls" idea from the [SIE landing page](https://superlinked.com), made real and runnable.
@@ -10,12 +10,12 @@ Every value below is a real model in the [SIE catalog](https://superlinked.com/m
| Role in the agent | SIE model | SIE function |
|---|---|---|
-| Triage: classify the document type | `Qwen/Qwen3.5-4B` | chat |
-| **Orchestrator**: plan, call tools, assemble the review | `Qwen/Qwen3.6-27B` (64K, non-thinking) | chat + tools + JSON schema |
-| Vision: read the scanned signature page | `Qwen/Qwen3.5-4B` | chat + image |
-| Reasoning sub-agent: clause-risk analysis | `Qwen/Qwen3.5-4B` | chat |
-| Text-to-SQL: query the obligations DB | `Qwen/Qwen3.5-4B` (or `defog/sqlcoder-7b-2` with `sql.mode: completions`) | chat |
-| Guardrail: safety / prompt-injection | `ibm-granite/granite-guardian-3.0-2b` (alias `guard`) | chat |
+| Triage: classify the document type | `Qwen/Qwen3.5-4B` | generate |
+| **Orchestrator**: plan, call tools, assemble the review | `Qwen/Qwen3.6-27B` (64K, non-thinking) | generate + tools + JSON schema |
+| Vision: read the scanned signature page | `Qwen/Qwen3.5-4B` | generate + image |
+| Reasoning sub-agent: clause-risk analysis | `Qwen/Qwen3.5-4B` | generate |
+| Text-to-SQL: query the obligations DB | `Qwen/Qwen3.5-4B` (raw-prompt specialists use `sql.mode: prompt`) | generate |
+| Guardrail: safety / prompt-injection | `ibm-granite/granite-guardian-3.0-2b` (alias `guard`) | generate |
| OCR: scanned page to markdown | `lightonai/LightOnOCR-2-1B` | extract |
| Clause search: dense embeddings | `BAAI/bge-m3` | encode |
| Clause rerank: cross-encoder | `Qwen/Qwen3-Reranker-4B` | score |
@@ -23,26 +23,36 @@ Every value below is a real model in the [SIE catalog](https://superlinked.com/m
## How it works
-The whole trick is one idea: **the Agents SDK speaks the OpenAI wire protocol, and SIE serves an OpenAI-compatible `/v1` endpoint.** So we point the SDK at SIE and force chat completions (`contract_review_agent/runtime.py`):
+The Agents SDK accepts any model that implements its model interface. This
+example binds that interface to `SIEAsyncClient.generate` in
+`contract_review_agent/native_model.py`:
```python
-client = AsyncOpenAI(base_url="http://localhost:8080/v1", api_key="not-needed")
-set_default_openai_client(client) # every agent talks to SIE...
-set_default_openai_api("chat_completions") # ...over chat completions, not the Responses API...
-set_tracing_disabled(True) # ...and we never phone home with traces.
+Agent(
+ name="Risk Analyst",
+ model=SIENativeModel(
+ "Qwen/Qwen3.5-4B",
+ sie_client,
+ provision_timeout_s=900,
+ ),
+)
```
-After that, each `Agent` just names the SIE model it should run on:
-
-```python
-Agent(name="Risk Analyst", model=OpenAIChatCompletionsModel("Qwen/Qwen3.5-4B", openai_client=client), ...)
-```
+For each agent turn, the adapter builds a strict JSON Schema whose valid result
+is either one declared function call or a final answer. SIE performs the
+schema-constrained generation through its native primitive; the Agents SDK
+executes declared Python tools and passes their results into the next turn.
+Structured final output uses the agent's declared Pydantic schema. The example never calls an OpenAI-compatible endpoint or sends data to
+`api.openai.com`. The text-to-SQL tool may execute model-generated SQL only
+after enforcing one SELECT statement; it never executes generated Python or
+shell code. The SDK normalizes slash-form catalog IDs into wire-safe paths,
+but the example never substitutes one catalog model for another.
The flow is **two agents**:
1. An **investigator** (on `Qwen3.6-27B`) with seven tools and **no** structured `output_type`, so it can't short-circuit to a hallucinated answer. It must call tools to learn anything about the contract:
- `classify_document` (triage) · `read_signature_page` (vision) · `analyze_clause_risks` (delegates to the reasoning **sub-agent**): generative LLMs
- - `ocr_signature_page` · `extract_entities` (`extract`), `search_clauses` (`encode` + `score`), `query_obligations_db` (`chat`): retrieval and extraction
+ - `ocr_signature_page` · `extract_entities` (`extract`), `search_clauses` (`encode` + `score`), `query_obligations_db` (`generate`): retrieval and extraction
- a `granite-guardian` **input guardrail** screens the request first (and fails open, logged, if the guard model is unavailable).
2. A **synthesizer** (structured `output_type=ContractReview`, no tools) turns the investigator's grounded findings into the final review (parties, dates, governing law, executed?, key obligations, risk flags with severity plus redlines, recommendation) via SIE's JSON-schema-constrained generation.
@@ -59,7 +69,7 @@ docker run --gpus all -p 8080:8080 -v sie-hf-cache:/app/.cache/huggingface \
cd examples/contract-review-agent
cp .env.example .env # edit SIE_CLUSTER_URL / SIE_API_KEY if not localhost
-uv sync
+uv sync --frozen
# 2. Fetch a handful of real contracts from CUAD (CC BY 4.0). Downloads a ~18 MB archive once.
uv run fetch-contracts # or: uv run make-sample (offline synthetic contracts)
@@ -73,7 +83,12 @@ uv run review --contract <slug> # review a specific one
## What you'll see
-`uv run review` prints the model catalog, runs the agent, then prints the structured review **plus a per-model observability ledger**. Each row carries the step's model, SIE function, **cold-start warm-up**, warm latency, data sent, and **warm throughput (tokens/s)**, so you can watch one cluster fan a single request across the catalog and see how each model performed. (Warm-up is shown separately from throughput for the generative calls; the `encode`/`score`/`extract` calls go through the SIE SDK, which provisions internally, so those show total latency.) Try `--instruction "..."` to change the ask, or feed the guardrail a malicious prompt to watch `granite-guardian` trip the tripwire.
+`uv run review` prints the model catalog, runs the agent, then prints the
+structured review **plus a per-model observability ledger**. Each row carries
+the step's model, native SIE primitive, total latency, data sent, and available
+throughput. Every primitive uses the SDK's governed capacity wait. Try
+`--instruction "..."` to change the ask, or feed the guardrail a malicious
+prompt to watch `granite-guardian` trip the tripwire.
## Swapping models (the point of the catalog)
@@ -81,7 +96,7 @@ uv run review --contract <slug> # review a specific one
```yaml
models:
- sql: "defog/sqlcoder-7b-2" # a text-to-SQL specialist (also set sql.mode: completions)
+ sql: "defog/sqlcoder-7b-2" # raw specialist; set sql.mode: prompt
ocr: "opendatalab/MinerU2.5-Pro-2604-1.2B" # try a different OCR model
```
@@ -93,12 +108,12 @@ The default corpus is **[CUAD](https://www.atticusprojectai.org/cuad/)** (Contra
> CUAD: An Expert-Annotated NLP Dataset for Legal Contract Review. Dan Hendrycks, Collin Burns, Anya Chen, Spencer Ball. arXiv:2103.06268. Licensed CC BY 4.0.
-`uv run make-sample` builds a fully synthetic, offline alternative (an Acme MSA, an NDA, and an SOW) so the demo runs with no network.
+`uv run make-sample` builds a fully synthetic, offline input corpus (an Acme MSA, an NDA, and an SOW) so the demo runs with no network.
## Notes
-- Chat completions, tool calling, JSON-schema structured output, vision, and `/v1/completions` (set `sql.mode: completions` to route SQL through a completion-only model like `sqlcoder`) are all served over SIE's OpenAI-compatible API.
-- Text-to-SQL runs on `Qwen/Qwen3.5-4B` over chat; to demo the `/v1/completions` path instead, set `sql: "defog/sqlcoder-7b-2"` with `sql.mode: completions`.
+- Agent planning, tool selection, structured output, vision questions, and text-to-SQL all use native `generate`.
+- `sql.mode: instruct` builds one role-labelled raw prompt; `sql.mode: prompt` sends a specialist's raw template. Both use the same native primitive.
- This is a demo of inference orchestration, **not legal advice**.
Apache-2.0, like the rest of SIE.
diff --git a/examples/contract-review-agent/config.yaml b/examples/contract-review-agent/config.yaml
index 206297640..eeea0f0a4 100644
--- a/examples/contract-review-agent/config.yaml
+++ b/examples/contract-review-agent/config.yaml
@@ -1,5 +1,5 @@
-# SIE deployment. /v1/chat/completions is served by SIE's generation bundle
-# (GPU), so use a CUDA image locally:
+# SIE deployment. Native SIEAsyncClient.generate is served by SIE's generation
+# bundle (GPU), so use a CUDA image locally:
# docker run --gpus all -p 8080:8080 ghcr.io/superlinked/sie-server:latest-cuda12-default
# or override with SIE_CLUSTER_URL / SIE_API_KEY to target a managed GPU cluster.
cluster:
@@ -14,12 +14,12 @@ cluster:
models:
# Generative LLMs, the agent "brains". Two Qwen models, both non-thinking:
# Qwen3.6-27B (64K ctx) is the brain: plans, reasons over long context, and
- # synthesizes; Qwen3.5-4B (8K, vision LLM) handles the shorter-context tasks.
+ # synthesizes; Qwen3.5-4B (8K, vision LLM) handles shorter-context tasks.
triage: "Qwen/Qwen3.5-4B" # fast doc-type classifier
- orchestrator: "Qwen/Qwen3.6-27B" # the brain: plans, calls tools, synthesizes (chat + tools + JSON schema; 64K ctx)
+ orchestrator: "Qwen/Qwen3.6-27B" # the brain: native generate + tools + JSON schema (64K ctx)
vision: "Qwen/Qwen3.5-4B" # reads scanned / signature pages (text + image); the vision LLM
reasoning: "Qwen/Qwen3.5-4B" # clause-risk analysis (short context)
- sql: "Qwen/Qwen3.5-4B" # text-to-SQL via chat (see sql.mode); or defog/sqlcoder-7b-2 with sql.mode=completions
+ sql: "Qwen/Qwen3.5-4B" # text-to-SQL via native generate; raw specialists use sql.mode=prompt
guard: "ibm-granite/granite-guardian-3.0-2b" # safety / prompt-injection guardrail (specialist; alias: guard)
# Retrieval + extraction tools (encode / score / extract):
ocr: "lightonai/LightOnOCR-2-1B" # scanned PDF / image -> markdown (latest OCR model)
@@ -32,14 +32,7 @@ search:
top_k_candidates: 12 # clauses retrieved by embedding similarity
top_k_results: 4 # clauses kept after rerank
-guard:
- # granite-guardian emits a "yes" (unsafe) / "no" (safe) verdict. Trip the
- # guardrail when P(unsafe) clears this threshold. 0.5 is recall-biased.
- threshold: 0.5
-
-# Text-to-SQL calling convention. Chat/instruct models (Qwen3.5-4B,
-# Qwen3.6-27B) take a chat prompt; completion-only specialists like
-# defog/sqlcoder-7b-2 need their native template over /v1/completions; set
-# mode: completions when you point `sql` at one of those.
+# Text-to-SQL prompt shape. Both modes use native SIE generate: instruct builds
+# one role-labelled raw prompt, while prompt sends a specialist's raw template.
sql:
- mode: "chat" # "chat" | "completions"
+ mode: "instruct" # "instruct" | "prompt"
diff --git a/examples/contract-review-agent/contract_review_agent/__init__.py b/examples/contract-review-agent/contract_review_agent/__init__.py
index af59174ff..e69de29bb 100644
--- a/examples/contract-review-agent/contract_review_agent/__init__.py
+++ b/examples/contract-review-agent/contract_review_agent/__init__.py
@@ -1,6 +0,0 @@
-"""Contract review with the OpenAI Agents SDK, served entirely by SIE.
-
-One orchestrator agent drives specialist sub-agents and SIE-backed tools, each
-running on a different model from the SIE catalog — the "one cluster powers
-every model your agent calls" story, made runnable.
-"""
diff --git a/examples/contract-review-agent/contract_review_agent/app.py b/examples/contract-review-agent/contract_review_agent/app.py
index 837de71d9..310cc250f 100644
--- a/examples/contract-review-agent/contract_review_agent/app.py
+++ b/examples/contract-review-agent/contract_review_agent/app.py
@@ -6,11 +6,11 @@ from __future__ import annotations
from typing import Any
-from agents import Agent, RunResult, Runner
+from agents import Agent, Runner, RunResult
from pydantic import BaseModel
from .guardrails import safety_guardrail
-from .runtime import AppContext, model_for
+from .runtime import AppContext, model_for, provision_timeout_from
from .tools import ALL_TOOLS
@@ -71,7 +71,11 @@ def build_reasoning_agent(cfg: dict[str, Any], client: Any) -> Agent:
"risks to the Customer. For each, state the clause, the issue, a severity "
"(low/medium/high), and a concrete one-line redline. Be specific and brief."
),
- model=model_for(cfg["models"]["reasoning"], client),
+ model=model_for(
+ cfg["models"]["reasoning"],
+ client,
+ provision_timeout_s=provision_timeout_from(cfg),
+ ),
)
@@ -80,7 +84,11 @@ def build_investigator(cfg: dict[str, Any], client: Any) -> Agent:
return Agent(
name="Contract Investigator",
instructions=_INVESTIGATOR_INSTRUCTIONS,
- model=model_for(cfg["models"]["orchestrator"], client),
+ model=model_for(
+ cfg["models"]["orchestrator"],
+ client,
+ provision_timeout_s=provision_timeout_from(cfg),
+ ),
tools=ALL_TOOLS,
input_guardrails=[safety_guardrail],
)
@@ -91,7 +99,11 @@ def build_synthesizer(cfg: dict[str, Any], client: Any) -> Agent:
return Agent(
name="Contract Reviewer",
instructions=_SYNTHESIZER_INSTRUCTIONS,
- model=model_for(cfg["models"]["orchestrator"], client),
+ model=model_for(
+ cfg["models"]["orchestrator"],
+ client,
+ provision_timeout_s=provision_timeout_from(cfg),
+ ),
output_type=ContractReview,
)
diff --git a/examples/contract-review-agent/contract_review_agent/cli.py b/examples/contract-review-agent/contract_review_agent/cli.py
index 48e6bc801..7068760b4 100644
--- a/examples/contract-review-agent/contract_review_agent/cli.py
+++ b/examples/contract-review-agent/contract_review_agent/cli.py
@@ -8,27 +8,34 @@ import json
import time
from pathlib import Path
-from agents import InputGuardrailTripwireTriggered
+from agents import InputGuardrailTripwireTriggered, set_tracing_disabled
from rich.console import Console
from rich.panel import Panel
from rich.table import Table
from sie_sdk import SIEAsyncClient
-from .app import ContractReview, build_investigator, build_reasoning_agent, build_synthesizer, run_review
+from .app import (
+ ContractReview,
+ build_investigator,
+ build_reasoning_agent,
+ build_synthesizer,
+ run_review,
+)
from .config import load_config
-from .data import CUAD_DIR, GENERATED_DIR, MANIFEST_PATH, make_sample
-from .runtime import AppContext, Ledger, chat_once, configure_runtime, make_openai_client
+from .data import make_sample
+from .data.paths import CUAD_DIR, GENERATED_DIR, MANIFEST_PATH
+from .runtime import AppContext, Ledger, instruct_once
console = Console()
# (config role, human job, SIE function) — drives the catalog table.
ROLE_INFO = [
- ("orchestrator", "Plan, call tools, assemble the review", "chat + tools"),
- ("triage", "Classify the document type (fast)", "chat"),
- ("vision", "Read the scanned signature page", "chat + image"),
- ("reasoning", "Clause-risk specialist (sub-agent)", "chat"),
- ("sql", "Text-to-SQL over the obligations DB", "chat"),
- ("guard", "Safety / prompt-injection guardrail", "chat"),
+ ("orchestrator", "Plan, call tools, assemble the review", "generate + tools"),
+ ("triage", "Classify the document type (fast)", "generate"),
+ ("vision", "Read the scanned signature page", "generate + image"),
+ ("reasoning", "Clause-risk specialist (sub-agent)", "generate"),
+ ("sql", "Text-to-SQL over the obligations DB", "generate"),
+ ("guard", "Safety / prompt-injection guardrail", "generate"),
("ocr", "Scanned page → markdown", "extract"),
("embed", "Clause search (embeddings)", "encode"),
("rerank", "Rerank retrieved clauses", "score"),
@@ -37,14 +44,14 @@ ROLE_INFO = [
def _print_catalog(cfg: dict) -> None:
- table = Table(title="One SIE cluster · the right model for each job", title_style="bold")
+ table = Table(
+ title="One SIE cluster · the right model for each job", title_style="bold"
+ )
table.add_column("Role", style="cyan")
table.add_column("SIE catalog model", style="green")
table.add_column("SIE function", style="magenta")
table.add_column("Job")
for role, job, fn in ROLE_INFO:
- if role == "sql": # the SQL tool's wire path follows sql.mode (chat | completions)
- fn = (cfg.get("sql") or {}).get("mode", "chat")
table.add_row(role, cfg["models"][role], fn, job)
console.print(table)
@@ -66,15 +73,22 @@ def _print_ledger(ledger: Ledger) -> None:
warmup_total += e.warmup_s
call_total += e.latency_s
table.add_row(
- str(i), e.step, e.model.split("/")[-1], e.sie_fn,
+ str(i),
+ e.step,
+ e.model.split("/")[-1],
+ e.sie_fn,
f"{e.warmup_s:.1f}s" if e.warmup_s else "—",
f"{e.latency_s:.2f}s" if e.latency_s else "—",
- e.sent or "—", e.got or "—", e.throughput or "—",
+ e.sent or "—",
+ e.got or "—",
+ e.throughput or "—",
)
console.print(table)
used = {e.model for e in ledger.entries}
- console.print(f"[bold]{len(used)} distinct SIE models[/] handled this request — "
- f"{warmup_total:.0f}s cold-start (model warm-up) + {call_total:.0f}s warm calls.")
+ console.print(
+ f"[bold]{len(used)} distinct SIE models[/] handled this request — "
+ f"{warmup_total:.0f}s cold-start (model warm-up) + {call_total:.0f}s warm calls."
+ )
def _print_summary(cfg: dict, usage, wall_s: float) -> None:
@@ -84,7 +98,9 @@ def _print_summary(cfg: dict, usage, wall_s: float) -> None:
it = getattr(usage, "input_tokens", 0) or 0
ot = getattr(usage, "output_tokens", 0) or 0
orch = cfg["models"]["orchestrator"].split("/")[-1]
- parts.append(f"investigator {orch}: {reqs} LLM calls, {it:,} in / {ot:,} out tok")
+ parts.append(
+ f"investigator {orch}: {reqs} LLM calls, {it:,} in / {ot:,} out tok"
+ )
console.print("Run summary — " + " · ".join(parts))
@@ -114,7 +130,9 @@ def _print_review(review: ContractReview) -> None:
sev_color = {"high": "red", "medium": "yellow", "low": "green"}
for f in review.risk_flags:
color = sev_color.get(f.severity.lower(), "white")
- risks.add_row(f"[{color}]{f.severity}[/]", f.clause, f.issue, f.suggested_redline)
+ risks.add_row(
+ f"[{color}]{f.severity}[/]", f.clause, f.issue, f.suggested_redline
+ )
console.print(risks)
@@ -135,8 +153,10 @@ def _resolve_corpus(args) -> tuple[str, str, str, str]:
# Offline fallback: synthetic corpus (generate it if missing).
if not (GENERATED_DIR / "acme-msa.md").exists():
- console.print("[yellow]No corpus found — generating the synthetic one. "
- "Run `uv run fetch-contracts` for real CUAD contracts.[/]")
+ console.print(
+ "[yellow]No corpus found — generating the synthetic one. "
+ "Run `uv run fetch-contracts` for real CUAD contracts.[/]"
+ )
make_sample.main()
name = args.contract or "acme-msa"
text = (GENERATED_DIR / f"{name}.md").read_text()
@@ -149,89 +169,96 @@ def _list_contracts() -> None:
manifest = json.loads(MANIFEST_PATH.read_text())
console.print(f"[bold]CUAD corpus[/] ({manifest['license']}):")
for c in manifest["contracts"]:
- console.print(f" {c['slug']} [dim]{c['type']} · {c['char_len']:,} chars[/]")
+ console.print(
+ f" {c['slug']} [dim]{c['type']} · {c['char_len']:,} chars[/]"
+ )
elif (GENERATED_DIR / "acme-msa.md").exists():
console.print("[bold]Synthetic corpus[/]: acme-msa, mutual-nda, acme-sow")
else:
- console.print("No corpus yet. Run `uv run fetch-contracts` or `uv run make-sample`.")
+ console.print(
+ "No corpus yet. Run `uv run fetch-contracts` or `uv run make-sample`."
+ )
async def _warm(app: AppContext) -> None:
- """Provision the generative models before the run.
-
- The orchestrator and reasoning sub-agent call models through the Agents SDK,
- which has no cold-start retry — so on a scale-from-zero cluster the first
- call would fail. Touch each model once (our helpers retry while it loads).
- """
- m = app.cfg["models"]
- # Only the orchestrator and reasoning sub-agent run through the Agents SDK,
- # which has no cold-start retry — so only these must be warm before the run.
- # Triage, vision, guard, SQL, and the encode/score/extract tools all retry
- # while their model provisions, so they load lazily on first use.
- for model in dict.fromkeys([m["orchestrator"], m["reasoning"]]):
- with console.status(f"Warming {model} (first call provisions it on a cold cluster)..."):
+ """Provision agent models through the same native route used by the run."""
+ models = app.cfg["models"]
+ for model in dict.fromkeys([models["orchestrator"], models["reasoning"]]):
+ with console.status(
+ f"Warming {model} (first call provisions it on a cold cluster)..."
+ ):
try:
- await chat_once(app, model, [{"role": "user", "content": "ok"}], max_tokens=1)
- except Exception as exc: # warm-up is best-effort; the run will retry
- console.print(f"[yellow]warm-up: {model} not ready ({type(exc).__name__}); will retry during the run.[/]")
+ await instruct_once(
+ app,
+ model,
+ [{"role": "user", "content": "ok"}],
+ max_tokens=1,
+ )
+ except Exception as exc: # noqa: BLE001 - warm-up is best effort.
+ console.print(
+ f"[yellow]warm-up: {model} not ready "
+ f"({type(exc).__name__}); will retry during the run.[/]"
+ )
console.print("[green]Warm-up done.[/]\n")
async def _run(args) -> None:
+ set_tracing_disabled(True)
cfg = load_config()
text, scan_path, db_path, label = _resolve_corpus(args)
- # Tool calls use our own provisioning-retry, so their client shouldn't also retry
- # (max_retries=0). Agents-SDK calls can't be wrapped, so that client retries hard
- # to survive a model being evicted/reloaded mid-run on a busy cluster.
- tool_client = make_openai_client(cfg["cluster"]["url"], cfg["cluster"]["api_key"], max_retries=0)
- agent_client = make_openai_client(cfg["cluster"]["url"], cfg["cluster"]["api_key"], max_retries=12, timeout_s=180)
- configure_runtime(agent_client)
-
_print_catalog(cfg)
- console.print(f"Reviewing [bold]{label}[/] against SIE at "
- f"[bold]{cfg['cluster']['url']}[/]\n")
+ console.print(
+ f"Reviewing [bold]{label}[/] against SIE at [bold]{cfg['cluster']['url']}[/]\n"
+ )
- async with SIEAsyncClient(cfg["cluster"]["url"], api_key=cfg["cluster"]["api_key"] or None) as sie:
+ async with SIEAsyncClient(
+ cfg["cluster"]["url"], api_key=cfg["cluster"]["api_key"] or None
+ ) as sie:
ledger = Ledger()
app = AppContext(
sie=sie,
- oai=tool_client,
cfg=cfg,
ledger=ledger,
contract_text=text,
scan_path=scan_path,
db_path=db_path,
- reasoning_agent=build_reasoning_agent(cfg, agent_client),
+ reasoning_agent=build_reasoning_agent(cfg, sie),
)
- investigator = build_investigator(cfg, agent_client)
- synthesizer = build_synthesizer(cfg, agent_client)
+ investigator = build_investigator(cfg, sie)
+ synthesizer = build_synthesizer(cfg, sie)
if not args.no_warm:
await _warm(app)
t0 = time.monotonic()
try:
- gather, result = await run_review(app, investigator, synthesizer, args.instruction)
+ gather, result = await run_review(
+ app, investigator, synthesizer, args.instruction
+ )
except InputGuardrailTripwireTriggered:
- console.print(Panel("Request blocked by the granite-guardian safety guardrail.",
- border_style="red", title="Guardrail tripped"))
+ console.print(
+ Panel(
+ "Request blocked by the granite-guardian safety guardrail.",
+ border_style="red",
+ title="Guardrail tripped",
+ )
+ )
_print_ledger(ledger)
- await agent_client.close()
- await tool_client.close()
return
- except Exception as exc: # a model the SDK calls (investigator/sub-agent) was unreachable
- console.print(Panel(f"{type(exc).__name__}: {exc}", border_style="red",
- title="Run failed (model unavailable)"))
+ except Exception as exc: # noqa: BLE001 - report the model boundary failure.
+ console.print(
+ Panel(
+ f"{type(exc).__name__}: {exc}",
+ border_style="red",
+ title="Run failed",
+ )
+ )
_print_ledger(ledger)
- await agent_client.close()
- await tool_client.close()
return
wall = time.monotonic() - t0
- await agent_client.close()
- await tool_client.close()
try:
review = result.final_output_as(ContractReview)
- except Exception:
+ except Exception: # noqa: BLE001 - preserve unstructured model output.
review = result.final_output
console.print()
@@ -246,10 +273,17 @@ async def _run(args) -> None:
def main() -> None:
- parser = argparse.ArgumentParser(description="Review a contract with a multi-model SIE agent.")
- parser.add_argument("--contract", default=None,
- help="contract slug (CUAD), synthetic name, or a path to a .txt/.md file")
- parser.add_argument("--scan", default=None, help="path to a signature-page image (png/jpg)")
+ parser = argparse.ArgumentParser(
+ description="Review a contract with a multi-model SIE agent."
+ )
+ parser.add_argument(
+ "--contract",
+ default=None,
+ help="contract slug (CUAD), synthetic name, or a path to a .txt/.md file",
+ )
+ parser.add_argument(
+ "--scan", default=None, help="path to a signature-page image (png/jpg)"
+ )
parser.add_argument(
"--instruction",
default="Review this contract. Identify the parties and key terms, flag the "
@@ -257,9 +291,14 @@ def main() -> None:
"executed, and surface upcoming obligations and deadlines.",
help="what to ask the agent to do",
)
- parser.add_argument("--list", action="store_true", help="list available contracts and exit")
- parser.add_argument("--no-warm", action="store_true",
- help="skip pre-warming models (faster when the cluster is already warm)")
+ parser.add_argument(
+ "--list", action="store_true", help="list available contracts and exit"
+ )
+ parser.add_argument(
+ "--no-warm",
+ action="store_true",
+ help="skip pre-warming models (faster when the cluster is already warm)",
+ )
args = parser.parse_args()
if args.list:
diff --git a/examples/contract-review-agent/contract_review_agent/data/__init__.py b/examples/contract-review-agent/contract_review_agent/data/__init__.py
index 202a87910..e69de29bb 100644
--- a/examples/contract-review-agent/contract_review_agent/data/__init__.py
+++ b/examples/contract-review-agent/contract_review_agent/data/__init__.py
@@ -1,15 +0,0 @@
-"""Self-contained sample data for the contract-review demo.
-
-Run ``uv run make-sample`` (or ``python -m contract_review_agent.data.make_sample``)
-to generate everything under ``data/generated/``: the contract markdown, the
-"scanned" signature-page image, and the SQLite obligations database. Nothing is
-downloaded — it is all synthetic and safe to ship.
-"""
-
-from pathlib import Path
-
-DATA_DIR = Path(__file__).resolve().parent
-GENERATED_DIR = DATA_DIR / "generated"
-CUAD_DIR = GENERATED_DIR / "cuad" # real contracts fetched from CUAD
-MANIFEST_PATH = GENERATED_DIR / "manifest.json"
-DB_PATH = GENERATED_DIR / "obligations.db"
diff --git a/examples/contract-review-agent/contract_review_agent/data/fetch_contracts.py b/examples/contract-review-agent/contract_review_agent/data/fetch_contracts.py
index 189d93096..b7a699066 100644
--- a/examples/contract-review-agent/contract_review_agent/data/fetch_contracts.py
+++ b/examples/contract-review-agent/contract_review_agent/data/fetch_contracts.py
@@ -27,8 +27,8 @@ from pathlib import Path
import httpx
-from . import CUAD_DIR, DB_PATH, GENERATED_DIR, MANIFEST_PATH
from .make_sample import SCHEMA_DDL
+from .paths import CUAD_DIR, DB_PATH, GENERATED_DIR, MANIFEST_PATH
from .render import render_text_page
CUAD_ZIP_URL = "https://raw.githubusercontent.com/TheAtticusProject/cuad/main/data.zip"
diff --git a/examples/contract-review-agent/contract_review_agent/data/make_sample.py b/examples/contract-review-agent/contract_review_agent/data/make_sample.py
index 9a1bd991c..552308a19 100644
--- a/examples/contract-review-agent/contract_review_agent/data/make_sample.py
+++ b/examples/contract-review-agent/contract_review_agent/data/make_sample.py
@@ -17,7 +17,7 @@ import textwrap
from PIL import Image, ImageDraw, ImageFont
-from contract_review_agent.data import GENERATED_DIR
+from contract_review_agent.data.paths import GENERATED_DIR
# Treat this as "today" for the seeded obligation due dates.
TODAY = "2026-06-22"
diff --git a/examples/contract-review-agent/contract_review_agent/data/paths.py b/examples/contract-review-agent/contract_review_agent/data/paths.py
new file mode 100644
index 000000000..d77e37ebb
--- /dev/null
+++ b/examples/contract-review-agent/contract_review_agent/data/paths.py
@@ -0,0 +1,7 @@
+from pathlib import Path
+
+DATA_DIR = Path(__file__).resolve().parent
+GENERATED_DIR = DATA_DIR / "generated"
+CUAD_DIR = GENERATED_DIR / "cuad"
+MANIFEST_PATH = GENERATED_DIR / "manifest.json"
+DB_PATH = GENERATED_DIR / "obligations.db"
diff --git a/examples/contract-review-agent/contract_review_agent/guardrails.py b/examples/contract-review-agent/contract_review_agent/guardrails.py
index 94bebbd34..ccf7b0030 100644
--- a/examples/contract-review-agent/contract_review_agent/guardrails.py
+++ b/examples/contract-review-agent/contract_review_agent/guardrails.py
@@ -14,7 +14,7 @@ from typing import Any
from agents import Agent, GuardrailFunctionOutput, RunContextWrapper, input_guardrail
-from .runtime import AppContext, chat_once
+from .runtime import AppContext, instruct_once
def _input_text(data: Any) -> str:
@@ -27,7 +27,11 @@ def _input_text(data: Any) -> str:
if isinstance(content, str):
parts.append(content)
elif isinstance(content, list):
- parts.extend(c["text"] for c in content if isinstance(c, dict) and isinstance(c.get("text"), str))
+ parts.extend(
+ c["text"]
+ for c in content
+ if isinstance(c, dict) and isinstance(c.get("text"), str)
+ )
return "\n".join(parts)
@@ -39,17 +43,33 @@ async def safety_guardrail(
model = app.cfg["models"]["guard"]
t0 = time.monotonic()
try:
- res = await chat_once(app, model, [{"role": "user", "content": _input_text(data)[:6000]}], max_tokens=8, timeout_s=25)
- except Exception as exc:
+ res = await instruct_once(
+ app,
+ model,
+ [{"role": "user", "content": _input_text(data)[:6000]}],
+ max_tokens=8,
+ timeout_s=25,
+ )
+ except Exception as exc: # noqa: BLE001 - configured fail-open boundary.
# Guard model unavailable: fail OPEN (allow the run) but make it visible.
# A stricter deployment might fail closed — that's a policy choice.
- app.ledger.record("Safety guardrail (granite-guardian)", model, "chat",
- warmup_s=time.monotonic() - t0, got=f"unavailable: {type(exc).__name__}")
- return GuardrailFunctionOutput(output_info={"error": str(exc), "model": model}, tripwire_triggered=False)
+ app.ledger.record(
+ "Safety guardrail (granite-guardian)",
+ model,
+ "generate",
+ warmup_s=time.monotonic() - t0,
+ got=f"unavailable: {type(exc).__name__}",
+ )
+ return GuardrailFunctionOutput(
+ output_info={"error": str(exc), "model": model}, tripwire_triggered=False
+ )
verdict = res.text.strip()
app.ledger.record(
- "Safety guardrail (granite-guardian)", model, "chat",
- warmup_s=res.provision_s, latency_s=res.gen_s,
+ "Safety guardrail (granite-guardian)",
+ model,
+ "generate",
+ warmup_s=res.provision_s,
+ latency_s=res.gen_s,
sent=f"{res.prompt_tokens:,} tok" if res.prompt_tokens else "—",
got=verdict or "—",
)
diff --git a/examples/contract-review-agent/contract_review_agent/native_model.py b/examples/contract-review-agent/contract_review_agent/native_model.py
new file mode 100644
index 000000000..ccbf7d822
--- /dev/null
+++ b/examples/contract-review-agent/contract_review_agent/native_model.py
@@ -0,0 +1,456 @@
+"""Agents SDK model adapter backed by SIE's native generate primitive."""
+
+from __future__ import annotations
+
+import json
+from collections.abc import AsyncIterator
+from copy import deepcopy
+from typing import Any
+from uuid import uuid4
+
+from agents import (
+ FunctionTool,
+ Handoff,
+ Model,
+ ModelBehaviorError,
+ ModelResponse,
+ ModelSettings,
+ ModelTracing,
+ Tool,
+ Usage,
+)
+from agents.agent_output import AgentOutputSchemaBase
+from agents.items import TResponseInputItem, TResponseOutputItem
+from openai.types.responses import (
+ ResponseFunctionToolCall,
+ ResponseOutputMessage,
+ ResponseOutputText,
+)
+from sie_sdk import SIEAsyncClient
+
+_DEFAULT_MAX_NEW_TOKENS = 1200
+
+
+def _as_dict(item: Any) -> dict[str, Any]:
+ if isinstance(item, dict):
+ return item
+ model_dump = getattr(item, "model_dump", None)
+ if callable(model_dump):
+ dumped = model_dump(exclude_unset=True)
+ if isinstance(dumped, dict):
+ return dumped
+ raise ModelBehaviorError(
+ f"Unsupported Agents SDK input item: {type(item).__name__}"
+ )
+
+
+def _content_text(content: Any) -> str:
+ if isinstance(content, str):
+ return content
+ if not isinstance(content, list):
+ return json.dumps(content, ensure_ascii=False, default=str)
+ parts: list[str] = []
+ for part in content:
+ row = _as_dict(part)
+ text = next(
+ (
+ row[key]
+ for key in ("text", "input_text", "output_text", "refusal")
+ if isinstance(row.get(key), str)
+ ),
+ None,
+ )
+ if text is not None:
+ parts.append(text)
+ else:
+ parts.append(json.dumps(row, ensure_ascii=False, default=str))
+ return "\n".join(parts)
+
+
+def _conversation(input_items: str | list[TResponseInputItem]) -> str:
+ if isinstance(input_items, str):
+ return f"[user]\n{input_items}"
+
+ rows = [_as_dict(item) for item in input_items]
+ call_names = {
+ row["call_id"]: row["name"]
+ for row in rows
+ if row.get("type") == "function_call"
+ and isinstance(row.get("call_id"), str)
+ and isinstance(row.get("name"), str)
+ }
+ turns: list[str] = []
+ for row in rows:
+ item_type = row.get("type")
+ if item_type == "function_call":
+ turns.append(
+ "[assistant tool call]\n"
+ f"name: {row.get('name')}\n"
+ f"arguments: {row.get('arguments')}"
+ )
+ elif item_type == "function_call_output":
+ call_id = row.get("call_id")
+ name = call_names.get(call_id, call_id)
+ turns.append(f"[tool {name}]\n{_content_text(row.get('output'))}")
+ elif item_type in (None, "message"):
+ role = row.get("role", "user")
+ turns.append(f"[{role}]\n{_content_text(row.get('content', ''))}")
+ else:
+ turns.append(
+ f"[{item_type}]\n{json.dumps(row, ensure_ascii=False, default=str)}"
+ )
+ return "\n\n".join(turns)
+
+
+def _function_tools(tools: list[Tool]) -> list[FunctionTool]:
+ function_tools: list[FunctionTool] = []
+ for tool in tools:
+ if not isinstance(tool, FunctionTool):
+ raise ModelBehaviorError(
+ f"SIE native agent adapter supports function tools, got {type(tool).__name__}"
+ )
+ function_tools.append(tool)
+ return function_tools
+
+
+def _selected_tools(
+ tools: list[FunctionTool],
+ model_settings: ModelSettings,
+) -> tuple[list[FunctionTool], bool]:
+ choice = model_settings.tool_choice
+ if choice in (None, "auto"):
+ return tools, True
+ if choice == "required":
+ return tools, False
+ if choice == "none":
+ return [], True
+ if isinstance(choice, str):
+ selected = [tool for tool in tools if tool.name == choice]
+ if not selected:
+ raise ModelBehaviorError(f"Unknown required tool: {choice}")
+ return selected, False
+ raise ModelBehaviorError(f"Unsupported tool choice: {choice!r}")
+
+
+def _namespace_schema_defs(
+ schema: dict[str, Any],
+ namespace: str,
+) -> tuple[dict[str, Any], dict[str, Any]]:
+ """Move local definitions to collision-free root names."""
+ normalized = deepcopy(schema)
+ raw_defs = normalized.pop("$defs", None)
+ if raw_defs is None:
+ return normalized, {}
+ if not isinstance(raw_defs, dict):
+ raise ModelBehaviorError("JSON Schema $defs must be an object")
+
+ names = {name: f"{namespace}__{name}" for name in raw_defs}
+ refs = {f"#/$defs/{name}": f"#/$defs/{names[name]}" for name in raw_defs}
+
+ def rewrite(value: Any) -> Any:
+ if isinstance(value, dict):
+ return {
+ key: refs.get(item, item)
+ if key == "$ref" and isinstance(item, str)
+ else rewrite(item)
+ for key, item in value.items()
+ }
+ if isinstance(value, list):
+ return [rewrite(item) for item in value]
+ return value
+
+ return rewrite(normalized), {
+ names[name]: rewrite(definition) for name, definition in raw_defs.items()
+ }
+
+
+def _turn_schema(
+ tools: list[FunctionTool],
+ output_schema: AgentOutputSchemaBase | None,
+ *,
+ allow_final: bool,
+) -> dict[str, Any]:
+ branches: list[dict[str, Any]] = []
+ root_defs: dict[str, Any] = {}
+ for index, tool in enumerate(tools):
+ arguments, definitions = _namespace_schema_defs(
+ tool.params_json_schema,
+ f"tool_{index}",
+ )
+ root_defs.update(definitions)
+ branches.append(
+ {
+ "type": "object",
+ "properties": {
+ "kind": {"type": "string", "const": "tool_call"},
+ "name": {"type": "string", "const": tool.name},
+ "arguments": arguments,
+ },
+ "required": ["kind", "name", "arguments"],
+ "additionalProperties": False,
+ }
+ )
+
+ if allow_final:
+ final_schema: dict[str, Any]
+ if output_schema is None or output_schema.is_plain_text():
+ final_schema = {"type": "string"}
+ else:
+ final_schema, definitions = _namespace_schema_defs(
+ output_schema.json_schema(),
+ "output",
+ )
+ root_defs.update(definitions)
+ branches.append(
+ {
+ "type": "object",
+ "properties": {
+ "kind": {"type": "string", "const": "final"},
+ "output": final_schema,
+ },
+ "required": ["kind", "output"],
+ "additionalProperties": False,
+ }
+ )
+
+ if not branches:
+ raise ModelBehaviorError(
+ "The turn permits neither a tool call nor a final response"
+ )
+ schema = branches[0] if len(branches) == 1 else {"oneOf": branches}
+ if root_defs:
+ schema["$defs"] = root_defs
+ return schema
+
+
+def _tool_catalog(tools: list[FunctionTool]) -> str:
+ if not tools:
+ return "(none)"
+ return "\n\n".join(
+ f"{tool.name}: {tool.description}\n"
+ f"arguments JSON Schema: {json.dumps(tool.params_json_schema, ensure_ascii=False)}"
+ for tool in tools
+ )
+
+
+def _prompt_for_turn(
+ system_instructions: str | None,
+ input_items: str | list[TResponseInputItem],
+ tools: list[FunctionTool],
+ *,
+ allow_final: bool,
+) -> str:
+ protocol = (
+ "Return one JSON object. To call a tool, set kind to tool_call, select exactly "
+ "one listed tool, and supply its arguments. To finish, set kind to final and "
+ "put the answer in output. Do not invent tool results."
+ if allow_final
+ else "Return one JSON object calling exactly one listed tool. Do not finish yet."
+ )
+ sections = [
+ f"SYSTEM\n{system_instructions}" if system_instructions else "",
+ f"TOOLS\n{_tool_catalog(tools)}",
+ f"TURN PROTOCOL\n{protocol}",
+ f"CONVERSATION\n{_conversation(input_items)}",
+ ]
+ return "\n\n".join(section for section in sections if section)
+
+
+def _usage(result: dict[str, Any]) -> Usage:
+ raw = result.get("usage")
+ row = raw if isinstance(raw, dict) else {}
+
+ def integer(key: str) -> int:
+ value = row.get(key)
+ return value if isinstance(value, int) and not isinstance(value, bool) else 0
+
+ return Usage(
+ requests=1,
+ input_tokens=integer("prompt_tokens"),
+ output_tokens=integer("completion_tokens"),
+ total_tokens=integer("total_tokens"),
+ )
+
+
+def _request_id(result: dict[str, Any]) -> str | None:
+ request = result.get("request")
+ if not isinstance(request, dict):
+ return None
+ value = request.get("id")
+ return value if isinstance(value, str) else None
+
+
+def _message(text: str, request_id: str | None) -> ResponseOutputMessage:
+ return ResponseOutputMessage(
+ id=request_id or f"sie-message-{uuid4().hex}",
+ content=[
+ ResponseOutputText(
+ text=text,
+ type="output_text",
+ annotations=[],
+ logprobs=[],
+ )
+ ],
+ role="assistant",
+ status="completed",
+ type="message",
+ )
+
+
+class SIENativeModel(Model):
+ """Execute one Agents SDK model turn through SIEAsyncClient.generate."""
+
+ def __init__(
+ self,
+ model: str,
+ client: SIEAsyncClient,
+ *,
+ provision_timeout_s: float,
+ ) -> None:
+ self.model = model
+ self._client = client
+ self._provision_timeout_s = provision_timeout_s
+
+ async def get_response(
+ self,
+ system_instructions: str | None,
+ input: str | list[TResponseInputItem],
+ model_settings: ModelSettings,
+ tools: list[Tool],
+ output_schema: AgentOutputSchemaBase | None,
+ handoffs: list[Handoff],
+ tracing: ModelTracing,
+ *,
+ previous_response_id: str | None,
+ conversation_id: str | None,
+ prompt: Any,
+ ) -> ModelResponse:
+ del tracing, previous_response_id, conversation_id
+ if handoffs:
+ raise ModelBehaviorError(
+ "SIE native agent adapter does not support handoffs"
+ )
+ if prompt is not None:
+ raise ModelBehaviorError(
+ "SIE native agent adapter does not support stored prompts"
+ )
+
+ selected_tools, allow_final = _selected_tools(
+ _function_tools(tools),
+ model_settings,
+ )
+ schema = _turn_schema(selected_tools, output_schema, allow_final=allow_final)
+ result = await self._client.generate(
+ self.model,
+ _prompt_for_turn(
+ system_instructions,
+ input,
+ selected_tools,
+ allow_final=allow_final,
+ ),
+ max_new_tokens=model_settings.max_tokens or _DEFAULT_MAX_NEW_TOKENS,
+ temperature=model_settings.temperature,
+ top_p=model_settings.top_p,
+ frequency_penalty=model_settings.frequency_penalty,
+ presence_penalty=model_settings.presence_penalty,
+ grammar={
+ "json_schema": schema,
+ "label": "agent_turn",
+ "strict": True,
+ },
+ wait_for_capacity=True,
+ provision_timeout_s=self._provision_timeout_s,
+ )
+ text = result.get("text")
+ if not isinstance(text, str):
+ raise ModelBehaviorError("SIE native generate returned no text")
+ try:
+ turn = json.loads(text)
+ except json.JSONDecodeError as exc:
+ raise ModelBehaviorError(
+ "SIE native generate returned invalid agent JSON"
+ ) from exc
+ if not isinstance(turn, dict):
+ raise ModelBehaviorError("SIE native agent turn must be a JSON object")
+
+ request_id = _request_id(result)
+ output: list[TResponseOutputItem]
+ if turn.get("kind") == "tool_call":
+ name = turn.get("name")
+ arguments = turn.get("arguments")
+ if not isinstance(name, str) or name not in {
+ tool.name for tool in selected_tools
+ }:
+ raise ModelBehaviorError(
+ f"SIE native agent selected unknown tool: {name!r}"
+ )
+ if not isinstance(arguments, dict):
+ raise ModelBehaviorError("SIE native tool arguments must be an object")
+ call_id = f"sie-call-{uuid4().hex}"
+ output = [
+ ResponseFunctionToolCall(
+ id=request_id or call_id,
+ call_id=call_id,
+ arguments=json.dumps(
+ arguments, ensure_ascii=False, separators=(",", ":")
+ ),
+ name=name,
+ type="function_call",
+ )
+ ]
+ elif turn.get("kind") == "final" and allow_final:
+ final = turn.get("output")
+ if output_schema is None or output_schema.is_plain_text():
+ if not isinstance(final, str):
+ raise ModelBehaviorError("SIE native final text must be a string")
+ final_text = final
+ else:
+ final_text = json.dumps(
+ final, ensure_ascii=False, separators=(",", ":")
+ )
+ output = [_message(final_text, request_id)]
+ else:
+ raise ModelBehaviorError(
+ f"Invalid SIE native agent turn kind: {turn.get('kind')!r}"
+ )
+
+ return ModelResponse(
+ output=output,
+ usage=_usage(result),
+ response_id=None,
+ request_id=request_id,
+ )
+
+ async def stream_response(
+ self,
+ system_instructions: str | None,
+ input: str | list[TResponseInputItem],
+ model_settings: ModelSettings,
+ tools: list[Tool],
+ output_schema: AgentOutputSchemaBase | None,
+ handoffs: list[Handoff],
+ tracing: ModelTracing,
+ *,
+ previous_response_id: str | None,
+ conversation_id: str | None,
+ prompt: Any,
+ ) -> AsyncIterator[Any]:
+ del (
+ system_instructions,
+ input,
+ model_settings,
+ tools,
+ output_schema,
+ handoffs,
+ tracing,
+ previous_response_id,
+ conversation_id,
+ prompt,
+ )
+ raise ModelBehaviorError(
+ "Streaming is not supported by the SIE native agent adapter"
+ )
+ # Unreachable: preserve async-generator behavior so this error is
+ # raised on first iteration rather than when the method is called.
+ if False:
+ yield None
diff --git a/examples/contract-review-agent/contract_review_agent/runtime.py b/examples/contract-review-agent/contract_review_agent/runtime.py
index 68fbdd7c8..102060621 100644
--- a/examples/contract-review-agent/contract_review_agent/runtime.py
+++ b/examples/contract-review-agent/contract_review_agent/runtime.py
@@ -1,76 +1,47 @@
-"""Wire the OpenAI Agents SDK to a SIE cluster.
-
-The one idea that makes this whole example work: the Agents SDK speaks the
-OpenAI wire protocol, and SIE serves an OpenAI-compatible ``/v1`` endpoint. So
-we hand every agent an ``AsyncOpenAI`` client whose ``base_url`` points at SIE,
-force the *chat completions* API (SIE doesn't implement the newer Responses
-API), and disable tracing (so nothing is shipped to api.openai.com). After that,
-each agent just names the SIE catalog model it should run on.
-"""
+"""Native SIE runtime helpers for the contract-review agent."""
from __future__ import annotations
import asyncio
+import base64
import time
from dataclasses import dataclass, field
-from typing import Any, Awaitable, Callable, TypeVar
-
-from agents import (
- OpenAIChatCompletionsModel,
- set_default_openai_api,
- set_default_openai_client,
- set_tracing_disabled,
-)
-from openai import APIConnectionError, APIStatusError, AsyncOpenAI
-from sie_sdk import SIEAsyncClient
-
-T = TypeVar("T")
-
+from typing import Any
-def make_openai_client(
- cluster_url: str, api_key: str, *, max_retries: int = 2, timeout_s: float | None = None
-) -> AsyncOpenAI:
- """An OpenAI client pointed at SIE's OpenAI-compatible endpoint.
+from sie_sdk import SIEAsyncClient
- ``max_retries`` matters because Agents-SDK-driven calls can't be wrapped in our
- own provisioning retry — a client with generous retries survives a model being
- evicted and reloaded mid-run on a busy cluster.
- """
- base_url = cluster_url.rstrip("/") + "/v1"
- kwargs: dict[str, Any] = {"base_url": base_url, "api_key": api_key or "not-needed", "max_retries": max_retries}
- if timeout_s is not None:
- kwargs["timeout"] = timeout_s
- # SIE ignores the key locally; a managed cluster reads it as a Bearer token.
- return AsyncOpenAI(**kwargs)
+from .native_model import SIENativeModel
-def configure_runtime(client: AsyncOpenAI) -> None:
- """Point the whole Agents SDK at SIE instead of api.openai.com."""
- set_default_openai_client(client) # every agent talks to SIE...
- set_default_openai_api("chat_completions") # ...over chat completions, not Responses...
- set_tracing_disabled(True) # ...and we never phone home with traces.
+def provision_timeout_from(cfg: dict[str, Any]) -> float:
+ """Return the configured capacity-wait timeout."""
+ return float(cfg["cluster"].get("provision_timeout_s", 900))
-def model_for(model_id: str, client: AsyncOpenAI) -> OpenAIChatCompletionsModel:
- """Bind one SIE catalog model id to an Agents-SDK model an Agent can use."""
- return OpenAIChatCompletionsModel(model=model_id, openai_client=client)
+def model_for(
+ model_id: str,
+ client: SIEAsyncClient,
+ *,
+ provision_timeout_s: float,
+) -> SIENativeModel:
+ """Bind one SIE catalog model to the Agents SDK native model interface."""
+ return SIENativeModel(
+ model_id,
+ client,
+ provision_timeout_s=provision_timeout_s,
+ )
@dataclass
class GenResult:
- """One generation's text plus the metrics we log for observability.
-
- ``provision_s`` is time spent waiting for the model to be ready — the cold
- start, measured as the failed 503/504 retries before the request that
- actually ran. ``gen_s`` is the duration of that successful (warm) call, so
- throughput is measured warm instead of being blended with the cold start.
- """
+ """One native generation result plus observability fields."""
text: str
provision_s: float
gen_s: float
prompt_tokens: int | None = None
completion_tokens: int | None = None
+ request_id: str | None = None
@property
def latency_s(self) -> float:
@@ -88,8 +59,8 @@ class LedgerEntry:
step: str
model: str
sie_fn: str
- warmup_s: float = 0.0 # cold-start / provisioning wait (0 if warm or N/A)
- latency_s: float = 0.0 # the call itself (warm), excluding warm-up
+ warmup_s: float = 0.0
+ latency_s: float = 0.0
sent: str = ""
got: str = ""
throughput: str = ""
@@ -97,12 +68,7 @@ class LedgerEntry:
@dataclass
class Ledger:
- """Per-call observability for one agent run.
-
- Every tool, guardrail, and sub-agent records the model it used plus latency,
- how much data it sent, and throughput — so a normal run prints not just
- *which* models the cluster fanned the request across, but how each performed.
- """
+ """Per-call observability for one agent run."""
entries: list[LedgerEntry] = field(default_factory=list)
@@ -118,64 +84,107 @@ class Ledger:
got: str = "",
throughput: str = "",
) -> None:
- self.entries.append(LedgerEntry(step, model, sie_fn, warmup_s, latency_s, sent, got, throughput))
+ self.entries.append(
+ LedgerEntry(
+ step,
+ model,
+ sie_fn,
+ warmup_s,
+ latency_s,
+ sent,
+ got,
+ throughput,
+ )
+ )
@dataclass
class AppContext:
- """Shared dependencies handed to every tool via ``RunContextWrapper``."""
+ """Shared dependencies handed to every tool through the Agents SDK."""
sie: SIEAsyncClient
- oai: AsyncOpenAI
cfg: dict[str, Any]
ledger: Ledger
- contract_text: str # the contract body we have on file (template/clauses)
- scan_path: str # the executed signature page, delivered as a scan image
- db_path: str # the SQLite obligations database the SQL tool queries
- reasoning_agent: Any = None # the risk-analyst sub-agent (set during build)
- # Cache the clause embeddings in a shared mutable dict, not a reassigned
- # attribute: the Agents SDK hands each tool call a shallow copy of the context,
- # so mutating a shared object persists but reassigning `app.x = ...` does not.
+ contract_text: str
+ scan_path: str
+ db_path: str
+ reasoning_agent: Any = None
clause_cache: dict[str, Any] = field(default_factory=dict)
@property
def provision_timeout_s(self) -> float:
- return float(self.cfg["cluster"].get("provision_timeout_s", 900))
+ return provision_timeout_from(self.cfg)
+
+def _data_uri_image(value: str) -> tuple[bytes, str]:
+ if not value.startswith("data:image/") or ";base64," not in value:
+ raise ValueError("Native generation accepts inline image data, not remote URLs")
+ header, encoded = value.split(",", 1)
+ image_format = header.removeprefix("data:image/").split(";", 1)[0]
+ return base64.b64decode(encoded, validate=True), image_format
-async def with_provisioning_retry(
- make_call: Callable[[], Awaitable[T]], deadline: float
-) -> tuple[T, float, float]:
- """Retry an OpenAI-client call while SIE scales a model from zero.
- A cold cluster answers 503/504/202 until the model is resident; we retry until
- ``deadline`` (monotonic seconds) before giving up. Returns
- ``(result, provision_s, call_s)``: ``provision_s`` is the time spent in failed
- retries before the attempt that succeeded (the cold start), ``call_s`` is the
- duration of that successful call — so callers can report warm-up and warm
- throughput separately.
+def _instruction_prompt_and_images(
+ messages: list[dict[str, Any]],
+) -> tuple[str, list[dict[str, Any]]]:
+ """Build the role-labelled raw prompt accepted by native generate.
+
+ Native text-only generation intentionally preserves raw-prompt execution.
+ Image-bearing requests are rendered as one user turn by the server-side
+ model chat template, as required by the native API contract.
"""
- start = time.monotonic()
- while True:
- attempt_start = time.monotonic()
- try:
- result = await make_call()
- return result, attempt_start - start, time.monotonic() - attempt_start
- except APIConnectionError:
- if time.monotonic() < deadline:
- await asyncio.sleep(5)
- continue
- raise
- except APIStatusError as exc:
- # 202 accepted (warming), 502/503 unavailable, 504 first_chunk_timeout —
- # all transient while SIE scales a model from zero.
- if exc.status_code in (202, 502, 503, 504) and time.monotonic() < deadline:
- await asyncio.sleep(5)
- continue
- raise
-
-
-async def chat_once(
+ sections: list[str] = []
+ images: list[dict[str, Any]] = []
+ for message in messages:
+ role = str(message.get("role", "user"))
+ content = message.get("content", "")
+ texts: list[str] = []
+ if isinstance(content, str):
+ texts.append(content)
+ elif isinstance(content, list):
+ for part in content:
+ if not isinstance(part, dict):
+ continue
+ if part.get("type") == "text" and isinstance(part.get("text"), str):
+ texts.append(part["text"])
+ elif part.get("type") == "image_url":
+ image_url = part.get("image_url")
+ url = image_url.get("url") if isinstance(image_url, dict) else None
+ if not isinstance(url, str):
+ raise ValueError("Image content part is missing image_url.url")
+ data, image_format = _data_uri_image(url)
+ images.append({"data": data, "format": image_format})
+ if texts:
+ sections.append(f"{role.upper()}\n" + "\n".join(texts))
+ if not sections:
+ raise ValueError("Generation messages contain no text")
+ return "\n\n".join(sections), images
+
+
+def _generation_result(result: dict[str, Any], elapsed_s: float) -> GenResult:
+ usage = result.get("usage")
+ usage_row = usage if isinstance(usage, dict) else {}
+ request = result.get("request")
+ request_row = request if isinstance(request, dict) else {}
+ text = result.get("text")
+ if not isinstance(text, str):
+ raise TypeError("SIE native generate returned no text")
+ prompt_tokens = usage_row.get("prompt_tokens")
+ completion_tokens = usage_row.get("completion_tokens")
+ request_id = request_row.get("id")
+ return GenResult(
+ text=text,
+ provision_s=0.0,
+ gen_s=elapsed_s,
+ prompt_tokens=prompt_tokens if isinstance(prompt_tokens, int) else None,
+ completion_tokens=(
+ completion_tokens if isinstance(completion_tokens, int) else None
+ ),
+ request_id=request_id if isinstance(request_id, str) else None,
+ )
+
+
+async def instruct_once(
app: AppContext,
model: str,
messages: list[dict[str, Any]],
@@ -185,29 +194,30 @@ async def chat_once(
timeout_s: float | None = None,
**extra: Any,
) -> GenResult:
- """One OpenAI-compatible chat completion against SIE, with cold-start retry.
-
- ``timeout_s`` overrides how long to keep retrying a provisioning model (the
- guardrail uses a short budget so it fails open fast rather than blocking).
- """
- deadline = time.monotonic() + (timeout_s if timeout_s is not None else app.provision_timeout_s)
- resp, provision_s, gen_s = await with_provisioning_retry(
- lambda: app.oai.chat.completions.create(
- model=model, messages=messages, max_tokens=max_tokens, temperature=temperature, **extra
+ """Run a role-labelled instruction through native generate."""
+ prompt, images = _instruction_prompt_and_images(messages)
+ started = time.monotonic()
+ call = app.sie.generate(
+ model,
+ prompt,
+ max_new_tokens=max_tokens,
+ images=images or None,
+ temperature=temperature,
+ wait_for_capacity=True,
+ provision_timeout_s=(
+ timeout_s if timeout_s is not None else app.provision_timeout_s
),
- deadline,
+ **extra,
)
- usage = resp.usage
- return GenResult(
- text=resp.choices[0].message.content or "",
- provision_s=provision_s,
- gen_s=gen_s,
- prompt_tokens=getattr(usage, "prompt_tokens", None) if usage else None,
- completion_tokens=getattr(usage, "completion_tokens", None) if usage else None,
+ result = (
+ await asyncio.wait_for(call, timeout=timeout_s)
+ if timeout_s is not None
+ else await call
)
+ return _generation_result(result, time.monotonic() - started)
-async def complete_once(
+async def prompt_once(
app: AppContext,
model: str,
prompt: str,
@@ -216,20 +226,15 @@ async def complete_once(
temperature: float = 0.0,
stop: list[str] | None = None,
) -> GenResult:
- """One OpenAI-compatible *text completion* against SIE (for completion-only
- models like sqlcoder that expect a raw prompt, not a chat transcript)."""
- deadline = time.monotonic() + app.provision_timeout_s
- resp, provision_s, gen_s = await with_provisioning_retry(
- lambda: app.oai.completions.create(
- model=model, prompt=prompt, max_tokens=max_tokens, temperature=temperature, stop=stop
- ),
- deadline,
- )
- usage = resp.usage
- return GenResult(
- text=resp.choices[0].text or "",
- provision_s=provision_s,
- gen_s=gen_s,
- prompt_tokens=getattr(usage, "prompt_tokens", None) if usage else None,
- completion_tokens=getattr(usage, "completion_tokens", None) if usage else None,
+ """Run a raw specialist prompt through the native generate primitive."""
+ started = time.monotonic()
+ result = await app.sie.generate(
+ model,
+ prompt,
+ max_new_tokens=max_tokens,
+ temperature=temperature,
+ stop=stop,
+ wait_for_capacity=True,
+ provision_timeout_s=app.provision_timeout_s,
)
+ return _generation_result(result, time.monotonic() - started)
diff --git a/examples/contract-review-agent/contract_review_agent/tools.py b/examples/contract-review-agent/contract_review_agent/tools.py
index 75b5ee232..66b93f098 100644
--- a/examples/contract-review-agent/contract_review_agent/tools.py
+++ b/examples/contract-review-agent/contract_review_agent/tools.py
@@ -19,7 +19,7 @@ from agents import RunContextWrapper, Runner, function_tool
from sie_sdk import Item
from .data.make_sample import SCHEMA_DDL, TODAY
-from .runtime import AppContext, GenResult, chat_once, complete_once
+from .runtime import AppContext, GenResult, instruct_once, prompt_once
def _tok(n: int | None) -> str:
@@ -62,7 +62,9 @@ def _split_clauses(text: str, target: int = 900) -> list[str]:
return out
-async def _clause_index(app: AppContext, embed_model: str) -> tuple[list[str], np.ndarray]:
+async def _clause_index(
+ app: AppContext, embed_model: str
+) -> tuple[list[str], np.ndarray]:
"""Embed the contract's clauses once and cache (clauses, matrix)."""
if "matrix" in app.clause_cache:
return app.clause_cache["clauses"], app.clause_cache["matrix"]
@@ -78,8 +80,12 @@ async def _clause_index(app: AppContext, embed_model: str) -> tuple[list[str], n
dt = time.monotonic() - t0
matrix = np.vstack([np.asarray(r["dense"], dtype=np.float32) for r in results])
app.ledger.record(
- "Embed clauses (index)", embed_model, "encode",
- latency_s=dt, sent=f"{len(clauses)} clauses", got=f"{matrix.shape[1]}-dim",
+ "Embed clauses (index)",
+ embed_model,
+ "encode",
+ latency_s=dt,
+ sent=f"{len(clauses)} clauses",
+ got=f"{matrix.shape[1]}-dim",
throughput=f"{len(clauses) / dt:.1f} items/s" if dt > 0 else "—",
)
app.clause_cache["clauses"] = clauses
@@ -96,18 +102,29 @@ async def classify_document(ctx: RunContextWrapper[AppContext]) -> str:
one-line reason. A fast first-pass triage over the loaded contract."""
app = ctx.context
model = app.cfg["models"]["triage"]
- res = await chat_once(
- app, model,
+ res = await instruct_once(
+ app,
+ model,
[
- {"role": "system", "content": "You label legal documents. Reply with the type only "
- "(MSA, NDA, SOW, or Other) followed by a short reason."},
+ {
+ "role": "system",
+ "content": "You label legal documents. Reply with the type only "
+ "(MSA, NDA, SOW, or Other) followed by a short reason.",
+ },
{"role": "user", "content": app.contract_text[:1500]},
],
max_tokens=60,
)
- app.ledger.record("Triage: classify document", model, "chat",
- warmup_s=res.provision_s, latency_s=res.gen_s,
- sent=_tok(res.prompt_tokens), got=_tok(res.completion_tokens), throughput=_tps(res))
+ app.ledger.record(
+ "Triage: classify document",
+ model,
+ "generate",
+ warmup_s=res.provision_s,
+ latency_s=res.gen_s,
+ sent=_tok(res.prompt_tokens),
+ got=_tok(res.completion_tokens),
+ throughput=_tps(res),
+ )
return res.text.strip()
@@ -119,21 +136,37 @@ async def read_signature_page(ctx: RunContextWrapper[AppContext], question: str)
app = ctx.context
model = app.cfg["models"]["vision"]
data = base64.b64encode(Path(app.scan_path).read_bytes()).decode()
- res = await chat_once(
- app, model,
+ res = await instruct_once(
+ app,
+ model,
[
- {"role": "system", "content": "You are a meticulous contracts paralegal. Answer only from what is visible in the image."},
- {"role": "user", "content": [
- {"type": "text", "text": question},
- {"type": "image_url", "image_url": {"url": f"data:image/png;base64,{data}"}},
- ]},
+ {
+ "role": "system",
+ "content": "You are a meticulous contracts paralegal. Answer only from what is visible in the image.",
+ },
+ {
+ "role": "user",
+ "content": [
+ {"type": "text", "text": question},
+ {
+ "type": "image_url",
+ "image_url": {"url": f"data:image/png;base64,{data}"},
+ },
+ ],
+ },
],
max_tokens=220,
)
- app.ledger.record("Read signature page (vision)", model, "chat + image",
- warmup_s=res.provision_s, latency_s=res.gen_s,
- sent=f"{Path(app.scan_path).stat().st_size // 1024} KB img + {_tok(res.prompt_tokens)}",
- got=_tok(res.completion_tokens), throughput=_tps(res))
+ app.ledger.record(
+ "Read signature page (vision)",
+ model,
+ "generate + image",
+ warmup_s=res.provision_s,
+ latency_s=res.gen_s,
+ sent=f"{Path(app.scan_path).stat().st_size // 1024} KB img + {_tok(res.prompt_tokens)}",
+ got=_tok(res.completion_tokens),
+ throughput=_tps(res),
+ )
return res.text.strip()
@@ -155,9 +188,15 @@ async def analyze_clause_risks(ctx: RunContextWrapper[AppContext], clauses: str)
dt = time.monotonic() - t0
usage = getattr(getattr(result, "context_wrapper", None), "usage", None)
out_tok = getattr(usage, "output_tokens", None)
- app.ledger.record("Clause-risk analysis (specialist sub-agent)", model, "chat",
- latency_s=dt, sent=_tok(getattr(usage, "input_tokens", None)), got=_tok(out_tok),
- throughput=f"{out_tok / dt:.0f} tok/s" if out_tok and dt > 0 else "—")
+ app.ledger.record(
+ "Clause-risk analysis (specialist sub-agent)",
+ model,
+ "generate",
+ latency_s=dt,
+ sent=_tok(getattr(usage, "input_tokens", None)),
+ got=_tok(out_tok),
+ throughput=f"{out_tok / dt:.0f} tok/s" if out_tok and dt > 0 else "—",
+ )
return str(result.final_output)
@@ -173,14 +212,23 @@ async def ocr_signature_page(ctx: RunContextWrapper[AppContext]) -> str:
model = app.cfg["models"]["ocr"]
t0 = time.monotonic()
res = await app.sie.extract(
- model, Item(images=[app.scan_path]), wait_for_capacity=True, provision_timeout_s=app.provision_timeout_s
+ model,
+ Item(images=[app.scan_path]),
+ wait_for_capacity=True,
+ provision_timeout_s=app.provision_timeout_s,
)
dt = time.monotonic() - t0
entities = res.get("entities") or []
markdown = entities[0]["text"] if entities else "(no text recognized)"
- app.ledger.record("OCR signature page → markdown", model, "extract",
- latency_s=dt, sent=f"{Path(app.scan_path).stat().st_size // 1024} KB img",
- got=f"{len(markdown):,} chars md", throughput=f"{len(markdown) / dt:.0f} chars/s" if dt > 0 else "—")
+ app.ledger.record(
+ "OCR signature page → markdown",
+ model,
+ "extract",
+ latency_s=dt,
+ sent=f"{Path(app.scan_path).stat().st_size // 1024} KB img",
+ got=f"{len(markdown):,} chars md",
+ throughput=f"{len(markdown) / dt:.0f} chars/s" if dt > 0 else "—",
+ )
return markdown
@@ -190,19 +238,38 @@ async def extract_entities(ctx: RunContextWrapper[AppContext]) -> str:
law, notice periods) from the loaded contract using zero-shot NER."""
app = ctx.context
model = app.cfg["models"]["entities"]
- labels = ["party", "effective date", "renewal date", "termination notice period",
- "monetary amount", "governing law", "term length"]
+ labels = [
+ "party",
+ "effective date",
+ "renewal date",
+ "termination notice period",
+ "monetary amount",
+ "governing law",
+ "term length",
+ ]
payload = app.contract_text[:6000]
t0 = time.monotonic()
res = await app.sie.extract(
- model, Item(text=payload), labels=labels, wait_for_capacity=True, provision_timeout_s=app.provision_timeout_s
+ model,
+ Item(text=payload),
+ labels=labels,
+ wait_for_capacity=True,
+ provision_timeout_s=app.provision_timeout_s,
)
dt = time.monotonic() - t0
entities = res.get("entities") or []
- app.ledger.record("Extract entities (zero-shot NER)", model, "extract",
- latency_s=dt, sent=f"{len(payload):,} chars", got=f"{len(entities)} entities",
- throughput=f"{len(entities) / dt:.1f} ent/s" if dt > 0 else "—")
- lines = [f"- {e['label']}: {e['text']} (score {e.get('score', 0):.2f})" for e in entities]
+ app.ledger.record(
+ "Extract entities (zero-shot NER)",
+ model,
+ "extract",
+ latency_s=dt,
+ sent=f"{len(payload):,} chars",
+ got=f"{len(entities)} entities",
+ throughput=f"{len(entities) / dt:.1f} ent/s" if dt > 0 else "—",
+ )
+ lines = [
+ f"- {e['label']}: {e['text']} (score {e.get('score', 0):.2f})" for e in entities
+ ]
return "\n".join(lines) if lines else "(no entities found)"
@@ -219,8 +286,12 @@ async def search_clauses(ctx: RunContextWrapper[AppContext], query: str) -> str:
clauses, matrix = await _clause_index(app, embed_model)
q = await app.sie.encode(
- embed_model, Item(text=query), output_types=["dense"], is_query=True,
- wait_for_capacity=True, provision_timeout_s=app.provision_timeout_s,
+ embed_model,
+ Item(text=query),
+ output_types=["dense"],
+ is_query=True,
+ wait_for_capacity=True,
+ provision_timeout_s=app.provision_timeout_s,
)
qv = np.asarray(q["dense"], dtype=np.float32)
denom = np.linalg.norm(matrix, axis=1) * (np.linalg.norm(qv) + 1e-9) + 1e-9
@@ -230,20 +301,29 @@ async def search_clauses(ctx: RunContextWrapper[AppContext], query: str) -> str:
t0 = time.monotonic()
scored = await app.sie.score(
- rerank_model, Item(text=query), [Item(id=str(i), text=c) for i, c in enumerate(candidates)],
- wait_for_capacity=True, provision_timeout_s=app.provision_timeout_s,
+ rerank_model,
+ Item(text=query),
+ [Item(id=str(i), text=c) for i, c in enumerate(candidates)],
+ wait_for_capacity=True,
+ provision_timeout_s=app.provision_timeout_s,
)
dt = time.monotonic() - t0
- app.ledger.record("Rerank candidate clauses", rerank_model, "score",
- latency_s=dt, sent=f"{len(candidates)} docs", got=f"top {k_res}",
- throughput=f"{len(candidates) / dt:.1f} docs/s" if dt > 0 else "—")
+ app.ledger.record(
+ "Rerank candidate clauses",
+ rerank_model,
+ "score",
+ latency_s=dt,
+ sent=f"{len(candidates)} docs",
+ got=f"top {k_res}",
+ throughput=f"{len(candidates) / dt:.1f} docs/s" if dt > 0 else "—",
+ )
ranked = sorted(scored["scores"], key=lambda s: s["rank"])[:k_res]
top = [candidates[int(s["item_id"])] for s in ranked]
return "\n\n---\n\n".join(top) if top else "(no relevant clauses found)"
# ──────────────────────────────────────────────────────────────────────────
-# Text-to-SQL tool (chat by default; completion-template mode for specialists)
+# Text-to-SQL tool (role-labelled instruction or raw specialist prompt)
# ──────────────────────────────────────────────────────────────────────────
_SQLCODER_PROMPT = """### Task
Generate a SQLite SQL query to answer [QUESTION]{question}[/QUESTION]
@@ -298,32 +378,60 @@ def _run_select(db_path: str, sql: str) -> tuple[list[str], list[tuple]]:
@function_tool
-async def query_obligations_db(ctx: RunContextWrapper[AppContext], question: str) -> str:
+async def query_obligations_db(
+ ctx: RunContextWrapper[AppContext], question: str
+) -> str:
"""Answer a question about tracked contract obligations and deadlines by
generating SQL (a text-to-SQL specialist model) and running it against the
obligations database. Good for 'which obligations are due soon?' or 'total
outstanding payments by counterparty'."""
app = ctx.context
model = app.cfg["models"]["sql"]
- # Chat/instruct models take a chat prompt; completion-only specialists (e.g.
- # defog/sqlcoder-7b-2) use their native template over /v1/completions. Default
- # is chat — set sql.mode=completions in config.yaml to use a completion model.
- mode = (app.cfg.get("sql") or {}).get("mode", "chat")
- if mode == "completions":
- prompt = _SQLCODER_PROMPT.format(question=question, schema=SCHEMA_DDL, today=TODAY)
- res = await complete_once(app, model, prompt, max_tokens=256, stop=[";", "```", "\n\n\n"])
- else:
- res = await chat_once(
- app, model,
+ mode = (app.cfg.get("sql") or {}).get("mode", "instruct")
+ if mode == "prompt":
+ prompt = _SQLCODER_PROMPT.format(
+ question=question,
+ schema=SCHEMA_DDL,
+ today=TODAY,
+ )
+ res = await prompt_once(
+ app,
+ model,
+ prompt,
+ max_tokens=256,
+ stop=[";", "```", "\n\n\n"],
+ )
+ elif mode == "instruct":
+ res = await instruct_once(
+ app,
+ model,
[
- {"role": "system", "content": _SQL_CHAT_SYSTEM.format(today=TODAY)},
- {"role": "user", "content": _SQL_CHAT_USER.format(schema=SCHEMA_DDL, question=question)},
+ {
+ "role": "system",
+ "content": _SQL_CHAT_SYSTEM.format(today=TODAY),
+ },
+ {
+ "role": "user",
+ "content": _SQL_CHAT_USER.format(
+ schema=SCHEMA_DDL,
+ question=question,
+ ),
+ },
],
max_tokens=256,
)
- app.ledger.record("Text-to-SQL", model, mode,
- warmup_s=res.provision_s, latency_s=res.gen_s,
- sent=_tok(res.prompt_tokens), got=_tok(res.completion_tokens), throughput=_tps(res))
+ else:
+ raise ValueError("sql.mode must be 'instruct' or 'prompt'")
+ app.ledger.record(
+ "Text-to-SQL",
+ model,
+ "generate",
+ warmup_s=res.provision_s,
+ latency_s=res.gen_s,
+ sent=_tok(res.prompt_tokens),
+ got=_tok(res.completion_tokens),
+ throughput=_tps(res),
+ )
sql = _clean_sql(res.text)
if not sql.lower().startswith("select"):
@@ -335,7 +443,9 @@ async def query_obligations_db(ctx: RunContextWrapper[AppContext], question: str
if not rows:
return f"Query ran but returned no rows.\nSQL: {sql}"
header = " | ".join(cols)
- body = "\n".join(" | ".join("" if v is None else str(v) for v in row) for row in rows)
+ body = "\n".join(
+ " | ".join("" if v is None else str(v) for v in row) for row in rows
+ )
return f"SQL: {sql}\n\n{header}\n{body}"
diff --git a/examples/contract-review-agent/pyproject.toml b/examples/contract-review-agent/pyproject.toml
index 9761bc1f2..bfe8117a2 100644
--- a/examples/contract-review-agent/pyproject.toml
+++ b/examples/contract-review-agent/pyproject.toml
@@ -9,8 +9,9 @@ dependencies = [
# unused here) which conflicts with sie-sdk's websockets<15; 0.13.x is the
# newest line compatible with the SIE SDK and has the same agent API.
"openai-agents>=0.13,<0.14",
- "openai>=1.40",
- "sie-sdk>=0.6.8",
+ # openai 2.45 adds a required usage-detail field that agents 0.13 does not populate.
+ "openai>=2.26,<2.45",
+ "sie-sdk>=0.6.24,<0.7",
"httpx>=0.27",
"numpy>=1.26",
"pydantic>=2.7",
@@ -27,9 +28,16 @@ review = "contract_review_agent.cli:main"
[dependency-groups]
dev = [
+ "pytest>=9.1.1",
+ "pytest-asyncio>=1.4.0",
"ruff>=0.11.0",
]
+[tool.pytest.ini_options]
+asyncio_mode = "strict"
+asyncio_default_fixture_loop_scope = "function"
+testpaths = ["tests"]
+
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
diff --git a/examples/contract-review-agent/tests/test_native_model.py b/examples/contract-review-agent/tests/test_native_model.py
new file mode 100644
index 000000000..d68d66692
--- /dev/null
+++ b/examples/contract-review-agent/tests/test_native_model.py
@@ -0,0 +1,400 @@
+from __future__ import annotations
+
+import asyncio
+import json
+from typing import Any
+
+import pytest
+from agents import (
+ Agent,
+ ModelBehaviorError,
+ ModelSettings,
+ ModelTracing,
+ Runner,
+ function_tool,
+ set_tracing_disabled,
+)
+from agents.tool_context import ToolContext
+from pydantic import BaseModel
+
+from contract_review_agent import tools as contract_tools
+from contract_review_agent.native_model import SIENativeModel
+from contract_review_agent.runtime import AppContext, GenResult, Ledger, instruct_once
+
+set_tracing_disabled(True)
+
+
+class FakeSIE:
+ def __init__(self, responses: list[dict[str, Any]]) -> None:
+ self.responses = responses
+ self.calls: list[dict[str, Any]] = []
+
+ async def generate(
+ self,
+ model: str,
+ prompt: str,
+ **kwargs: Any,
+ ) -> dict[str, Any]:
+ self.calls.append({"model": model, "prompt": prompt, "kwargs": kwargs})
+ return self.responses.pop(0)
+
+
+def generated(text: str, request_id: str) -> dict[str, Any]:
+ return {
+ "text": text,
+ "usage": {
+ "prompt_tokens": 11,
+ "completion_tokens": 7,
+ "total_tokens": 18,
+ },
+ "request": {"id": request_id},
+ }
+
+
+async def test_agents_runner_executes_native_tool_turn_then_finishes() -> None:
+ client = FakeSIE(
+ [
+ generated(
+ json.dumps(
+ {
+ "kind": "tool_call",
+ "name": "echo",
+ "arguments": {"value": "clause"},
+ }
+ ),
+ "request-tool",
+ ),
+ generated(
+ json.dumps(
+ {
+ "kind": "final",
+ "output": "Grounded result: CLAUSE",
+ }
+ ),
+ "request-final",
+ ),
+ ]
+ )
+
+ @function_tool
+ async def echo(value: str) -> str:
+ """Uppercase one value."""
+ return value.upper()
+
+ agent = Agent(
+ name="native-test",
+ instructions="Use the echo tool, then report its exact result.",
+ model=SIENativeModel(
+ "Qwen/Qwen3.5-4B",
+ client, # type: ignore[arg-type]
+ provision_timeout_s=30,
+ ),
+ tools=[echo],
+ )
+
+ result = await Runner.run(agent, "Process clause")
+
+ assert result.final_output == "Grounded result: CLAUSE"
+ assert len(client.calls) == 2
+ first_schema = client.calls[0]["kwargs"]["grammar"]["json_schema"]
+ assert len(first_schema["oneOf"]) == 2
+ assert first_schema["oneOf"][0]["properties"]["name"]["const"] == "echo"
+ assert "[tool echo]\nCLAUSE" in client.calls[1]["prompt"]
+ assert client.calls[1]["kwargs"]["wait_for_capacity"] is True
+
+
+class Risk(BaseModel):
+ clause: str
+ severity: str
+
+
+class Review(BaseModel):
+ recommendation: str
+ executed: bool
+ risks: list[Risk]
+
+
+async def test_agents_runner_validates_native_structured_output() -> None:
+ client = FakeSIE(
+ [
+ generated(
+ json.dumps(
+ {
+ "kind": "final",
+ "output": {
+ "recommendation": "Review renewal clause",
+ "executed": True,
+ "risks": [{"clause": "8.2", "severity": "high"}],
+ },
+ }
+ ),
+ "request-structured",
+ )
+ ]
+ )
+ agent = Agent(
+ name="structured-test",
+ instructions="Return the review.",
+ model=SIENativeModel(
+ "Qwen/Qwen3.6-27B",
+ client, # type: ignore[arg-type]
+ provision_timeout_s=30,
+ ),
+ output_type=Review,
+ )
+
+ result = await Runner.run(agent, "Review this contract")
+
+ assert result.final_output_as(Review) == Review(
+ recommendation="Review renewal clause",
+ executed=True,
+ risks=[Risk(clause="8.2", severity="high")],
+ )
+ schema = client.calls[0]["kwargs"]["grammar"]["json_schema"]
+ output = schema["properties"]["output"]
+ assert "$defs" not in output
+ assert output["properties"]["risks"]["items"]["$ref"] == ("#/$defs/output__Risk")
+ assert schema["$defs"]["output__Risk"]["properties"]["severity"]["type"] == "string"
+ assert client.calls[0]["kwargs"]["provision_timeout_s"] == 30
+
+
+async def test_instruction_helper_uses_native_multimodal_generate() -> None:
+ client = FakeSIE([generated("signed", "request-vision")])
+ app = AppContext(
+ sie=client, # type: ignore[arg-type]
+ cfg={"cluster": {"provision_timeout_s": 42}},
+ ledger=Ledger(),
+ contract_text="contract",
+ scan_path="scan.png",
+ db_path="obligations.db",
+ )
+
+ result = await instruct_once(
+ app,
+ "Qwen/Qwen3.5-4B",
+ [
+ {"role": "system", "content": "Read only the image."},
+ {
+ "role": "user",
+ "content": [
+ {"type": "text", "text": "Is it signed?"},
+ {
+ "type": "image_url",
+ "image_url": {"url": "data:image/png;base64,YQ=="},
+ },
+ ],
+ },
+ ],
+ max_tokens=64,
+ )
+
+ call = client.calls[0]
+ assert call["prompt"] == "SYSTEM\nRead only the image.\n\nUSER\nIs it signed?"
+ assert call["kwargs"]["images"] == [{"data": b"a", "format": "png"}]
+ assert call["kwargs"]["max_new_tokens"] == 64
+ assert call["kwargs"]["provision_timeout_s"] == 42
+ assert result.text == "signed"
+ assert result.request_id == "request-vision"
+
+
+async def _get_response(
+ model: SIENativeModel,
+ *,
+ tools: list[Any] | None = None,
+ handoffs: list[Any] | None = None,
+ prompt: Any = None,
+) -> Any:
+ return await model.get_response(
+ None,
+ "Process clause",
+ ModelSettings(),
+ tools or [], # type: ignore[arg-type]
+ None,
+ handoffs or [], # type: ignore[arg-type]
+ ModelTracing.DISABLED,
+ previous_response_id=None,
+ conversation_id=None,
+ prompt=prompt,
+ )
+
+
+async def test_native_model_rejects_handoffs_and_stored_prompts() -> None:
+ model = SIENativeModel(
+ "Qwen/Qwen3.5-4B",
+ FakeSIE([]), # type: ignore[arg-type]
+ provision_timeout_s=30,
+ )
+
+ with pytest.raises(ModelBehaviorError, match="does not support handoffs"):
+ await _get_response(model, handoffs=[object()])
+ with pytest.raises(ModelBehaviorError, match="does not support stored prompts"):
+ await _get_response(model, prompt=object())
+
+
+ ("response", "match"),
+ [
+ ({"text": None}, "returned no text"),
+ (generated("not-json", "request-invalid"), "invalid agent JSON"),
+ ],
+)
+async def test_native_model_rejects_invalid_response_text(
+ response: dict[str, Any],
+ match: str,
+) -> None:
+ model = SIENativeModel(
+ "Qwen/Qwen3.5-4B",
+ FakeSIE([response]), # type: ignore[arg-type]
+ provision_timeout_s=30,
+ )
+
+ with pytest.raises(ModelBehaviorError, match=match):
+ await _get_response(model)
+
+
+ ("turn", "match"),
+ [
+ (
+ {"kind": "tool_call", "name": "unknown", "arguments": {}},
+ "selected unknown tool",
+ ),
+ (
+ {"kind": "tool_call", "name": "echo", "arguments": []},
+ "tool arguments must be an object",
+ ),
+ ],
+)
+async def test_native_model_rejects_invalid_tool_calls(
+ turn: dict[str, Any],
+ match: str,
+) -> None:
+ @function_tool
+ async def echo(value: str) -> str:
+ """Return one value."""
+ return value
+
+ model = SIENativeModel(
+ "Qwen/Qwen3.5-4B",
+ FakeSIE([generated(json.dumps(turn), "request-invalid-tool")]), # type: ignore[arg-type]
+ provision_timeout_s=30,
+ )
+
+ with pytest.raises(ModelBehaviorError, match=match):
+ await _get_response(model, tools=[echo])
+
+
+async def test_instruction_timeout_bounds_the_full_model_call() -> None:
+ class BlockingSIE:
+ async def generate(self, *_args: Any, **_kwargs: Any) -> dict[str, Any]:
+ await asyncio.sleep(60)
+ raise AssertionError("unreachable")
+
+ app = AppContext(
+ sie=BlockingSIE(), # type: ignore[arg-type]
+ cfg={"cluster": {}},
+ ledger=Ledger(),
+ contract_text="contract",
+ scan_path="scan.png",
+ db_path="obligations.db",
+ )
+
+ with pytest.raises(TimeoutError):
+ await instruct_once(
+ app,
+ "Qwen/Qwen3.5-4B",
+ [{"role": "user", "content": "Bound this call."}],
+ timeout_s=0.01,
+ )
+
+
+ ("mode", "expected_helper"),
+ [("instruct", "instruct"), ("prompt", "prompt")],
+)
+async def test_query_obligations_db_selects_configured_generation_helper(
+ mode: str,
+ expected_helper: str,
+ monkeypatch: pytest.MonkeyPatch,
+) -> None:
+ calls: list[str] = []
+
+ async def fake_instruct(*_args: Any, **_kwargs: Any) -> GenResult:
+ calls.append("instruct")
+ return GenResult("SELECT 7 AS value", 0.0, 0.1)
+
+ async def fake_prompt(*_args: Any, **_kwargs: Any) -> GenResult:
+ calls.append("prompt")
+ return GenResult("SELECT 7 AS value", 0.0, 0.1)
+
+ monkeypatch.setattr(contract_tools, "instruct_once", fake_instruct)
+ monkeypatch.setattr(contract_tools, "prompt_once", fake_prompt)
+ monkeypatch.setattr(
+ contract_tools,
+ "_run_select",
+ lambda _db_path, _sql: (["value"], [(7,)]),
+ )
+ app = AppContext(
+ sie=FakeSIE([]), # type: ignore[arg-type]
+ cfg={
+ "cluster": {"provision_timeout_s": 30},
+ "models": {"sql": "sql-model"},
+ "sql": {"mode": mode},
+ },
+ ledger=Ledger(),
+ contract_text="contract",
+ scan_path="scan.png",
+ db_path="obligations.db",
+ )
+
+ result = await contract_tools.query_obligations_db.on_invoke_tool(
+ ToolContext(
+ app,
+ tool_name="query_obligations_db",
+ tool_call_id="call-query",
+ tool_arguments=json.dumps({"question": "Show one value"}),
+ ),
+ json.dumps({"question": "Show one value"}),
+ )
+
+ assert calls == [expected_helper]
+ assert result.splitlines() == ["SQL: SELECT 7 AS value", "", "value", "7"]
+
+
+async def test_query_obligations_db_rejects_unknown_generation_mode() -> None:
+ app = AppContext(
+ sie=FakeSIE([]), # type: ignore[arg-type]
+ cfg={
+ "cluster": {},
+ "models": {"sql": "sql-model"},
+ "sql": {"mode": "unknown"},
+ },
+ ledger=Ledger(),
+ contract_text="contract",
+ scan_path="scan.png",
+ db_path="obligations.db",
+ )
+
+ result = await contract_tools.query_obligations_db.on_invoke_tool(
+ ToolContext(
+ app,
+ tool_name="query_obligations_db",
+ tool_call_id="call-invalid",
+ tool_arguments=json.dumps({"question": "Show one value"}),
+ ),
+ json.dumps({"question": "Show one value"}),
+ )
+
+ assert result == (
+ "An error occurred while running the tool. Please try again. "
+ "Error: sql.mode must be 'instruct' or 'prompt'"
+ )
diff --git a/examples/contract-review-agent/uv.lock b/examples/contract-review-agent/uv.lock
new file mode 100644
index 000000000..8f43d43de
--- /dev/null
+++ b/examples/contract-review-agent/uv.lock
@@ -0,0 +1,1059 @@
+version = 1
+revision = 3
+requires-python = "==3.12.*"
+
+[[package]]
+name = "aiohappyeyeballs"
+version = "2.7.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/ce/f4/eec0465c2f67b2664688d0240b3212d5196fd89e741df67ddb81f8d35658/aiohappyeyeballs-2.7.1.tar.gz", hash = "sha256:065665c041c42a5938ed220bdcd7230f22527fbec085e1853d2402c8a3615d9d", size = 24757, upload-time = "2026-07-01T17:11:55.501Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/71/43/1947f06babed6b3f1d7f38b0c767f52df66bfb2bc10b468c4a7de9eceff2/aiohappyeyeballs-2.7.1-py3-none-any.whl", hash = "sha256:9243213661e29250eb41368e5daa826fc017156c3b8a11440826b2e3ed376472", size = 15038, upload-time = "2026-07-01T17:11:54.055Z" },
+]
+
+[[package]]
+name = "aiohttp"
+version = "3.14.3"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "aiohappyeyeballs" },
+ { name = "aiosignal" },
+ { name = "attrs" },
+ { name = "frozenlist" },
+ { name = "multidict" },
+ { name = "propcache" },
+ { name = "typing-extensions" },
+ { name = "yarl" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/58/d9/22ce5786ac0c1653ae8b6c23bded02c1686d11f0dbb45b31ce128e0df985/aiohttp-3.14.3.tar.gz", hash = "sha256:9491196535a88924a60afd5b5f434b5b203b6cc616250878dbdb223a8f7844bc", size = 7971213, upload-time = "2026-07-23T01:57:27.037Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/18/d4/eb96299230e20acf2efae207cb8d69051f1f68e357e5ea5e479bf6fb097a/aiohttp-3.14.3-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:39aded8c7f3b935b54aab1d8d73c70ec0ee2d3ec3b943e0e86611bc150ba47f5", size = 754690, upload-time = "2026-07-23T01:53:47.332Z" },
+ { url = "https://files.pythonhosted.org/packages/88/11/e7a70a209eb9a067c0d3212b518a0134e3484f5178c7533878b6b514d469/aiohttp-3.14.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:5bcb6ff3fdab1258a192679ff1a05d44f59626430aa05cd1a9d2447423599228", size = 509484, upload-time = "2026-07-23T01:53:51.159Z" },
+ { url = "https://files.pythonhosted.org/packages/30/07/4bbc222cc8dbe31d4c3e8a5baad2286e4d42026ac0c570027b89afce6344/aiohttp-3.14.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:617105e2c3018ee38d0c8ce5ee3c84f621a6d8b9f723202aacaff28449ca91ee", size = 511949, upload-time = "2026-07-23T01:53:55.083Z" },
+ { url = "https://files.pythonhosted.org/packages/54/b9/42e74c46b7b7c794b995bbc1f573fb48950c38b19d8600c62a6804ee2d67/aiohttp-3.14.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f631fe87a6f30df5fbe6d79640b25e4cffb38c31c7fb6f10871517b84b0f8c1a", size = 1765282, upload-time = "2026-07-23T01:53:59.662Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/ed/62bc4d74363ad346d518e0720363a949f63e2e23439a79eb5813d4d29bb3/aiohttp-3.14.3-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:a94dbaae5ae27bd849c93570669bff91e0510f33a80805738e3de72a7be0447b", size = 1741511, upload-time = "2026-07-23T01:54:04.063Z" },
+ { url = "https://files.pythonhosted.org/packages/d0/9f/181e8a8bc79e47d13c7fc4540bd7a3b729d9505609c61f392a8dd2fbfe55/aiohttp-3.14.3-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:8f2f1c4c032c7cedd7d8da6f54c97b70266c6570c3108d3fdffee7188bb70529", size = 1810680, upload-time = "2026-07-23T01:54:09.882Z" },
+ { url = "https://files.pythonhosted.org/packages/5c/9a/dec94d6ad694552fe3424e3f1928d7a606a5d9d9433a04e7ecdd9d38ae7f/aiohttp-3.14.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:ea05e1f97ceea523942d9b2a7d7c0359d781d683d6b043f5943a602b14da4787", size = 1905646, upload-time = "2026-07-23T01:54:13.475Z" },
+ { url = "https://files.pythonhosted.org/packages/52/b7/7cd31f29d6055bd711ae6e669367fba6f5ae9de463910a793e30556a8db7/aiohttp-3.14.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:543906c127fb1d929b95076db19b83fa2d46751006ff1e23b093aa5ac4d8db42", size = 1792122, upload-time = "2026-07-23T01:54:15.752Z" },
+ { url = "https://files.pythonhosted.org/packages/66/73/10b1ef93afa61f4963c746257b70ced619cf31a4798671de5fdb2608501d/aiohttp-3.14.3-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:0a5ff2dfbb9ce645fa5b8ef3e02c6c0b9cc3f6030ff863d0c51fffc50cb5541b", size = 1591127, upload-time = "2026-07-23T01:54:19.489Z" },
+ { url = "https://files.pythonhosted.org/packages/49/ed/3b203fa6de1b338c14acdc06bf6ca9b043b7944f005966958c2ced932cde/aiohttp-3.14.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:041badb8f84396357c4d3ad26de6afd7a32b112f43d3c63045c0c8278cfd2043", size = 1725210, upload-time = "2026-07-23T01:54:24.129Z" },
+ { url = "https://files.pythonhosted.org/packages/28/b7/1c2aab8c706436dcc28598452488ac9cd7c409da815237c28c27d58993e6/aiohttp-3.14.3-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:530125ee1163c4219af35dc3aa1206e541e7b31b6efc1a3f93b70a136f65d427", size = 1764848, upload-time = "2026-07-23T01:54:27.973Z" },
+ { url = "https://files.pythonhosted.org/packages/54/50/94c28f08b131c4bf10984ea2c7a536c9920608bb2d6e7f95642c30cc87b7/aiohttp-3.14.3-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:c8653fd547c93a61aadc612007790f5555cdd18946fa48cf45e26d8ea4ea473d", size = 1777102, upload-time = "2026-07-23T01:54:31.775Z" },
+ { url = "https://files.pythonhosted.org/packages/13/d4/e7d09ba7d345fb2d74440fd2fa033c5e079fac05552927705986f41a364f/aiohttp-3.14.3-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:89176250f686cb9853c0fb7ead90e639e915b84a6f43eedc2a4e7ec21f1037f0", size = 1580205, upload-time = "2026-07-23T01:54:34.518Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/84/072a91d68e1e1eb587985b54baab94221277f877e8ef274fc213a0ceae28/aiohttp-3.14.3-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:3a26434dafe408229ff3403458ca58de24fb51936504decac49ce6755f77e59d", size = 1797219, upload-time = "2026-07-23T01:54:36.995Z" },
+ { url = "https://files.pythonhosted.org/packages/e0/eb/aad34e897e668424d6e995da5dff8a4a09af93363d3392488772957a63aa/aiohttp-3.14.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:d1558173930a5a8d3069cee5c92fc91c87c4dbcb099debbb3622053717145a19", size = 1768629, upload-time = "2026-07-23T01:54:40.103Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/2b/6bb88ddba0fecd9122aa3ebcad25996cf6c083a4a7040dbb3a4f97972af6/aiohttp-3.14.3-cp312-cp312-win32.whl", hash = "sha256:16100ad3ab8d649fdfbee87602d9d2dcdca9df0b9eda8a1b5fdc0d41f96da559", size = 451481, upload-time = "2026-07-23T01:54:42.547Z" },
+ { url = "https://files.pythonhosted.org/packages/76/9b/f2f8f108da17ecef2cc3efc424e8b7ad3782b1a8360f7b8eae8ced84f6ea/aiohttp-3.14.3-cp312-cp312-win_amd64.whl", hash = "sha256:33a2d7c28d33797a2e99923dffa63f83d908a19b6bf26cfe80fa790aa5e1a75a", size = 476845, upload-time = "2026-07-23T01:54:44.853Z" },
+ { url = "https://files.pythonhosted.org/packages/3e/44/28dac80a8941b604f4da10ce21097614ca1bf905ce93dca28d8d7de9c1e7/aiohttp-3.14.3-cp312-cp312-win_arm64.whl", hash = "sha256:362a3fd481769cac1a824514bcd86fda51c65e8fe6e051099e008fddde6db17c", size = 448050, upload-time = "2026-07-23T01:54:47.087Z" },
+]
+
+[[package]]
+name = "aiosignal"
+version = "1.4.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "frozenlist" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/61/62/06741b579156360248d1ec624842ad0edf697050bbaf7c3e46394e106ad1/aiosignal-1.4.0.tar.gz", hash = "sha256:f47eecd9468083c2029cc99945502cb7708b082c232f9aca65da147157b251c7", size = 25007, upload-time = "2025-07-03T22:54:43.528Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fb/76/641ae371508676492379f16e2fa48f4e2c11741bd63c48be4b12a6b09cba/aiosignal-1.4.0-py3-none-any.whl", hash = "sha256:053243f8b92b990551949e63930a839ff0cf0b0ebbe0597b0f3fb19e1a0fe82e", size = 7490, upload-time = "2025-07-03T22:54:42.156Z" },
+]
+
+[[package]]
+name = "annotated-types"
+version = "0.8.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/5f/56/a8120250d128bed162cd73c76d45f6ef9991f3e068f62a8ee060afa3104a/annotated_types-0.8.0.tar.gz", hash = "sha256:13b2beaad985e05e2d6407ee4c4f35590b11f8d693a258a561055cac8f64cab7", size = 15893, upload-time = "2026-07-23T20:16:13.995Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/99/91/8acff4f5e50511b911bbccb72b8628a49c68ce14148cd9f6431094859a90/annotated_types-0.8.0-py3-none-any.whl", hash = "sha256:f072f4d804ea359e4eaf198b1af7a8b0943881a87f31bb764f8bf219bb9419e0", size = 13427, upload-time = "2026-07-23T20:16:12.938Z" },
+]
+
+[[package]]
+name = "anyio"
+version = "4.14.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "idna" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/61/cc/a381afa6efea9f496eff839d4a6a1aed3bfafc7b3ab4b0d1b243a12573dd/anyio-4.14.2.tar.gz", hash = "sha256:cfa139f3ed1a23ee8f88a145ddb5ac7605b8bbfd8592baacd7ce3d8bb4313c7f", size = 260176, upload-time = "2026-07-12T20:29:07.082Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/da/35/f2287558c17e29fafc8ef3daf819bb9834061cfa43bff8014f7df7f63bdc/anyio-4.14.2-py3-none-any.whl", hash = "sha256:9f505dda5ac9f0c8309b5e8bd445a8c2bf7246f3ce950121e45ea15bc41d1494", size = 125813, upload-time = "2026-07-12T20:29:05.763Z" },
+]
+
+[[package]]
+name = "attrs"
+version = "26.1.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/9a/8e/82a0fe20a541c03148528be8cac2408564a6c9a0cc7e9171802bc1d26985/attrs-26.1.0.tar.gz", hash = "sha256:d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32", size = 952055, upload-time = "2026-03-19T14:22:25.026Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/64/b4/17d4b0b2a2dc85a6df63d1157e028ed19f90d4cd97c36717afef2bc2f395/attrs-26.1.0-py3-none-any.whl", hash = "sha256:c647aa4a12dfbad9333ca4e71fe62ddc36f4e63b2d260a37a8b83d2f043ac309", size = 67548, upload-time = "2026-03-19T14:22:23.645Z" },
+]
+
+[[package]]
+name = "certifi"
+version = "2026.7.22"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/a3/c2/24167ea9858356b47a87a50d39908bfdb72ceeefe0041586e704e5376b3a/certifi-2026.7.22.tar.gz", hash = "sha256:741e2c3b351ddf169a738da9f2c048608ff7f2c5cc02f1ebc6b118bb090d5d55", size = 138112, upload-time = "2026-07-22T03:35:12.644Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0b/a7/71ac2cff56fec219ed242bb11b8efb69fcc4bec75db06fb7bfe35de520e6/certifi-2026.7.22-py3-none-any.whl", hash = "sha256:62f22742b58a1a33014a2b6b706588a8d7e2a88ae7bd1a6ebe8c992928483775", size = 136983, upload-time = "2026-07-22T03:35:11.276Z" },
+]
+
+[[package]]
+name = "cffi"
+version = "2.1.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "pycparser", marker = "implementation_name != 'PyPy'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/9e/ef/008a1939e372c06329a3fce4279c02f328488f3526744906eeec3da7ad5f/cffi-2.1.1.tar.gz", hash = "sha256:dd31f52ea1086513bb9df30f8fcee9b8918323ae067a3d5b78bc826a000712be", size = 530807, upload-time = "2026-08-03T21:21:18.939Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/10/69/43965eccfdead3b9220015fd1320e117be8c6ed01a62ffab76eeb752f5d5/cffi-2.1.1-cp312-cp312-macosx_10_15_x86_64.whl", hash = "sha256:c8c69575568085ba0b1b10c0249d779a214aea6f6522e949a0fc9fb0fcb449d0", size = 184821, upload-time = "2026-08-03T21:19:44.887Z" },
+ { url = "https://files.pythonhosted.org/packages/54/7d/16e5a096677b5e313ca80cd5e5170efa3ea44624a82bb111925522da64b1/cffi-2.1.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f81b3b8f3d4e343550fa4baa0e479bba9f2d29ce9c2e9b51d1ce1718d7442fcf", size = 184719, upload-time = "2026-08-03T21:19:46.129Z" },
+ { url = "https://files.pythonhosted.org/packages/56/e6/8941622732edec876dd17d0453dce07317ae96db34f2ec1436c9d3785986/cffi-2.1.1-cp312-cp312-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:811bd1e21d32de12efca32393a0ab3f5133b54fce9bd44b8bd77ab07da14bf6a", size = 214799, upload-time = "2026-08-03T21:19:47.218Z" },
+ { url = "https://files.pythonhosted.org/packages/44/de/f98430906df1545ffde0d543dd124a7a439bc2cd32b36b9c53f805df7333/cffi-2.1.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:68e62fe11f30d5ca8289242866f0a5291402d8529ca2178ab8afc5c9694ae890", size = 222389, upload-time = "2026-08-03T21:19:48.331Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/5b/717f1526b9957b34456313c31645c5b82b8fb5c3fe9e4752999be7128bfc/cffi-2.1.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:4a7c934f7360e8cd64fe9efadcbd10c7c6364f531e432b9a4bf5ccbc9e0e8b50", size = 210249, upload-time = "2026-08-03T21:19:49.543Z" },
+ { url = "https://files.pythonhosted.org/packages/64/b3/f8aa4f3e34986c7e4ec45072d1b1b9dd295b6b18007b45518d79726dd725/cffi-2.1.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:3143d81e29e1e20a9ce10901ec369012947876596f75a222235965f2b7ae832e", size = 208775, upload-time = "2026-08-03T21:19:50.918Z" },
+ { url = "https://files.pythonhosted.org/packages/b1/db/dceb9dd5b231e1da801793f8acc9f3c52a7e1afe40bb1aae37e02b0faad5/cffi-2.1.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c1453022f490d2459a11819d83ad1d586e9ff65a12ac3e705ffebd46d3685dcf", size = 221822, upload-time = "2026-08-03T21:19:52.054Z" },
+ { url = "https://files.pythonhosted.org/packages/a0/d2/6cd24ae3be000a634109c247d1475d62e5616d0dc78c82770942ec384248/cffi-2.1.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:208f941bb9d18e768138677f0a6d2ce01f590df56043dda1df1535ac57c88517", size = 225232, upload-time = "2026-08-03T21:19:53.109Z" },
+ { url = "https://files.pythonhosted.org/packages/cb/52/3fa190537004dd7f0ab860a6dc7c0175b8667f68d1e618a46f5498d30250/cffi-2.1.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:210019b6c7cf07f081b4c54635c8cf744377001350e29cc0f81c4377b4797735", size = 223597, upload-time = "2026-08-03T21:19:54.515Z" },
+ { url = "https://files.pythonhosted.org/packages/80/fb/0bb75b7039588c074b37ae99f40d9bfddf990ecb2fbc346ebccd2e56b9be/cffi-2.1.1-cp312-cp312-win32.whl", hash = "sha256:046bfc24911b37851ee1b51aab8bffe713d89c68c6a057b09484ce9fd5f69b4e", size = 175292, upload-time = "2026-08-03T21:19:55.566Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/79/615cc094e2fb508cade7de88d3b4f6c4ec2bab695c97bce9153dc65aadf5/cffi-2.1.1-cp312-cp312-win_amd64.whl", hash = "sha256:f53e442b08449d42821fa4a4fba000095af9f62742a500f978a9f557ec44339a", size = 185919, upload-time = "2026-08-03T21:19:56.89Z" },
+ { url = "https://files.pythonhosted.org/packages/70/c6/d0ea84713fe46b243a436a18fcd47d639732747e21635c8a27191b06dc30/cffi-2.1.1-cp312-cp312-win_arm64.whl", hash = "sha256:7bde5e4cc5c10140859842b9d383af292b22639a4dffb725314baf45968cef80", size = 180093, upload-time = "2026-08-03T21:19:58.155Z" },
+]
+
+[[package]]
+name = "charset-normalizer"
+version = "3.4.9"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/bd/2a/23f34ec9d04624958e137efdc394888716353190e75f25dd22c7a2c7a8aa/charset_normalizer-3.4.9.tar.gz", hash = "sha256:673611bbd43f0810bec0b0f028ddeaaa501190339cac411f347ac76917c3ae7b", size = 152439, upload-time = "2026-07-07T14:34:58.454Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/70/4a/ecbd131485c07fcdfad54e28946d513e3da22ef3b4bd854dcafae54ec739/charset_normalizer-3.4.9-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:45b0cc4e3556cd875e09102988d1ab8356c998b596c9fced84547c8138b487a0", size = 319300, upload-time = "2026-07-07T14:33:15.666Z" },
+ { url = "https://files.pythonhosted.org/packages/ec/96/5d9364e3342d69f3a045e1777bc47c85c383e6e9466d561b33fdb419d1f9/charset_normalizer-3.4.9-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9b2aff1c7b3884512b9512c3eaadd9bab39fb45042ffaaa1dd08ff2b9f8109d9", size = 215802, upload-time = "2026-07-07T14:33:17.031Z" },
+ { url = "https://files.pythonhosted.org/packages/4b/4c/5361f9aa7f2cb58d94f2ab831b3d493f69efb1d239654b4744e3c09527cb/charset_normalizer-3.4.9-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9104ed0bd76a429d46f9ec0dbc9b08ad1d2dcdf2b00a5a0daa1c145329b35b44", size = 237171, upload-time = "2026-07-07T14:33:18.576Z" },
+ { url = "https://files.pythonhosted.org/packages/50/78/ce342ca4ff30b2eb49fe6d9578df85974f90c67d294113e94efdd9664cbd/charset_normalizer-3.4.9-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:7b86a2b16095d250c6f58b3d9b2eee6f4147754344f3dab0922f7c9bf7d226c9", size = 233075, upload-time = "2026-07-07T14:33:20.084Z" },
+ { url = "https://files.pythonhosted.org/packages/01/c4/4fa4c8b3097a11f3c5f09a35b72ed6855fb1d332469504962ab7bafcc702/charset_normalizer-3.4.9-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5e226f6218febc71f6c1fc2fafb91c226f75bdc1d8fb12d66823716e891608fd", size = 224256, upload-time = "2026-07-07T14:33:21.747Z" },
+ { url = "https://files.pythonhosted.org/packages/87/3a/ad914516df7e358a81aae018caa5e0470ba827fa6d763b1d2e87d920a5f6/charset_normalizer-3.4.9-cp312-cp312-manylinux_2_31_armv7l.whl", hash = "sha256:90c44bc373b7687f6948b693cceaea1348ae0975d7474746559494468e3c1d84", size = 208784, upload-time = "2026-07-07T14:33:23.313Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/74/3c12f9755717dfe5c5c87da63f35d765fa0c00382ec26bf23f7fae34f2ba/charset_normalizer-3.4.9-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:9cdef90ae47919cae358d8ab15797a800ed41da7aba5d72419fb510729e2ed4b", size = 219928, upload-time = "2026-07-07T14:33:24.814Z" },
+ { url = "https://files.pythonhosted.org/packages/33/9a/895095b83e7907abd6d3d99aad3a38ad0d9686cc186cb0c94c24320fe63e/charset_normalizer-3.4.9-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:60f44ade2cf573dad7a277e6f8ca9a51a21dda572b13bd7d8539bb3cd5dbedde", size = 218489, upload-time = "2026-07-07T14:33:26.42Z" },
+ { url = "https://files.pythonhosted.org/packages/a1/34/ef5c05f412f42520d7709b7d3784d19640839eb7366ded1755511585429f/charset_normalizer-3.4.9-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:a1786910334ed46ab1dd73222f2cd1e05c2c3bb39f6dddb4f8b36fc382058a39", size = 210267, upload-time = "2026-07-07T14:33:27.952Z" },
+ { url = "https://files.pythonhosted.org/packages/83/dc/9b29fa4412b318bf3bfea985c35d67eb55e04b59a7c3f2237168b0e0be6f/charset_normalizer-3.4.9-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:03d07803992c6c7bbc976327f34b18b6160327fc81cb82c9d504720ac0be3b62", size = 226030, upload-time = "2026-07-07T14:33:29.397Z" },
+ { url = "https://files.pythonhosted.org/packages/0e/42/6dbc00b8cd16011691203e33570fa42ed5746599a2e878112d16eab403a3/charset_normalizer-3.4.9-cp312-cp312-win32.whl", hash = "sha256:78841cccf1af7b40f6f716338d50c0902dbe88d9f800b3c973b7a9a0a693a642", size = 151185, upload-time = "2026-07-07T14:33:30.781Z" },
+ { url = "https://files.pythonhosted.org/packages/80/cc/f920afd1a23c58ccd53c1d36085a71893a4737ff5e66e0371efab6809850/charset_normalizer-3.4.9-cp312-cp312-win_amd64.whl", hash = "sha256:4b3dac63058cc36820b0dd072f89898604e2d39686fe05321729d00d8ac185a0", size = 162557, upload-time = "2026-07-07T14:33:32.176Z" },
+ { url = "https://files.pythonhosted.org/packages/f0/e6/0386d43a261ff4e4b30c5857af7df877254b46bec7b9d1b74b6bf969a90b/charset_normalizer-3.4.9-cp312-cp312-win_arm64.whl", hash = "sha256:78fa18e436a1a0e58dbd7e02fc4473f3f32cceb12df9dfca542d075961c307d2", size = 152665, upload-time = "2026-07-07T14:33:33.711Z" },
+ { url = "https://files.pythonhosted.org/packages/98/2b/f97f1c193fb855c345d678f5077d6926034db0722df74c8f057020e05a25/charset_normalizer-3.4.9-py3-none-any.whl", hash = "sha256:68e5f26a1ad57ded6d1cfb85331d1c1a195314756471d97758c48498bb4dcdf5", size = 64538, upload-time = "2026-07-07T14:34:56.993Z" },
+]
+
+[[package]]
+name = "click"
+version = "8.4.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "colorama", marker = "sys_platform == 'win32'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/76/d4/81420972a676e8ffea40450d8c8c92943e7218a78fe9b64359836cc9876b/click-8.4.2.tar.gz", hash = "sha256:9a6cea6e60b17ebe0a44c5cc636d94f09bd66142c1cd7d8b4cd731c4917a15f6", size = 338000, upload-time = "2026-06-24T17:45:15.148Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fb/e2/79c688af8b210d232694e31e59da9f6ec747bae31c3f5946e4e9b98860d5/click-8.4.2-py3-none-any.whl", hash = "sha256:e6f9f66136c816745b9d65817da91d61d957fb16e02e4dcd0552553c5a197b76", size = 119243, upload-time = "2026-06-24T17:45:13.73Z" },
+]
+
+[[package]]
+name = "colorama"
+version = "0.4.6"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" },
+]
+
+[[package]]
+name = "contract-review-agent"
+version = "0.1.0"
+source = { editable = "." }
+dependencies = [
+ { name = "httpx" },
+ { name = "numpy" },
+ { name = "openai" },
+ { name = "openai-agents" },
+ { name = "pillow" },
+ { name = "pydantic" },
+ { name = "python-dotenv" },
+ { name = "pyyaml" },
+ { name = "rich" },
+ { name = "sie-sdk" },
+]
+
+[package.dev-dependencies]
+dev = [
+ { name = "pytest" },
+ { name = "pytest-asyncio" },
+ { name = "ruff" },
+]
+
+[package.metadata]
+requires-dist = [
+ { name = "httpx", specifier = ">=0.27" },
+ { name = "numpy", specifier = ">=1.26" },
+ { name = "openai", specifier = ">=2.26,<2.45" },
+ { name = "openai-agents", specifier = ">=0.13,<0.14" },
+ { name = "pillow", specifier = ">=10.3" },
+ { name = "pydantic", specifier = ">=2.7" },
+ { name = "python-dotenv", specifier = ">=1.0" },
+ { name = "pyyaml", specifier = ">=6.0" },
+ { name = "rich", specifier = ">=13.7" },
+ { name = "sie-sdk", specifier = ">=0.6.24,<0.7" },
+]
+
+[package.metadata.requires-dev]
+dev = [
+ { name = "pytest", specifier = ">=9.1.1" },
+ { name = "pytest-asyncio", specifier = ">=1.4.0" },
+ { name = "ruff", specifier = ">=0.11.0" },
+]
+
+[[package]]
+name = "cryptography"
+version = "50.0.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "cffi", marker = "platform_python_implementation != 'PyPy'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/de/41/6cbdcf9142d00fe82836fbb51e503e58088575cf7a0fe1dbff6695bf0840/cryptography-50.0.0.tar.gz", hash = "sha256:eeac2acb5a20ed25e0ad6d1df9891a520b78b404266b6d11778f25d5d691a6c9", size = 880201, upload-time = "2026-07-31T14:25:10.11Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c5/5c/59086b4aac5e879d38ddbcf74e4be7ade89cebc3eb199a55da998c3bb46a/cryptography-50.0.0-cp311-abi3-macosx_11_0_arm64.whl", hash = "sha256:031e2d5dd4bb9caa3ca9c82e5a197fd8ae680232cee62603d1a813f3f07e3d03", size = 4001252, upload-time = "2026-07-31T14:23:33.331Z" },
+ { url = "https://files.pythonhosted.org/packages/57/ef/8f2df13c7216bcad3e1c74e07f6e193d93e998e114f524a53877c9af27ad/cryptography-50.0.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:fd9192b7b70c573d7f214eb1ae35e00d359f6f5e4b27c7e21e30de1fc6204645", size = 4719554, upload-time = "2026-07-31T14:23:35.611Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/41/029086c34d91052fc3b88bcc8056f709a7c915c7a23b235a54eb800b1c97/cryptography-50.0.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:06a32a980526a6ab9a4b9bf8f7385800791e2bb960903cb6b530e4817509a3b7", size = 4702130, upload-time = "2026-07-31T14:23:37.635Z" },
+ { url = "https://files.pythonhosted.org/packages/7d/ff/b6ce0954962e7f7b969f850a883744197bb3910bdfd7b6da162eab7d9f68/cryptography-50.0.0-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:a1b30560f2acc95aa8b2e06e716a13dbfc97314747b80d9707e307f77b40d6b3", size = 4725244, upload-time = "2026-07-31T14:23:39.471Z" },
+ { url = "https://files.pythonhosted.org/packages/06/1e/63a1027cb7fec360a182208e1b7767d5aa1fe57be3d6aa856e69a321edc0/cryptography-50.0.0-cp311-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:8d89f3976b10b4ce31118de72329025f70d2c6ead14a8217c5514dd2c6d5a78f", size = 5342265, upload-time = "2026-07-31T14:23:41.286Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/72/a1116d683a6d7ece94590013882515de087edf9ef0e6292aae615a44df73/cryptography-50.0.0-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:b42a28c1844fd9de8f3f7d540e36b66f3a9c83fceac7170ebc7a6a19edd9dcae", size = 4734609, upload-time = "2026-07-31T14:23:43.139Z" },
+ { url = "https://files.pythonhosted.org/packages/15/37/36a9c479bbe49acea2636c7fd3360d20f7b7e079c300352011c44850b181/cryptography-50.0.0-cp311-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:900131fafd8aead39ac7dd3a7e833be754c17a95cfd91221636949fe4eb0aa8a", size = 4356517, upload-time = "2026-07-31T14:23:44.939Z" },
+ { url = "https://files.pythonhosted.org/packages/32/98/8a151d64367204cbc63ec65d37502f1d9c53cf4bfc6ec3c532614dbec60d/cryptography-50.0.0-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:07949c449a1abcf60d1ee6e88956d89404c7df3c8258f46589e912988e551987", size = 4724529, upload-time = "2026-07-31T14:23:46.93Z" },
+ { url = "https://files.pythonhosted.org/packages/22/f6/ec13b470172126464a86bf54d2294a46d29837fc51ba3e45d4047946fb5e/cryptography-50.0.0-cp311-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:f89831ef99dd7dd169ab06d63a831adb9e20a87aac6d380266bbda5823349169", size = 5299852, upload-time = "2026-07-31T14:23:48.851Z" },
+ { url = "https://files.pythonhosted.org/packages/da/3a/f05e32c99d440c9bb891ea0e36c9091891e36be5a9a87ab2ee6ea20729f6/cryptography-50.0.0-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:82148ec5bddac30b51a5b3c1945075f896fa022cb93f8e4a01e9f6ee95292c5f", size = 4734462, upload-time = "2026-07-31T14:23:50.861Z" },
+ { url = "https://files.pythonhosted.org/packages/ca/dc/bd72b26be8953f80625f63151efd38eee71c76ca6cf591c08ff34615a79e/cryptography-50.0.0-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:1489e263a8048bb8b6a8bac662eb2d402ea5d2b7b4699b72f385f1e2772db105", size = 4852708, upload-time = "2026-07-31T14:23:52.715Z" },
+ { url = "https://files.pythonhosted.org/packages/27/20/c930314a2ab476d15dec966ec87e2e9637bb02b06106b12c0396c57bb603/cryptography-50.0.0-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:7cec5b856506da6defb290f30c9ee687d5f5e8cb0bd3f6459dde43b0b4fa40ef", size = 5004179, upload-time = "2026-07-31T14:23:54.887Z" },
+ { url = "https://files.pythonhosted.org/packages/32/2e/c9db68a0c4bfa28e310707527c0ee3a2bd254104d2e02e68f368e197aa4c/cryptography-50.0.0-cp311-abi3-win_amd64.whl", hash = "sha256:bd1c592e4d5974f0d08d4888e432157adba757c66da0246918e43677fafa2d30", size = 3840395, upload-time = "2026-07-31T14:23:56.677Z" },
+ { url = "https://files.pythonhosted.org/packages/03/37/73d005be173aff344af30e9fd2a576575cb2391a7101d9cd3842e1fa8cce/cryptography-50.0.0-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:ccdc4a71a4dabae05de219404f9f4abc38e3b58422177ff93d0da05967dafa07", size = 4036009, upload-time = "2026-07-31T14:24:24.122Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/c6/7a6202a534e32103a285b7834a120869557fe198d51d7cfe59754c8bda9c/cryptography-50.0.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:910e1d2668e7de9648f2bcee30e180db2a6b15c30f887d7c4c93ddf96e3992e3", size = 4745252, upload-time = "2026-07-31T14:24:26.118Z" },
+ { url = "https://files.pythonhosted.org/packages/85/4f/0fa8c2f4428198f15d9ff8d63400e27afbf94ce833f6108da1eb3753f945/cryptography-50.0.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:a91296cb61e8df6f86d0c19cc4068228da256bf59bf86049fbd821084565327f", size = 4728939, upload-time = "2026-07-31T14:24:27.994Z" },
+ { url = "https://files.pythonhosted.org/packages/d1/63/54dd723490ba2dc09b299682c10b38db38f159728bcaae8c591b8af2f22d/cryptography-50.0.0-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:e722f16708d854fe924790e051061f6704a472c3bac347b6fd88033ea8dd0dc5", size = 4748483, upload-time = "2026-07-31T14:24:30.254Z" },
+ { url = "https://files.pythonhosted.org/packages/1d/dd/7c77d26285cc7f6991efce64a0f5b4f9383bfa5dd8c5033003eaf7db4cdb/cryptography-50.0.0-cp39-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:d764dcf130c428ef66786f866dd750f53182bc608813489915e9fc106bb0c82f", size = 5367599, upload-time = "2026-07-31T14:24:32.457Z" },
+ { url = "https://files.pythonhosted.org/packages/46/c9/f60aed34c013f317f92817b6c171c2d22a78270fa41109bd4b08af26b194/cryptography-50.0.0-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:105110f43a471dbd0060b9c9516cb8a6a79233631a04cc2ba16f28323ac6e025", size = 4762647, upload-time = "2026-07-31T14:24:34.599Z" },
+ { url = "https://files.pythonhosted.org/packages/be/f3/f9a0173b139372c3a48ed98154b45cc6b9de17c789d5ab552e621c293609/cryptography-50.0.0-cp39-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:828743d939e9629bc267b8e2d08d8bb67cd4319c771a33d4b18b22dd8fb7440a", size = 4385197, upload-time = "2026-07-31T14:24:36.647Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/36/83bb81f6e569bc38e1e4a7bc80f29b46bb9601920bc455fc8e888f5d5742/cryptography-50.0.0-cp39-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:2a8183b489dc1f7f80f135780fadc1108f14b31b8a40411c7a5b17425f65f28b", size = 4748095, upload-time = "2026-07-31T14:24:39.493Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/16/d3008eff98c764979865834c3d386d4fd041b5f52e7f34fc29ac1a5eb515/cryptography-50.0.0-cp39-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:6e7d61120573a7f2cd94cc095f9e81f6967c61ccdf194285aa143ecec8e0b708", size = 5325948, upload-time = "2026-07-31T14:24:41.556Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/f8/d97f9603efda3888187bfdb893f26c41be4735c10631d05d284ee6b047c4/cryptography-50.0.0-cp39-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:37fdb0d0111f1e2ff07139dfb79f1b49531f8e213c46f1163dd7642979b58c47", size = 4762400, upload-time = "2026-07-31T14:24:43.636Z" },
+ { url = "https://files.pythonhosted.org/packages/64/a2/4615c8f7d81a00b1d6e6afe19f694e1543582349fb5f4076f6cb5dc36485/cryptography-50.0.0-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:c87f62a3d3b9888ed0fdde100ec06aa61ca9cd44bad9057d1dff9a516b5f5bb9", size = 4878208, upload-time = "2026-07-31T14:24:45.522Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/1a/efcfb02f91407149a0dacffffab791f7e19bf6385f63b3666dc8b5e5c9c8/cryptography-50.0.0-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:65c2c3add92b45fd0709db8594536aea39c2a67af0e27ffcf049c498501140b7", size = 5037050, upload-time = "2026-07-31T14:24:47.697Z" },
+ { url = "https://files.pythonhosted.org/packages/57/30/4a22984d4f1bdfb8c054f07a92bc176b97a3134cc1d6c4b3bffb1f3688b4/cryptography-50.0.0-cp39-abi3-win_amd64.whl", hash = "sha256:d24fead1d4d076e1bfb006dcec392074a3cd8d7b4fc8a595aa64073b2b7a96ba", size = 3874135, upload-time = "2026-07-31T14:24:50.085Z" },
+]
+
+[[package]]
+name = "distro"
+version = "1.9.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/fc/f8/98eea607f65de6527f8a2e8885fc8015d3e6f5775df186e443e0964a11c3/distro-1.9.0.tar.gz", hash = "sha256:2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed", size = 60722, upload-time = "2023-12-24T09:54:32.31Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/12/b3/231ffd4ab1fc9d679809f356cebee130ac7daa00d6d6f3206dd4fd137e9e/distro-1.9.0-py3-none-any.whl", hash = "sha256:7bffd925d65168f85027d8da9af6bddab658135b840670a223589bc0c8ef02b2", size = 20277, upload-time = "2023-12-24T09:54:30.421Z" },
+]
+
+[[package]]
+name = "frozenlist"
+version = "1.8.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/2d/f5/c831fac6cc817d26fd54c7eaccd04ef7e0288806943f7cc5bbf69f3ac1f0/frozenlist-1.8.0.tar.gz", hash = "sha256:3ede829ed8d842f6cd48fc7081d7a41001a56f1f38603f9d49bf3020d59a31ad", size = 45875, upload-time = "2025-10-06T05:38:17.865Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/69/29/948b9aa87e75820a38650af445d2ef2b6b8a6fab1a23b6bb9e4ef0be2d59/frozenlist-1.8.0-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:78f7b9e5d6f2fdb88cdde9440dc147259b62b9d3b019924def9f6478be254ac1", size = 87782, upload-time = "2025-10-06T05:36:06.649Z" },
+ { url = "https://files.pythonhosted.org/packages/64/80/4f6e318ee2a7c0750ed724fa33a4bdf1eacdc5a39a7a24e818a773cd91af/frozenlist-1.8.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:229bf37d2e4acdaf808fd3f06e854a4a7a3661e871b10dc1f8f1896a3b05f18b", size = 50594, upload-time = "2025-10-06T05:36:07.69Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/94/5c8a2b50a496b11dd519f4a24cb5496cf125681dd99e94c604ccdea9419a/frozenlist-1.8.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f833670942247a14eafbb675458b4e61c82e002a148f49e68257b79296e865c4", size = 50448, upload-time = "2025-10-06T05:36:08.78Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/bd/d91c5e39f490a49df14320f4e8c80161cfcce09f1e2cde1edd16a551abb3/frozenlist-1.8.0-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:494a5952b1c597ba44e0e78113a7266e656b9794eec897b19ead706bd7074383", size = 242411, upload-time = "2025-10-06T05:36:09.801Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/83/f61505a05109ef3293dfb1ff594d13d64a2324ac3482be2cedc2be818256/frozenlist-1.8.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96f423a119f4777a4a056b66ce11527366a8bb92f54e541ade21f2374433f6d4", size = 243014, upload-time = "2025-10-06T05:36:11.394Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/cb/cb6c7b0f7d4023ddda30cf56b8b17494eb3a79e3fda666bf735f63118b35/frozenlist-1.8.0-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:3462dd9475af2025c31cc61be6652dfa25cbfb56cbbf52f4ccfe029f38decaf8", size = 234909, upload-time = "2025-10-06T05:36:12.598Z" },
+ { url = "https://files.pythonhosted.org/packages/31/c5/cd7a1f3b8b34af009fb17d4123c5a778b44ae2804e3ad6b86204255f9ec5/frozenlist-1.8.0-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:c4c800524c9cd9bac5166cd6f55285957fcfc907db323e193f2afcd4d9abd69b", size = 250049, upload-time = "2025-10-06T05:36:14.065Z" },
+ { url = "https://files.pythonhosted.org/packages/c0/01/2f95d3b416c584a1e7f0e1d6d31998c4a795f7544069ee2e0962a4b60740/frozenlist-1.8.0-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:d6a5df73acd3399d893dafc71663ad22534b5aa4f94e8a2fabfe856c3c1b6a52", size = 256485, upload-time = "2025-10-06T05:36:15.39Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/03/024bf7720b3abaebcff6d0793d73c154237b85bdf67b7ed55e5e9596dc9a/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:405e8fe955c2280ce66428b3ca55e12b3c4e9c336fb2103a4937e891c69a4a29", size = 237619, upload-time = "2025-10-06T05:36:16.558Z" },
+ { url = "https://files.pythonhosted.org/packages/69/fa/f8abdfe7d76b731f5d8bd217827cf6764d4f1d9763407e42717b4bed50a0/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:908bd3f6439f2fef9e85031b59fd4f1297af54415fb60e4254a95f75b3cab3f3", size = 250320, upload-time = "2025-10-06T05:36:17.821Z" },
+ { url = "https://files.pythonhosted.org/packages/f5/3c/b051329f718b463b22613e269ad72138cc256c540f78a6de89452803a47d/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:294e487f9ec720bd8ffcebc99d575f7eff3568a08a253d1ee1a0378754b74143", size = 246820, upload-time = "2025-10-06T05:36:19.046Z" },
+ { url = "https://files.pythonhosted.org/packages/0f/ae/58282e8f98e444b3f4dd42448ff36fa38bef29e40d40f330b22e7108f565/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:74c51543498289c0c43656701be6b077f4b265868fa7f8a8859c197006efb608", size = 250518, upload-time = "2025-10-06T05:36:20.763Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/96/007e5944694d66123183845a106547a15944fbbb7154788cbf7272789536/frozenlist-1.8.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:776f352e8329135506a1d6bf16ac3f87bc25b28e765949282dcc627af36123aa", size = 239096, upload-time = "2025-10-06T05:36:22.129Z" },
+ { url = "https://files.pythonhosted.org/packages/66/bb/852b9d6db2fa40be96f29c0d1205c306288f0684df8fd26ca1951d461a56/frozenlist-1.8.0-cp312-cp312-win32.whl", hash = "sha256:433403ae80709741ce34038da08511d4a77062aa924baf411ef73d1146e74faf", size = 39985, upload-time = "2025-10-06T05:36:23.661Z" },
+ { url = "https://files.pythonhosted.org/packages/b8/af/38e51a553dd66eb064cdf193841f16f077585d4d28394c2fa6235cb41765/frozenlist-1.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:34187385b08f866104f0c0617404c8eb08165ab1272e884abc89c112e9c00746", size = 44591, upload-time = "2025-10-06T05:36:24.958Z" },
+ { url = "https://files.pythonhosted.org/packages/a7/06/1dc65480ab147339fecc70797e9c2f69d9cea9cf38934ce08df070fdb9cb/frozenlist-1.8.0-cp312-cp312-win_arm64.whl", hash = "sha256:fe3c58d2f5db5fbd18c2987cba06d51b0529f52bc3a6cdc33d3f4eab725104bd", size = 40102, upload-time = "2025-10-06T05:36:26.333Z" },
+ { url = "https://files.pythonhosted.org/packages/9a/9a/e35b4a917281c0b8419d4207f4334c8e8c5dbf4f3f5f9ada73958d937dcc/frozenlist-1.8.0-py3-none-any.whl", hash = "sha256:0c18a16eab41e82c295618a77502e17b195883241c563b00f0aa5106fc4eaa0d", size = 13409, upload-time = "2025-10-06T05:38:16.721Z" },
+]
+
+[[package]]
+name = "griffelib"
+version = "2.1.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/33/e4/8d187ea29c2e30b3a09505c567513077d6117861bde1fbd997a167f262ec/griffelib-2.1.0.tar.gz", hash = "sha256:762a186d2c6fd6794d4ea20d428d597ffb857cb56b66421651cbba15bdd5e813", size = 216234, upload-time = "2026-06-19T12:05:42.278Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e4/d3/5268aeabf2ad82658c4e2ff3a060648d0f02f3926cb53247c0e4d0dab49e/griffelib-2.1.0-py3-none-any.whl", hash = "sha256:cc7b3d2d2865ad0b909fcc38086e3f554b5ea7acbaa7bbb7ecaa3f5dfb7d9f00", size = 142560, upload-time = "2026-06-19T12:05:38.742Z" },
+]
+
+[[package]]
+name = "h11"
+version = "0.16.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/01/ee/02a2c011bdab74c6fb3c75474d40b3052059d95df7e73351460c8588d963/h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1", size = 101250, upload-time = "2025-04-24T03:35:25.427Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/04/4b/29cac41a4d98d144bf5f6d33995617b185d14b22401f75ca86f384e87ff1/h11-0.16.0-py3-none-any.whl", hash = "sha256:63cf8bbe7522de3bf65932fda1d9c2772064ffb3dae62d55932da54b31cb6c86", size = 37515, upload-time = "2025-04-24T03:35:24.344Z" },
+]
+
+[[package]]
+name = "httpcore"
+version = "1.0.9"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "certifi" },
+ { name = "h11" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484, upload-time = "2025-04-24T22:06:22.219Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/7e/f5/f66802a942d491edb555dd61e3a9961140fd64c90bce1eafd741609d334d/httpcore-1.0.9-py3-none-any.whl", hash = "sha256:2d400746a40668fc9dec9810239072b40b4484b640a8c38fd654a024c7a1bf55", size = 78784, upload-time = "2025-04-24T22:06:20.566Z" },
+]
+
+[[package]]
+name = "httpx"
+version = "0.28.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+ { name = "certifi" },
+ { name = "httpcore" },
+ { name = "idna" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406, upload-time = "2024-12-06T15:37:23.222Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2a/39/e50c7c3a983047577ee07d2a9e53faf5a69493943ec3f6a384bdc792deb2/httpx-0.28.1-py3-none-any.whl", hash = "sha256:d909fcccc110f8c7faf814ca82a9a4d816bc5a6dbfea25d6591d6985b8ba59ad", size = 73517, upload-time = "2024-12-06T15:37:21.509Z" },
+]
+
+[[package]]
+name = "httpx-sse"
+version = "0.4.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/0f/4c/751061ffa58615a32c31b2d82e8482be8dd4a89154f003147acee90f2be9/httpx_sse-0.4.3.tar.gz", hash = "sha256:9b1ed0127459a66014aec3c56bebd93da3c1bc8bb6618c8082039a44889a755d", size = 15943, upload-time = "2025-10-10T21:48:22.271Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d2/fd/6668e5aec43ab844de6fc74927e155a3b37bf40d7c3790e49fc0406b6578/httpx_sse-0.4.3-py3-none-any.whl", hash = "sha256:0ac1c9fe3c0afad2e0ebb25a934a59f4c7823b60792691f779fad2c5568830fc", size = 8960, upload-time = "2025-10-10T21:48:21.158Z" },
+]
+
+[[package]]
+name = "idna"
+version = "3.18"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/cd/63/9496c57188a2ee585e0f1db071d75089a11e98aa86eb99d9d7618fc1edce/idna-3.18.tar.gz", hash = "sha256:ffb385a7e039654cef1ab9ef32c6fafe283c0c0467bba1d9029738ce4a14a848", size = 196711, upload-time = "2026-06-02T14:34:07.794Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/1e/5e/d4e9f1a599fb8e573b7b87160658329fbf28d19eac2718f51fc3def3aa5a/idna-3.18-py3-none-any.whl", hash = "sha256:7f952cbe720b688055e3f87de14f5c3e5fdaa8bc3928985c4077ca689de849a2", size = 65455, upload-time = "2026-06-02T14:34:06.319Z" },
+]
+
+[[package]]
+name = "iniconfig"
+version = "2.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" },
+]
+
+[[package]]
+name = "jiter"
+version = "0.16.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/1d/1f/10936e16d8860c70698a1aa939a46aa0224813b782bce4e000e637da0b2d/jiter-0.16.0.tar.gz", hash = "sha256:7b24c3492c5f4f84a37946ad9cf504910cf6a782d6a4e0689b6673c5894b4a1c", size = 176431, upload-time = "2026-06-29T13:05:13.657Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/83/2b/52ace16ed031354f0539749a49e4bf33797d82bea5137910835fa4b09793/jiter-0.16.0-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:67c3bc1760f8c99d805dcab4e644027142a53b1d5d861f18780ebdbd5d40b72a", size = 306943, upload-time = "2026-06-29T13:03:14.035Z" },
+ { url = "https://files.pythonhosted.org/packages/94/2e/34957c2c1b661c252ba9bcc60ae0bddc27e0f7202c6073326a13c5390eec/jiter-0.16.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5af7780e4a26bd7d0d989592bf9ef12ebf806b74ab709223ecca37c749872ea9", size = 307779, upload-time = "2026-06-29T13:03:15.418Z" },
+ { url = "https://files.pythonhosted.org/packages/88/6c/59bd309cab4460c54cf1079f3eb7fe7af6a4c895c5c957a53378693bad2b/jiter-0.16.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d5bf78d0e05e45cfdd66558893938d59afe3d1b1a824a202039b20e607d25a72", size = 335826, upload-time = "2026-06-29T13:03:17.11Z" },
+ { url = "https://files.pythonhosted.org/packages/3b/8c/f5ef7b65f0df47afa16596969defb281ebb86e96df346d62be6fd853d620/jiter-0.16.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f4444a83f946605990c98f625cdd3d2725bfb818158760c5748c653170a20e0e", size = 362573, upload-time = "2026-06-29T13:03:18.781Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/0b/ace4354da061ee38844a0c27dc2c21eecd27aea119e8da324bea987522d0/jiter-0.16.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3a23f0e4f957e1be65752d2dfac9a5a06b1917af8dc85deb639c3b9d02e31290", size = 457979, upload-time = "2026-06-29T13:03:20.293Z" },
+ { url = "https://files.pythonhosted.org/packages/55/40/c0253d3772eb9dcd8e6606ee9b2d53ec8e5b814589c47f140aa585f21eaa/jiter-0.16.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c22a488f7b9218e245a0025a9ba6b100e2e54700831cf4cf16833a27fba3ad01", size = 372302, upload-time = "2026-06-29T13:03:21.739Z" },
+ { url = "https://files.pythonhosted.org/packages/a8/d2/4839422241aa12860ce597b20068727094ba0bc480723c74924ca5bad483/jiter-0.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:46add52f4ad47a08bfb1219f3e673da972191489a33016edefdb5ea55bfa8c48", size = 343805, upload-time = "2026-06-29T13:03:23.384Z" },
+ { url = "https://files.pythonhosted.org/packages/e2/59/e196888a05befdda7dbe299b722d56f2f6eec65402bc34c0a3306d595feb/jiter-0.16.0-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:9c8a956fd72c2cf1e730d01ea080341f13aa0a97a4a33b51abebe725b7ae9ca9", size = 351107, upload-time = "2026-06-29T13:03:24.815Z" },
+ { url = "https://files.pythonhosted.org/packages/ec/74/4cd9e0fca65232136400354b630fbfcd2de634e22ccbb96567725981b548/jiter-0.16.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:561926e0573ffe4a32498420a76d64b16c513e1ab413b9d28158a8764ac701e5", size = 388441, upload-time = "2026-06-29T13:03:26.266Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/8c/554691e48bc711299c0a293dd8a6179e24b2d66a54dc295421fcf64569c0/jiter-0.16.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:44d019fa8cdaf89bf29c71b39e3712143fdd0ac76725c6ef954f9957a5ea8730", size = 516354, upload-time = "2026-06-29T13:03:28.02Z" },
+ { url = "https://files.pythonhosted.org/packages/a4/cb/01e9d69dc2cc6759d4f91e230b34489c4fdb2518992650633f9e20bece89/jiter-0.16.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:0df91907609837f33341b8e6fe73b95991fdaa57caf1a0fbd343dffe826f386f", size = 547880, upload-time = "2026-06-29T13:03:29.534Z" },
+ { url = "https://files.pythonhosted.org/packages/79/70/2953195f1c6ad00f49fa67e13df7e60acb3dd4f387101bc15abccddd905e/jiter-0.16.0-cp312-cp312-win32.whl", hash = "sha256:51d7b836acb0108d7c77df1742332cac2a1fa04a74d6dacec46e7091f0e91274", size = 203473, upload-time = "2026-06-29T13:03:31.025Z" },
+ { url = "https://files.pythonhosted.org/packages/2d/05/2909a8b10699a4d560f8c502b6b2c5f3991b682b1922c1eedda242b225bd/jiter-0.16.0-cp312-cp312-win_amd64.whl", hash = "sha256:1878349266f8ee36ecb1375cc5ba2f115f35fd9f0a1a4119e725e379126647f7", size = 196905, upload-time = "2026-06-29T13:03:32.472Z" },
+ { url = "https://files.pythonhosted.org/packages/e9/a9/6b82bb1c8d7790d602489b967b982a909e5d092875a6c2ade96444c8dfc5/jiter-0.16.0-cp312-cp312-win_arm64.whl", hash = "sha256:2ed5738ae4af18271a51a528b8811b0cbfa4a1858de9d83359e4169855d6a331", size = 190618, upload-time = "2026-06-29T13:03:34.672Z" },
+ { url = "https://files.pythonhosted.org/packages/98/ab/664fd8c4be028b2bedd3d2ff08769c4ede23d0dbc87a77c62384a0515b5d/jiter-0.16.0-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:f17d61a28b4b3e0e3e2ba98490c70501403b4d196f78732439160e7fd3678127", size = 303106, upload-time = "2026-06-29T13:05:07.118Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/07/421f1d5b65493a76e16027b848aba6a7d28073ae75944fa4289cc914d39f/jiter-0.16.0-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:96e38eea538c8ddf853a35727c7be0741c76c13f04148ac5c116222f50ece3b3", size = 304658, upload-time = "2026-06-29T13:05:08.708Z" },
+ { url = "https://files.pythonhosted.org/packages/0a/db/bba1155f01a01c3c37a89425d571da751bbedf5c54247b831a04cb971798/jiter-0.16.0-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d284fb8d94d5855d60c44fefcab4bf966f1da6fada73992b01f6f0c9bc0c6702", size = 339719, upload-time = "2026-06-29T13:05:10.41Z" },
+ { url = "https://files.pythonhosted.org/packages/78/f7/18a1afcd64f35314b68c1f23afcd9994d0bc13e65cc77517afff4e83986d/jiter-0.16.0-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:64d613743df53199b1aa256a7d328340da6d7078aac7705a7db9d7a791e9cfd2", size = 343885, upload-time = "2026-06-29T13:05:12.087Z" },
+]
+
+[[package]]
+name = "jsonschema"
+version = "4.26.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "attrs" },
+ { name = "jsonschema-specifications" },
+ { name = "referencing" },
+ { name = "rpds-py" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/b3/fc/e067678238fa451312d4c62bf6e6cf5ec56375422aee02f9cb5f909b3047/jsonschema-4.26.0.tar.gz", hash = "sha256:0c26707e2efad8aa1bfc5b7ce170f3fccc2e4918ff85989ba9ffa9facb2be326", size = 366583, upload-time = "2026-01-07T13:41:07.246Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/69/90/f63fb5873511e014207a475e2bb4e8b2e570d655b00ac19a9a0ca0a385ee/jsonschema-4.26.0-py3-none-any.whl", hash = "sha256:d489f15263b8d200f8387e64b4c3a75f06629559fb73deb8fdfb525f2dab50ce", size = 90630, upload-time = "2026-01-07T13:41:05.306Z" },
+]
+
+[[package]]
+name = "jsonschema-specifications"
+version = "2025.9.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "referencing" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/19/74/a633ee74eb36c44aa6d1095e7cc5569bebf04342ee146178e2d36600708b/jsonschema_specifications-2025.9.1.tar.gz", hash = "sha256:b540987f239e745613c7a9176f3edb72b832a4ac465cf02712288397832b5e8d", size = 32855, upload-time = "2025-09-08T01:34:59.186Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/41/45/1a4ed80516f02155c51f51e8cedb3c1902296743db0bbc66608a0db2814f/jsonschema_specifications-2025.9.1-py3-none-any.whl", hash = "sha256:98802fee3a11ee76ecaca44429fda8a41bff98b00a0f2838151b113f210cc6fe", size = 18437, upload-time = "2025-09-08T01:34:57.871Z" },
+]
+
+[[package]]
+name = "markdown-it-py"
+version = "4.2.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "mdurl" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/06/ff/7841249c247aa650a76b9ee4bbaeae59370dc8bfd2f6c01f3630c35eb134/markdown_it_py-4.2.0.tar.gz", hash = "sha256:04a21681d6fbb623de53f6f364d352309d4094dd4194040a10fd51833e418d49", size = 82454, upload-time = "2026-05-07T12:08:28.36Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b3/81/4da04ced5a082363ecfa159c010d200ecbd959ae410c10c0264a38cac0f5/markdown_it_py-4.2.0-py3-none-any.whl", hash = "sha256:9f7ebbcd14fe59494226453aed97c1070d83f8d24b6fc3a3bcf9a38092641c4a", size = 91687, upload-time = "2026-05-07T12:08:27.182Z" },
+]
+
+[[package]]
+name = "mcp"
+version = "1.29.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+ { name = "httpx" },
+ { name = "httpx-sse" },
+ { name = "jsonschema" },
+ { name = "pydantic" },
+ { name = "pydantic-settings" },
+ { name = "pyjwt", extra = ["crypto"] },
+ { name = "python-multipart" },
+ { name = "pywin32", marker = "sys_platform == 'win32'" },
+ { name = "sse-starlette" },
+ { name = "starlette" },
+ { name = "typing-extensions" },
+ { name = "typing-inspection" },
+ { name = "uvicorn", marker = "sys_platform != 'emscripten'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/30/d3/f9acc21dfc886e4f78e2add1a47db46ce16884346afde53f8a064c02c891/mcp-1.29.0.tar.gz", hash = "sha256:52d01f334de1868cc3bb2d6604931126a67631f99a6c5d3b82ba47290315ec36", size = 643148, upload-time = "2026-07-28T13:41:41.939Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/01/c8/248b201f6d753d69fd5d6506011abbb35a946d9142b2ae311a948fd0be3d/mcp-1.29.0-py3-none-any.whl", hash = "sha256:f5a075bb611f23d6f4d080c6a1699fa62772eebc562ba9e66b306ddde1c755f7", size = 223436, upload-time = "2026-07-28T13:41:40.337Z" },
+]
+
+[[package]]
+name = "mdurl"
+version = "0.1.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/d6/54/cfe61301667036ec958cb99bd3efefba235e65cdeb9c84d24a8293ba1d90/mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba", size = 8729, upload-time = "2022-08-14T12:40:10.846Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/b3/38/89ba8ad64ae25be8de66a6d463314cf1eb366222074cfda9ee839c56a4b4/mdurl-0.1.2-py3-none-any.whl", hash = "sha256:84008a41e51615a49fc9966191ff91509e3c40b939176e643fd50a5c2196b8f8", size = 9979, upload-time = "2022-08-14T12:40:09.779Z" },
+]
+
+[[package]]
+name = "msgpack"
+version = "1.2.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/31/f9/c0a1c127f9049db9155afc316952ea571720dd01833ff5e4d7e8e6352dbb/msgpack-1.2.1.tar.gz", hash = "sha256:04c721c2c7448767e9e3f2520a475663d8ee0f09c31890f6d2bd70fd636a9647", size = 183960, upload-time = "2026-06-18T16:13:52.594Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/bc/dd/9e8cbd8f5582ca4b590336f2b91ee5662f6a6ca562b565abaf696a0f81ff/msgpack-1.2.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:2ef59c659f289eddf8aa6623823f19fa2f40a4029266889eac7a2505dd210c35", size = 83531, upload-time = "2026-06-18T16:12:58.249Z" },
+ { url = "https://files.pythonhosted.org/packages/50/2e/ebdb85a8da151397a2790363676b7ed7c125924fe618e4c6d8befb0cc62c/msgpack-1.2.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:d3567748a5107cb40cdf66a275430c2f87c07777698f4bfd25c35f44d533258c", size = 82657, upload-time = "2026-06-18T16:12:59.396Z" },
+ { url = "https://files.pythonhosted.org/packages/26/aa/753ad8b007b464e1d8aa0c8e650b9c5f4f725e658fc5ac8a7635c55b7f6e/msgpack-1.2.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:60926b75d00c8e816ef98f3034f484a8bc64242d66839cef4cf7e503142316a0", size = 410634, upload-time = "2026-06-18T16:13:00.383Z" },
+ { url = "https://files.pythonhosted.org/packages/6a/fd/6adabd4f6d5e686f97dd02ce7fce3fe4cf672cbac36b8f67ff4040e8ad8b/msgpack-1.2.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:020e881a764b20d8d7ca1a54fc01b8175519d108e3c3f194fddc200bda95951a", size = 419989, upload-time = "2026-06-18T16:13:01.776Z" },
+ { url = "https://files.pythonhosted.org/packages/5a/cc/85039b7b0eb168aaad7383a23c97e291a11f08351cb45a606ce865e4e3f1/msgpack-1.2.1-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:4202c74688ca06591f78cb18988228bd4cca2cc75d57b60008372892d2f1e6e6", size = 377544, upload-time = "2026-06-18T16:13:03.637Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/bf/35963899493b32030c85fc513b723ae66144ac70c11ebc52e889e16e3d99/msgpack-1.2.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8b267ce94efb76fbd1b3373511420074ee3187f0f7811bf394531de13294735a", size = 400842, upload-time = "2026-06-18T16:13:05.012Z" },
+ { url = "https://files.pythonhosted.org/packages/a6/df/8e2ac970c8f99264cd9997d1c73df5466bc19da3301d7dc5500862a9b089/msgpack-1.2.1-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:e4f1d0f8f98ade9634e01fb704a408f9336c0a8f1117b369f5db83dc7551d8b1", size = 374108, upload-time = "2026-06-18T16:13:06.232Z" },
+ { url = "https://files.pythonhosted.org/packages/17/dd/fa8bd265110dfa51c20cb529f9e6d240a16fafe7e645004c6af2d01353ba/msgpack-1.2.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:f02cf17a6ca1abe29b5f980644f7551f94d71f2011509b26d8625ce038f0df64", size = 414939, upload-time = "2026-06-18T16:13:07.478Z" },
+ { url = "https://files.pythonhosted.org/packages/2e/b9/8377a5ad8953fc0437c70cc98d9ae29f27fe5ac5109fbec0812085865735/msgpack-1.2.1-cp312-cp312-win32.whl", hash = "sha256:0c0d9802354507bcba62af19c17918e3eb437cc25e6f50657d511b5856a77aac", size = 64504, upload-time = "2026-06-18T16:13:08.822Z" },
+ { url = "https://files.pythonhosted.org/packages/57/7f/ce1e377df7e62461fefd9eb23bfb93a4a523f40a517b377b8f844d836828/msgpack-1.2.1-cp312-cp312-win_amd64.whl", hash = "sha256:5c24aa15d5963051e1a5c62b12c50cd705992502b5ec1f3bece6046f33c9fc24", size = 71421, upload-time = "2026-06-18T16:13:09.828Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/32/ebfe84c9929f08f188d56c7a2fd913406a9ddad76a634697c1c43b8112e6/msgpack-1.2.1-cp312-cp312-win_arm64.whl", hash = "sha256:4227224aaec8f7fbcbfbd4272319347b2bb4030366502600f8c45588c5187b07", size = 64775, upload-time = "2026-06-18T16:13:11.056Z" },
+]
+
+[[package]]
+name = "msgpack-numpy"
+version = "0.4.8"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "msgpack" },
+ { name = "numpy" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/08/94/61e8aee142733ebfdc400a05bdac6e1763c4514bba3b42743d223f388450/msgpack-numpy-0.4.8.tar.gz", hash = "sha256:c667d3180513422f9c7545be5eec5d296dcbb357e06f72ed39cc683797556e69", size = 10923, upload-time = "2022-06-09T03:43:08.739Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/9b/5d/f25ac7d4fb77cbd53ddc6d05d833c6bf52b12770a44fa9a447eed470ca9a/msgpack_numpy-0.4.8-py2.py3-none-any.whl", hash = "sha256:773c19d4dfbae1b3c7b791083e2caf66983bb19b40901646f61d8731554ae3da", size = 6919, upload-time = "2022-06-09T03:43:06.82Z" },
+]
+
+[[package]]
+name = "multidict"
+version = "6.7.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/1a/c2/c2d94cbe6ac1753f3fc980da97b3d930efe1da3af3c9f5125354436c073d/multidict-6.7.1.tar.gz", hash = "sha256:ec6652a1bee61c53a3e5776b6049172c53b6aaba34f18c9ad04f82712bac623d", size = 102010, upload-time = "2026-01-26T02:46:45.979Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/8d/9c/f20e0e2cf80e4b2e4b1c365bf5fe104ee633c751a724246262db8f1a0b13/multidict-6.7.1-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:a90f75c956e32891a4eda3639ce6dd86e87105271f43d43442a3aedf3cddf172", size = 76893, upload-time = "2026-01-26T02:43:52.754Z" },
+ { url = "https://files.pythonhosted.org/packages/fe/cf/18ef143a81610136d3da8193da9d80bfe1cb548a1e2d1c775f26b23d024a/multidict-6.7.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:3fccb473e87eaa1382689053e4a4618e7ba7b9b9b8d6adf2027ee474597128cd", size = 45456, upload-time = "2026-01-26T02:43:53.893Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/65/1caac9d4cd32e8433908683446eebc953e82d22b03d10d41a5f0fefe991b/multidict-6.7.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b0fa96985700739c4c7853a43c0b3e169360d6855780021bfc6d0f1ce7c123e7", size = 43872, upload-time = "2026-01-26T02:43:55.041Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/3b/d6bd75dc4f3ff7c73766e04e705b00ed6dbbaccf670d9e05a12b006f5a21/multidict-6.7.1-cp312-cp312-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:cb2a55f408c3043e42b40cc8eecd575afa27b7e0b956dfb190de0f8499a57a53", size = 251018, upload-time = "2026-01-26T02:43:56.198Z" },
+ { url = "https://files.pythonhosted.org/packages/fd/80/c959c5933adedb9ac15152e4067c702a808ea183a8b64cf8f31af8ad3155/multidict-6.7.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:eb0ce7b2a32d09892b3dd6cc44877a0d02a33241fafca5f25c8b6b62374f8b75", size = 258883, upload-time = "2026-01-26T02:43:57.499Z" },
+ { url = "https://files.pythonhosted.org/packages/86/85/7ed40adafea3d4f1c8b916e3b5cc3a8e07dfcdcb9cd72800f4ed3ca1b387/multidict-6.7.1-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:c3a32d23520ee37bf327d1e1a656fec76a2edd5c038bf43eddfa0572ec49c60b", size = 242413, upload-time = "2026-01-26T02:43:58.755Z" },
+ { url = "https://files.pythonhosted.org/packages/d2/57/b8565ff533e48595503c785f8361ff9a4fde4d67de25c207cd0ba3befd03/multidict-6.7.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:9c90fed18bffc0189ba814749fdcc102b536e83a9f738a9003e569acd540a733", size = 268404, upload-time = "2026-01-26T02:44:00.216Z" },
+ { url = "https://files.pythonhosted.org/packages/e0/50/9810c5c29350f7258180dfdcb2e52783a0632862eb334c4896ac717cebcb/multidict-6.7.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:da62917e6076f512daccfbbde27f46fed1c98fee202f0559adec8ee0de67f71a", size = 269456, upload-time = "2026-01-26T02:44:02.202Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/8d/5e5be3ced1d12966fefb5c4ea3b2a5b480afcea36406559442c6e31d4a48/multidict-6.7.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bfde23ef6ed9db7eaee6c37dcec08524cb43903c60b285b172b6c094711b3961", size = 256322, upload-time = "2026-01-26T02:44:03.56Z" },
+ { url = "https://files.pythonhosted.org/packages/31/6e/d8a26d81ac166a5592782d208dd90dfdc0a7a218adaa52b45a672b46c122/multidict-6.7.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:3758692429e4e32f1ba0df23219cd0b4fc0a52f476726fff9337d1a57676a582", size = 253955, upload-time = "2026-01-26T02:44:04.845Z" },
+ { url = "https://files.pythonhosted.org/packages/59/4c/7c672c8aad41534ba619bcd4ade7a0dc87ed6b8b5c06149b85d3dd03f0cd/multidict-6.7.1-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:398c1478926eca669f2fd6a5856b6de9c0acf23a2cb59a14c0ba5844fa38077e", size = 251254, upload-time = "2026-01-26T02:44:06.133Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/bd/84c24de512cbafbdbc39439f74e967f19570ce7924e3007174a29c348916/multidict-6.7.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:c102791b1c4f3ab36ce4101154549105a53dc828f016356b3e3bcae2e3a039d3", size = 252059, upload-time = "2026-01-26T02:44:07.518Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/ba/f5449385510825b73d01c2d4087bf6d2fccc20a2d42ac34df93191d3dd03/multidict-6.7.1-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:a088b62bd733e2ad12c50dad01b7d0166c30287c166e137433d3b410add807a6", size = 263588, upload-time = "2026-01-26T02:44:09.382Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/11/afc7c677f68f75c84a69fe37184f0f82fce13ce4b92f49f3db280b7e92b3/multidict-6.7.1-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:3d51ff4785d58d3f6c91bdbffcb5e1f7ddfda557727043aa20d20ec4f65e324a", size = 259642, upload-time = "2026-01-26T02:44:10.73Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/17/ebb9644da78c4ab36403739e0e6e0e30ebb135b9caf3440825001a0bddcb/multidict-6.7.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:fc5907494fccf3e7d3f94f95c91d6336b092b5fc83811720fae5e2765890dfba", size = 251377, upload-time = "2026-01-26T02:44:12.042Z" },
+ { url = "https://files.pythonhosted.org/packages/ca/a4/840f5b97339e27846c46307f2530a2805d9d537d8b8bd416af031cad7fa0/multidict-6.7.1-cp312-cp312-win32.whl", hash = "sha256:28ca5ce2fd9716631133d0e9a9b9a745ad7f60bac2bccafb56aa380fc0b6c511", size = 41887, upload-time = "2026-01-26T02:44:14.245Z" },
+ { url = "https://files.pythonhosted.org/packages/80/31/0b2517913687895f5904325c2069d6a3b78f66cc641a86a2baf75a05dcbb/multidict-6.7.1-cp312-cp312-win_amd64.whl", hash = "sha256:fcee94dfbd638784645b066074b338bc9cc155d4b4bffa4adce1615c5a426c19", size = 46053, upload-time = "2026-01-26T02:44:15.371Z" },
+ { url = "https://files.pythonhosted.org/packages/0c/5b/aba28e4ee4006ae4c7df8d327d31025d760ffa992ea23812a601d226e682/multidict-6.7.1-cp312-cp312-win_arm64.whl", hash = "sha256:ba0a9fb644d0c1a2194cf7ffb043bd852cea63a57f66fbd33959f7dae18517bf", size = 43307, upload-time = "2026-01-26T02:44:16.852Z" },
+ { url = "https://files.pythonhosted.org/packages/81/08/7036c080d7117f28a4af526d794aab6a84463126db031b007717c1a6676e/multidict-6.7.1-py3-none-any.whl", hash = "sha256:55d97cc6dae627efa6a6e548885712d4864b81110ac76fa4e534c03819fa4a56", size = 12319, upload-time = "2026-01-26T02:46:44.004Z" },
+]
+
+[[package]]
+name = "numpy"
+version = "2.5.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/22/fd/89965aa4ac08c74998539fcbf24fa3540f3e15237fbeb6bcf9c908f4aade/numpy-2.5.1.tar.gz", hash = "sha256:a48a113e6afea91f5608793bafa7ef2ad481fefbda87ec5069f483de61cb9fa3", size = 20755553, upload-time = "2026-07-04T17:08:00.933Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/62/7b/14687aa674250e5e546f616f486b0d56d3631cd5b2415739141ce40bdcea/numpy-2.5.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:2c889b56fe48b1018f764b0eec8df59ab654e9148aa91faa12596043500de277", size = 16801574, upload-time = "2026-07-04T17:06:12.423Z" },
+ { url = "https://files.pythonhosted.org/packages/e1/19/cc5bb2a3f2913d27d6dbb2c78d25921fabaedc6741d4a5a615a11f3c5bf3/numpy-2.5.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ab451b59c5643c570974c43aef780703ef1d3b4965d2be07afd530615a9358d1", size = 11772250, upload-time = "2026-07-04T17:06:15.726Z" },
+ { url = "https://files.pythonhosted.org/packages/42/77/fdf34a71dd30f54979b18603bee915e0aaf825b07afe79acd60b04b691e2/numpy-2.5.1-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:78798bd5b9ad744056af8efa90e3b9ddaa53272a0848a483084a1cc0a13b2dc0", size = 5331516, upload-time = "2026-07-04T17:06:17.913Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/e2/eb7efa015b4cce41e2517bf182a7fce0d7d5b9d9ed76a29bfa0f4fe4505c/numpy-2.5.1-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:2ae0ca40bcb22d6ba59c1dfd5446f49940b0f2d821fde133f10dda11f816b84e", size = 6664863, upload-time = "2026-07-04T17:06:20.02Z" },
+ { url = "https://files.pythonhosted.org/packages/a9/4b/a2b32dd94ee9ffbeecb28152240042a3949db33b1c834d44090b80e1b3b8/numpy-2.5.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:61ac47e772e6b8ea489e1d2f441a34c5c3ac17327e7ce294cbdf535795ad4e75", size = 15167977, upload-time = "2026-07-04T17:06:21.621Z" },
+ { url = "https://files.pythonhosted.org/packages/b8/a9/6e73d68500f80773f65f0654ea932019d6694329a0eb0ed0533de38df376/numpy-2.5.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:59fda5e192b570217ec2580c96f00e9a7e12ef6866a900eb089b62c1a32545ca", size = 16672469, upload-time = "2026-07-04T17:06:24.064Z" },
+ { url = "https://files.pythonhosted.org/packages/24/7d/ad3e59015135f5261c95fd4cafeff159c955febd83a99a1d9250c4233815/numpy-2.5.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:f7119ebff1a9829e9f431a4f9d28e703023bb6b9fe7c8f724467dbfc27c94ab3", size = 16527531, upload-time = "2026-07-04T17:06:26.69Z" },
+ { url = "https://files.pythonhosted.org/packages/83/d0/a39b2fbcde9cb17a1dac678f254b33a6336298af9df338824c685425d5e8/numpy-2.5.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e824c2acf8862052246be5a44c15da1777940c60d010dd2aab897824d9c430f9", size = 18431940, upload-time = "2026-07-04T17:06:29.521Z" },
+ { url = "https://files.pythonhosted.org/packages/04/12/cff070947791c1ed425ff76413189adbdc2fbe215eba7ce7fa454a03c7f8/numpy-2.5.1-cp312-cp312-win32.whl", hash = "sha256:08d60c810432eb83360958dea0999ac4cfb94531ea8efcbf0b7f277c2068aeb2", size = 6066764, upload-time = "2026-07-04T17:06:32.571Z" },
+ { url = "https://files.pythonhosted.org/packages/65/66/53f31807a48a750f9d748da273bc3fcedd12b27ff1f3e373bfec55ef2dc0/numpy-2.5.1-cp312-cp312-win_amd64.whl", hash = "sha256:f7d60026c0bdb1380e83bfa7a0419c4577ee4b9a08880afcb6dadeb74c649fa2", size = 12430966, upload-time = "2026-07-04T17:06:34.926Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/2a/d1a88066b1c14186f5d3c0d18c94f17b064511982bab0578d49ee9d43c29/numpy-2.5.1-cp312-cp312-win_arm64.whl", hash = "sha256:17a25e09640602e10bc8de0e6fa2b3fd68eedd84ba6d7842dc8f32f9ab87bd0b", size = 10350488, upload-time = "2026-07-04T17:06:37.785Z" },
+]
+
+[[package]]
+name = "openai"
+version = "2.44.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+ { name = "distro" },
+ { name = "httpx" },
+ { name = "jiter" },
+ { name = "pydantic" },
+ { name = "sniffio" },
+ { name = "tqdm" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/49/f5/7c7cb955305cb41f7f3c5fd7e0e38bf6bbf2658468863d4b7b868a5cb8df/openai-2.44.0.tar.gz", hash = "sha256:68a5a5ffad82b8ff7d451c437529fb64f7c3b8123aaf0c021966a882d9e3947d", size = 988753, upload-time = "2026-06-24T20:56:02.293Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ae/f4/561ed79fd94876160018a5e75254cfcb9b0e62d4dded9dcb20072e86d623/openai-2.44.0-py3-none-any.whl", hash = "sha256:0a2a3ab2e29aeda368700f662ff9ba0f9df17ba4c54577a64e08b8115a3cc0ad", size = 1366216, upload-time = "2026-06-24T20:55:58.882Z" },
+]
+
+[[package]]
+name = "openai-agents"
+version = "0.13.6"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "griffelib" },
+ { name = "mcp" },
+ { name = "openai" },
+ { name = "pydantic" },
+ { name = "requests" },
+ { name = "types-requests" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/4f/e8/a3bc1a91af9c71d2934f8e2f3eee2954540fa95d47b0e3f155d348d91b38/openai_agents-0.13.6.tar.gz", hash = "sha256:de7b3add7933ae704a5ee6e531f650d8aabb3ebaa1631f458ba39684a5ed966e", size = 2704270, upload-time = "2026-04-09T04:10:51.581Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/1c/83/a991b2ad389abadabf13f6c4228bd88ac8dc363e4b50fcae8c5ea966bd41/openai_agents-0.13.6-py3-none-any.whl", hash = "sha256:8decb9eb0cc5dbe7749858e97a7d8316f9439526ca4e539e3bd105e0eb41115e", size = 471763, upload-time = "2026-04-09T04:10:49.81Z" },
+]
+
+[[package]]
+name = "packaging"
+version = "26.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/7d/fa/3944b40b07da9ce895c0e6303a5ab7d53da063554f534556b134a54d6093/packaging-26.3.tar.gz", hash = "sha256:94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79", size = 313412, upload-time = "2026-08-04T18:15:28.737Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/63/34/ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527/packaging-26.3-py3-none-any.whl", hash = "sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c", size = 129956, upload-time = "2026-08-04T18:15:27.159Z" },
+]
+
+[[package]]
+name = "pillow"
+version = "12.3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/1c/3d/bb7fca845737cf9d7dbde16ed1843984665ff2e0a518f5db43e77ec540b9/pillow-12.3.0.tar.gz", hash = "sha256:3b8182a766685eaa002637e28b4ec8d6b18819a0c71f579bf0dbaa5830297cce", size = 47025035, upload-time = "2026-07-01T11:56:38.965Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/37/bf/fb3ebff8ddcb76aac5a01389251bbbb9519922a9b520d8247c1ca864a25d/pillow-12.3.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:ba09209fbe443b4acccebe845d8a138b89a8f4fbaeedd44953490b5315d5e965", size = 5345969, upload-time = "2026-07-01T11:54:06.397Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/66/9a386a92561f402389a4fc70c18838bf6d35eb5eb5c6850b4b2dc64f5048/pillow-12.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ffd0c5368496f41b0944be820fcb7a838aa6e623d250b01acf2643939c3f99d7", size = 4780323, upload-time = "2026-07-01T11:54:09.351Z" },
+ { url = "https://files.pythonhosted.org/packages/25/27/ac8f99618ffd3dde21db0f4d4b1d2ab00c0880595bfd17df103f7f39fd0c/pillow-12.3.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d9c7f76c0673154f044e9d78c8655fb4213f6ca31a836df48b40fe5d187717b9", size = 6266838, upload-time = "2026-07-01T11:54:11.71Z" },
+ { url = "https://files.pythonhosted.org/packages/84/21/a35af28dcc61f37ed850a2d64c65c701321dfbf25085e469d5559360cbbf/pillow-12.3.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:78cb2c6865a35ab8ff8b75fd122f6033b92a62c82801110e48ddd6c936a45d91", size = 6940830, upload-time = "2026-07-01T11:54:13.732Z" },
+ { url = "https://files.pythonhosted.org/packages/eb/51/8b08617af3ad95e33ce6d7dd2c99ed6c8298f7fb131636303956be022e25/pillow-12.3.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:e491916b378fba47242221bb9ead245211b70d504f495d105d17b14a24b4907c", size = 6344383, upload-time = "2026-07-01T11:54:15.756Z" },
+ { url = "https://files.pythonhosted.org/packages/1d/72/cf78ac9780bb93c28328f408973845a309d4d145041665f734572ced1b52/pillow-12.3.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:0dd2064cbc55aaec028ef5fbb60fa47bb6c3e7918e07ff17935284b227a9d2df", size = 7052934, upload-time = "2026-07-01T11:54:17.721Z" },
+ { url = "https://files.pythonhosted.org/packages/20/20/25e0f4dc178a6bc0696793720055519a0de89e7661dae886992decbd2f81/pillow-12.3.0-cp312-cp312-win32.whl", hash = "sha256:dbce0b29841537a2fa4a214c2bbf14de3587c9680caa9b4e217568472490b28f", size = 6472684, upload-time = "2026-07-01T11:54:19.839Z" },
+ { url = "https://files.pythonhosted.org/packages/45/89/da2f7971a317f83d807fdd4065c0af40208e59e692cc43d315a71a0e96d1/pillow-12.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:a2b55dd6b2a4c4b7d87ffa56bdb33fdc5fdb9a462173861a7bc097f17d91cb09", size = 7227137, upload-time = "2026-07-01T11:54:22.025Z" },
+ { url = "https://files.pythonhosted.org/packages/de/47/4845a0a6c0dbf1db8456bd9fc791f13c5ced7ced20606d08a0aacfd25b49/pillow-12.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:331b624368d4f1d069149002f25f44bc61c8919ce8ddb3c45bdad8f6e2d89510", size = 2568267, upload-time = "2026-07-01T11:54:24.051Z" },
+]
+
+[[package]]
+name = "pluggy"
+version = "1.6.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" },
+]
+
+[[package]]
+name = "propcache"
+version = "0.5.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/ec/44/c87281c333769159c50594f22610f77398a47ccbfbbf23074e744e86f87c/propcache-0.5.2.tar.gz", hash = "sha256:01c4fc7480cd0598bb4b57022df55b9ca296da7fc5a8760bd8451a7e63a7d427", size = 50208, upload-time = "2026-05-08T21:02:12.199Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/4a/cb/e27bc2b2737a0bb49962b275efa051e8f1c35a936df7d5139b6b658b7dc9/propcache-0.5.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:806719138ecd720339a12410fb9614ac9b2b2d3a5fdf8235d56981c36f4039ba", size = 95887, upload-time = "2026-05-08T21:00:11.277Z" },
+ { url = "https://files.pythonhosted.org/packages/e6/13/b8ae04c59392f8d11c6cd9fb4011d1dc7c86b81225c770280300e259ffe1/propcache-0.5.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:db2b80ea58eab4f86b2beec3cc8b39e8ff9276ac20e96b7cce43c8ae84cd6b5a", size = 54654, upload-time = "2026-05-08T21:00:12.604Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/7d/49777a3e20b55863d4794384a38acd460c04157b0a00f8602b0d508b8431/propcache-0.5.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:e5cbfac9f61484f7e9f3597775500cd3ebe8274e9b050c38f9525c77c97520bf", size = 55190, upload-time = "2026-05-08T21:00:13.935Z" },
+ { url = "https://files.pythonhosted.org/packages/44/c7/085d0cd63062e84044e3f05797749c3f8e3938ff3aeb0eb2f69d43fafc91/propcache-0.5.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5dbc581d2814337da56222fab8dc5f161cd798a434e49bac27930aaef798e144", size = 59995, upload-time = "2026-05-08T21:00:15.526Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/42/32cf8e3009e92b2645cf1e944f701e8ea4e924dffde1ee26db860bcbf7e4/propcache-0.5.2-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:857187f381f88c8e2fa2fe56ab94879d011b883d5a2ee5a1b60a8cd2a06846d9", size = 63422, upload-time = "2026-05-08T21:00:16.824Z" },
+ { url = "https://files.pythonhosted.org/packages/9e/1b/f112433f99fc979431b87a39ef169e3f8df070d99a72792c56d6937ac48b/propcache-0.5.2-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:178b4a2cdaac1818e2bf1c5a99b94383fa73ea5382e032a48dec07dc5668dc42", size = 64342, upload-time = "2026-05-08T21:00:18.362Z" },
+ { url = "https://files.pythonhosted.org/packages/14/15/5574111ae50dd6e879456888c0eadd4c5a869959775854e18e18a6b345f3/propcache-0.5.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6f328175a2cde1f0ff2c4ed8ce968b9dcfb55f3a7153f39e2957ed994da13476", size = 61639, upload-time = "2026-05-08T21:00:19.692Z" },
+ { url = "https://files.pythonhosted.org/packages/cc/da/4d775080b1490c0ae604acda868bd71aabe3a89ed16f2aa4339eb8a283e7/propcache-0.5.2-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:5671d09a36b06d0fd4a3da0fccbcae360e9b1570924171a15e9e0997f0249fba", size = 61588, upload-time = "2026-05-08T21:00:21.155Z" },
+ { url = "https://files.pythonhosted.org/packages/04/ac/f076982cbe2195ee9cf32de5a1e46951d9fb399fc207f390562dd0fd8fb2/propcache-0.5.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:80168e2ebe4d3ec6599d10ad8f520304ae1cad9b6c5a95372aef1b66b7bfb53a", size = 60029, upload-time = "2026-05-08T21:00:22.713Z" },
+ { url = "https://files.pythonhosted.org/packages/70/60/189be62e0dd898dce3b331e1b8c7a543cd3a405ac0c81fe8ee8a9d5d77e1/propcache-0.5.2-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:45f11346f884bc47444f6e6647131055844134c3175b629f84952e2b5cd62b64", size = 56774, upload-time = "2026-05-08T21:00:24.001Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/9e/93377b9c7939c1ffae98f878dee955efadfd638078bc86dbc21f9d52f651/propcache-0.5.2-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:8e778ebd44ef4f66ed60a0416b06b489687db264a9c0b3620362f26489492913", size = 63532, upload-time = "2026-05-08T21:00:25.545Z" },
+ { url = "https://files.pythonhosted.org/packages/14/f9/590ef6cfb9b8028d516d287812ece32bb0bc5f11fbb9c8bf6b2e6313fec8/propcache-0.5.2-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:c0cb9ed24c8964e172768d455a38254c2dd8a552905729ce006cad3d3dda59b1", size = 61592, upload-time = "2026-05-08T21:00:27.186Z" },
+ { url = "https://files.pythonhosted.org/packages/b4/5e/70958b3034c297a630bba2f17ca7abc2d5f39a803ad7e370ab79d1ecd022/propcache-0.5.2-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:1d1ad32d9d4355e2be65574fd0bfd3677e7066b009cd5b9b2dee8aa6a6393b33", size = 64788, upload-time = "2026-05-08T21:00:28.8Z" },
+ { url = "https://files.pythonhosted.org/packages/12/fd/77fe5936d8c3086ca9048f7f415f122ed82e53884a9ec193646b42deef06/propcache-0.5.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:c80f4ba3e8f00189165999a742ee526ebeccedf6c3f7beb0c7df821e9772435a", size = 62514, upload-time = "2026-05-08T21:00:30.098Z" },
+ { url = "https://files.pythonhosted.org/packages/cf/74/66bd798b5b3be70aa1b391f5cc9d6a0a5532d7fd3b19ec0b213e72e6ad9d/propcache-0.5.2-cp312-cp312-win32.whl", hash = "sha256:8c7972d8f193740d9175f0998ab38717e6cd322d5935c5b0fef8c0d323fd9031", size = 39018, upload-time = "2026-05-08T21:00:31.622Z" },
+ { url = "https://files.pythonhosted.org/packages/61/7c/5c0d34aa3024694d6dcb9271cdbdd08c4e47c1c0ad95ec7e7bc74cdea145/propcache-0.5.2-cp312-cp312-win_amd64.whl", hash = "sha256:d9ee8826a7d47863a08ac44e1a5f611a462eefc3a194b492da242128bec75b42", size = 42322, upload-time = "2026-05-08T21:00:32.918Z" },
+ { url = "https://files.pythonhosted.org/packages/4d/91/875812f1a3feb20ceba818ef39fbe4d92f1081e04ac815c822496d0d038b/propcache-0.5.2-cp312-cp312-win_arm64.whl", hash = "sha256:2800a4a8ead6b28cccd1ec54b59346f0def7922ee1c7598e8499c733cfbb7c84", size = 38172, upload-time = "2026-05-08T21:00:35.124Z" },
+ { url = "https://files.pythonhosted.org/packages/3a/ed/1cdcab6ba3d6ab7feca11fc14f0eeea80755bb53ef4e892079f31b10a25f/propcache-0.5.2-py3-none-any.whl", hash = "sha256:be1ddfcbb376e3de5d2e2db1d58d6d67463e6b4f9f040c000de8e300295465fe", size = 14036, upload-time = "2026-05-08T21:02:10.673Z" },
+]
+
+[[package]]
+name = "pycparser"
+version = "3.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/1b/7d/92392ff7815c21062bea51aa7b87d45576f649f16458d78b7cf94b9ab2e6/pycparser-3.0.tar.gz", hash = "sha256:600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29", size = 103492, upload-time = "2026-01-21T14:26:51.89Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0c/c3/44f3fbbfa403ea2a7c779186dc20772604442dde72947e7d01069cbe98e3/pycparser-3.0-py3-none-any.whl", hash = "sha256:b727414169a36b7d524c1c3e31839a521725078d7b2ff038656844266160a992", size = 48172, upload-time = "2026-01-21T14:26:50.693Z" },
+]
+
+[[package]]
+name = "pydantic"
+version = "2.13.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "annotated-types" },
+ { name = "pydantic-core" },
+ { name = "typing-extensions" },
+ { name = "typing-inspection" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/18/a5/b60d21ac674192f8ab0ba4e9fd860690f9b4a6e51ca5df118733b487d8d6/pydantic-2.13.4.tar.gz", hash = "sha256:c40756b57adaa8b1efeeced5c196f3f3b7c435f90e84ea7f443901bec8099ef6", size = 844775, upload-time = "2026-05-06T13:43:05.343Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/fd/7b/122376b1fd3c62c1ed9dc80c931ace4844b3c55407b6fb2d199377c9736f/pydantic-2.13.4-py3-none-any.whl", hash = "sha256:45a282cde31d808236fd7ea9d919b128653c8b38b393d1c4ab335c62924d9aba", size = 472262, upload-time = "2026-05-06T13:43:02.641Z" },
+]
+
+[[package]]
+name = "pydantic-core"
+version = "2.46.4"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/9d/56/921726b776ace8d8f5db44c4ef961006580d91dc52b803c489fafd1aa249/pydantic_core-2.46.4.tar.gz", hash = "sha256:62f875393d7f270851f20523dd2e29f082bcc82292d66db2b64ea71f64b6e1c1", size = 471464, upload-time = "2026-05-06T13:37:06.98Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/ce/8c/af022f0af448d7747c5154288d46b5f2bc5f17366eaa0e23e9aa04d59f3b/pydantic_core-2.46.4-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:3245406455a5d98187ec35530fd772b1d799b26667980872c8d4614991e2c4a2", size = 2106158, upload-time = "2026-05-06T13:38:57.215Z" },
+ { url = "https://files.pythonhosted.org/packages/19/95/6195171e385007300f0f5574592e467c568becce2d937a0b6804f218bc49/pydantic_core-2.46.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:962ccbab7b642487b1d8b7df90ef677e03134cf1fd8880bf698649b22a69371f", size = 1951724, upload-time = "2026-05-06T13:37:02.697Z" },
+ { url = "https://files.pythonhosted.org/packages/8e/bc/f47d1ff9cbb1620e1b5b697eef06010035735f07820180e74178226b27b3/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8233f2947cf85404441fd7e0085f53b10c93e0ee78611099b5c7237e36aacbf7", size = 1975742, upload-time = "2026-05-06T13:37:09.448Z" },
+ { url = "https://files.pythonhosted.org/packages/5b/11/9b9a5b0306345664a2da6410877af6e8082481b5884b3ddd78d47c6013ce/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:3a233125ac121aa3ffba9a2b59edfc4a985a76092dc8279586ab4b71390875e7", size = 2052418, upload-time = "2026-05-06T13:37:38.234Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/b7/a65fec226f5d78fc39f4a13c4cc0c768c22b113438f60c14adc9d2865038/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5b712b53160b79a5850310b912a5ef8e57e56947c8ad690c227f5c9d7e561712", size = 2232274, upload-time = "2026-05-06T13:38:27.753Z" },
+ { url = "https://files.pythonhosted.org/packages/68/f0/92039db98b907ef49269a8271f67db9cb78ae2fc68062ef7e4e77adb5f61/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9401557acd873c3a7f3eb9383edef8ac4968f9510e340f4808d427e75667e7b4", size = 2309940, upload-time = "2026-05-06T13:38:05.353Z" },
+ { url = "https://files.pythonhosted.org/packages/5f/97/2aab507d3d00ca626e8e57c1eac6a79e4e5fbcc63eb99733ff55d1717f65/pydantic_core-2.46.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:926c9541b14b12b1681dca8a0b75feb510b06c6341b70a8e500c2fdcff837cce", size = 2094516, upload-time = "2026-05-06T13:39:10.577Z" },
+ { url = "https://files.pythonhosted.org/packages/22/37/a8aca44d40d737dde2bc05b3c6c07dff0de07ce6f82e9f3167aeaf4d5dea/pydantic_core-2.46.4-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:56cb4851bcaf3d117eddcef4fe66afd750a50274b0da8e22be256d10e5611987", size = 2136854, upload-time = "2026-05-06T13:40:22.59Z" },
+ { url = "https://files.pythonhosted.org/packages/24/99/fcef1b79238c06a8cbec70819ac722ba76e02bc8ada9b0fd66eba40da01b/pydantic_core-2.46.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:c68fcd102d71ea85c5b2dfac3f4f8476eff42a9e078fd5faefff6d145063536b", size = 2180306, upload-time = "2026-05-06T13:40:10.666Z" },
+ { url = "https://files.pythonhosted.org/packages/ae/6c/fc44000918855b42779d007ae63b0532794739027b2f417321cddbc44f6a/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:b2f69dec1725e79a012d920df1707de5caf7ed5e08f3be4435e25803efc47458", size = 2190044, upload-time = "2026-05-06T13:40:43.231Z" },
+ { url = "https://files.pythonhosted.org/packages/6b/65/d9cadc9f1920d7a127ad2edba16c1db7916e59719285cd6c94600b0080ba/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_armv7l.whl", hash = "sha256:8d0820e8192167f80d88d64038e609c31452eeca865b4e1d9950a27a4609b00b", size = 2329133, upload-time = "2026-05-06T13:39:57.365Z" },
+ { url = "https://files.pythonhosted.org/packages/d0/cf/c873d91679f3a30bcf5e7ac280ce5573483e72295307685120d0d5ad3416/pydantic_core-2.46.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:fbdb89b3e1c94a30cc5edfce477c6e6a5dc4d8f84665b455c27582f211a1c72c", size = 2374464, upload-time = "2026-05-06T13:38:06.976Z" },
+ { url = "https://files.pythonhosted.org/packages/47/bd/6f2fc8188f31bf10590f1e98e7b306336161fac930a8c514cd7bd828c7dc/pydantic_core-2.46.4-cp312-cp312-win32.whl", hash = "sha256:9aa768456404a8bf48a4406685ac2bec8e72b62c69313734fa3b73cf33b3a894", size = 1974823, upload-time = "2026-05-06T13:40:47.985Z" },
+ { url = "https://files.pythonhosted.org/packages/40/8c/985c1d41ea1107c2534abd9870e4ed5c8e7669b5c308297835c001e7a1c4/pydantic_core-2.46.4-cp312-cp312-win_amd64.whl", hash = "sha256:e9c26f834c65f5752f3f06cb08cb86a913ceb7274d0db6e267808a708b46bc89", size = 2072919, upload-time = "2026-05-06T13:39:21.153Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/ba/f463d006e0c47373ca7ec5e1a261c59dc01ef4d62b2657af925fb0deee3a/pydantic_core-2.46.4-cp312-cp312-win_arm64.whl", hash = "sha256:4fc73cb559bdb54b1134a706a2802a4cddd27a0633f5abb7e53056268751ac6a", size = 2027604, upload-time = "2026-05-06T13:39:03.753Z" },
+ { url = "https://files.pythonhosted.org/packages/9d/1d/8987ad40f65ae1432753072f214fb5c74fe47ffbd0698bb9cbbb585664f8/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-macosx_10_12_x86_64.whl", hash = "sha256:1d8ba486450b14f3b1d63bc521d410ec7565e52f887b9fb671791886436a42f7", size = 2095527, upload-time = "2026-05-06T13:39:52.283Z" },
+ { url = "https://files.pythonhosted.org/packages/64/d3/84c282a7eee1d3ac4c0377546ef5a1ea436ce26840d9ac3b7ed54a377507/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-macosx_11_0_arm64.whl", hash = "sha256:3009f12e4e90b7f88b4f9adb1b0c4a3d58fe7820f3238c190047209d148026df", size = 1936024, upload-time = "2026-05-06T13:40:15.671Z" },
+ { url = "https://files.pythonhosted.org/packages/d7/ca/eac61596cdeb4d7e174d3dc0bd8a6238f14f75f97a24e7b7db4c7e7340a0/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ad785e92e6dc634c21555edc8bd6b64957ab844541bcb96a1366c202951ae526", size = 1990696, upload-time = "2026-05-06T13:38:34.717Z" },
+ { url = "https://files.pythonhosted.org/packages/fa/c3/7c8b240552251faf6b3a957db200fcfbbcec36763c050428b601e0c9b83b/pydantic_core-2.46.4-graalpy312-graalpy250_312_native-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:00c603d540afdd6b80eb39f078f33ebd46211f02f33e34a32d9f053bba711de0", size = 2147590, upload-time = "2026-05-06T13:39:29.883Z" },
+]
+
+[[package]]
+name = "pydantic-settings"
+version = "2.14.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "pydantic" },
+ { name = "python-dotenv" },
+ { name = "typing-inspection" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/5c/b5/8f48e906c3e0205276e8bd8cb7512217a87b2685304d64be27cad5b3019f/pydantic_settings-2.14.2.tar.gz", hash = "sha256:c19dd64b19097f1de80184f0cc7b0272a13ae6e170cbf240a3e27e381ed14a5f", size = 237700, upload-time = "2026-06-19T13:44:56.324Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/77/c1/6e422f34e569cf8e18df68d1939c81c099d2b61e4f7d9621c8a77560799c/pydantic_settings-2.14.2-py3-none-any.whl", hash = "sha256:a20c97b37910b6550d5ea50fbcc2d4187defe58cd57070b73863d069419c9440", size = 61715, upload-time = "2026-06-19T13:44:55.02Z" },
+]
+
+[[package]]
+name = "pygments"
+version = "2.20.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/c3/b2/bc9c9196916376152d655522fdcebac55e66de6603a76a02bca1b6414f6c/pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f", size = 4955991, upload-time = "2026-03-29T13:29:33.898Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151, upload-time = "2026-03-29T13:29:30.038Z" },
+]
+
+[[package]]
+name = "pyjwt"
+version = "2.13.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/3b/81/58d0ac84e1ef3a3843791d6954d94c0b33d526c75eeb1efbce9d0a4c4077/pyjwt-2.13.0.tar.gz", hash = "sha256:41571c89ca91598c79e8ef18a2d07367d4810fbbd6f637794879baf1b7703423", size = 107515, upload-time = "2026-05-21T19:54:36.618Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a3/5e/ecf12fdb62546d64385c158514e9b2b671f7832108ef2ecd2020ce0af2d1/pyjwt-2.13.0-py3-none-any.whl", hash = "sha256:66adcc2aff09b3f1bbd95fc1e1577df8ac8723c978552fd43304c8a290ac5728", size = 31274, upload-time = "2026-05-21T19:54:35.362Z" },
+]
+
+[package.optional-dependencies]
+crypto = [
+ { name = "cryptography" },
+]
+
+[[package]]
+name = "pytest"
+version = "9.1.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "colorama", marker = "sys_platform == 'win32'" },
+ { name = "iniconfig" },
+ { name = "packaging" },
+ { name = "pluggy" },
+ { name = "pygments" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/e4/47/b9efed96c114afcfa3c9d3fe98a76a1d14c74a9e266d397cf6eb64be5e01/pytest-9.1.1.tar.gz", hash = "sha256:1088fbde8f2b49d95a549a195707afa7a76a3ce9bcadc26b6d71f0ffda5fe313", size = 1636369, upload-time = "2026-06-19T10:58:32.857Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl", hash = "sha256:37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c", size = 386536, upload-time = "2026-06-19T10:58:31.347Z" },
+]
+
+[[package]]
+name = "pytest-asyncio"
+version = "1.4.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "pytest" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/43/7c/d36d04db312ecf4298932ef77e6e4a9e8ad017906e24e34f0b0c361a2473/pytest_asyncio-1.4.0.tar.gz", hash = "sha256:c6c0d2259945122819f171a32ecea2c349ead889ee28176caaf492143424be42", size = 58514, upload-time = "2026-05-26T09:56:04.083Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/03/e2/08a497ef684b88559c9cc5f4ad53a37e7b99e727094a86d6ea32536d5d3c/pytest_asyncio-1.4.0-py3-none-any.whl", hash = "sha256:933ca923a23075a87fb7070c0ec272a6848489824d887c85c812670932835aa1", size = 16930, upload-time = "2026-05-26T09:56:02.576Z" },
+]
+
+[[package]]
+name = "python-dotenv"
+version = "1.2.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/82/ed/0301aeeac3e5353ef3d94b6ec08bbcabd04a72018415dcb29e588514bba8/python_dotenv-1.2.2.tar.gz", hash = "sha256:2c371a91fbd7ba082c2c1dc1f8bf89ca22564a087c2c287cd9b662adde799cf3", size = 50135, upload-time = "2026-03-01T16:00:26.196Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/0b/d7/1959b9648791274998a9c3526f6d0ec8fd2233e4d4acce81bbae76b44b2a/python_dotenv-1.2.2-py3-none-any.whl", hash = "sha256:1d8214789a24de455a8b8bd8ae6fe3c6b69a5e3d64aa8a8e5d68e694bbcb285a", size = 22101, upload-time = "2026-03-01T16:00:25.09Z" },
+]
+
+[[package]]
+name = "python-multipart"
+version = "0.0.32"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/5b/42/55c32bb9b12693c092ad250a0e82edb5b31ddeda6eb772de5f308b3804ad/python_multipart-0.0.32.tar.gz", hash = "sha256:be54b7f3fa167bb83e4fcd936b887b708f4e57fe75911c02aebf53efaf8d938e", size = 46881, upload-time = "2026-06-04T16:18:58.647Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e1/04/e8135ebd1ad02c56ec633277529b2602ff99ff634be76cdba5744cf554fd/python_multipart-0.0.32-py3-none-any.whl", hash = "sha256:ff6d3f776f16878c894e52e107296ffc890e913c611b1a4ec6c44e2821fe2e23", size = 30042, upload-time = "2026-06-04T16:18:57.319Z" },
+]
+
+[[package]]
+name = "pywin32"
+version = "312"
+source = { registry = "https://pypi.org/simple" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/83/ff/32aa7d2ed0ab12b323aaa64f9b75e6ad4f8fd09f9ccfc28c79414d46838d/pywin32-312-cp312-cp312-win32.whl", hash = "sha256:dab4f65ac9c4e48400a2a0530c46c3c579cd5905ecd11b80692373915269208b", size = 6371877, upload-time = "2026-06-04T07:49:28.836Z" },
+ { url = "https://files.pythonhosted.org/packages/03/d9/77040d3b43df3f3be32ea289433d660d2727f5ba327bc73be835127d9d60/pywin32-312-cp312-cp312-win_amd64.whl", hash = "sha256:b457f6d628a47e8a7346ce22acb7e1a46a4a78b52e1d17e1af56871bd19a93bc", size = 6914841, upload-time = "2026-06-04T07:49:31.85Z" },
+ { url = "https://files.pythonhosted.org/packages/e3/cc/7b1ec671775756020a0ee7f4feeaf3c568f0ab86bd3900088cf986937a92/pywin32-312-cp312-cp312-win_arm64.whl", hash = "sha256:6017c58e12f6809fbb0555b75df144c2922a9ffd18e4b9b5afa863b6c1a9d950", size = 6727901, upload-time = "2026-06-04T07:49:34.244Z" },
+]
+
+[[package]]
+name = "pyyaml"
+version = "6.0.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/05/8e/961c0007c59b8dd7729d542c61a4d537767a59645b82a0b521206e1e25c2/pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f", size = 130960, upload-time = "2025-09-25T21:33:16.546Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/d1/33/422b98d2195232ca1826284a76852ad5a86fe23e31b009c9886b2d0fb8b2/pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:7f047e29dcae44602496db43be01ad42fc6f1cc0d8cd6c83d342306c32270196", size = 182063, upload-time = "2025-09-25T21:32:11.445Z" },
+ { url = "https://files.pythonhosted.org/packages/89/a0/6cf41a19a1f2f3feab0e9c0b74134aa2ce6849093d5517a0c550fe37a648/pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0", size = 173973, upload-time = "2025-09-25T21:32:12.492Z" },
+ { url = "https://files.pythonhosted.org/packages/ed/23/7a778b6bd0b9a8039df8b1b1d80e2e2ad78aa04171592c8a5c43a56a6af4/pyyaml-6.0.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9149cad251584d5fb4981be1ecde53a1ca46c891a79788c0df828d2f166bda28", size = 775116, upload-time = "2025-09-25T21:32:13.652Z" },
+ { url = "https://files.pythonhosted.org/packages/65/30/d7353c338e12baef4ecc1b09e877c1970bd3382789c159b4f89d6a70dc09/pyyaml-6.0.3-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:5fdec68f91a0c6739b380c83b951e2c72ac0197ace422360e6d5a959d8d97b2c", size = 844011, upload-time = "2025-09-25T21:32:15.21Z" },
+ { url = "https://files.pythonhosted.org/packages/8b/9d/b3589d3877982d4f2329302ef98a8026e7f4443c765c46cfecc8858c6b4b/pyyaml-6.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:ba1cc08a7ccde2d2ec775841541641e4548226580ab850948cbfda66a1befcdc", size = 807870, upload-time = "2025-09-25T21:32:16.431Z" },
+ { url = "https://files.pythonhosted.org/packages/05/c0/b3be26a015601b822b97d9149ff8cb5ead58c66f981e04fedf4e762f4bd4/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:8dc52c23056b9ddd46818a57b78404882310fb473d63f17b07d5c40421e47f8e", size = 761089, upload-time = "2025-09-25T21:32:17.56Z" },
+ { url = "https://files.pythonhosted.org/packages/be/8e/98435a21d1d4b46590d5459a22d88128103f8da4c2d4cb8f14f2a96504e1/pyyaml-6.0.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:41715c910c881bc081f1e8872880d3c650acf13dfa8214bad49ed4cede7c34ea", size = 790181, upload-time = "2025-09-25T21:32:18.834Z" },
+ { url = "https://files.pythonhosted.org/packages/74/93/7baea19427dcfbe1e5a372d81473250b379f04b1bd3c4c5ff825e2327202/pyyaml-6.0.3-cp312-cp312-win32.whl", hash = "sha256:96b533f0e99f6579b3d4d4995707cf36df9100d67e0c8303a0c55b27b5f99bc5", size = 137658, upload-time = "2025-09-25T21:32:20.209Z" },
+ { url = "https://files.pythonhosted.org/packages/86/bf/899e81e4cce32febab4fb42bb97dcdf66bc135272882d1987881a4b519e9/pyyaml-6.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:5fcd34e47f6e0b794d17de1b4ff496c00986e1c83f7ab2fb8fcfe9616ff7477b", size = 154003, upload-time = "2025-09-25T21:32:21.167Z" },
+ { url = "https://files.pythonhosted.org/packages/1a/08/67bd04656199bbb51dbed1439b7f27601dfb576fb864099c7ef0c3e55531/pyyaml-6.0.3-cp312-cp312-win_arm64.whl", hash = "sha256:64386e5e707d03a7e172c0701abfb7e10f0fb753ee1d773128192742712a98fd", size = 140344, upload-time = "2025-09-25T21:32:22.617Z" },
+]
+
+[[package]]
+name = "referencing"
+version = "0.37.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "attrs" },
+ { name = "rpds-py" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/22/f5/df4e9027acead3ecc63e50fe1e36aca1523e1719559c499951bb4b53188f/referencing-0.37.0.tar.gz", hash = "sha256:44aefc3142c5b842538163acb373e24cce6632bd54bdb01b21ad5863489f50d8", size = 78036, upload-time = "2025-10-13T15:30:48.871Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/2c/58/ca301544e1fa93ed4f80d724bf5b194f6e4b945841c5bfd555878eea9fcb/referencing-0.37.0-py3-none-any.whl", hash = "sha256:381329a9f99628c9069361716891d34ad94af76e461dcb0335825aecc7692231", size = 26766, upload-time = "2025-10-13T15:30:47.625Z" },
+]
+
+[[package]]
+name = "requests"
+version = "2.34.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "certifi" },
+ { name = "charset-normalizer" },
+ { name = "idna" },
+ { name = "urllib3" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/ac/c3/e2a2b89f2d3e2179abd6d00ebd70bff6273f37fb3e0cc209f48b39d00cbf/requests-2.34.2.tar.gz", hash = "sha256:f288924cae4e29463698d6d60bc6a4da69c89185ad1e0bcc4104f584e960b9ed", size = 142856, upload-time = "2026-05-14T19:25:27.735Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/a0/f4/c67b0b3f1b9245e8d266f0f112c500d50e5b4e83cb6f3b71b6528104182a/requests-2.34.2-py3-none-any.whl", hash = "sha256:2a0d60c172f83ac6ab31e4554906c0f3b3588d37b5cb939b1c061f4907e278e0", size = 73075, upload-time = "2026-05-14T19:25:26.443Z" },
+]
+
+[[package]]
+name = "rich"
+version = "15.0.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "markdown-it-py" },
+ { name = "pygments" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/c0/8f/0722ca900cc807c13a6a0c696dacf35430f72e0ec571c4275d2371fca3e9/rich-15.0.0.tar.gz", hash = "sha256:edd07a4824c6b40189fb7ac9bc4c52536e9780fbbfbddf6f1e2502c31b068c36", size = 230680, upload-time = "2026-04-12T08:24:00.75Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/82/3b/64d4899d73f91ba49a8c18a8ff3f0ea8f1c1d75481760df8c68ef5235bf5/rich-15.0.0-py3-none-any.whl", hash = "sha256:33bd4ef74232fb73fe9279a257718407f169c09b78a87ad3d296f548e27de0bb", size = 310654, upload-time = "2026-04-12T08:24:02.83Z" },
+]
+
+[[package]]
+name = "rpds-py"
+version = "2026.6.3"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/aa/2a/9618a122aeb2a169a28b03889a2995fe297588964333d4a7d67bdf46e147/rpds_py-2026.6.3.tar.gz", hash = "sha256:1cebd1337c242e4ec2293e541f712b2da849b29f48f0c293684b71c0632625d4", size = 64051, upload-time = "2026-06-30T07:17:53.009Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/5c/be/2e8974163072e7bab7df1a5acd54c4498e75e35d6d18b864d3a9d5dadc92/rpds_py-2026.6.3-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:a0811d33247c3d6128a3001d763f2aa056bb3425204335400ac54f89eec3a0d0", size = 343691, upload-time = "2026-06-30T07:15:14.96Z" },
+ { url = "https://files.pythonhosted.org/packages/a4/73/319dfa745dd668efe89309141ded489126461fcecd2b8f3a3cda185129b6/rpds_py-2026.6.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:538949e262e46caa31ac01bdb3c1e8f642622922cacbabbae6a8445d9dc33eaf", size = 338542, upload-time = "2026-06-30T07:15:16.267Z" },
+ { url = "https://files.pythonhosted.org/packages/21/63/4239893be1c4d09b709b1a8f6be4188f0870084ff547f46606b8a75f1b03/rpds_py-2026.6.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:55927d532399c2c646100ff7feb48eaa940ad70f42cd68e1328f3ded9f81ca24", size = 368180, upload-time = "2026-06-30T07:15:17.62Z" },
+ { url = "https://files.pythonhosted.org/packages/1c/ca/9c5de382225234ceb37b1844ebdb140db12b2a278bb9efe2fcd19f6c82ce/rpds_py-2026.6.3-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f56f1695bc5c0871cbc33dc0130fcf503aab0c57dcc5a6700a4f49eba4f2652e", size = 375067, upload-time = "2026-06-30T07:15:18.952Z" },
+ { url = "https://files.pythonhosted.org/packages/87/dc/863f69d1bf04ade34b7fe0d59b9fdf6f0135fe2d7cbca74f1d665589559d/rpds_py-2026.6.3-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:270b293dae9058fc9fcedab50f13cebf46fb8ed1d1d54e0521a9da5d6b211975", size = 490509, upload-time = "2026-06-30T07:15:20.434Z" },
+ { url = "https://files.pythonhosted.org/packages/ce/ef/eac16a12048b45ec7c7fa94f2be3438a5f26bf9cc8580b18a1cfd609b7f6/rpds_py-2026.6.3-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:127565fead0a10943b282957bd5447804ff3160ad79f2ad2635e6d249e380680", size = 382754, upload-time = "2026-06-30T07:15:21.831Z" },
+ { url = "https://files.pythonhosted.org/packages/04/8f/d2f3f532616be4d06c316ef119683e832bd3d41e112bf3a88f4151c95b17/rpds_py-2026.6.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ecabd69db66de867690f9797f2f8fa27ba501bbc24540cbdbdc649cd15888ba6", size = 366189, upload-time = "2026-06-30T07:15:23.371Z" },
+ { url = "https://files.pythonhosted.org/packages/e3/29/41a7b0e98a4b44cd676ab7598419623373eb43b20be68c084935c1a8cf88/rpds_py-2026.6.3-cp312-cp312-manylinux_2_31_riscv64.whl", hash = "sha256:58eadac9cd119677b60e1cf8ac4052f35949d71b8a9e5556efccbe82533cf22a", size = 377750, upload-time = "2026-06-30T07:15:24.659Z" },
+ { url = "https://files.pythonhosted.org/packages/2e/05/ecda0bec46f9a1565090bcdc941d023f6a25aff85fda28f89f8d19878152/rpds_py-2026.6.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:7491ee23305ac3eb59e492b6945881f5cd77a6f731061a3f25b77fd40f9e99a4", size = 395576, upload-time = "2026-06-30T07:15:25.987Z" },
+ { url = "https://files.pythonhosted.org/packages/68/a8/6ed52f03ee6cb854ce78785cc9a9a672eb880e83fd7224d471f667d151f1/rpds_py-2026.6.3-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:2c99f7e8ccb3dd6e3e4bfeac657a7b208c9bac8075f4b078c02d7404c34107fa", size = 543807, upload-time = "2026-06-30T07:15:27.356Z" },
+ { url = "https://files.pythonhosted.org/packages/8f/d6/156c0d3eea27ba09b92562ba2364ba124c0a061b199e17eac637cd25a5e2/rpds_py-2026.6.3-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:62698275682bf121181861295c9181e789030a2d516071f5b8f3c23c170cd0fc", size = 611187, upload-time = "2026-06-30T07:15:28.931Z" },
+ { url = "https://files.pythonhosted.org/packages/f1/31/774212ed989c62f7f310220089f9b0a3fb8f40f5443d1727abd5d9f52bc9/rpds_py-2026.6.3-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:a214c993455f99a89aaeadc9b21241900037adc9d97203e374d75513c5911822", size = 573030, upload-time = "2026-06-30T07:15:30.553Z" },
+ { url = "https://files.pythonhosted.org/packages/c9/50/22f73127a41f1ce4f87fe39aadfb9a126345801c274aa93ae88456249327/rpds_py-2026.6.3-cp312-cp312-win32.whl", hash = "sha256:501f9f04a588d6a09179368c57071301445191767c64e4b52a6aa9871f1ef5ed", size = 202185, upload-time = "2026-06-30T07:15:32.027Z" },
+ { url = "https://files.pythonhosted.org/packages/04/3a/f0ee4d4dde9d3b69dedf1b5f74e7a40017046d55052d173e418c6a94f960/rpds_py-2026.6.3-cp312-cp312-win_amd64.whl", hash = "sha256:2c958bf94822e9290a40aaf2a822d4bc5c88099093e3948ad6c571eca9272e5f", size = 220394, upload-time = "2026-06-30T07:15:33.359Z" },
+ { url = "https://files.pythonhosted.org/packages/f3/83/3382fe37f809b59f02aac04dbc4e765b480b46ee0227ed516e3bdc4d3dfc/rpds_py-2026.6.3-cp312-cp312-win_arm64.whl", hash = "sha256:22bffe6042b9bcb0822bcd1955ec00e245daf17b4344e4ed8e9551b976b63e96", size = 215753, upload-time = "2026-06-30T07:15:34.778Z" },
+]
+
+[[package]]
+name = "ruff"
+version = "0.16.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/70/25/7113f6d5498888c5fb7db34081cba7d5971c4cb1bfb26819966eee68f003/ruff-0.16.1.tar.gz", hash = "sha256:fedad7c801dabd3fb9741d76aca39246e6ddd9ca446a015875207bf19f1e6bc7", size = 4877500, upload-time = "2026-07-30T19:37:01.379Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/1b/bd/694da69368e0973de65df2ddc73ab18d43c469d5963d9b150911de6bc513/ruff-0.16.1-py3-none-linux_armv6l.whl", hash = "sha256:58edb313b88f0c5460a26adf5f39a37a3be789494a15e3e411e35fa78b89f9a0", size = 10839126, upload-time = "2026-07-30T19:36:13.697Z" },
+ { url = "https://files.pythonhosted.org/packages/3f/f0/b626e5d5bd0dd9576263658ef12885e2288afd1029a48e26ffed65ec1ac1/ruff-0.16.1-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:fde5a99e2f97479af66edd6622c6d5a2a7592c77cf4153d9e4428f5eeb55b60c", size = 11070253, upload-time = "2026-07-30T19:36:17.14Z" },
+ { url = "https://files.pythonhosted.org/packages/83/63/f40acfb6b35b88623e71684942b552c3edd96035f5d98f313815f7b277de/ruff-0.16.1-py3-none-macosx_11_0_arm64.whl", hash = "sha256:e0d4c20532fca4f7fa609369161d968dd28f65d83dabbd61d8e9c7edbf7001f6", size = 10561425, upload-time = "2026-07-30T19:36:20.04Z" },
+ { url = "https://files.pythonhosted.org/packages/aa/dd/14ec0e9c2b4d315547dd38765004b4863e354e1b52cb308272215d9f6f6d/ruff-0.16.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:30affbcedf59ad5703d9c91f82266e02b47739f797e1a7b6e158e5526a6dae38", size = 10948879, upload-time = "2026-07-30T19:36:22.476Z" },
+ { url = "https://files.pythonhosted.org/packages/33/e9/9d870cbae575030fdef595f04b4b97573c525b5497cce4f4498cf2f85446/ruff-0.16.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:24e9c631573cbca9d20f1283f8f479b2afa4a8503504822bd71a293889f16743", size = 10643691, upload-time = "2026-07-30T19:36:24.914Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/09/12743d544e2173f53ecd27217c65f90d2bc0f8424a66a60339e56bbc0457/ruff-0.16.1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b41bdd48fb420987a9b5212e4957c26ad4abce401fa9ea9d4d85843727945f4f", size = 11435354, upload-time = "2026-07-30T19:36:28.447Z" },
+ { url = "https://files.pythonhosted.org/packages/7f/89/a1652b2daee52083c9554a6333b678a8b01d0400f976827bb87857f9449a/ruff-0.16.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b0d1e1393b7648079e13669de1c1f4fde06d4583e84d8fd5c1551e0a77a2aa75", size = 12259033, upload-time = "2026-07-30T19:36:31.326Z" },
+ { url = "https://files.pythonhosted.org/packages/16/96/ecdcb8c54ee7b123b487f807eb014e6e019155a0b81dfb669acd52f28ce3/ruff-0.16.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:07bf434b1c95f4e093be4532068ef4fcf00924eb2ade8796075980902d6fd54a", size = 11667981, upload-time = "2026-07-30T19:36:34.394Z" },
+ { url = "https://files.pythonhosted.org/packages/cd/90/c52e12e0d862e9572f2a33aa227409143520abe53111e9a6babbac7b4af8/ruff-0.16.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:39897739f112253ee4fdd2e8aa9a4f9ded99fb2be367d5f31dfa4ded6025584c", size = 11468183, upload-time = "2026-07-30T19:36:37.339Z" },
+ { url = "https://files.pythonhosted.org/packages/2c/6b/4ffb7ad1d83eb16cf8cbb3c8815d3f11c88460fd162d4b372a2059be1c2a/ruff-0.16.1-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:82ae3c0c0d74daf17b968a10b7b3bb3ef297ab7de0c1f749646b25e690ccb150", size = 11470071, upload-time = "2026-07-30T19:36:39.91Z" },
+ { url = "https://files.pythonhosted.org/packages/9c/72/32ae7db4c0b5e32ab611787caa19d1546800676d79f7483b7100a3561bf4/ruff-0.16.1-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:4d5f2ed10f8242d83fc08d521301089364e3375375705356f20c0e31606ef3ef", size = 10919503, upload-time = "2026-07-30T19:36:42.65Z" },
+ { url = "https://files.pythonhosted.org/packages/f7/ca/3d901ba6ad6fc38da39c3448fc6c59ac945679293a17c3ceb6d6c1cba13e/ruff-0.16.1-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:a4665b309891f83f3e3c25447935f1213e9abbd4b5640af7a1f2def9f8d413c1", size = 10649861, upload-time = "2026-07-30T19:36:45.18Z" },
+ { url = "https://files.pythonhosted.org/packages/92/79/894ef1ced26552d5f8c9cf6d85b0687840e1128c55aeab7b9c2d54a0d880/ruff-0.16.1-py3-none-musllinux_1_2_i686.whl", hash = "sha256:26e9ca5c9bc3971f20d3cf18a957f52ffd6a5f6564ff15c4912a144dcac22494", size = 11148137, upload-time = "2026-07-30T19:36:47.936Z" },
+ { url = "https://files.pythonhosted.org/packages/2d/69/3609a09fa1cb46cc28b762363e440a354204e5dff01bd0c8d7437874d6b9/ruff-0.16.1-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:67e1e1e3fa4f0c82f0e36d4cd61e661f6e7a6196cb1aa92fe0828fa7b8f257cd", size = 11559211, upload-time = "2026-07-30T19:36:50.448Z" },
+ { url = "https://files.pythonhosted.org/packages/fc/8a/fb22af2fd78a736e241fabf67e30ce1799a64244026377a49e133af90762/ruff-0.16.1-py3-none-win32.whl", hash = "sha256:d31765e131295b8445caf301e3e8a85b34d1b9b211b4109b7ba457888b051806", size = 10838258, upload-time = "2026-07-30T19:36:53.298Z" },
+ { url = "https://files.pythonhosted.org/packages/d4/35/e57fd9fb5d423961df087a00b12d42c0a830288dc2f3b45ecca299158b4f/ruff-0.16.1-py3-none-win_amd64.whl", hash = "sha256:09b05e8b90c2cb06ad63464350e7a45e8e44a2dfe52072ebfba6666ca8d3f596", size = 11961111, upload-time = "2026-07-30T19:36:56.107Z" },
+ { url = "https://files.pythonhosted.org/packages/cb/46/240ea004bf6dc4feb40e9832f2205a476a47dd5b8a3f8211a5fc5f95e20e/ruff-0.16.1-py3-none-win_arm64.whl", hash = "sha256:dbaadaac38c70239f056d306b7476f246b0bf000fa6b3876402acbf5b227eaf8", size = 11309414, upload-time = "2026-07-30T19:36:58.79Z" },
+]
+
+[[package]]
+name = "sie-sdk"
+version = "0.6.26"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "aiohttp" },
+ { name = "httpx" },
+ { name = "msgpack" },
+ { name = "msgpack-numpy" },
+ { name = "numpy" },
+ { name = "pillow" },
+ { name = "pyyaml" },
+ { name = "websockets" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/e2/4c/f2bc61df6696118c56348cc60a5f2c93ab2395ce2b004d8a11a53aa0a28d/sie_sdk-0.6.26.tar.gz", hash = "sha256:a71b1138e73a424c233d61026962152954276bab9a10f15d0ea47c0c18602137", size = 211819, upload-time = "2026-08-02T13:46:07.807Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/db/94/d7681d918d5a5c1d8e1301cf72743062c7e2e4c748d439061531fe1d2e0b/sie_sdk-0.6.26-py3-none-any.whl", hash = "sha256:9120e48f2290ede39ea53c21bb0f61c51e2a8f6ba9e222a5ef2af0bdc2161127", size = 138651, upload-time = "2026-08-02T13:46:06.435Z" },
+]
+
+[[package]]
+name = "sniffio"
+version = "1.3.1"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/a2/87/a6771e1546d97e7e041b6ae58d80074f81b7d5121207425c964ddf5cfdbd/sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc", size = 20372, upload-time = "2024-02-25T23:20:04.057Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/e9/44/75a9c9421471a6c4805dbf2356f7c181a29c1879239abab1ea2cc8f38b40/sniffio-1.3.1-py3-none-any.whl", hash = "sha256:2f6da418d1f1e0fddd844478f41680e794e6051915791a034ff65e5f100525a2", size = 10235, upload-time = "2024-02-25T23:20:01.196Z" },
+]
+
+[[package]]
+name = "sse-starlette"
+version = "3.4.8"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+ { name = "starlette" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/f8/00/b42a44342a054d58cb1115d7c8aa9cb4290dd9442f9c1b91a4b8173dba22/sse_starlette-3.4.8.tar.gz", hash = "sha256:ed89ffbb75cbf78a5fe2f2109cd584792ee7f9dfac96f791db546df8f15f3f9c", size = 32548, upload-time = "2026-08-05T11:19:49.982Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/dd/3a/764912c58293d95b6dcdf4cc255f9d10de310580ced547b082eb9d72018c/sse_starlette-3.4.8-py3-none-any.whl", hash = "sha256:6e82314c786709a3cd9520f2285cf9fff90e181e598e8a357b0cf80f66afba0d", size = 16516, upload-time = "2026-08-05T11:19:48.748Z" },
+]
+
+[[package]]
+name = "starlette"
+version = "1.4.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "anyio" },
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/0f/3c/76d2fd1f1357ed0f0108d8a5aa233dcf16e2946a8559c84912fe08e01ac7/starlette-1.4.1.tar.gz", hash = "sha256:b7332de6e9375593a29ba9eee1e6ecfeb3eb2043e2e19a13b4b71da73ff35540", size = 2709041, upload-time = "2026-08-05T15:17:26.23Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/75/0a/67e95f21498de41433babf7b1db0eeab449eb58872dfb831b27747a70fd0/starlette-1.4.1-py3-none-any.whl", hash = "sha256:7d078e0fbefae0d2cecfb80a799d6fb84b1c0c6acd4f14ac79d17d0e7ec27f19", size = 74019, upload-time = "2026-08-05T15:17:24.357Z" },
+]
+
+[[package]]
+name = "tqdm"
+version = "4.70.0"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "colorama", marker = "sys_platform == 'win32'" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/21/3b/6c24bec5be5e743ffd99576daa5cc077722fc7d5bbc00bd133fa0c698dc6/tqdm-4.70.0.tar.gz", hash = "sha256:55b0b0dbd97462d06ebee91e4dac24ed4d4702be82b24f07e6c1d27e08cea220", size = 795438, upload-time = "2026-07-27T11:33:15.271Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/f9/1c/01bfd571a64e7f270e6bab5e33777debe0edc56759233ce84f27dec92d14/tqdm-4.70.0-py3-none-any.whl", hash = "sha256:7f585706bfddbdebf89daac705b2dfcc16890130727d3197ca62c732b4310953", size = 80184, upload-time = "2026-07-27T11:33:13.167Z" },
+]
+
+[[package]]
+name = "types-requests"
+version = "2.33.0.20260712"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "urllib3" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/db/51/703318f7b7be8bee126ec13bf615050f932d0179b8784420f3a0199cc769/types_requests-2.33.0.20260712.tar.gz", hash = "sha256:2141b67ab534a5c5cd2dac5034f2a35f42e699c5bf185eee608c5246a069d7fb", size = 25084, upload-time = "2026-07-12T05:14:20.455Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/62/e7/010c87f559e216d83f9dc51e939633fd0d0ead3377340181ab0e223cd3b5/types_requests-2.33.0.20260712-py3-none-any.whl", hash = "sha256:de027e28c171d3da529689cbfa023b0b4eab188c8dfa22fd834eebd2cee6e7bb", size = 21392, upload-time = "2026-07-12T05:14:19.616Z" },
+]
+
+[[package]]
+name = "typing-extensions"
+version = "4.16.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/f6/cc/6253133b5bb138fc3306cebfbda2c520f545d36b5be2c7255cc528bb45d6/typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5", size = 113555, upload-time = "2026-07-02T08:40:05.92Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/49/d3/b8441a820a491ddfc024b0b0cf0393375b75ea13866d9c66727e54c2fc80/typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8", size = 45571, upload-time = "2026-07-02T08:40:04.659Z" },
+]
+
+[[package]]
+name = "typing-inspection"
+version = "0.4.2"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "typing-extensions" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/55/e3/70399cb7dd41c10ac53367ae42139cf4b1ca5f36bb3dc6c9d33acdb43655/typing_inspection-0.4.2.tar.gz", hash = "sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464", size = 75949, upload-time = "2025-10-01T02:14:41.687Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/dc/9b/47798a6c91d8bdb567fe2698fe81e0c6b7cb7ef4d13da4114b41d239f65d/typing_inspection-0.4.2-py3-none-any.whl", hash = "sha256:4ed1cacbdc298c220f1bd249ed5287caa16f34d44ef4e9c3d0cbad5b521545e7", size = 14611, upload-time = "2025-10-01T02:14:40.154Z" },
+]
+
+[[package]]
+name = "urllib3"
+version = "2.7.0"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/53/0c/06f8b233b8fd13b9e5ee11424ef85419ba0d8ba0b3138bf360be2ff56953/urllib3-2.7.0.tar.gz", hash = "sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c", size = 433602, upload-time = "2026-05-07T16:13:18.596Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/7f/3e/5db95bcf282c52709639744ca2a8b149baccf648e39c8cc87553df9eae0c/urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897", size = 131087, upload-time = "2026-05-07T16:13:17.151Z" },
+]
+
+[[package]]
+name = "uvicorn"
+version = "0.52.1"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "click" },
+ { name = "h11" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/03/18/ccce41535dee1be77735592bd19965f3972c82e07ee703d324709496b716/uvicorn-0.52.1.tar.gz", hash = "sha256:112ec661814189acbccd3f7b86460147cc065fc92c0821afa78918780e4354dd", size = 100571, upload-time = "2026-08-01T18:19:30.732Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c7/d5/68e6e9bca63c0badf67002890a46d3784c958de45b65e1275ec583ca1f06/uvicorn-0.52.1-py3-none-any.whl", hash = "sha256:e4403f9d93188cf9d1088e9f40e3acd12630e2df8675316704379a7fc20fff6a", size = 79859, upload-time = "2026-08-01T18:19:29.294Z" },
+]
+
+[[package]]
+name = "websockets"
+version = "14.2"
+source = { registry = "https://pypi.org/simple" }
+sdist = { url = "https://files.pythonhosted.org/packages/94/54/8359678c726243d19fae38ca14a334e740782336c9f19700858c4eb64a1e/websockets-14.2.tar.gz", hash = "sha256:5059ed9c54945efb321f097084b4c7e52c246f2c869815876a69d1efc4ad6eb5", size = 164394, upload-time = "2025-01-19T21:00:56.431Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/c1/81/04f7a397653dc8bec94ddc071f34833e8b99b13ef1a3804c149d59f92c18/websockets-14.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:1f20522e624d7ffbdbe259c6b6a65d73c895045f76a93719aa10cd93b3de100c", size = 163096, upload-time = "2025-01-19T20:59:29.763Z" },
+ { url = "https://files.pythonhosted.org/packages/ec/c5/de30e88557e4d70988ed4d2eabd73fd3e1e52456b9f3a4e9564d86353b6d/websockets-14.2-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:647b573f7d3ada919fd60e64d533409a79dcf1ea21daeb4542d1d996519ca967", size = 160758, upload-time = "2025-01-19T20:59:32.095Z" },
+ { url = "https://files.pythonhosted.org/packages/e5/8c/d130d668781f2c77d106c007b6c6c1d9db68239107c41ba109f09e6c218a/websockets-14.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:6af99a38e49f66be5a64b1e890208ad026cda49355661549c507152113049990", size = 160995, upload-time = "2025-01-19T20:59:33.527Z" },
+ { url = "https://files.pythonhosted.org/packages/a6/bc/f6678a0ff17246df4f06765e22fc9d98d1b11a258cc50c5968b33d6742a1/websockets-14.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:091ab63dfc8cea748cc22c1db2814eadb77ccbf82829bac6b2fbe3401d548eda", size = 170815, upload-time = "2025-01-19T20:59:35.837Z" },
+ { url = "https://files.pythonhosted.org/packages/d8/b2/8070cb970c2e4122a6ef38bc5b203415fd46460e025652e1ee3f2f43a9a3/websockets-14.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b374e8953ad477d17e4851cdc66d83fdc2db88d9e73abf755c94510ebddceb95", size = 169759, upload-time = "2025-01-19T20:59:38.216Z" },
+ { url = "https://files.pythonhosted.org/packages/81/da/72f7caabd94652e6eb7e92ed2d3da818626e70b4f2b15a854ef60bf501ec/websockets-14.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a39d7eceeea35db85b85e1169011bb4321c32e673920ae9c1b6e0978590012a3", size = 170178, upload-time = "2025-01-19T20:59:40.423Z" },
+ { url = "https://files.pythonhosted.org/packages/31/e0/812725b6deca8afd3a08a2e81b3c4c120c17f68c9b84522a520b816cda58/websockets-14.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0a6f3efd47ffd0d12080594f434faf1cd2549b31e54870b8470b28cc1d3817d9", size = 170453, upload-time = "2025-01-19T20:59:41.996Z" },
+ { url = "https://files.pythonhosted.org/packages/66/d3/8275dbc231e5ba9bb0c4f93144394b4194402a7a0c8ffaca5307a58ab5e3/websockets-14.2-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:065ce275e7c4ffb42cb738dd6b20726ac26ac9ad0a2a48e33ca632351a737267", size = 169830, upload-time = "2025-01-19T20:59:44.669Z" },
+ { url = "https://files.pythonhosted.org/packages/a3/ae/e7d1a56755ae15ad5a94e80dd490ad09e345365199600b2629b18ee37bc7/websockets-14.2-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:e9d0e53530ba7b8b5e389c02282f9d2aa47581514bd6049d3a7cffe1385cf5fe", size = 169824, upload-time = "2025-01-19T20:59:46.932Z" },
+ { url = "https://files.pythonhosted.org/packages/b6/32/88ccdd63cb261e77b882e706108d072e4f1c839ed723bf91a3e1f216bf60/websockets-14.2-cp312-cp312-win32.whl", hash = "sha256:20e6dd0984d7ca3037afcb4494e48c74ffb51e8013cac71cf607fffe11df7205", size = 163981, upload-time = "2025-01-19T20:59:49.228Z" },
+ { url = "https://files.pythonhosted.org/packages/b3/7d/32cdb77990b3bdc34a306e0a0f73a1275221e9a66d869f6ff833c95b56ef/websockets-14.2-cp312-cp312-win_amd64.whl", hash = "sha256:44bba1a956c2c9d268bdcdf234d5e5ff4c9b6dc3e300545cbe99af59dda9dcce", size = 164421, upload-time = "2025-01-19T20:59:50.674Z" },
+ { url = "https://files.pythonhosted.org/packages/7b/c8/d529f8a32ce40d98309f4470780631e971a5a842b60aec864833b3615786/websockets-14.2-py3-none-any.whl", hash = "sha256:7a6ceec4ea84469f15cf15807a747e9efe57e369c384fa86e022b3bea679b79b", size = 157416, upload-time = "2025-01-19T21:00:54.843Z" },
+]
+
+[[package]]
+name = "yarl"
+version = "1.24.5"
+source = { registry = "https://pypi.org/simple" }
+dependencies = [
+ { name = "idna" },
+ { name = "multidict" },
+ { name = "propcache" },
+]
+sdist = { url = "https://files.pythonhosted.org/packages/31/33/ebe9e3d1f86c7a0b51094c0a146392045ca1631d2664889539dec8088a33/yarl-1.24.5.tar.gz", hash = "sha256:e81b83143bee16329c23db3c1b2d82b29892fcbcb849186d2f6e98a5abe9a57f", size = 228679, upload-time = "2026-07-20T02:07:45.435Z" }
+wheels = [
+ { url = "https://files.pythonhosted.org/packages/1b/84/71d051c850b5af41d168c679d9eb67eb7c55283ac4ee131673edf134bc4e/yarl-1.24.5-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:d693396e5aea78db03decd60aec9ece16c9b40ba00a587f089615ff4e718a81d", size = 136035, upload-time = "2026-07-20T02:05:25.489Z" },
+ { url = "https://files.pythonhosted.org/packages/03/4d/8ad27f9a1b7e69313cca5d695b925b48efe51208d3490e0844bae97cabc0/yarl-1.24.5-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:3363fcc96e665878946ad7a106b9a13eac0541766a690ef287c0232ac768b6ec", size = 97642, upload-time = "2026-07-20T02:05:27.429Z" },
+ { url = "https://files.pythonhosted.org/packages/ea/b4/05b4131c407006cd1e410e9c6539f16a0945724677e5364447313c15ea3e/yarl-1.24.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:9d399bdcfb4a0f659b9b3788bbc89babe63d9a6a65aacdf4d4e7065ff2e6316c", size = 97323, upload-time = "2026-07-20T02:05:29.441Z" },
+ { url = "https://files.pythonhosted.org/packages/20/16/e618c875c73e0e39611f20a581b3d5e8d59b8857bf001bee3263044c6deb/yarl-1.24.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:90333fd89b43c0d08ac85f3f1447593fc2c66de18c3d6378d7125ea118dc7a54", size = 107741, upload-time = "2026-07-20T02:05:31.367Z" },
+ { url = "https://files.pythonhosted.org/packages/d9/9a/c4defeaf3ed33fcb346aacf9c6e971a8d4e2bde04a0310e79abb208e7965/yarl-1.24.5-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:665b0a2c463cc9423dd647e0bfd9f4ccc9b50f768c55304d5e9f80b177c1de12", size = 103570, upload-time = "2026-07-20T02:05:33.303Z" },
+ { url = "https://files.pythonhosted.org/packages/5f/e7/0e0e0de5865ebd5914537ef486f36c727a59865c3ac0cf5ff1b32aececbf/yarl-1.24.5-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:e006d3a974c4ee19512e5f058abedb6eef36a5e553c14812bdeba1758d812e6d", size = 115815, upload-time = "2026-07-20T02:05:35.292Z" },
+ { url = "https://files.pythonhosted.org/packages/2b/27/ca56b700cb170aba25a3893b75355b213935657dc5714d2383354a270e62/yarl-1.24.5-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:e7d42c531243450ef0d4d9c172e7ed6ef052640f195629065041b5add4e058d1", size = 116025, upload-time = "2026-07-20T02:05:37.503Z" },
+ { url = "https://files.pythonhosted.org/packages/d6/d0/d56c859b8222116f5d68459199f48359e0bf121b6f65a69bf329b3602ba0/yarl-1.24.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f08c7513ecef5aad65687bfdf6bc601ae9fccd04a42904501f8f7141abad9eb9", size = 109835, upload-time = "2026-07-20T02:05:39.506Z" },
+ { url = "https://files.pythonhosted.org/packages/70/a2/3a35557e4d1a79425040eba202ccaf08bdc8717680fc77e2498a1ad2e0a5/yarl-1.24.5-cp312-cp312-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:6c95b17fe34ed802f17e205112e6e10db92275c34fee290aa9bdc55a9c724027", size = 108884, upload-time = "2026-07-20T02:05:41.584Z" },
+ { url = "https://files.pythonhosted.org/packages/e4/35/ef4c26356b7913c68983bac2d72a4212b3347af551cb8d250b99b5ed7b7f/yarl-1.24.5-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:56b149b22de33b23b0c6077ab9518c6dcb538ad462e1830e68d06591ccf6e38b", size = 107308, upload-time = "2026-07-20T02:05:43.697Z" },
+ { url = "https://files.pythonhosted.org/packages/d5/91/ff0dc66c2ccf3e0153ab97ff61eabab4400e6a5264af427ab30cd69f1857/yarl-1.24.5-cp312-cp312-musllinux_1_2_armv7l.whl", hash = "sha256:a8fe66b8f300da93798025a785a5b90b42f3810dc2b72283ff84a41aaaebc293", size = 103646, upload-time = "2026-07-20T02:05:45.895Z" },
+ { url = "https://files.pythonhosted.org/packages/74/f0/33b9271c7f881766359d58266fa0811d2e5210ed860e28da7dc6d7786344/yarl-1.24.5-cp312-cp312-musllinux_1_2_ppc64le.whl", hash = "sha256:377fe3732edbaf78ee74efdf2c9f49f6e99f20e7f9d2649fda3eb4badd77d76e", size = 115305, upload-time = "2026-07-20T02:05:47.832Z" },
+ { url = "https://files.pythonhosted.org/packages/ef/65/fd79fb1868c4a80db8661091de525bf430f63c3bea1b20e8b6a84fc7d359/yarl-1.24.5-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:e8ffa78582120024f476a611d7befc123cee59e47e8309d470cf667d806e613b", size = 108404, upload-time = "2026-07-20T02:05:49.604Z" },
+ { url = "https://files.pythonhosted.org/packages/ff/ba/dbabe6b262f17a816c70cfc09558dbf03ece3ec76684d02f911a3d3a189c/yarl-1.24.5-cp312-cp312-musllinux_1_2_s390x.whl", hash = "sha256:daba5e594f06114e37db186efd2dd916609071e59daca901a0a2e71f02b142ce", size = 115940, upload-time = "2026-07-20T02:05:51.741Z" },
+ { url = "https://files.pythonhosted.org/packages/a5/43/fab2d1dad9d340a268cdde63756a123d069723efff6a372d123fa74a9517/yarl-1.24.5-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:65be18ec59496c13908f02a2472751d9ef840b4f3fb5726f129306bf6a2a7bba", size = 110006, upload-time = "2026-07-20T02:05:53.554Z" },
+ { url = "https://files.pythonhosted.org/packages/c4/27/41eb51bbd1b8d89546b83897cfb0164f1e109304fd408dbb151b639eec0f/yarl-1.24.5-cp312-cp312-win_amd64.whl", hash = "sha256:a929d878fec099030c292803b31e5d5540a7b6a31e6a3cc76cb4685fc2a2f51b", size = 97618, upload-time = "2026-07-20T02:05:55.57Z" },
+ { url = "https://files.pythonhosted.org/packages/3c/25/b2553764b3d65db711d8f45416351ec4f420847558eb669edcbcaadf5780/yarl-1.24.5-cp312-cp312-win_arm64.whl", hash = "sha256:7ce27823052e2013b597e0c738b13e7e36b8ccb9400df8959417b052ab0fd92c", size = 93018, upload-time = "2026-07-20T02:05:57.554Z" },
+ { url = "https://files.pythonhosted.org/packages/61/02/962c1cbfc401a30c1d034dc67ff395f64b52302c6d62de556c1fca99acc0/yarl-1.24.5-py3-none-any.whl", hash = "sha256:a33700d13d9b7d84fd10947b09ff69fb9a792e519c8cb9764a3ca70baa6c23a7", size = 58612, upload-time = "2026-07-20T02:07:43.461Z" },
+]
diff --git a/examples/taxonomy-classification/README.md b/examples/taxonomy-classification/README.md
index 112525863..5cd7c2343 100644
--- a/examples/taxonomy-classification/README.md
+++ b/examples/taxonomy-classification/README.md
@@ -16,16 +16,16 @@ category decision:
1. Rank the supplied candidate paths from listing copy.
2. Rank the same paths from the product image and copy.
3. Keep the top two paths from each ranking.
-4. Ask `Qwen/Qwen3.6-27B` to select one path or set `needs_review`.
+4. Use native multimodal `SIEClient.generate` with `Qwen/Qwen3.6-27B` to select one path or set `needs_review`.
-The runnable example sends all three model calls through SIE. The final response
-uses a two-field JSON schema, so application code receives one selected index
+The runnable example sends all three model calls through SIE's primary SDK
+primitives. The final response uses a two-field JSON schema, so application code receives one selected index
and one review flag. The published Shopify label never enters the request.
Run one real listing:
```bash
-uv sync
+uv sync --frozen
uv run predict-catalog-agent --offset 54
```
diff --git a/examples/taxonomy-classification/taxonomy_classification/__init__.py b/examples/taxonomy-classification/taxonomy_classification/__init__.py
index 54a7d0cf2..e69de29bb 100644
--- a/examples/taxonomy-classification/taxonomy_classification/__init__.py
+++ b/examples/taxonomy-classification/taxonomy_classification/__init__.py
@@ -1 +0,0 @@
-"""Taxonomy classification example package."""
diff --git a/examples/taxonomy-classification/taxonomy_classification/catalog_agent.py b/examples/taxonomy-classification/taxonomy_classification/catalog_agent.py
index e85d4f035..ff3efe526 100644
--- a/examples/taxonomy-classification/taxonomy_classification/catalog_agent.py
+++ b/examples/taxonomy-classification/taxonomy_classification/catalog_agent.py
@@ -1,7 +1,6 @@
from __future__ import annotations
import argparse
-import base64
import hashlib
import io
import json
@@ -75,17 +74,6 @@ def _image_format(image_bytes: bytes) -> str:
return "jpeg" if value == "jpg" else value
-def _verifier_data_uri(image_bytes: bytes) -> str:
- with Image.open(io.BytesIO(image_bytes)) as image:
- image = image.convert("RGB")
- image.thumbnail((768, 768))
- encoded = io.BytesIO()
- image.save(encoded, format="JPEG", quality=84, optimize=True)
- return "data:image/jpeg;base64," + base64.b64encode(encoded.getvalue()).decode(
- "ascii"
- )
-
-
def _description_excerpt(description: str) -> str:
value = description.strip()
if len(value) <= DESCRIPTION_CHARS:
@@ -241,47 +229,39 @@ def verify_candidates(
f"DESCRIPTION\n{listing.description.strip() or '(none)'}\n\n"
f"CANDIDATE PATHS\n{candidate_lines}"
)
- response = client.chat_completions(
+ selection_schema = {
+ "type": "object",
+ "properties": {
+ "selected_index": {
+ "type": "integer",
+ "minimum": 0,
+ "maximum": len(candidates) - 1,
+ },
+ "needs_review": {"type": "boolean"},
+ },
+ "required": ["selected_index", "needs_review"],
+ "additionalProperties": False,
+ }
+ response = client.generate(
VERIFIER_MODEL,
- [
- {"role": "system", "content": VERIFIER_SYSTEM_PROMPT},
+ f"{VERIFIER_SYSTEM_PROMPT}\n\n{user_text}",
+ images=[
{
- "role": "user",
- "content": [
- {
- "type": "image_url",
- "image_url": {"url": _verifier_data_uri(listing.image_bytes)},
- },
- {"type": "text", "text": user_text},
- ],
+ "data": listing.image_bytes,
+ "format": listing.image_format,
},
],
temperature=0,
- max_tokens=512,
- response_format={
- "type": "json_schema",
- "json_schema": {
- "name": "taxonomy_selection",
- "strict": True,
- "schema": {
- "type": "object",
- "properties": {
- "selected_index": {
- "type": "integer",
- "minimum": 0,
- "maximum": len(candidates) - 1,
- },
- "needs_review": {"type": "boolean"},
- },
- "required": ["selected_index", "needs_review"],
- "additionalProperties": False,
- },
- },
+ max_new_tokens=512,
+ grammar={
+ "json_schema": selection_schema,
+ "label": "taxonomy_selection",
+ "strict": True,
},
wait_for_capacity=True,
provision_timeout_s=PROVISION_TIMEOUT_S,
)
- content = response["choices"][0]["message"]["content"]
+ content = response.get("text")
if not isinstance(content, str):
raise ValueError("SIE verifier returned non-text content")
selection = json.loads(content)
@@ -290,7 +270,9 @@ def verify_candidates(
0 <= selected_index < len(candidates)
):
raise ValueError(f"Invalid selected_index: {selected_index!r}")
- return selected_index, bool(selection["needs_review"]), response.get("id")
+ request = response.get("request")
+ response_id = request.get("id") if isinstance(request, dict) else None
+ return selected_index, bool(selection["needs_review"]), response_id
def classify_listing(
diff --git a/examples/taxonomy-classification/taxonomy_classification/classifier/__init__.py b/examples/taxonomy-classification/taxonomy_classification/classifier/__init__.py
index a78d1ae1d..e69de29bb 100644
--- a/examples/taxonomy-classification/taxonomy_classification/classifier/__init__.py
+++ b/examples/taxonomy-classification/taxonomy_classification/classifier/__init__.py
@@ -1 +0,0 @@
-"""Classifier implementations for the taxonomy classification example."""
diff --git a/examples/taxonomy-classification/taxonomy_classification/data/__init__.py b/examples/taxonomy-classification/taxonomy_classification/data/__init__.py
index 22cfbba3a..e69de29bb 100644
--- a/examples/taxonomy-classification/taxonomy_classification/data/__init__.py
+++ b/examples/taxonomy-classification/taxonomy_classification/data/__init__.py
@@ -1 +0,0 @@
-"""Data preparation utilities for the taxonomy classification example."""
diff --git a/examples/taxonomy-classification/tests/test_catalog_agent.py b/examples/taxonomy-classification/tests/test_catalog_agent.py
index 3d1829c4d..29c154baf 100644
--- a/examples/taxonomy-classification/tests/test_catalog_agent.py
+++ b/examples/taxonomy-classification/tests/test_catalog_agent.py
@@ -52,7 +52,7 @@ def test_evaluation_reports_exact_top_level_and_macro_hierarchical_f1() -> None:
candidate_union=["A > Two", "A > One"],
text_scores=[0.1, 0.2, 0.3, 0.4],
image_plus_copy_scores=[0.4, 0.3, 0.2, 0.1],
- verifier_response_id="chat-1",
+ verifier_response_id="generate-1",
)
assert evaluation_metrics([source], [decision]) == {
@@ -88,7 +88,7 @@ def test_classify_listing_runs_two_rankings_then_verifies_the_union() -> None:
class FakeClient:
def __init__(self) -> None:
self.score_calls: list[dict[str, Any]] = []
- self.chat_calls: list[dict[str, Any]] = []
+ self.generate_calls: list[dict[str, Any]] = []
def score(
self,
@@ -117,24 +117,18 @@ def test_classify_listing_runs_two_rankings_then_verifies_the_union() -> None:
]
}
- def chat_completions(
+ def generate(
self,
model: str,
- messages: list[dict[str, Any]],
+ prompt: str,
**kwargs: Any,
) -> dict[str, Any]:
- self.chat_calls.append(
- {"model": model, "messages": messages, "kwargs": kwargs}
+ self.generate_calls.append(
+ {"model": model, "prompt": prompt, "kwargs": kwargs}
)
return {
- "id": "chat-54",
- "choices": [
- {
- "message": {
- "content": ('{"selected_index": 0, "needs_review": false}')
- }
- }
- ],
+ "text": '{"selected_index": 0, "needs_review": false}',
+ "request": {"id": "generate-54"},
}
client = FakeClient()
@@ -143,7 +137,17 @@ def test_classify_listing_runs_two_rankings_then_verifies_the_union() -> None:
assert len(client.score_calls) == 2
assert "images" not in client.score_calls[0]["query"]
assert client.score_calls[1]["query"]["images"][0]["format"] == "jpeg"
- assert len(client.chat_calls) == 1
+ assert len(client.generate_calls) == 1
+ generate_call = client.generate_calls[0]
+ assert generate_call["model"] == catalog_agent.VERIFIER_MODEL
+ assert "TITLE\nManual floor sweeper" in generate_call["prompt"]
+ assert generate_call["kwargs"]["images"][0]["data"] == source.image_bytes
+ assert generate_call["kwargs"]["images"][0]["format"] == source.image_format
+ assert (
+ generate_call["kwargs"]["grammar"]["json_schema"]["additionalProperties"]
+ is False
+ )
+ assert generate_call["kwargs"]["grammar"]["strict"] is True
assert decision.candidate_union == [
"Home & Garden > Household Supplies > Power Sweepers",
"Hardware > Tools > Brooms",
@@ -153,7 +157,7 @@ def test_classify_listing_runs_two_rankings_then_verifies_the_union() -> None:
"Home & Garden > Household Supplies > Power Sweepers"
)
assert decision.needs_review is False
- assert decision.verifier_response_id == "chat-54"
+ assert decision.verifier_response_id == "generate-54"
def test_verify_candidates_rejects_an_empty_union() -> None:
@@ -163,6 +167,32 @@ def test_verify_candidates_rejects_an_empty_union() -> None:
verify_candidates(object(), source, []) # type: ignore[arg-type]
+ ("response", "match"),
+ [
+ ({"text": None}, "SIE verifier returned non-text content"),
+ (
+ {"text": '{"selected_index": 2, "needs_review": false}'},
+ "Invalid selected_index: 2",
+ ),
+ ],
+)
+def test_verify_candidates_rejects_invalid_native_output(
+ response: dict[str, Any],
+ match: str,
+) -> None:
+ class FakeClient:
+ def generate(self, *_args: Any, **_kwargs: Any) -> dict[str, Any]:
+ return response
+
+ with pytest.raises(ValueError, match=match):
+ verify_candidates(
+ FakeClient(), # type: ignore[arg-type]
+ listing(reference="A > One"),
+ ["A > One", "A > Two"],
+ )
+
+
def test_image_cache_key_includes_the_dataset_revision(
tmp_path: Path, monkeypatch: pytest.MonkeyPatch
) -> None:
@@ -214,7 +244,7 @@ def test_eval_resumes_completed_rows_from_its_checkpoint(
candidate_union=["A > One"],
text_scores=[1.0],
image_plus_copy_scores=[1.0],
- verifier_response_id="chat-7",
+ verifier_response_id="generate-7",
)
output_path = tmp_path / "evaluation.json"
checkpoint = catalog_agent._evaluation_output(
@@ -232,7 +262,7 @@ def test_eval_resumes_completed_rows_from_its_checkpoint(
candidate_union=["A > Two"],
text_scores=[1.0],
image_plus_copy_scores=[1.0],
- verifier_response_id="chat-8",
+ verifier_response_id="generate-8",
)
@contextmanager
@@ -286,7 +316,7 @@ def test_predict_honors_the_requested_limit(monkeypatch: pytest.MonkeyPatch) ->
candidate_union=["A > One"],
text_scores=[1.0],
image_plus_copy_scores=[1.0],
- verifier_response_id="chat-7",
+ verifier_response_id="generate-7",
)
monkeypatch.setattr(catalog_agent, "load_shopify_rows", fake_load)
monkeypatch.setattr(catalog_agent, "create_sie_client", fake_client)