LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。
TypeScript
//! Backend Agent substrate shared by the desktop UI, local HTTP API, and MCP.
//!
//! Keep routing, retrieval, tool execution, context assembly, sessions, and
//! cancellation in this Rust module. The React/TypeScript side may render UI
//! state and bridge provider-specific transports, but it should not reimplement
//! the Agent core; otherwise API/MCP/UI behavior will drift.
pub mod cancel;
pub mod context;
pub mod events;
pub mod permissions;
pub mod provider;
pub mod router;
pub mod runtime;
pub mod session;
pub mod skills;
pub mod tools;
pub mod types;
pub mod workspace;
pub use runtime::AgentRuntime;
pub use types::AgentChatRequest;