TUI Guide
The Aurite framework includes two powerful Textual User Interfaces (TUIs) to enhance your development experience directly in the terminal: the Interactive Chat TUI and the Configuration Editor TUI.
TUI Interfaces
The Chat TUI provides a rich, interactive environment for conversing with your agents, viewing tool calls in real-time, and managing conversation history.
How to Launch
The Chat TUI is launched using the aurite run
command when you specify an agent's name without providing a user message.
Interface Overview:
- Header: Displays the agent name and the current session ID.
- Agent Info Panel: Shows key details about the agent (system prompt, LLM, etc.).
- Chat History: The main panel displaying the conversation, including user messages, agent responses, and tool calls.
- User Input: The text area at the bottom for composing messages.
- Footer: Displays key bindings.
Key Bindings
Ctrl+Enter
: Send the message to the agent.Ctrl+C
: Exit the chat application.
The Configuration Editor TUI (aurite edit
) is a powerful tool for creating, viewing, and modifying all your component configurations without manually editing JSON or YAML files.
How to Launch
You can launch the editor in two ways:
Interface Overview:
The editor uses a three-pane layout for efficient navigation:
- Navigation Tree (Left): A tree of all component types (
agent
,llm
, etc.). - Component List (Middle): A table listing all components of the selected type.
- Configuration Editor (Right): An interactive form for editing the selected component's fields.
How to Use
- Navigate: Use arrow keys to move between panes and select items.
- Edit: Use
Tab
to move between fields in the editor. PressEnter
on dropdowns or buttons to open them. - Save: Navigate to the "Save Configuration" button and press
Enter
to write your changes to the file. - Exit: Press
Ctrl+C
to exit the editor.