Local AI Fabric
Your hardware. Your models. Your AI.
Local AI Fabric (LAF) is an independent project developed by I-plusplus Inc. It is not an OpenAI product. References to third-party products describe interoperability; they do not imply affiliation or endorsement.
Ask a configured local model to summarize a short passage you provide. Use Codex CLI on the same host over standard input/output (stdio), or use ChatGPT or Codex in a supported private workspace where an operator has configured the LAF app through OpenAI's Secure MCP Tunnel. A regular ChatGPT session cannot connect directly to a localhost MCP server. Submit the job through LAF, check its status, and retrieve the summary.
ChatGPT and Codex are third-party OpenAI products. They act as clients for LAF and are not replaced by it. The LAF Router sends jobs submitted through LAF to a local engine running a configured third-party model. Obtain model weights separately from LAF.
Goal and current scope
LAF aims to make local models usable through a common job
interface while operators choose their engine and manage model storage. The
experimental 0.0.1 source preview exposes the configured model catalog and
Router job tools through MCP. Its documented CPU-only path uses the third-party inference engine
Ollama with one pinned model.
Architecture
The local CLI and private workspace paths converge at the LAF MCP server.
flowchart LR
Local["Local Codex"] -->|stdio| MCP["LAF MCP server"]
Workspace["ChatGPT and Codex in a private workspace"] --> App["Private App"]
App --> Tunnel["Secure MCP Tunnel"]
Tunnel --> MCP
MCP --> Router["LAF Router"]
Router --> Engine["Configured local inference engine"]
Engine --> Model["Third-party model running locally"]
Hardware and model examples
The table gives planning examples for host CPU and installed memory.
| Path | CPU | System DRAM | Dedicated GPU VRAM | Model and Ollama download |
|---|---|---|---|---|
| CPU-only with local Docker | x86-64, about 4 host cores | 16 GiB installed | None needed | SmolLM2-135M-Instruct, Q4_K_M (105 MB) |
| AMD GPU candidates (untested) | x86-64, about 4 host cores | Size for the model and engine | 8-16 GB nominal | Qwen2.5-Coder-1.5B-Instruct, Q4_K_M (986 MB)Qwen2.5-Coder-7B-Instruct, Q4_K_M (4.7 GB) |
The listed sizes are downloads. Shared graphics memory draws from system DRAM.
Startup checks
- In the CPU-only Docker example, Ollama is limited to 1 CPU and 1 GiB of RAM. At cold start, available host RAM must cover the 1 GiB limit plus an 8 GiB reserve.
- The existing GPU path checks for at least 8 GiB of available system DRAM and 2 GiB of free VRAM. For the untested GPU candidates, verify device and driver compatibility and measure headroom during model load and generation.
Getting Started
- Model. Choose a model and prepare persistent storage.
- Router and runtime. Configure and start the Router. Use the host prerequisites below to prepare a private runtime.
- Client connection. Choose the local Codex or private workspace path in Installation.
- First check. In the connected client, use
laf_router_statusand look forready.
Installation
Use Linux with Python 3.12 or later and install MCP SDK 1.30.0. The SDK installer supports CPython 3.12 and 3.14 on Linux x86-64.
- Standalone local Codex plugin: build the local-only marketplace from this source tree and connect Codex to your own Router over a local Unix socket.
- Private workspace installation: start from the experimental 0.0.1 source tag to set up the integrated app for ChatGPT and Codex.
Documentation
License and contributions
LAF's source is public. The first-party source uses the KISS Open License v1.0, which permits use, modification, and redistribution, including commercial use, subject to its terms. Third-party models and engine artifacts have their own terms. Third-party product names and marks belong to their respective owners.
Anyone can open an issue or submit a pull request. See the contribution rules.