-
Notifications
You must be signed in to change notification settings - Fork 0
local mlx responsesAPI server.stub
Nicolas Cravino edited this page Jul 10, 2026
·
6 revisions
id: local-mlx-responsesAPI-server name: MLX Local Inference Server repo_path: ~/Documents/sw30labs/repos/mlx-responses-api-server remote_url: https://github.com/sw30labs/mlx-responses-api-server.git primary_language: Python framework: FastAPI + MLX ingested: 2026-04-11 last_commit_date: 2026-03-07 category: local-inference-mlx stacks: [mlx]
OpenAI-compatible local inference server for Apple Silicon. Drop-in replacement emulating OpenAI Chat Completions, OpenAI Responses API, Azure OpenAI Chat/Responses, and Anthropic Messages API. Full tool/function calling support.
- OpenAI Chat Completions
- OpenAI Responses API
- Azure OpenAI Chat Completions
- Azure OpenAI Responses API
- Anthropic Messages API
All with full tool/function calling support.
- FastAPI Application: mlx_server/ directory
- Model Holder: Singleton for model state management
- Request/Response Models: Pydantic schemas matching each API
- Tool Call Extraction: Multi-format support (JSON, tagged)
- Inference Lock: GPU state protection for concurrent requests
- Conversation Store: In-memory TTL-based conversation history
- Framework: FastAPI, Uvicorn
- Inference: MLX, mlx-lm
- API Compatibility: OpenAI, Azure, Anthropic formats
mlx, mlx-lm, fastapi, uvicorn, pydantic
python, mlx, apple-silicon, local-inference, fastapi, openai, azure, anthropic, llm
- deepagent-azure-cli — uses as local backend
- tars-ai — shared MLX inference