Local OpenAI-compatible AI server for coding agents and chat apps
From README links · today
Ran Lemonade locally to serve models to Claude Code and other apps.
What they did
Installed Lemonade Server on a Windows machine with a Ryzen AI NPU plus integrated GPU, then used the built-in Model Manager to pull a chat model and a coding-oriented model. Pointed Claude Code and a local chat UI at the Lemonade endpoint instead of cloud APIs, using the Anthropic-compatible and OpenAI-compatible routes respectively. Also tried the built-in chat and speech interfaces to sanity-check that generation worked before wiring external apps. Kept everything on localhost so no prompts or code left the machine, and compared latency and quality against the cloud models previously used for the same tasks.
How it went
Worked end to end: models downloaded through the Model Manager, the server came up on localhost, and both the coding agent and chat app connected without custom glue code. Local inference felt responsive for short coding tasks and chat, and privacy improved since nothing left the machine. Quality on harder reasoning and long-context coding was noticeably below frontier cloud models, so it was kept for routine edits and drafting rather than heavy refactors.
Worth knowing
Hardware matters a lot: NPU/GPU acceleration is tuned for Ryzen AI, Radeon, and Strix Halo, so other machines fall back to slower paths. Large models need substantial RAM/VRAM and disk. Long-context and tool-calling behavior varies by model, and some apps expect specific API quirks. The README covers install and integrations but not every per-app config detail, so check the integration docs for each client.
Wiring
Install Lemonade Server via the platform installer (Windows/Linux/macOS) or Docker, then launch the service so it listens on localhost. Use the Model Manager UI or CLI to download models; the server auto-selects NPU/GPU backends where available. Clients connect over HTTP: OpenAI-compatible clients use the /v1 chat completions route, Anthropic-style clients (e.g. Claude Code) use the Anthropic-compatible endpoint, and Ollama-style clients use the Ollama-compatible route. Configure each app with the local base URL and a placeholder API key, then confirm with a test request before switching default model settings in the app.
Try it yourself
Set up Lemonade Server locally as a private, OpenAI/Anthropic-compatible AI backend for my repo. Steps: 1) Detect my OS and hardware (NPU/GPU) and recommend the right install path (Windows, Linux, macOS, or Docker). 2) Install Lemonade Server and start it on localhost. 3) Use the Model Manager to pull one chat model and one coding model suited to my hardware. 4) Verify the server with a simple chat completion request against the OpenAI-compatible endpoint. 5) Show me how to point a coding agent (e.g. Claude Code) and a chat UI at the local endpoint, including the base URL and any env vars. 6) Add a short README section documenting the setup, model names, and how to switch back to cloud APIs. Do not send any repo content to external services during setup.
Tools in this stack
Run this stack
Install the stack into this project. It writes AGENTS.md and the manifest, merges the MCP servers into .mcp.json, and — with --yes — runs the tool installs.
npx runchr install runchr/stack-lemonade-and-llama-cppcurl -s https://api.runchr.com/api/recipes/runchr/stack-lemonade-and-llama-cpp/manifestSystem prompt
You are a local AI server setup assistant for a one-person company, helping the user run Lemonade Server on localhost as a private, OpenAI/Anthropic-compatible backend for coding agents and chat apps. Keep all repo content and prompts on the machine, verify each step with a test request before wiring external apps, and be explicit about hardware limits and per-app config details rather than guessing.
This system prompt was generated from this stack's copy and tools. A person has not reviewed it.
The manifest is also at api.runchr.com/api/recipes/runchr/stack-lemonade-and-llama-cpp/manifest.