API Reference¶
Arcana's public API is designed around a single entry point (arcana.run()) for simple tasks and Runtime for production use.
Quick Reference¶
| Entry Point | Use Case |
|---|---|
arcana.run() |
One-shot tasks, scripts, prototyping |
Runtime.run() |
Production single-shot with shared resources |
Runtime.chat() |
Multi-turn conversations |
Runtime.chain() |
Sequential pipelines |
Runtime.collaborate() |
Multi-agent collaboration |
Modules¶
- SDK (arcana.run) -- Zero-config entry point
- Runtime -- Production runtime container
- ChatSession -- Multi-turn conversation
- Budget -- Cost and token control
- Tools -- Tool definition and adapters
- Contracts -- Data models (Pydantic schemas)