Download Latest Version director_ai-3.11.1.tar.gz (511.8 kB)
Email in envelope

Get an email when there's a new version of director-ai

Home / v3.0.0
Name Modified Size InfoDownloads / Week
Parent folder
sbom.json 2026-03-06 67.3 kB
director_ai-3.0.0.tar.gz 2026-03-06 250.5 kB
README.md 2026-03-06 1.9 kB
v3.0.0 source code.tar.gz 2026-03-06 1.6 MB
v3.0.0 source code.zip 2026-03-06 1.8 MB
Totals: 5 Items   3.8 MB 0

Breaking Changes

  • Minimum Python 3.11: dropped Python 3.10 support. Requires 3.11+ for ExceptionGroup and TaskGroup.
  • Enterprise classes moved: TenantRouter, Policy, Violation, AuditLogger, AuditEntry moved from director_ai / director_ai.core to director_ai.enterprise. Importing from the old location raises ImportError with migration hint.
  • Removed deprecated 1.x aliases: calculate_factual_entropy, calculate_logical_entropy, simulate_future_state, review_action (on CoherenceScorer), process_query (on CoherenceAgent), process_batch_async (on BatchProcessor). Use current names: calculate_factual_divergence, calculate_logical_divergence, compute_divergence, review, process, process_batch.
  • Slimmed root __all__: internal classes (ScoreCache, ScorerBackend, ShardedNLIScorer, etc.) removed from __all__ — still importable, no longer in public API surface.

Added

  • director_ai.enterprise package re-exporting all 5 enterprise classes.
  • director-ai tune adaptive threshold calibration (implemented in v2.8.0, now documented as stable).
  • Python 3.13 in CI matrix.

Migration

:::python
# Enterprise imports (before → after):
from director_ai.enterprise import TenantRouter  # was: from director_ai import TenantRouter

# Deprecated methods (use current names):
scorer.calculate_factual_divergence(...)  # was: calculate_factual_entropy
scorer.calculate_logical_divergence(...)  # was: calculate_logical_entropy
scorer.compute_divergence(...)            # was: simulate_future_state
scorer.review(...)                        # was: review_action
agent.process(...)                        # was: process_query
proc.process_batch(...)                   # was: process_batch_async

Full changelog: https://github.com/anulum/director-ai/blob/main/CHANGELOG.md

Source: README.md, updated 2026-03-06