API Reference Index
This index reflects modules that are stable/public in the current SDK in this repository.
Stable Public Modules
| Module | Purpose |
|---|---|
khaos | Top-level exports: decorators, discovery helpers, output utilities, testing exports |
khaos.testing | Core testing primitives (khaostest, AgentTestClient, ...) |
khaos.config | Configuration compatibility loader |
khaos.costs | Rate-table loading and token-cost estimation |
khaos.cloud | Cloud config/session helper utilities for sync flows |
Quick Import Check
Python
import khaos
from khaos.testing import khaostest, AgentTestClient, AgentResponse
from khaos.config import load_config, DEFAULT_CONFIG_PATH
from khaos.costs import load_cost_table, estimate_cost_usd
from khaos.cloud import load_cloud_config, get_cloud_session
print(khaos.__version__)Internal / Non-Stable Areas
Not Public Contract in This Release
Namespaces often referenced in older drafts (for example
khaos.runtime,khaos.evaluators, and khaos.scenarios) are not exposed as stable public modules in this repository's open-source release.Where to Go Next
- Python API — practical examples on stable exports
- CLI Reference — primary production workflow
- Testing —
@khaostestusage