Make Codex and Claude Code subscriptions go further: a local model router that gives routine agent work to economical models and keeps your strongest model for the hard parts.
Rust ai-agentsai-gatewayclaude-codecodexcoding-agentcost-optimizationdeepseekllm-gatewayllm-routerlocal-firstmodel-routingrusttask-routingtauri
{
"scenario_id": "process-25018-local-observation-v2",
"local_writer_query_contract": "green",
"production_cli_daemon_observation": "green",
"production_evidence": "installed-standalone-headless-management-loop",
"composition_owner": "TASK-142003",
"execution_fact_schema": "hiroute.observation.product-execution-envelope/v2",
"execution_fact_port_digest": "sha256:5f42929cdb812799e4e4a10885324debb21e6489bde5e935599de57b54b8ab23",
"conversation_content_schema": "hiroute.observation.conversation-content-envelope/v2",
"conversation_content_port_digest": "sha256:6f17cd772a0fb322d25dd31dc95e34325cbabbd68912b32f5bb9bed526adfe44",
"acknowledgement_schema": "hiroute.observation.ack/v2",
"negative_acknowledgement_schema": "hiroute.observation.nack/v1",
"content_stream_identity": [
"direction",
"fork_id",
"request_id"
],
"adapter_time_join": false,
"activity_store": "activity.db",
"content_store": "conversation-content",
"retention_schema": "hiroute.observation-retention/v1",
"activity_schema_version": "4",
"value_calculation_basis": "hiroute.value-calculation/baseline-chosen-actual/v1",
"value_rollup_identity": [
"agent_plan_id",
"currency",
"day_number",
"workspace_id"
],
"delete_rollups_true_creates_tombstone": false,
"retention_millis": 604800000,
"ordinary_logs_are_truth": false,
"writes_runtime_correctness_state": false,
"implements_gateway_or_otel_mapping": false
}