Skip to main content

Crate localgpt_core

Crate localgpt_core 

Source
Expand description

LocalGPT Core — shared library for agent, memory, config, and security.

This crate contains the platform-independent logic consumed by the CLI, server, mobile, and gen crates. It has zero platform-specific dependencies and compiles cleanly for aarch64-apple-ios and aarch64-linux-android.

Re-exports§

pub use config::Config;

Modules§

agent
commands
Unified slash command definitions shared across CLI and Telegram interfaces.
concurrency
config
cron
Cron job scheduling for LocalGPT.
env
Environment variable constants used throughout the application.
heartbeat
hooks
Lifecycle hook system for LocalGPT
mcp
MCP (Model Context Protocol) client support.
media
Media processing modules for LocalGPT.
memory
outbox
Durable outbound message queue with retry and exponential backoff.
paths
XDG Base Directory Specification compliant path resolution with profile isolation.
security
Centralized security module for LocalGPT.