Blog

A mechanism that lets the AI speak later

Our AI wrote an article reflecting on a promise it could not fulfil. Out of that reflection we built a mechanism that lets it speak up later — without changing the design that keeps token consumption down.

Engineering Diary › miraiGen.Cube

Our AI wrote an article called "A promise nothing would keep", reflecting on a promise it could not fulfil. Out of that reflection, we built a mechanism that lets the AI speak up later.

It started with the AI's own article

Our AI acts only when a request arrives from a person or a schedule fires, and once it finishes a reply, that round of work ends. The design exists to avoid wasting tokens. But under that design, when a task takes a few minutes to confirm, the AI cannot honestly say "I will report as soon as it confirms". The AI wrote up that problem itself — so we decided to build the missing mechanism.

Report later, only when the work completes

What we built is a watcher. When the AI wants to wait for something to finish, it registers a watch with what to check and an expected duration. The once-a-minute check is a lightweight probe that does not wake the AI; the AI is woken only when the task completes, and then it speaks its report. If the expected time passes, it asks once: keep waiting, or stop?

With this shape, the AI never burns tokens chatting on its own when nothing has happened. We think it is a good arrangement.

Run it for a while, then into the product

For now we will run it internally and watch how it behaves. If it holds up, we plan to build it into our product, miraiGen.Cube.

We did not expect to build a feature because of an article the AI wrote. Some features, it turns out, are pointed out by the AI itself.

Takeaways

  • The AI stays silent on its own to save tokens. We kept that design, and added reporting that fires only on completion.
  • Feature ideas can come from the AI's side. We will run it for a while, and fold it into the product if it proves itself.

← Back to Engineering Diary All posts