Zindex – 代理基础设施
Zindex – Diagram Infrastructure for Agents

原始链接: https://zindex.ai/

该系统提供了一种从语义描述生成图表的方法,而非手动放置元素。您使用节点(如服务和队列)和边(它们之间的连接),并赋予它们唯一的、稳定的ID来定义场景。 内置的布局引擎,灵感来自杉山算法,自动处理视觉排列——定位节点、连接边和放置标签——确保清晰的分层结构。这允许增量更新;图表的更改不需要完全重新生成。 该系统与渲染器无关,可以以多种格式(SVG、PNG)和不同主题生成一致的图表。重要的是,它是确定性的:相同的输入*始终*产生相同的输出,并且每个步骤(验证、标准化、布局、渲染)都可以进行检查,以便于调试和控制。

Hacker News 新闻 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Zindex – 代理的图表基础设施 (zindex.ai) 5 分,_ben_ 1小时前 | 隐藏 | 过去 | 收藏 | 2 评论 帮助 hmokiguess 3分钟前 | 下一个 [–] Zindex 与 Mermaid 有什么比较? _ben_ 1小时前 | 上一个 [–] Zindex 是一个用于代理的状态图表运行时。代理通过图表场景协议 (DSP) 发送结构化操作来创建图表 - 平台验证、规范化并渲染持久的场景状态,而不是一次性输出。 考虑申请YC 2026年夏季项目!申请截止至5月4日 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请YC | 联系方式 搜索:
相关文章

原文

example.scene.json

{
  "schemaVersion": "0.1",
  "scene": {
    "id": "payments-arch",
    "units": "px"
  },
  "elements": [
    {
      "id": "api",
      "kind": "node",
      "nodeType": "service",
      "shape": "roundedRect",
      "label": "API Gateway"
    },
    {
      "id": "queue",
      "kind": "node",
      "nodeType": "queue",
      "label": "Job Queue"
    },
    {
      "id": "e1",
      "kind": "edge",
      "from": { "elementId": "api" },
      "to": { "elementId": "queue" },
      "router": "orthogonal"
    }
  ]
}

Semantic, not geometric

Agents declare nodes, edges, and relationships. Layout is computed, not hand-placed.

Layout engine built in

A Sugiyama-style hierarchical layout pipeline figures out positions, edge routes, and label placement automatically. Agents describe the graph; the engine handles the geometry.

Patchable

Stable IDs enable incremental updates. Add a node, move an edge - without regenerating the entire diagram.

Renderer-agnostic

One canonical scene, multiple outputs: SVG and PNG with 4 render themes (clean, dark, blueprint, sketch).

Deterministic

Same input, same output. Validate → normalize → layout → render. Every step is inspectable.

联系我们 contact @ memedata.com