Expand description
§limit-cli
AI-powered terminal coding assistant with REPL and TUI interfaces.
This crate provides the main entry point for the Limit AI coding assistant. It includes session management, tool execution, markdown rendering, and both TUI and REPL interfaces.
§Features
- Multi-provider LLM: Anthropic Claude, OpenAI GPT, z.ai GLM, and local models
- 18 built-in tools: File I/O, bash execution, git operations, code analysis
- Session persistence: Auto-save and restore conversations
- Markdown rendering: Rich formatting with syntax highlighting
- File autocomplete: Type
@to quickly reference files
§Usage
# TUI mode (default)
lim
# REPL mode
lim --no-tui§Modules
| Module | Description |
|---|---|
agent_bridge | Bridge between LLM agent and CLI |
session | Session management and persistence |
tools | Built-in tool implementations |
tui | Terminal UI components |
render | Markdown rendering |
syntax | Syntax highlighting |
file_finder | File autocomplete with fuzzy matching |
session_share | Export sessions to various formats |
Re-exports§
pub use agent_bridge::AgentBridge;pub use agent_bridge::AgentEvent;pub use error::CliError;pub use file_finder::FileFinder;pub use file_finder::FileMatch;pub use logging::init_logging;pub use render::MarkdownRenderer;pub use session::SessionManager;pub use session_share::ExportFormat;pub use session_share::SessionExport;pub use syntax::SyntaxHighlighter;pub use tui::FileAutocompleteState;pub use tui::TuiState;pub use tui_bridge::TuiApp;pub use tui_bridge::TuiBridge;
Modules§
- agent_
bridge - clipboard
- Clipboard operations for the TUI
- error
- file_
finder - logging
- render
- session
- session_
share - syntax
- system_
prompt - tools
- tui
- TUI (Terminal User Interface) module for limit-cli
- tui_
bridge - Legacy TUI module - Re-exports from modular structure