Skip to content

Prompt to Team

A prompt types itself, is sent, and branches into a small team: each agent with its model logo, role and tool logos.

On this page
Used for
  • Agent builder hero
  • Prompt to team story
  • Multi-agent onboarding
  • Team assembly demo

Examples

Installation

npx knowns-ui@latest add prompt-to-team
For Claude Code, Cursor or Codex: installs it and wires the props to your own data.

Props

prompt
string
Defaulta churn question
Types itself, then is sent.
team
{ role, model?, tools?, icon? }[]
DefaultResearcher, Analyst, Writer
2–4 agents the prompt branches into: model logo, role, up to 3 tool logos.
typeSpeed
number
Default34
Milliseconds per character.
paused
boolean
Defaultfalse
Hold the scene where it is.
Motion
-
A short timer chain (no frame loop) that stops offscreen and in hidden tabs; the branches draw and the cards rise with CSS transitions. Reduced motion shows the finished team.

What it handles

  1. 01Types `prompt` into a field one character at a time, with `typeSpeed` setting the milliseconds per character (default 34), and shows a blinking caret while it types.
  2. 02Sends the prompt with a short press on the send button, which stays dim until the whole prompt is typed.
  3. 03Draws one branch per agent from the prompt down to a card, in the agent's own colour.
  4. 04Shows two to four agents from `team`, each card with a model logo from `model`, its `role` and up to three tool logos from `tools`.
  5. 05Loops through typing, send, branch and team, holds the finished team for a few seconds, then fades out and starts typing again.
  6. 06Shows the full prompt and the finished team at once when the visitor prefers reduced motion, and the loop only runs while the scene is on screen and not paused.

States

First render
The field is empty with a caret and the cards are hidden
none
Typing
Characters appear one by one at `typeSpeed`
none
Send
The send button gives a small press
280ms, ease out
Branch
Each branch line draws in with a short stagger
none
Team in
The cards fade up one after another
280ms, ease out
Reset
The whole scene fades out before typing restarts
280ms, ease out
Reduced motion
The full prompt and the team show at once
0ms

Works with

When to use

When to use

  • Explaining how one prompt becomes a team of agents with roles, models and tools.
  • Onboarding or landing sections that tell that story in a few seconds.

When not to use

Using with AI

Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:

  • Add the Knowns UI Prompt to Team to my app and wire it to my own data.
  • I need explaining how one prompt becomes a team of agents with roles, models and tools. Set that up with the Knowns UI Prompt to Team.
  • Which Prompt to Team props do I need for a minimal setup? Show me a short example.

With the server connected, your assistant calls get_component({ name: "prompt-to-team" }) and search_docs({ query: "prompt to team" }).

Need help?

Stuck on Prompt to Team, or found something off? We read every message.