agent_core/lib.rs
1//! LLM Agent Core
2//!
3//! Reusable TUI components and agent infrastructure for LLM-powered terminal applications.
4//!
5//! This crate provides:
6//!
7//! ## TUI Components (`tui` module)
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 (`agent` module)
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 (`client` module)
24//! - Provider-agnostic LLM client interface
25//! - Anthropic and OpenAI provider implementations
26//! - HTTP client utilities
27//!
28//! ## LLM Controller (`controller` module)
29//! - Controller logic for managing LLM interactions
30//! - Session management and compaction
31//! - Tool execution framework
32//! - Permission and user interaction registries
33
34pub mod agent;
35pub mod client;
36pub mod controller;
37pub mod tui;