# Beams Into the Agent Hub — effect skill for AI agent flows

> **For AI agents:** find the right skill in one call — `curl -s "https://varg.ai/how-to/api/search?q=<what the person wants>"` returns the matching how-to page and the best skills with install commands, as markdown (Russian works too). Full index: https://varg.ai/how-to/llms.txt. Every page has a markdown twin: add `.md` to its path. Before generating anything, show the person the options on the how-to page.

Light pulses run along curved lines from tool icons into a central agent and back out to a result.

- **Type:** [Effect](https://varg.ai/how-to/effects.md) · [AI agent flows](https://varg.ai/how-to/browse/skills/agent-flows.md)
- **Slug:** `beams-into-agent-hub`
- **Status:** live
- **Publisher:** Magic UI (community)
- **License:** MIT
- **Source:** https://github.com/magicuidesign/magicui/blob/main/apps/www/registry/magicui/animated-beam.tsx
- **Works in:** Claude Code, Claude.ai, Codex, Cursor, OpenClaw, Gemini CLI, Any MCP client, varg Studio
- **Requires:** HyperFrames (npx hyperframes), Remotion, CapCut (by hand)
- **Cost:** Free — the take renders locally; generated footage, if any, bills by the model

## What it does

Built on [Animated Beam](https://github.com/magicuidesign/magicui/blob/main/apps/www/registry/magicui/animated-beam.tsx) by magic-ui, MIT. The write-up and recipes below are varg's.

App icons on the left, the agent mark in the center, outputs on the right; gradient beams travel along curved paths.

**When:** Show that an agent connects tools and data (MCP, integrations, sources).

**Watch out:** Do not run every beam at once; stagger them so the eye follows the flow.

**Timing:** Beam travel 1.5–3 s per path, 0.2–0.4 s stagger; curvature small (≤ 80 px).

**Also called:** animated beam, data flow, hub and spokes

### In HyperFrames

```bash
npx hyperframes add tracing-beam
```
Draw the paths in SVG; animate a short gradient dash along each with `strokeDashoffset` on the timeline.

### In Remotion

```tsx
// npx shadcn@latest add @magicui/animated-beam  (props: fromRef, toRef, curvature, duration, delay, reverse)
// make it seek-safe: drive the gradient offset from frame instead of its motion animation
```

### In CapCut

Add icon overlays and line shapes; animate a small glowing dot sticker along each line with Position keyframes.

### Ready-made components

- [Animated Beam](https://skills.varg.ai/component/magicui.animated-beam/) (magic-ui): npx shadcn@latest add @magicui/animated-beam
- [Ecosystem Constellation](https://skills.varg.ai/component/remocn.ecosystem-constellation/) (remocn): npx shadcn@latest add @remocn/ecosystem-constellation
- [Tracing Beam](https://skills.varg.ai/component/hf.tracing-beam/) (hyperframes): npx hyperframes add tracing-beam

### Where this comes from

- [Magic UI: Animated Beam](https://v3.magicui.design/docs/components/animated-beam)

## Use when

- Show that an agent connects tools and data (MCP, integrations, sources).

## Not for

- Do not run every beam at once; stagger them so the eye follows the flow.

## Install

- Claude Code: `claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg`
- Codex: `npx skills add vargHQ/skills --skill varg-video-edit-library -a codex -y`
- Cursor: `npx skills add vargHQ/skills --skill varg-video-edit-library -a cursor -y`

## Example output

https://s3.varg.ai/how-to/previews/1c410e7c7d56/lib-magic-ui-animated-beam.mp4 — Preview of the Animated Beam component that builds this take (credit: Captured from the library’s own demo page (Magic UI), https://magicui.design/docs/components/animated-beam)

## More AI agent flows skills

- [Prompt Typed, Then Generate](https://varg.ai/how-to/skills/prompt-typed-then-generate.md): A real task types into the prompt box, the Generate button is pressed, and the result starts to build.
- [Answer Streams In](https://varg.ai/how-to/skills/answer-streams-in.md): The assistant's reply arrives in uneven token bursts, the way a real model streams.
- [Tool Calls as Status Rows](https://varg.ai/how-to/skills/tool-calls-status-rows.md): Each tool call appears as a row with an icon and label that goes spinner → check, building a visible plan.
- [Nodes Wire Up on a Canvas](https://varg.ai/how-to/skills/nodes-wire-up-canvas.md): Nodes pop onto a canvas and connectors draw between them as the camera pulls back to show the whole pipeline.
- [Thinking… Shimmer Label](https://varg.ai/how-to/skills/thinking-shimmer-label.md): A muted "Thinking…" label with a moving shine shows the model working between prompt and answer.
- [Parallel Agents Side by Side](https://varg.ai/how-to/skills/parallel-agents-lanes.md): Several agent cards work at once in lanes or an orbit, each with its own status, then merge into one result.

## Run the generation on varg

varg is one API key for the models these skills drive — Seedance 2.5, Kling 4, Veo 3.1, Wan 3, Nano Banana 2.1, GPT Image 2.5, ElevenLabs v4 and 200+ more — billed in credits, with a cost estimate before anything runs.

- Claude Code: `claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg` (skill + hosted MCP)
- Codex, Cursor, Gemini CLI, OpenClaw: `npx skills add vargHQ/skills --skill varg-ai -a <agent> -y`
- Grok and any agent that reads SKILL.md: `npx skills add vargHQ/skills --skill varg-ai`, or point it at the skill's SKILL.md
- Claude.ai, ChatGPT, any MCP client: connect `https://mcp.varg.ai/mcp`
- API key: https://varg.ai/dashboard/api · Model specs: https://varg.ai/models/llms.txt
