Agentic AI in Vue: Pinia-Based Architecture in Directus
Blog

Agentic AI in Vue: Pinia-Based Architecture in Directus

Admin August 9, 2026 3 min read

You can push this approach even further with a virtual “agent cursor” that explicitly moves to the elements that are used in the flow. Have it click buttons, type in inputs, etc. You might think that that’s a lot slower than actually doing the work — and depending on the work it might be — but you can use the virtual interaction as a loading state. LLMs (at time of writing at least) are still rather slow to go through the reasoning steps to figure out what tools to call, so having something happen on the screen in the meantime is a great way to keep the user engaged. Users are patient when something is visibly happening, they’re not patient when the UI just freezes for a while. (I did a talk a while back about making apps feel fast even when they aren’t. Same principle applies here.)

You can push this approach even further with a virtual “agent cursor” that explicitly moves to the elements that are used in the flow. Have it click buttons, type in inputs, etc. You might think that that’s a lot slower than actually doing the work — and depending on the work it might be — but you can use the virtual interaction as a loading state. LLMs (at time of writing at least) are still rather slow to go through the reasoning steps to figure out what tools to call, so having something happen on the screen in the meantime is a great way to keep the user engaged. Users are patient when something is visibly happening, they’re not patient when the UI just freezes for a while. (I did a talk a while back about making apps feel fast even when they aren’t. Same principle applies here.)

You can push this approach even further with a virtual “agent cursor” that explicitly moves to the elements that are used in the flow. Have it click buttons, type in inputs, etc. You might think that that’s a lot slower than actually doing the work — and depending on the work it might be — but you can use the virtual interaction as a loading state. LLMs (at time of writing at least) are still rather slow to go through the reasoning steps to figure out what tools to call, so having something happen on the screen in the meantime is a great way to keep the user engaged. Users are patient when something is visibly happening, they’re not patient when the UI just freezes for a while. (I did a talk a while back about making apps feel fast even when they aren’t. Same principle applies here.)

1 Comment

  1. Admin August 9, 2026 at 4:49 am

    dscdas

    Reply

Leave a Comment