Skip to main content
QitOS provides export APIs that allow Snowl (or any compatible adapter) to consume agent configuration, tool permissions, critic traces, and handoff traces. This guide covers the three integration paths and walks through each export API.

Integration Paths


Engine Configuration Export

Engine.export_config() returns an EngineConfig snapshot capturing the agent’s runtime configuration:

EngineConfig Fields


Tool Permission Export

ToolRegistry.export_permissions() returns a list of ToolPermissionSpec objects describing each tool’s capability and safety profile:

ToolPermissionSpec Fields


Critic Trace Extraction

EngineResult includes critic_traces — a list of CriticTrace records from every critic evaluation during the run:

CriticTrace Fields

Manual Extraction from StepRecords

If you have raw StepRecord.critic_outputs instead of EngineResult:

Handoff Trace Extraction

EngineResult includes handoff_traces — a list of HandoffTrace records from every agent handoff during the run:

HandoffTrace Fields

Manual Extraction from RuntimeEvents


End-to-End Example

Develop an agent in QitOS, then evaluate it in Snowl:

Conformance Testing

QitOS ships conformance tests that verify all export APIs produce correct, serializable output. Run them with:
The test suite covers:
  • EngineConfig field completeness and JSON serialization
  • ToolPermissionSpec field mapping and serialization
  • CriticTrace extraction and round-trip serialization
  • HandoffTrace extraction and round-trip serialization
  • Combined EngineResult with all trace types