II.
OrchestrationPrimitive JSON
Structured · liveorch-primitive:cost-tracking
Cost Tracking json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "orch-primitive:cost-tracking",
"_kind": "OrchestrationPrimitive",
"_file": "agent-stack/interaction-primitives/orchestration-primitives.yaml",
"_cluster": "agent-stack",
"attributes": {
"displayName": "Cost Tracking",
"description": "Track token consumption, API costs, and compute expenses per agent\nsession and aggregate them by task, run, or project. The primitive\nrecords per-turn token counts, model pricing tiers, and elapsed\nwall-clock time. Feeds budget-stop for threshold enforcement and\naudit-trail for spend accountability.\n",
"orchestrationKind": "cost-tracking",
"trigger": "event-driven"
},
"outgoingEdges": [
{
"from": "orch-primitive:cost-tracking",
"to": "layer:13-orchestration",
"kind": "realizes",
"attributes": {}
},
{
"from": "orch-primitive:cost-tracking",
"to": "skill-area:budgeting-forecasting",
"kind": "orch_requires_skill_area",
"attributes": {}
},
{
"from": "orch-primitive:cost-tracking",
"to": "skill-area:observability-instrumentation",
"kind": "orch_requires_skill_area",
"attributes": {}
},
{
"from": "orch-primitive:cost-tracking",
"to": "orch-primitive:budget-stop",
"kind": "orch_triggers",
"attributes": {}
}
],
"incomingEdges": [
{
"from": "agent-core-impl:claude-agent-sdk.core@current",
"to": "orch-primitive:cost-tracking",
"kind": "supports_orchestration_primitive",
"attributes": {}
},
{
"from": "orch-primitive:cost-budget-allocation",
"to": "orch-primitive:cost-tracking",
"kind": "orch_triggers",
"attributes": {}
}
]
}