Agent / Tool CallsPro
Agent / Tool calls: one agent and the tools it may call as an org chart, its model's official mark on top and each tool's coloured logo, function, source, mode and numbers below; the tool called right now lights its line. Open the agent (Pause, Connect tool), a tool (Allowed, Ask first or Paused, its parameters, Disconnect pressed twice) or a call (its input and output, Approve or Reject a waiting one, Run again for a failed one). Every call sits in the table below with time, tool, status, duration, tokens and input; Today, 7 days or 30 days. The agent keeps making calls as the clock runs.
oxyn add agent-tool-calls- Agents
- Harbor
- Tool calls
| Time | Tool | Status | Duration | Tokens | Input | Run |
|---|---|---|---|---|---|---|
| 09:40:47 | Running | 1.4 s | — | {"sql":"select * from orders where email = 'ines@harbourline.example'"} | run_7f3a | |
| 09:40:40 | Done | 610 ms | 412 | {"thread_id":"t_8c21"} | run_7f3a | |
| 09:31:50 | Needs you | — | — | {"charge":"ch_3Q8m","amount":12900} | run_7e91 | |
| 09:25:05 | Failed | 2.2 s | — | {"channel":"#support-escalations","text":"Order 4402 double charged"} | run_7e91 | |
| 09:24:40 | Done | 480 ms | 236 | {"query":"double charge"} | run_7e91 | |
| 09:24:20 | Done | 190 ms | 158 | {"sql":"select * from charges where order_id = 4402"} | run_7e91 | |
| 09:24:12 | Done | 702 ms | 388 | {"thread_id":"t_8b77"} | run_7e91 | |
| 08:22:00 | Done | 1.0 s | 120 | {"charge":"ch_3Q2a","amount":4500} | run_7d02 |
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.
Rendered from Rust at build time · goes live when visible
When to use
- See what one agent can do and what it did: which tool it calls now, what failed and why, and decide per tool whether it may run on its own, ask first or not at all.
When not to use
- Mail folders with counts and labels beside a message list: use Inbox sidebar instead.
- The app frame: use App shell instead.
- An assistant docked beside a page: use AI side panel instead.
Installation
Agent / Tool Calls 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.
oxyn add agent-tool-callsUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Sample
Sample data, the page as an inset card beside the sidebar.
- Agents
- Harbor
- Tool calls
| Time | Tool | Status | Duration | Tokens | Input | Run |
|---|---|---|---|---|---|---|
| 09:40:47 | Running | 1.4 s | — | {"sql":"select * from orders where email = 'ines@harbourline.example'"} | run_7f3a | |
| 09:40:40 | Done | 610 ms | 412 | {"thread_id":"t_8c21"} | run_7f3a | |
| 09:31:50 | Needs you | — | — | {"charge":"ch_3Q8m","amount":12900} | run_7e91 | |
| 09:25:05 | Failed | 2.2 s | — | {"channel":"#support-escalations","text":"Order 4402 double charged"} | run_7e91 | |
| 09:24:40 | Done | 480 ms | 236 | {"query":"double charge"} | run_7e91 | |
| 09:24:20 | Done | 190 ms | 158 | {"sql":"select * from charges where order_id = 4402"} | run_7e91 | |
| 09:24:12 | Done | 702 ms | 388 | {"thread_id":"t_8b77"} | run_7e91 | |
| 08:22:00 | Done | 1.0 s | 120 | {"charge":"ch_3Q2a","amount":4500} | run_7d02 |
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Flat
The same view with the page edge to edge.
- Agents
- Harbor
- Tool calls
| Time | Tool | Status | Duration | Tokens | Input | Run |
|---|---|---|---|---|---|---|
| 09:40:47 | Running | 1.4 s | — | {"sql":"select * from orders where email = 'ines@harbourline.example'"} | run_7f3a | |
| 09:40:40 | Done | 610 ms | 412 | {"thread_id":"t_8c21"} | run_7f3a | |
| 09:31:50 | Needs you | — | — | {"charge":"ch_3Q8m","amount":12900} | run_7e91 | |
| 09:25:05 | Failed | 2.2 s | — | {"channel":"#support-escalations","text":"Order 4402 double charged"} | run_7e91 | |
| 09:24:40 | Done | 480 ms | 236 | {"query":"double charge"} | run_7e91 | |
| 09:24:20 | Done | 190 ms | 158 | {"sql":"select * from charges where order_id = 4402"} | run_7e91 | |
| 09:24:12 | Done | 702 ms | 388 | {"thread_id":"t_8b77"} | run_7e91 | |
| 08:22:00 | Done | 1.0 s | 120 | {"charge":"ch_3Q2a","amount":4500} | run_7d02 |
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Loading
Skeletons where the data lands.
- Agents
- Harbor
- Tool calls
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Empty
A first run: what will show here and how to start.
- Agents
- Harbor
- Tool calls
No calls yet
Connect a tool and the agent's calls show here with what went in and came back.
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Waiting
A refund waiting for Approve or Reject.
- Agents
- Harbor
- Tool calls
| Time | Tool | Status | Duration | Tokens | Input | Run |
|---|---|---|---|---|---|---|
| 09:40:47 | Running | 1.4 s | — | {"sql":"select * from orders where email = 'ines@harbourline.example'"} | run_7f3a | |
| 09:40:40 | Done | 610 ms | 412 | {"thread_id":"t_8c21"} | run_7f3a | |
| 09:31:50 | Needs you | — | — | {"charge":"ch_3Q8m","amount":12900} | run_7e91 | |
| 09:25:05 | Failed | 2.2 s | — | {"channel":"#support-escalations","text":"Order 4402 double charged"} | run_7e91 | |
| 09:24:40 | Done | 480 ms | 236 | {"query":"double charge"} | run_7e91 | |
| 09:24:20 | Done | 190 ms | 158 | {"sql":"select * from charges where order_id = 4402"} | run_7e91 | |
| 09:24:12 | Done | 702 ms | 388 | {"thread_id":"t_8b77"} | run_7e91 | |
| 08:22:00 | Done | 1.0 s | 120 | {"charge":"ch_3Q2a","amount":4500} | run_7d02 |
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Failed
A failed Slack post with Run again.
- Agents
- Harbor
- Tool calls
| Time | Tool | Status | Duration | Tokens | Input | Run |
|---|---|---|---|---|---|---|
| 09:40:47 | Running | 1.4 s | — | {"sql":"select * from orders where email = 'ines@harbourline.example'"} | run_7f3a | |
| 09:40:40 | Done | 610 ms | 412 | {"thread_id":"t_8c21"} | run_7f3a | |
| 09:31:50 | Needs you | — | — | {"charge":"ch_3Q8m","amount":12900} | run_7e91 | |
| 09:25:05 | Failed | 2.2 s | — | {"channel":"#support-escalations","text":"Order 4402 double charged"} | run_7e91 | |
| 09:24:40 | Done | 480 ms | 236 | {"query":"double charge"} | run_7e91 | |
| 09:24:20 | Done | 190 ms | 158 | {"sql":"select * from charges where order_id = 4402"} | run_7e91 | |
| 09:24:12 | Done | 702 ms | 388 | {"thread_id":"t_8b77"} | run_7e91 | |
| 08:22:00 | Done | 1.0 s | 120 | {"charge":"ch_3Q2a","amount":4500} | run_7d02 |
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Paused
The agent paused: no new calls.
- Agents
- Harbor
- Tool calls
| Time | Tool | Status | Duration | Tokens | Input | Run |
|---|---|---|---|---|---|---|
| 09:40:47 | Done | 1.4 s | 164 | {"sql":"select * from orders where email = 'ines@harbourline.example'"} | run_7f3a | |
| 09:40:40 | Done | 610 ms | 412 | {"thread_id":"t_8c21"} | run_7f3a | |
| 09:31:50 | Needs you | — | — | {"charge":"ch_3Q8m","amount":12900} | run_7e91 | |
| 09:25:05 | Failed | 2.2 s | — | {"channel":"#support-escalations","text":"Order 4402 double charged"} | run_7e91 | |
| 09:24:40 | Done | 480 ms | 236 | {"query":"double charge"} | run_7e91 | |
| 09:24:20 | Done | 190 ms | 158 | {"sql":"select * from charges where order_id = 4402"} | run_7e91 | |
| 09:24:12 | Done | 702 ms | 388 | {"thread_id":"t_8b77"} | run_7e91 | |
| 08:22:00 | Done | 1.0 s | 120 | {"charge":"ch_3Q2a","amount":4500} | run_7d02 |
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
AgentToolCallsScreen
| Prop | Type | Default | Description |
|---|---|---|---|
layout | String | "inset" | `inset` or `flat`. |
state | String | "sample" | A state key. |
now | ClockMs | Default::default() | The host clock (the agent takes a step each second). |
live | bool | true | Run the clock. |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Tab | Range, Pause, Connect tool, the agent, each tool, then the calls |
| Enter | Open the card or call's panel |
| Escape | Close the picker |
Accessibility
- Cards read their name, source, mode and numbers; calls read their tool, time and status.
- The details panel is a region; a waiting call's Approve and Reject sit in an alert.
Responsive behaviour
- Authored on the 1440 × 900 canvas: a 248 px sidebar, the page as an inset card and, where the screen has one, a 328 px right card in the gutter.
- Under 960 px the sidebar becomes a drawer from the header's menu button and the right card hides.
- Under 640 px header actions turn into icon buttons, grids drop to one column and labels ellipsise.
Edge cases (spec)
Authored on the 1440 × 900 stage and scaled to its column; /full renders at the real viewport. Under 960 px the sidebar is a drawer from the header's menu button and the right card hides; under 640 px header actions become icon buttons. scripts/ovl.py checks text overlap at 1440, 768 and 390 in light and dark.
Notes for AI
- Import
AgentToolCallsScreenfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
AgentToolCallsElinoxyn_gpui. - 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.