Skip to content
Back

Tool networkPro

Agents and the tools they call as a living network – a pulse along the link for every call and its answer, agents that breathe while they work and turn amber when they need you, and a card with each node's latest calls.

oxyn add tool-network
Agent graph5 agents6 tools0 calls/min$0.02
  • Orchestrator (agent, working): Dividing the release into four jobs. Cost $0.02.
  • Writer (agent, working): Drafting the announcement.
  • Researcher (agent, working): Collecting what shipped.
  • Coder (agent, working): Patching the release script.
  • Analyst (agent, working): Sizing the audience.
  • Slack (tool, idle)
  • You (user, idle)
  • Web search (tool, idle)
  • Notion (tool, idle)
  • GitHub (tool, idle)
  • HubSpot (tool, idle)
  • Database (tool, idle)
The code is part of Oxyn Pro

The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.

Get Pro

Rendered from Rust at build time · goes live when visible

When to use

  • Agents and the tools they call as a living network: the lead in the middle, the other agents on an inner orbit, tools and you on the outer one; a pulse along the link for every call and its answer, agents that breathe while they work and turn amber when they need you; a click opens a node's card with its latest calls.

When not to use

  • An agent asks before it acts: use Approval Card instead.
  • Several open requests in one card: use Approval pager instead.
  • An agent's question in its own card above the composer: use Decision Card instead.

Installation

Tool network is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.

Terminal
oxyn add tool-network

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

Default

The lead in the middle, four agents around it and seven tools plus you on the outer orbit; every call runs a pulse out and its answer back, agents breathe, finish, fail and wait for you.

Agent graph5 agents6 tools0 calls/min$0.02
  • Orchestrator (agent, working): Dividing the release into four jobs. Cost $0.02.
  • Writer (agent, working): Drafting the announcement.
  • Researcher (agent, working): Collecting what shipped.
  • Coder (agent, working): Patching the release script.
  • Analyst (agent, working): Sizing the audience.
  • Slack (tool, idle)
  • You (user, idle)
  • Web search (tool, idle)
  • Notion (tool, idle)
  • GitHub (tool, idle)
  • HubSpot (tool, idle)
  • Database (tool, idle)
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Card

The lead's card: status, what it does, its latest calls with spinners and times, its cost and calls in the last minute.

Agent graph5 agents7 tools66 calls/min$0.29
  • Orchestrator (agent, working): Waiting on four agents. Calls in the last minute: Researcher 2, Coder 1, Analyst 1, Writer 1, Slack 1. Cost $0.09.
  • Writer (agent, working): Drafting the announcement. Calls in the last minute: Notion 2, Slack 1. Cost $0.04.
  • Researcher (agent, working): Collecting what shipped. Calls in the last minute: Web search 3, Notion 2. Cost $0.07.
  • Coder (agent, working): Patching the release script. Calls in the last minute: GitHub 2, Stripe 1. Cost $0.04.
  • Analyst (agent, working): Sizing the audience. Calls in the last minute: Database 3, HubSpot 2. Cost $0.06.
  • Slack (tool, idle)
  • You (user, idle)
  • Web search (tool, idle)
  • Notion (tool, idle)
  • Stripe (tool, idle)
  • GitHub (tool, idle)
  • HubSpot (tool, idle)
  • Database (tool, idle)
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Needs you

Settled with the Writer waiting (amber, "Writer needs you") and the Coder failed (red, "Coder failed"); two agents done.

Agent graph5 agents6 tools114 calls/min$0.49
  • Orchestrator (agent, working): Waiting on four agents. Calls in the last minute: Researcher 2, Coder 3, Analyst 2, Writer 2, Slack 2. Cost $0.14.
  • Writer (agent, needs you): Can I post the draft to #release-room?. Calls in the last minute: Notion 4, Slack 3, You 1. Cost $0.10.
  • Researcher (agent, done): Handed over 9 changes. Calls in the last minute: Web search 3, Notion 3. Cost $0.08.
  • Coder (agent, failed): The sandbox check timed out. Calls in the last minute: GitHub 5. Cost $0.07.
  • Analyst (agent, done): 1,180 teams to reach. Calls in the last minute: Database 5, HubSpot 3. Cost $0.10.
  • Slack (tool, idle)
  • You (user, idle)
  • Web search (tool, idle)
  • Notion (tool, idle)
  • GitHub (tool, idle)
  • HubSpot (tool, idle)
  • Database (tool, idle)
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Narrow

Narrow: taller than wide, smaller nodes, short labels, no model line; the card docks to the bottom.

Agent graph5 agents6 tools114 calls/min$0.49
  • Orchestrator (agent, working): Waiting on four agents. Calls in the last minute: Researcher 2, Coder 3, Analyst 2, Writer 2, Slack 2. Cost $0.14.
  • Writer (agent, needs you): Can I post the draft to #release-room?. Calls in the last minute: Notion 4, Slack 3, You 1. Cost $0.10.
  • Researcher (agent, done): Handed over 9 changes. Calls in the last minute: Web search 3, Notion 3. Cost $0.08.
  • Coder (agent, failed): The sandbox check timed out. Calls in the last minute: GitHub 5. Cost $0.07.
  • Analyst (agent, done): 1,180 teams to reach. Calls in the last minute: Database 5, HubSpot 3. Cost $0.10.
  • Slack (tool, idle)
  • You (user, idle)
  • Web search (tool, idle)
  • Notion (tool, idle)
  • GitHub (tool, idle)
  • HubSpot (tool, idle)
  • Database (tool, idle)
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Classic

Classic style: blue links that grow thicker with traffic, the bar on a grey band, the "Busier link" legend.

Agent graph5 agents7 tools66 calls/min$0.29
  • Orchestrator (agent, working): Waiting on four agents. Calls in the last minute: Researcher 2, Coder 1, Analyst 1, Writer 1, Slack 1. Cost $0.09.
  • Writer (agent, working): Drafting the announcement. Calls in the last minute: Notion 2, Slack 1. Cost $0.04.
  • Researcher (agent, working): Collecting what shipped. Calls in the last minute: Web search 3, Notion 2. Cost $0.07.
  • Coder (agent, working): Patching the release script. Calls in the last minute: GitHub 2, Stripe 1. Cost $0.04.
  • Analyst (agent, working): Sizing the audience. Calls in the last minute: Database 3, HubSpot 2. Cost $0.06.
  • Slack (tool, idle)
  • You (user, idle)
  • Web search (tool, idle)
  • Notion (tool, idle)
  • Stripe (tool, idle)
  • GitHub (tool, idle)
  • HubSpot (tool, idle)
  • Database (tool, idle)
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

ToolNetwork

PropTypeDefaultDescription
sceneOption<GraphScene>Default::default()Your own graph (the demo's when `None`).
titleString"Agent graph"Heading of the bar.
atOption<u64>Default::default()Freeze the demo at this many ms into a pass (a settled state).
openStringDefault::default()The node whose card is open at the start (id).
heat_windowu6420_000How far back (ms) calls count towards calls per minute and a link's heat (Classic).
heightf32Default::default()Fixed height of the wide graph in px (0 = 0.6 × its 756 px design width).
nowrequiredClockMs—The clock.
styleStringDefault::default()`clean`, `classic`, or empty to follow `data-cstyle`.
on_selectEventHandler<String>—A node's card opened (its id) – empty when it closes.

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
TabBetween the "needs you" / "failed" chips and the nodes; a focused node lights up its neighbourhood
EnterorSpaceOpens or closes the focused node's card
EscCloses the card and returns focus to its node

Accessibility

  • Every node is a button named with its name, kind, status, what it does and its calls in the last minute; aria-expanded says whether its card is open.
  • The card is a dialog; its close button takes focus, Esc closes it.
  • A visually hidden list gives the same picture as text: every node, its status, whom it called how often and its cost.
  • The chips sit in a polite live region; status is never colour alone – a badge and a line under the name.

Responsive behaviour

  • The layout is computed for a wide and a narrow box with x as a share of the width, so it fits its container.
  • Below 520 px the graph turns taller than wide, nodes shrink, labels use short names and the card docks to the bottom.
  • Labels and the outer orbit stay inside the panel – nothing is cut off and nothing scrolls.
Edge cases (spec)

The layout is computed for a wide (756 × 454) and a narrow (360 × 432) box, x as a share of the width, so it fits the container. Below 520 px the narrow one shows: taller than wide, nodes at 80 %, short labels, no model line, the card docked to the bottom of the graph, "calls/min" dropped from the bar. Nothing scrolls or is cut off down to 320 px.

Notes for AI

  • Import ToolNetwork from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: ToolNetworkEl in oxyn_gpui.
  • Props to set first: now.
  • It reads a clock (now) for live timers; pass one clock for the whole page rather than one per component.
  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI