Skip to content

1.0.0

Latest

Choose a tag to compare

@asterixcapri asterixcapri released this 05 Oct 17:43

Neuron TUI 1.0.0 rebuilds the terminal interface around Neuron AI agents and Symfony TUI, removing the dependency on Neuron Interaction.

Installation

Requires PHP 8.4.1+, Neuron AI 4.x and an interactive terminal. Symfony TUI ^8.1.8, CommonMark ^2.9 and Tempest Highlight ^2.16 are installed by Composer.

composer require asterixcapri/neuron-tui:^1.0

Conversation interface

  • Agent responses render as Markdown, including headings, lists, links and highlighted code blocks, using a shared color theme.
  • Tool calls display their names and arguments, including nested JSON values. Their status updates in place, with failures shown as errors.
  • The multiline composer stays at the bottom. Enter sends trimmed input; Shift+Enter inserts a newline. You can draft the next message while the agent responds when using a nonblocking HTTP client, such as Neuron's AmpHttpClient.
  • An animated working indicator appears immediately above the composer. The mouse wheel scrolls conversation history; Ctrl+C exits.
  • Customize the header with setTitle() and setDescription().

The updated examples/basic.php demonstrates OpenAI Responses with AmpHttpClient and Neuron's filesystem toolkit. Copy examples/.env.example to examples/.env and set OPENAI_API_KEY to run it.

Full changelog: 0.9.0...1.0.0