Expand description
Agent Core
A TUI Framework for building terminal UI agents powered by large language models.
This crate provides:
§TUI Components
- Permission request panels
- Question/answer dialogs
- Markdown rendering with theming
- Table rendering
- Session pickers
- Slash command popups
- Text input with cursor management
§Agent Infrastructure
- Message types for TUI-Controller communication
- Input routing
- Logging infrastructure
- Configuration management
- Base agent trait for building custom agents
§LLM Client
- Provider-agnostic LLM client interface
- Anthropic and OpenAI provider implementations
- HTTP client utilities
§LLM Controller
- Controller logic for managing LLM interactions
- Session management and compaction
- Tool execution framework
- Permission and user interaction registries
Modules§
- agent
- Agent infrastructure and configuration. Agent Infrastructure
- client
- LLM client interface and provider implementations. LLM client with provider-agnostic interface.
- controller
- LLM session controller and tool execution. LLM session controller and tool execution framework.
- tui
- Terminal UI components and application framework. LLM TUI Components
Macros§
- define_
theme - Macro to define a theme from a color palette.
Generates the
pub fn theme() -> Themefunction. - register_
themes - Macro to register all themes with their metadata. Generates mod declarations, THEMES array, and get_theme function.