Automic VaultAutomic Vault

brew

localai を Homebrew, Nix でインストール

localai のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install localai

local Homebrew formula metadata

Linux

Nix確認済み · 92%
nix profile install nixpkgs#local-ai

nixpkgs package indexes · pkgs/by-name/lo/local-ai/package.nix · ソース: api.github.com

概要

パッケージ概要

OpenAI alternative

コマンドとエイリアス

  • local-ai

履歴

プロジェクトの歴史と使われ方

LocalAI is an open-source local AI inference server and CLI that exposes OpenAI-compatible APIs for self-hosted models. It began in the 2023 local-LLM wave and grew from a local OpenAI API replacement into a broader multimodal AI engine with model galleries, backend management, web UI, agents, and distributed operation.

プロジェクトの歴史

The mudler/LocalAI repository was created in March 2023. The README describes LocalAI as an open-source AI engine for LLMs, vision, voice, image, and video on local hardware, with no GPU required and privacy-first operation because data stays on the user's infrastructure.

In 2023, LocalAI focused on making local models usable behind OpenAI-compatible endpoints. Official news from mid-2023 records rapid support for model galleries, GPU offload, Apple Metal, Falcon-family models, Hugging Face backends, stable-diffusion, text-to-audio, and static Linux binaries. A late-2023 maintainer update described a move toward a gRPC backend structure and a C++ llama.cpp backend to track upstream more closely.

By 2025 and 2026, LocalAI had expanded into a modular backend architecture. The v3.0.0 announcement introduced a backend gallery based on OCI images, realtime WebSocket APIs, dynamic VRAM handling, multimodal upgrades, and deprecation of older extras images. The v4.0.0 announcement framed the project as a complete AI orchestration platform with agents, Agenthub, a React UI rewrite, Canvas mode, MCP support, WebRTC realtime audio, and more backends.

採用の歴史

LocalAI rode the demand for self-hosted, OpenAI-compatible inference after local LLM tooling became mainstream in 2023. Its adoption signals are unusually strong for a CLI/server package: the official repository shows tens of thousands of stars, thousands of forks, and thousands of commits, while Homebrew and Nix packaging make the binary accessible outside container workflows.

The project broadened adoption by supporting multiple install styles: container images for CPU and GPU targets, binaries for Linux and macOS, model-gallery installs, and a local-ai CLI that can run models and open chat sessions. Its compatibility story also widened from OpenAI-style APIs to Anthropic Messages, Open Responses, Ollama-related workflows, and MCP-enabled agents.

使われ方

Users commonly run LocalAI as a local server, then point OpenAI-compatible SDKs or clients at localhost. The getting-started guide documents curl requests to /v1/chat/completions, model installation from the gallery, automatic backend detection based on GPU capabilities, built-in agents, and distributed mode for production or larger compute needs.

The Homebrew formula installs the local-ai executable, but official docs still treat containers as the fullest-feature path because some Python-based and heavy media backends are not included in all binaries. The binary reference documents direct Linux and macOS downloads and notes backend limitations for binary builds.

パッケージ好きにとっての重要性

LocalAI is package-nerd significant because it turns a fast-moving stack of model runtimes, backends, APIs, and hardware-specific acceleration into one installable command. It is the sort of package where the formula is only the visible tip; the real work is coordinating llama.cpp, vLLM, whisper.cpp, stable-diffusion, MLX, OCI backends, GPU variants, and API compatibility.

It also captures a packaging shift in AI tooling: instead of a single static CLI, LocalAI became a launcher and orchestrator that downloads or connects model and backend artifacts at runtime. That makes it attractive to self-hosters and developers, but also means package metadata must clearly distinguish the CLI/server from the larger optional backend ecosystem.

タイムライン

  • 2023: The mudler/LocalAI repository is created and early releases focus on local OpenAI-compatible inference.
  • 2023: v1.x news records model galleries, GPU offload, Apple Metal support, text-to-audio, static binaries, and backend refactoring.
  • 2025: v3.0.0 introduces the backend gallery, realtime WebSocket API, dynamic VRAM handling, and a new modular backend model.
  • 2026: v4.0.0 adds native agents, Agenthub, React UI, Canvas mode, MCP support, WebRTC realtime audio, and additional backends.
  • 2026: Official README highlights support for 60+ backends, multiple hardware accelerators, multimodal APIs, and distributed mode.

Related projects

  • llama.cpp, vLLM, whisper.cpp, stable-diffusion, MLX, and other model runtimes are backend building blocks named by the LocalAI README.
  • OpenAI-compatible SDKs and clients are primary integration targets because LocalAI exposes compatible API endpoints.
  • Ollama, GPT4All, and other local-model tools sit in the same self-hosted inference ecosystem, while LocalAI differentiates itself through broad API compatibility and backend orchestration.

セキュリティ状態

保護ツール対応はまだ見つかっていません

localai に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 5 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
local-aicliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版4.7.1
マネージャ更新日2026-07-14
ローカルデータOK
上流最新
検出された最新v4.7.1

https://github.com/mudler/LocalAI

  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:localai
バージョン4.7.1
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/localai
ホームページhttps://localai.io
リポジトリhttps://github.com/mudler/LocalAI
上流ドキュメントhttps://localai.io
ライセンスMIT
ソースアーカイブhttps://github.com/mudler/LocalAI/archive/refs/tags/v4.7.1.tar.gz
最終更新2026-07-14T18:47:04Z
Pulseupdated
ビルド依存関係go, node, protobuf, protoc-gen-go, protoc-gen-go-grpc
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelocalai
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix92%

local-ai

nix profile install nixpkgs#local-ai
  • installed executable or alias match
  • 一致条件: Local Ai
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/lo/local-ai/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment