Skip to content

docs: add animated architecture diagram to homepage hero - #568

Merged
edenreich merged 2 commits into
mainfrom
docs/issue-559-20260817-1930
Aug 17, 2026
Merged

edenreich merged 2 commits into
mainfrom
docs/issue-559-20260817-1930

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Adds ArchitectureDiagram.vue, rendered in the homepage home-hero-after slot above the quick-start terminal.

  • Shows the app -> gateway -> providers / MCP / A2A flow as connected cards.
  • Dynamic: animated packet-flow rails between nodes, a breathing gateway node, and a cycling in-flight request chip (POST /v1/chat/completions, tools/call filesystem.read, delegate -> calendar-agent) that highlights the matching downstream target.
  • Legible at both widths: horizontal row at >= 860px, stacked column with vertical rails below that. Real text, no scaled-down SVG labels.
  • Pure CSS/SVG-free, no new dependency; uses VitePress theme vars so it works in light and dark, and honours prefers-reduced-motion.
  • Each target card links to its guide (supported providers, MCP, A2A).

Validated with bun run format:check, bun run lint:md, and bun run build (diagram confirmed present in the SSR output).

Closes #559

@inference-gateway-releaser

inference-gateway-releaser Bot commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@edenreich

Copy link
Copy Markdown
Contributor

@claude I like the diagram visuals, yet I think the inference gateway doesn't redirect traffic to the A2A servers, it's the CLI that does this.

The Gateway does support MCP tools discovery (tools selector or direct tools). Please read the docs and adjust the diagram to reflect on the actual architecture more accurately. use /ponytail:ponytail

@inference-gateway-maintainer

inference-gateway-maintainer Bot commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor Author

Claude finished @edenreich's task in 1m 37s —— View job


Architecture diagram corrected

You're right - A2A_SubmitTask / A2A_QueryTask / A2A_QueryAgent are CLI tools (cli.md:728, cli.md:1203), and the CLI is what talks to A2A servers. MCP is the gateway-side one - discovery, injection, and execution happen in the gateway (mcp.md), in selector or direct mode.

  • Read architecture-overview.md, mcp.md, a2a.md, cli.md
  • Adjust ArchitectureDiagram.vue
  • Validate (prettier --check, bun run build, SSR output inspected)
  • Commit (941c45f)

What changed:

  • A2A moved off the gateway's fan-out. It's now a dashed side-branch hanging off the app/CLI node, labelled "Delegated by the CLI, not proxied by the gateway", with an A2A_SubmitTask -> calendar-agent chip.
  • Gateway now fans out to two targets only: LLM providers and MCP servers.
  • MCP card mentions the two exposure modes: "Tools discovered and executed server-side, in selector or direct mode".
  • Caption updated to match.

The dashed branch rail stays vertical at both breakpoints; the main rails still go horizontal at >= 860px. Preview should redeploy on this commit.
| Branch

@edenreich
edenreich merged commit aa85ad4 into main Aug 17, 2026
1 check passed
@edenreich
edenreich deleted the docs/issue-559-20260817-1930 branch August 17, 2026 20:00
inference-gateway-releaser Bot added a commit that referenced this pull request Aug 24, 2026
## [0.9.12](0.9.11...0.9.12) (2026-08-24)

### 🐛 Bug Fixes

* auto-generate footer copyright year ([#570](#570)) ([bd7a0ad](bd7a0ad))
* **ci:** install Bun in the preview teardown job ([#567](#567)) ([68aed64](68aed64))
* **ci:** remove preview deployments with the workflow token on close ([527200a](527200a))
* connect app directly to gateway in homepage diagram ([#576](#576)) ([f74823b](f74823b))

### 👷 CI

* move docs deployment and PR previews to Cloudflare Pages ([#566](#566)) ([c369b52](c369b52))
* skip preview environment creation for dependabot PRs ([#583](#583)) ([bd22f31](bd22f31))

### 📚 Documentation

* add animated architecture diagram to homepage hero ([#568](#568)) ([aa85ad4](aa85ad4))
* add computer-use approval and pause/resume IPC ([#579](#579)) ([c4a7d9a](c4a7d9a))
* add quick-start terminal to homepage hero ([#565](#565)) ([d5c55aa](d5c55aa))
* align architecture diagrams with homepage and codebase ([#575](#575)) ([c2d9ffc](c2d9ffc))
* **cli:** update computer use to Computer tool and cgo-free build ([#584](#584)) ([cd670aa](cd670aa))
* de-duplicate provider list on homepage ([#569](#569)) ([a4726ae](a4726ae))
* drop floating window, desktop app for computer use ([#580](#580)) ([85e0a73](85e0a73))
* drop redundant 'How it works' from homepage ([#571](#571)) ([79d203c](79d203c))
* give the homepage a real contribution path ([#573](#573)) ([5ddfc8a](5ddfc8a))
* simplify the homepage ADL section for newcomers ([#572](#572)) ([684a1e2](684a1e2))

### 🔧 Miscellaneous

* **deps-dev:** bump mermaid from 11.16.1 to 11.17.0 in the bun group ([#582](#582)) ([bb85ea9](bb85ea9))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.12 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Add architecture diagram to homepage hero

1 participant