yatarousan0227/agent-contracts

Contract-driven architecture for building LangGraph agents with declarative node definitions, automatic graph construction, and hybrid rule/LLM-based routing.

33
/ 100
Emerging

Provides modular node composition through explicit Contracts that define inputs, outputs, and trigger conditions, enabling automatic graph topology inference without manual edge wiring. Supports hierarchical supervisors with safety budgets (depth/step limits) and hybrid rule-then-LLM routing strategies that avoid pure LLM decisions when deterministic rules suffice. Built on LangGraph with type-safe state access patterns and enhanced observability that traces routing decisions.

Available on PyPI.

Maintenance 10 / 25
Adoption 5 / 25
Maturity 18 / 25
Community 0 / 25

How are scores calculated?

Stars

9

Forks

Language

Python

License

MPL-2.0

Last pushed

Feb 02, 2026

Commits (30d)

0

Dependencies

4

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/agents/yatarousan0227/agent-contracts"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.