Files
owlen/crates/app/ui

Owlen UI

A Terminal User Interface (TUI) for the Owlen AI agent, built with Ratatui.

Features

  • Rich Text Rendering: Markdown support with syntax highlighting for code blocks.
  • Interactive Components: Intuitive panels for chat, tool execution, and session status.
  • Real-time Streaming: Smooth display of agent output as it's generated.
  • Task Visualization: Dedicated view for tracking the agent's progress through a task list.

Architecture

The UI is built using an event-driven architecture integrated with the agent-core event stream. It leverages ratatui for terminal rendering and crossterm for event handling.

Components

  • ChatPanel: Displays the conversation history.
  • TaskPanel: Shows the current implementation plan and task status.
  • ToolPanel: Visualizes active tool executions and their output.
  • ModelPicker: Allows selecting between available LLM providers and models.