Bots
Read the guideExplore animated characters ready to use or customize.
Stage
In an AI chat
The bot moves with streams shaped like the real SDKs. They go through the same adapters and the same bindAgent you would use. No model is called.
Send the sample question and watch the assistant react.
Animations and gestures
Explore how the bot moves, reacts and expresses itself in different situations.
Expression states
This is how the bot looks in different contexts.
What happens inside
The model calls a tool, waits for the result and then answers.
What the agent is doing
- Message receivedupcoming
- Waitingupcoming
- Using a toolupcoming
- Waiting for the resultupcoming
- Writingupcoming
- Doneupcoming
What the SDK sent
Each line is an event of the stream and the step the adapter turned it into. Dimmed lines have not arrived yet.
startWaitingupcomingstart-stepWaitingupcomingtool-input-startUsing a toolupcomingtool-callUsing a toolupcomingtool-resultno changeupcomingfinish-stepno changeupcomingstart-stepWaitingupcomingtext-startWritingupcomingtext-delta×23Writingupcomingtext-endno changeupcomingfinish-stepno changeupcomingfinishDoneupcoming
The code behind what you see
It changes as you pick a shape, a skin and a gesture.
<gf-bot [shape]="shape" skin="f1" [gestures]="gestures" [onAgentEvent]="reacciones" [interactive]="true" />
protected readonly shape = ghostShape;
protected readonly gestures = { frontFlip };
protected readonly reacciones = agentReactions();
const api = bot?.api;
if (api) bindAgent(api, stream, vercelAi); // stream: lo que te devuelve tu SDKWhat it costs
Measured by the bundle check in CI, in KB gzip. You only pay for what you import.
- Engine
- 50 KB
- Engine and one shape
- 57.7 KB
- With the <gf-bot> component
- 65.8 KB
- First gesture you add (shared machinery)
- +7.4 KB
- Each gesture after that
- +0.3 KB
Icons and bots are independent: installing one never loads the other.