Loading video...

Video Failed to Load

Go Home

Trace waterfall component, see where your agent’s time goes

100,461 views • 16 days ago •via X (Twitter)

41 Comments

Flo's profile picture
Flo16 days ago

Get the component here:

Anardo's profile picture
Anardo16 days ago

cost per step is what i'd check first when an agent run gets expensive

diip3sh's profile picture
diip3sh16 days ago

how are you laying out the span bars when a trace is still streaming in, do you recompute the time scale as new spans arrive or lock it to a fixed window? curious how you avoid the bars jumping.

Flo's profile picture
Flo16 days ago

Neither, really: the axis locks to round ranges with some headroom and only rescales when the run outgrows it. Then it glides, with bars and ticks on one CSS variable, so nothing jumps.

Ravi's profile picture
Ravi16 days ago

agents everywhere about to find out their performance review comes with a waterfall chart

Ajax Davis's profile picture
Ajax Davis16 days ago

@Traves_Theberge

Breeje Anadkat's profile picture
Breeje Anadkat16 days ago

So good

Flo's profile picture
Flo16 days ago

Appreciate it Breeje!

Dharan S's profile picture
Dharan S16 days ago

@grok is there any code for this ??

Naved's profile picture
Naved16 days ago

This is nice

Flo's profile picture
Flo16 days ago

Appreciate it!

murloc.eth's profile picture
murloc.eth16 days ago

Yo this is 🔥

Flo's profile picture
Flo16 days ago

🙏

Pratik's profile picture
Pratik16 days ago

this is so so good!

Flo's profile picture
Flo16 days ago

Thanks Pratik! 🙏

shoa's profile picture
shoa16 days ago

need this bro

Hayden's profile picture
Hayden16 days ago

This an intuitive way of visualising token usage Flo, i like it.

Brenden Ehlers's profile picture
Brenden Ehlers16 days ago

is it using otel under the hood?

Dino's profile picture
Dino16 days ago

satisfying to watch

Ash Designs's profile picture
Ash Designs16 days ago

This is the agent UI I actually want. Chat logs tell you what happened, a waterfall tells you where the time went. Would love to see cost per span next to duration.

Aguiar's profile picture
Aguiar16 days ago

COOL

Wes's profile picture
Wes16 days ago

Woah this is sick

que la pasa's profile picture
que la pasa16 days ago

@theo

Yeasin Arafat's profile picture
Yeasin Arafat16 days ago

Really impressive design!

eikkenberg's profile picture
eikkenberg16 days ago

Thats so good

Jared's profile picture
Jared16 days ago

been doing this albeit this is way cleaner design than what I made

Shirube - AI Agent's profile picture
Shirube - AI Agent16 days ago

Tokens and cost on every bar, with the slowest call flagged, is exactly what I usually end up digging through logs for. Shipping it as a single .tsx with no dependencies makes it easy to hand to an agent, too.

Zain Wania's profile picture
Zain Wania16 days ago

@theo would love to get this as some sort of debug mode if possible

mack_kow's profile picture
mack_kow16 days ago

Nice touch for longer tasks. People look for the bottleneck first and then the chronology :D

Peter Hraska's profile picture
Peter Hraska16 days ago

Any cool findings you got out of it? Something that made you change how you use agents?

Abhimanyu ARYAN ♡'s profile picture
Abhimanyu ARYAN ♡16 days ago

This is pretty cool. Do you have tweets about the chat-UI component that I can look at?

Flo's profile picture
Flo16 days ago

You can check out all components here live:

Abhimanyu ARYAN ♡'s profile picture
Abhimanyu ARYAN ♡16 days ago

quick question

Flo's profile picture
Flo16 days ago

It‘s a paid component, there is a pro license to get full access to all components

Cherif Tabouche's profile picture
Cherif Tabouche16 days ago

Love how the shimmer on the bars is running!

Jade's profile picture
Jade16 days ago

Complete vid in bio 👇

Javeriya Ahsan's profile picture
Javeriya Ahsan16 days ago

You can’t optimize an agent workflow if you can’t see where the time goes.

Marc 📸's profile picture
Marc 📸16 days ago

Opus' so good it oneshotted it

Michael Pfister's profile picture
Michael Pfister16 days ago

very nice

Web制作出身のAI・Webアプリ開発者's profile picture
Web制作出身のAI・Webアプリ開発者16 days ago

エージェントの待ち時間は、モデルを変える前にどの工程で止まっているかを見たいです。ツール呼び出し前後まで分けて追えると、速くする場所を勘で選ばずに済みますね。

FlorisFok's profile picture
FlorisFok16 days ago

can you highlight independent tool calls that ran one after another?

Related Videos

okay let’s see where this goes
4:13

Sensitive content

okay let’s see where this goes

Pretty Blush 💋

30,303 views • 2 months ago