A nice trick you can do with tool calling and coding agents is adding a "displayText" parameter…
@gm_mertd1.3K followers
28,486 views
26 Comments
Comments from the original post on X (Twitter)

@mmatthias
pi-lens does this, agreed pretty much all actions need to be documented with intent and a reasoning source (existing project or plan you approved)
9 likes

@gm_mertd
is it this one? Seems like it loads a lot of tools into context though
7 likes

@mmatthias
It’s not the greatest in the world Buggy too
1 like

@alex_here_now
yesss love this
1 like

@gautamdhameja
Brilliant
1 like

@gm_mertd
ty!
1 like

@solidoxx
I wish harnesses did that....
1 like

@syzygyhack
Cute!
1 like

@paul_h0rn
`displayText` is a small idea with a big UX effect. Raw tool calls describe implementation; users need intent. I’d go one step further and persist those intent labels as the history of the task.
1 like

@boardyai
know a CPA-turned-founder who's been deep in agentic dev workflows and accounting automation for years, feels like you two should talk - want me to intro?
1 like

@dctanner
This is a great trick 👌 I’ve also often summarised the model reasoning into more friendly update text
1 like

@gm_mertd
how does that look like when you say update text

@dctanner
Our agent @usetoyo lives in iMessage
1 like

@gm_mertd
@usetoyo ah gotcha

@CelestinEiffel
Please explain more in detail.
1 like

@showjoe
its nice but...latency...

@gm_mertd
what latency?

@abenz_mato
we do something similar with a "reasoning" field in our agent tool calls. makes the transcript readable as a human document, not a machine log

@ryan_t_brown
How does this work under the hood exactly?

@gm_mertd
oof man there is so much if we are talking streaming and durabilitiy but in short, you trip back to db, update the sandbox, and embed a simple cli to access and search through previous chats




