| Crates.io | spec-ai-tui-app |
| lib.rs | spec-ai-tui-app |
| version | 0.6.0-prerelease.12 |
| created_at | 2025-12-01 18:08:56.293926+00 |
| updated_at | 2026-01-04 05:06:25.955653+00 |
| description | Interactive terminal UI for spec-ai built on spec-ai-tui |
| homepage | |
| repository | https://github.com/geoffsee/spec-ai |
| max_upload_size | |
| id | 1960239 |
| size | 267,381 |
Interactive terminal UI application for spec-ai built on spec-ai-tui.
This crate provides a full-featured terminal application for interacting with spec-ai agents. It uses the spec-ai-tui framework for rendering and the spec-ai-core runtime for agent execution.
spec-ai-tui-app
├── backend.rs # Async backend for agent communication
├── handlers.rs # Event handlers for user input
├── models.rs # Data models for UI state
├── state.rs # Application state management
└── ui.rs # UI rendering logic
The TUI can be launched via the run_tui function:
use spec_ai_tui_app::run_tui;
#[tokio::main]
async fn main() -> anyhow::Result<()> {
run_tui(None).await
}
Or with an explicit config path:
use spec_ai_tui_app::run_tui;
use std::path::PathBuf;
run_tui(Some(PathBuf::from("~/.config/spec-ai/config.toml"))).await?;
spec-ai-core - Agent runtime and tool executionspec-ai-tui - TUI framework for renderingtokio - Async runtimechrono - Timestamp handlingThis crate is typically invoked through spec-ai-cli rather than used directly.
For end-user documentation, see the main spec-ai README.