ducto.breakdown module
Aggregated cost breakdown produced by PricingEngine.calculate().
ducto.config module
Pricing config loading with pydantic validation and expression validation.
ducto.engine module
Core engine that loads config and calculates credit costs.
ducto.events module
Typed event emitter for credit lifecycle events.
ducto.expr module
Safe expression evaluator using Pythonβs ast module.
ducto.interface.base module
Abstract credit store interface.
ducto.interface package
Submodules
ducto.interface.memory module
In-memory credit store for testing and development.
ducto.interface.models module
Pydantic schemas for credit store operations.
ducto.interface.postgres module
Vanilla PostgreSQL-backed credit store adapter.
ducto.interface.supabase module
HTTPX-based Supabase credit store adapter.
ducto.manager module
High-level credit manager.
ducto package
Subpackages
ducto.metrics module
Pure data structures for agent usage telemetry.
ducto.sql package
Module contents
ducto API Reference
toctree::
ducto
* ducto package