agent_core/
lib.rs

1//! Agent Core
2//!
3//! A TUI Framework for building terminal UI agents powered by large language models.
4//!
5//! This crate provides:
6//!
7//! ## TUI Components
8//! - Permission request panels
9//! - Question/answer dialogs
10//! - Markdown rendering with theming
11//! - Table rendering
12//! - Session pickers
13//! - Slash command popups
14//! - Text input with cursor management
15//!
16//! ## Agent Infrastructure
17//! - Message types for TUI-Controller communication
18//! - Input routing
19//! - Logging infrastructure
20//! - Configuration management
21//! - Base agent trait for building custom agents
22//!
23//! ## LLM Client
24//! - Provider-agnostic LLM client interface
25//! - Anthropic and OpenAI provider implementations
26//! - HTTP client utilities
27//!
28//! ## LLM Controller
29//! - Controller logic for managing LLM interactions
30//! - Session management and compaction
31//! - Tool execution framework
32//! - Permission and user interaction registries
33
34/// Agent infrastructure and configuration.
35pub mod agent;
36/// LLM client interface and provider implementations.
37pub mod client;
38/// LLM session controller and tool execution.
39pub mod controller;
40/// Terminal UI components and application framework.
41pub mod tui;