Align LocalAI with the Linux kernel project's policy for AI-assisted contributions (https://docs.kernel.org/process/coding-assistants.html). - Add .agents/ai-coding-assistants.md with the full policy adapted to LocalAI's MIT license: no Signed-off-by or Co-Authored-By from AI, attribute AI involvement via an Assisted-by: trailer, human submitter owns the contribution. - Surface the rules at the entry points: AGENTS.md (and its CLAUDE.md symlink) and CONTRIBUTING.md. - Publish a user-facing reference page at docs/content/reference/ai-coding-assistants.md and link it from the references index. Assisted-by: Claude:claude-opus-4-7
4.4 KiB
| weight | title | description | type | icon | lead | date | lastmod | draft | images |
|---|---|---|---|---|---|---|---|---|---|
| 23 | References | Complete reference documentation | chapter | menu_book | API documentation, command reference, and technical specifications. | 2020-10-06T08:49:15+00:00 | 2026-03-09T00:00:00+00:00 | false |
Overview
The References section provides comprehensive technical documentation for developers and system administrators working with LocalAI. This includes API specifications, command-line reference, architecture details, and compatibility information.
Who Should Read This Section
- API Developers integrating LocalAI into applications
- System Administrators configuring and maintaining installations
- DevOps Engineers understanding architecture and deployment
- Troubleshooters diagnosing issues and errors
Topics
🔌 API Errors
Complete reference of all API error codes, messages, and troubleshooting guidance.
Key topics:
- Error code enumeration
- Error message formats
- Common error scenarios
- Resolution strategies
Recommended for: Developers handling API responses and errors
🏗️ Architecture
Overview of LocalAI's system architecture, components, and data flow.
Key topics:
- System components
- Data flow diagrams
- Component interactions
- Design principles
Recommended for: System architects and advanced users
📦 Binaries
Reference documentation for LocalAI binary files and their purposes.
Key topics:
- Binary file descriptions
- Usage instructions
- File locations
- Version information
Recommended for: Users understanding installation structure
💻 CLI Reference
Complete command-line interface reference with all commands, flags, and examples.
Key topics:
- Command enumeration
- Flag documentation
- Usage examples
- Environment variables
Recommended for: Command-line users and script developers
🔄 Compatibility Table
Comprehensive compatibility matrix for models, backends, and platforms.
Key topics:
- Model compatibility
- Backend support matrix
- Platform requirements
- Version compatibility
Recommended for: Users selecting models and configurations
🎮 NVIDIA L4T
Documentation for NVIDIA Linux for Tegra (L4T) platform support.
Key topics:
- L4T platform requirements
- Installation procedures
- Configuration options
- Known issues
Recommended for: NVIDIA Jetson/Tegra users
🔤 Shell Completion
Guide to enabling shell completion for LocalAI CLI commands.
Key topics:
- Bash completion setup
- Zsh completion setup
- Fish completion setup
- Customization options
Recommended for: Command-line power users
📊 System Info
Reference for system information commands and diagnostics.
Key topics:
- System info commands
- Diagnostic output
- Hardware detection
- Performance metrics
Recommended for: System administrators and troubleshooters
🤖 AI Coding Assistants
Policy for AI-assisted contributions — licensing, DCO, and attribution.
Key topics:
- Aligned with the Linux kernel's AI assistants policy
- Signed-off-by and DCO rules
Assisted-bycommit trailer format- Scope and responsibility of the human submitter
Recommended for: Contributors using AI coding assistants (Claude, Copilot, Cursor, Codex, etc.)
Quick Links
| Task | Documentation |
|---|---|
| API integration | API Errors |
| CLI commands | CLI Reference |
| Check compatibility | Compatibility Table |
| System diagnostics | System Info |
| Contribute with AI assistance | AI Coding Assistants |
Prerequisites
Before using reference documentation, ensure you have:
- ✅ LocalAI installed and running
- ✅ Basic understanding of APIs and command-line interfaces
- ✅ Familiarity with your target platform (Linux, macOS, Windows)
Related Sections
- 📖 Advanced - Deep dive into configuration and optimization
- 🔌 Installation - Setup and deployment
- ⭐ Features - Feature overview