How the SDK works - • An event represents business intent • Each attempt is a run, with its own run_id • All runs are linked via a shared event_id • A single outcome (success / failure / partial) is emitted per event • Cost per outcome = cost of all runs and attempts, including failures • Context propagates across services via standard W3C Baggage
We're building toward outcome-based pricing for AI systems and a clearer understanding of true cost per outcome.
Check out the botanu-sdk: https://github.com/botanu-ai/botanu-sdk-python
Installation: pip install botanu
How the SDK works -
• An event represents business intent
• Each attempt is a run, with its own run_id
• All runs are linked via a shared event_id
• A single outcome (success / failure / partial) is emitted per event
• Cost per outcome = cost of all runs and attempts, including failures
• Context propagates across services via standard W3C Baggage
We're building toward outcome-based pricing for AI systems and a clearer understanding of true cost per outcome.