Version 4.5.0#

Released: July 16th, 2026

This release introduces GUI replies: agents can now send rich graphical user interfaces directly in the chat conversation and react to user interactions. See the new GUI wiki section.

New Features#

GUI replies#

Agents send a AgentGUI as an inline chat message via reply_gui(). AgentGUI wraps a BESSER GUIModel and adds an id, a persist flag for automatic input tracking in session.gui_inputs, and an optional width for the chat bubble.

GUIEvent and form transitions#

User interactions with GUI components are dispatched as GUIEvent objects. when_form_submitted() provides a dedicated transition that fires on form submissions, with an optional form_id to target a specific GUI.

GUI generation with LLMs#

create_gui_with_llm() takes a plain-text description and returns a ready-to-send AgentGUI generated by an LLM. Failed responses are retried up to max_retries times (default 2).

Ollama LLM#

LLMOllama adds support for locally hosted models served by Ollama. It connects through Ollama’s OpenAI-compatible API (default http://localhost:11434) and supports predict, chat, predict_with_tools, and intent classification — no external API key required.