# witn > Outcome-based billing infrastructure for AI agent builders. witn lets teams building AI agents define billing conditions via API, send product signals as events, and automatically settle charges when outcomes are verified — with built-in deduplication, settlement periods, dispute handling, reprocessing, and an auditable charge trail. No billing infrastructure to build. ## Core concepts - **Outcome contract**: defines the price, settlement period, attribution method, and billable condition for a billable event - **Billable condition**: a boolean expression tree (AND / OR / NOT) evaluated against incoming events to determine whether an outcome occurred - **Settlement period**: the time after the latest event before the current result becomes final; newer events push settlement forward - **Outcome**: a single billable unit tracked through states — OPEN → PENDING → CONFIRMED or FAILED ## Pages - [Homepage](https://www.thewitn.com): Product overview, capabilities, and use cases - [Coding Agent billing](https://www.thewitn.com/agents/coding): Charge when a code suggestion is accepted, the PR merges, and the change holds for 48 hours - [CX Agent billing](https://www.thewitn.com/agents/customer-support): Charge when a support ticket stays closed and the customer does not reopen it - [SRE Agent billing](https://www.thewitn.com/agents/sre): Charge when an incident is resolved and does not recur within 12 hours ## Contact - Website: https://www.thewitn.com - Twitter/X: https://x.com/the_witn