hummbl-dev/agentic-patterns

Agentic Patterns

Stdlib-only safety patterns for agentic AI systems. Built from production experience coordinating 5+ AI agents with 6,000+ tests. Provides circuit breaker, kill switch, coordination bus, schema validator, and health probes.

A

100.0

Overall Quality Score
Audited: 2026-03-25 Version: v0.1.0 Python 3.11+
68 Tests
5 Patterns
0 Dependencies (stdlib)
0 High Findings
Apache-2.0 License

Category Breakdown

100
Lint
A
100
Security
A
100
Complexity
A
100
Dead Code
A
100
Duplication
A

Key Modules

Module Purpose Status
circuit_breaker.py CLOSED/OPEN/HALF_OPEN state machine with configurable thresholds Pass
kill_switch.py 4 emergency modes: DISENGAGED through EMERGENCY Pass
coordination_bus.py Append-only TSV bus with flock locking and HMAC signing Pass
schema_validator.py JSON Schema Draft 2020-12 subset without jsonschema dependency Pass
health_probe.py Composable health interface with latency tracking Pass

Findings

Info Perfect stdlib-only implementation

Perfect score — zero dependencies, clean stdlib-only implementation extracted from production founder-mode codebase.

Info Arbiter-driven refactor applied

Refactored per Arbiter feedback: _check_object decomposed for A+ score (commit 3eafdab).

Want an audit like this for your codebase? Free for open-source repos.

Request Free Audit