Skip to content

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.

7.0 KB
Raw Blame
{
  "created_at": "2026-10-05",
  "tool": "built-in image_gen",
  "kind": "Explanatory architecture illustrations, not application screenshots or measured output.",
  "scope": "Local HiRoute management, gateway execution and observation; inference is performed by the cloud or local model service selected by the user.",
  "code_references": [
    "../crates/gateway/README.md",
    "../crates/gateway-core/Cargo.toml",
    "../README.md",
    "../LICENSE"
  ],
  "images": [
    {
      "path": "assets/local-architecture-zh.png",
      "language": "zh",
      "sha256": "d910897e939e37e58e8ac810e175a6be8a3e65ec329542dd2c1fd706c3e96cd2",
      "prompt": "Use case: infographic-diagram.\nAsset type: polished explanatory PPT-style architecture figure for the HiRoute technical case-study article.\nCreate a NEW original opaque landscape image, around 1600x1000, with a flat high-end technical presentation design: off-white canvas, pale lavender local-computer boundary, restrained violet arrows, dark navy text, white rounded cards, fine outlines, soft very subtle shadows. Crisp large Chinese typography. Concrete readable blocks and connectors, not abstract glowing AI art. No screenshots, no fake app UI, no decorative brain, no robot, no 3D server.\nTop title exactly \"企业级网关实践,本地轻量运行\". Subtitle exactly \"HiRoute · Rust 网关核心 · Apache 2.0 开源\".\nThe large left-and-center rounded container occupies about 72% of the diagram and is labeled \"你的电脑\". It contains ALL of these five components, clearly inside its boundary:\n1. Left-middle card \"现有 Agent\", smaller \"Codex · Claude Code\", smaller \"继续读文件、写代码、跑测试\".\n2. Center-middle prominent card \"HiRoute Gateway\", beneath \"按阶段选模 · 协议适配 · 故障接力\". This is the hub.\n3. Card directly above the gateway \"Desktop / CLI\", smaller \"配置模型来源与路由计划\".\n4. Card below-left of the gateway \"本地执行记录\", smaller \"会话 · 用量 · 成本 · 胜任度\".\n5. A separate compact card below-right of the gateway \"本地模型\", smaller \"你部署的模型服务\".\nTo the RIGHT, clearly OUTSIDE the local-computer container, a white card with a small tasteful cloud icon \"云端模型服务\", beneath \"Qwen · Astra · 其他模型\".\nConnectors must be unambiguous and avoid crossing cards or text:\n- A prominent bidirectional horizontal arrow connects the Agent and HiRoute Gateway, labeled \"模型请求 / 响应\".\n- A prominent bidirectional arrow connects HiRoute Gateway to cloud services, crossing the local-computer boundary, labeled \"按需调用\".\n- A downward simple arrow from Desktop / CLI to HiRoute Gateway, labeled \"配置\".\n- A downward arrow from the Gateway to local execution records, labeled \"记录执行\".\n- A distinct arrow between HiRoute Gateway and the Local models card, labeled \"按需调用\".\nCloud models must NEVER appear inside the computer boundary. Local models, Desktop / CLI, records, Agent and Gateway must ALL be inside. Leave ample space; simplify connector bends instead of cramming.\nA readable one-line footer: \"HiRoute 在本机管理与执行,模型推理由所连接的服务完成。\"\nRender only the exact requested Chinese and Latin text. No other labels, disclaimers, mockup captions, slogans, scores, measured costs, performance benchmarks or security guarantees. No separate cloud service belonging to HiRoute. No Jev or custom decision service. A beautiful precise diagram a technical reader can understand immediately."
    },
    {
      "path": "assets/local-architecture-en.png",
      "language": "en",
      "sha256": "413b45e1784b116033a2bbdc1f3f9dc419955a662a962cf564f733032f3c9810",
      "prompt": "Use case: infographic-diagram.\nAsset type: polished explanatory PPT-style architecture figure for the English HiRoute technical case-study article.\nCreate a NEW original opaque landscape image, around 1600x1000, with a flat high-end technical presentation design: off-white canvas, pale lavender local-computer boundary, restrained violet arrows, dark navy text, white rounded cards, fine outlines, soft very subtle shadows. Crisp large English typography. Concrete readable blocks and connectors, not abstract glowing AI art. No screenshots, no fake app UI, no decorative brain, no robot, no 3D server.\nTop title exactly \"Enterprise gateway experience. Lightweight local execution.\"\nSubtitle exactly \"HiRoute · Rust gateway core · Apache 2.0 open source\".\nThe large left-and-center rounded container occupies about 72% of the diagram and is labeled \"Your computer\". It contains ALL of these five components, clearly inside its boundary:\n1. Left-middle card \"Your existing agent\", smaller \"Codex · Claude Code\", smaller \"Read files, write code, run tests\".\n2. Center-middle prominent card \"HiRoute Gateway\", beneath \"Stage routing · Protocol adaptation · Failover\". This is the hub.\n3. Card directly above the gateway \"Desktop / CLI\", smaller \"Manage model sources and routing plans\".\n4. Card below-left of the gateway \"Local execution records\", smaller \"Sessions · Usage · Cost · Competence\".\n5. A separate compact card below-right of the gateway \"Local models\", smaller \"Model services you host\".\nTo the RIGHT, clearly OUTSIDE the local-computer container, a white card with a small tasteful cloud icon \"Cloud model services\", beneath \"Qwen · Astra · Other models\".\nConnectors must be unambiguous and avoid crossing cards or text:\n- A prominent bidirectional horizontal arrow connects the Agent and HiRoute Gateway, labeled \"Requests / responses\".\n- A prominent bidirectional arrow connects HiRoute Gateway to cloud services, crossing the local-computer boundary, labeled \"Model calls\".\n- A downward simple arrow from Desktop / CLI to HiRoute Gateway, labeled \"Configuration\".\n- A downward arrow from the Gateway to local execution records, labeled \"Execution facts\".\n- A distinct arrow between HiRoute Gateway and the Local models card, labeled \"Model calls\".\nCloud models must NEVER appear inside the computer boundary. Local models, Desktop / CLI, records, Agent and Gateway must ALL be inside. Leave ample space; simplify connector bends instead of cramming.\nA readable one-line footer: \"HiRoute runs locally; connected model services perform inference.\"\nRender only the exact requested English text. No Chinese characters. No other labels, disclaimers, mockup captions, slogans, scores, measured costs, performance benchmarks or security guarantees. No separate cloud service belonging to HiRoute. No Jev or custom decision service. A beautiful precise diagram a technical reader can understand immediately."
    }
  ],
  "visual_checks": [
    "Agent, Desktop/CLI, Gateway, execution records and locally hosted models remain within the computer boundary.",
    "Cloud model services are outside that boundary, with visible model-call connections.",
    "Configuration, model calls and execution facts have separate arrows.",
    "Chinese and English labels are readable; no costs, scores, latency claims or cloud-relay service are invented."
  ]
}