# New AI architecture: Gladys becomes a real AI agent 🤖

**URL:** <https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241>\
**Category:** Actualités\
**Created:** [May 28, 2026, 3:13pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241 "2026-05-28T15:13:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 28, 2026, 3:13pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/1 "2026-05-28T15:13:09Z")

</div>

Hi everyone,

Since I integrated AI into Gladys, the promise was there but the reality remained limited: you asked a question, the AI answered. One input, one output. No intermediate reasoning, no real autonomy.

 ![gladys-ai-agent-before](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/f/d/fd1713f1a1a7fa05c6d216bf9c16eb2e5c4a3788.png)

What I’m announcing today changes all that in depth!! 😃

### Gladys can now «&nbsp;think&nbsp;» before answering

You may know Claude Code, Anthropic’s development agent that, faced with a complex problem, breaks it down, iterates, uses tools, adapts… until it finds the solution. It’s exactly this model that I’ve applied to Gladys.

 ![gladys-ai-agent-now](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/1/9/19be43489b9b74f295ba745c9fe3ec841102eee9.png)

From now on, when you ask Gladys a question, it no longer just tries to formulate an answer. It **acts**. It can chain several tool calls in succession to achieve its goals:

- What is the current CO2 level in the living room?
- Turn on the living room lights and turn off the fan
- Show me my energy consumption over the last month
- Create a scene that every morning at 7 a.m., sends me a message with the CO2 level in the living room, the kitchen, and the status of my doors.
- Create a scene that, when there is movement in my garage, sends a photo from my camera to the AI, and checks if the car is indeed my red Tesla Model 3. If so, the AI should not respond, otherwise the AI should warn me that an unknown car is there.

Requests that would have required several manual manipulations, or that simply didn’t work before!

This work is partly based on the MCP server developed by @bertrandda, which I’ve integrated into this new architecture! Thanks to him!

### A redesigned interface to be really usable

I took the opportunity to completely overhaul the chat interface. Clearer, more fluid, really usable on mobile.

 ![Capture d’écran 2026-05-28 à 13.34.31](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/d/2/d209f96133a6763d09e54f61d0b7ad7f7b7f77c1.jpeg)

 ![Capture d’écran 2026-05-28 à 15.18.15](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/2/0/20dd81ce35e1362c4c3eda7bc7b01f14ae2fc285.jpeg)

Each tool call is displayed in a readable way in the conversation, so you can understand what Gladys is doing, and you can easily diagnose if something is not going as expected.

 ![Capture d’écran 2026-05-28 à 14.05.21](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/4/6/469c27134e6c5087d04ea93b6fa889969c618fe4.jpeg)

#### Telegram, Nextcloud Talk: it works too

Do you use Gladys on the go via Telegram or Nextcloud Talk? The improved agent is also available on these channels. You therefore have access to all this power from your phone, without opening the web interface.

 ![Capture d’écran 2026-05-28 à 16.21.08](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/0/2/02d8d956b054b41fe8f408e890fd495f7de34c75.jpeg)

#### Try it now, it’s free

First, update Gladys to v4.76.0!

Then, you need Gladys Plus. And I’m offering you [1 month of full trial, no credit card](https://gladysassistant.com/fr/plus/?utm_source=forum&utm_campaign=gladys-agent-ia) 🙂

Each account has **3,000 requests per month + 500 image analysis requests**.

That’s more than enough to explore what the agent can do, and I’m curious to read your feedback on what works, what surprises you, and what you’d like to see next!! 😃

For the AI model, I’ve reached the limits of Mistral Small 3.2 with this tool, and for now I’ve switched to Gemma 4, still at Scaleway, hosted in France, with your data entirely private 🔒

Of course, there may be bugs and I’m open to your feedback 🙂

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 28, 2026, 3:21pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/2 "2026-05-28T15:21:57Z")

</div>



---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 28, 2026, 3:28pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/3 "2026-05-28T15:28:15Z")

</div>

It’s live at my place, everything’s going smoothly 😎

 ![IMG1756](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/9/0/906d14704bfdc9aa229958f13880caca9c9833f5.jpeg)

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [May 28, 2026, 3:30pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/4 "2026-05-28T15:30:54Z")

</div>

Now THAT’S news!!! I can’t wait to try it out!!

---

<div class="post-metadata">

**Author:** ![b3n.0](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/b3n.0/32/3458_2.png) [@b3n.0](https://community.gladysassistant.com/u/b3n.0)\
**Post date:** [May 28, 2026, 3:33pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/5 "2026-05-28T15:33:16Z")

</div>

ENNNNOOOOOOOOORME

Really great! Thanks, I’m a big fan. I just tried it and I think I’m going to multiply the scenes, all those I imagined and was too lazy to do!

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 28, 2026, 3:36pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/6 "2026-05-28T15:36:10Z")

</div>

If you find this cool, we can expand the list of «&nbsp;tools&nbsp;» that the AI can use. For now, the available tools are:

- ‹&nbsp;camera.get-image&nbsp;›
- ‹&nbsp;scene.create&nbsp;›
- ‹&nbsp;scene.start&nbsp;›
- ‹&nbsp;device.get-state&nbsp;›
- ‹&nbsp;device.turn-on-off&nbsp;›
- ‹&nbsp;device.get-history&nbsp;›

But honestly, anything is possible, and it’s very easy to add.

I’m basing this on the work of @bertrandda on the MCP server + the new `scene.create` action that I created myself 🙂

---

<div class="post-metadata">

**Author:** ![jparbel](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/j/d6d6ee/32.png) [@jparbel](https://community.gladysassistant.com/u/jparbel)\
**Post date:** [May 28, 2026, 4:04pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/7 "2026-05-28T16:04:04Z")

</div>

Thanks @pierre-gilles I just tested it, it works great. Well done for all the new features of the past few months, you’ve been busy. Also thanks to @bertrandda

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 28, 2026, 4:07pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/8 "2026-05-28T16:07:20Z")

</div>

Thanks @jparbel that’s nice 😊

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [May 28, 2026, 4:11pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/9 "2026-05-28T16:11:29Z")

</div>

Wow that’s really cool!

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/b/9/b9b28e64b4ae061d6ef85ea6ddf9f7f862531a2a.jpeg)

But I had a small mishap when creating a scene on my end:

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/1/b/1bd22a50bc8612776ca6e6427fd041fb4644b731.jpeg)

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 28, 2026, 4:32pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/10 "2026-05-28T16:32:11Z")

</div>

For scene creation failures, it happens, and I think many of you will have failures on this first draft.

What you shared with me is perfect, I’ll try to see where the AI trips up. I’ll then refine the prompt and the schema to make it work! 😊

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [May 28, 2026, 4:59pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/11 "2026-05-28T16:59:57Z")

</div>

I asked again with exactly the same «&nbsp;prompt&nbsp;» and the scene was created!!

However, instead of the «&nbsp;Send a message&nbsp;» block, it used an «&nbsp;Ask the AI&nbsp;» block

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/4/c/4cb2e546823dda668a7bb313c3384db6800254c9.jpeg)

---

<div class="post-metadata">

**Author:** ![McFlyPartages](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mcflypartages/32/15670_2.png) [@McFlyPartages](https://community.gladysassistant.com/u/McFlyPartages)\
**Post date:** [May 28, 2026, 5:02pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/12 "2026-05-28T17:02:27Z")

</div>

Hi @pierre-gilles

This seems very very promising.

A few questions:

> [@pierre-gilles](#):
>
> Creates a scene that every morning at 7 a.m. sends me a message with the CO2 level in the living room, the kitchen, and the status of my doors.

~~Does this mean it can create scenes in Gladys on its own? Or is it directly a scene where it keeps your request? Because in this case, you still need to add a trigger for it.~~

I got my answer in a post above.

> [@pierre-gilles](#):
>
> For the AI model, I have reached the limits of Mistral Small 3.2 with this tool, and for now I have switched to Gemma 4, still at Scaleway, hosted in France, with your data entirely private 🔒

I’m not an AI expert, but I don’t understand this sentence. Does the AI run on the Scaleway server? Or are the requests only made by this server? Because in this case, it’s hitting the cloud of the AI operator, so not really private?

In any case, this is very good work.

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 28, 2026, 5:37pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/13 "2026-05-28T17:37:01Z")

</div>

> [@McFlyPartages](#):
>
> Is the AI running on the Scaleway server?

Yes! I only use Open-Weight models, hosted in France at Scaleway

---

<div class="post-metadata">

**Author:** ![lmilcent](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/lmilcent/32/7023_2.png) [@lmilcent](https://community.gladysassistant.com/u/lmilcent)\
**Post date:** [May 28, 2026, 8:40pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/14 "2026-05-28T20:40:02Z")

</div>

What a great update 🤩! Thanks to @bertrandda for the MCP server and @pierre-gilles for all the efforts and integration!

So far, I’ve managed to convince my partner a little bit with the temperature sensors in the house’s rooms, maybe this AI agent will push her over the edge into automation? 😆

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 29, 2026, 2:53pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/15 "2026-05-29T14:53:05Z")

</div>

With this new AI Agent brick, it unlocks a lot of possibilities. I had fun creating a widget on the home screen that would allow you to send voice commands with one click:

[![](https://img.youtube.com/vi/SjpPLeE9IZU/maxresdefault.jpg "Assistant vocal Gladys démo") ](https://www.youtube.com/watch?v=SjpPLeE9IZU)

Would you be interested in this in Gladys? 😃

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [May 29, 2026, 3:14pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/16 "2026-05-29T15:14:19Z")

</div>

Great idea for controlling your smart home with your voice 🙂  
So it works on mobile and it uses the device’s microphone on which you launch the web interface, I suppose?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 29, 2026, 3:15pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/17 "2026-05-29T15:15:23Z")

</div>

> [@prohand](#):
>
> So it works on mobile and it uses the microphone of the device on which you launch the web interface, I assume?

Yes, it’s the browser’s microphone!

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 29, 2026, 3:53pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/18 "2026-05-29T15:53:53Z")

</div>

I created a dedicated topic:

> [@Commande vocale sur le tableau de bord](https://community.gladysassistant.com/t/commande-vocale-sur-le-tableau-de-bord/10244):
>
> Salut à tous ! La nouvelle brique [Agent IA](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241) débloque pas mal de choses pour Gladys, et notamment la partie «&nbsp;Commande vocale&nbsp;» devient super intéressante slight_smile J’ai fais un petit poc que je voulais vous partager : [[Assistant vocal Gladys démo] ](https://www.youtube.com/watch?v=SjpPLeE9IZU) Si vous voulez tester, je mets à disposition une image Docker : gladysassistant/gladys:gladys-stt Niveau Speech To Text, j’utilise un modèle Open-Weight (whisper-large-v3) hébergé sur Scaleway en France ! Je pense que cette fonct…

---

<div class="post-metadata">

**Author:** ![StephaneB](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/stephaneb/32/15443_2.png) [@StephaneB](https://community.gladysassistant.com/u/StephaneB)\
**Post date:** [May 29, 2026, 4:16pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/19 "2026-05-29T16:16:42Z")

</div>

Gotta admit it allows for interesting exchanges, it’s cool!

I just tried it:

 ![IMG7211](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/a/3/a3ab465b50ceaa6cda9a9e413ebca3b63f258367.jpeg)

Well, it’s not great in terms of reactivity, the answer came 40 seconds after the question 🥲 (and I did other tests with the same kind of delay…)

Is this due to the power of my mini-pc? Or is it inherent to the different data exchanges and reasoning steps with the AI server, and therefore I can’t do anything about it?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [May 29, 2026, 4:23pm UTC](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241/20 "2026-05-29T16:23:54Z")

</div>

> [@StephaneB](#):
>
> Is this due to the power of my mini-PC? Or is it inherent to the different data exchanges and reasoning steps with the AI server?

No, it’s due to the different steps, but it’s true that on Telegram, you don’t see the steps as you do on the web! I could send the steps on Telegram to make it clearer.

[Next page](https://community.gladysassistant.com/t/nouvelle-architecture-ia-gladys-devient-un-vrai-agent-ia/10241.md?page=2)
