Enable Local Inferencing in Amazon Quick
Route the work you want to keep on-device to a local model — without giving up the cloud brain when you need it
What is Amazon Quick
Amazon Quick is an AI companion for knowledge workers that runs as a desktop app. It combines conversational AI with deep access to your work: your files, Slack, Outlook, calendar, internal tools, and custom integrations — all in one place.
Why use it:
- It works where you work. Quick reads your local folders, searches your documents semantically, and builds a knowledge graph from your files and messages — all on your machine.
- It acts, not just answers. Scheduled agents, morning briefings, and autonomous tasks run in the background on your behalf.
- It's extensible. Connect custom MCP servers, peer agents, and skills to teach Quick new capabilities.
Key differentiators:
- Local-first data. The agent, file access, memory, knowledge graph, and all storage live on your machine (
~/.quickwork/). The only calls that leave your device are to AI models and to services you explicitly connect.
- Composable capabilities. Skills, agents, and MCP connectors let you shape Quick to your workflow instead of the other way around.
- Model flexibility. Fast / Smart / Advanced modes let you trade cost against capability per task.
How Amazon Quick uses Amazon Bedrock Inference
Quick's reasoning is powered by Anthropic's Claude models served through Amazon Bedrock. When you send a message, Quick assembles context — your prompt, relevant files, memory, tool definitions — and calls a Claude model on Bedrock to generate the response and decide which tools to invoke.
The three chat modes map to this:
Mode | Model tier | Best for |
|---|---|---|
⚡ Fast | Lightweight Model | Quick questions, everyday tasks |
✦ Smart | More capable Model | Analysis, nuanced writing, multi-step work |
💡 Advanced | Smart + extended thinking | Deep reasoning, complex code, planning |
This is the right default: Bedrock gives you frontier-model quality, managed scaling, and access to Quick's full tool and context stack. Every tool call, memory lookup, and multi-step plan is orchestrated by that Bedrock-hosted model.
Need for Local Inferencing
Bedrock is the right engine for most work. But some workloads have constraints the cloud can't satisfy:
- Data privacy. Regulated data, sensitive customer records, or IP you're not permitted to send off-device. A local model keeps the content on the machine.
- Cost. High-volume, low-complexity tasks — bulk summarization, reformatting, classification — don't need a frontier model. Running them on a local model is effectively free after setup.
- Air-gapped and restricted environments. Secure facilities, field sites, or networks with no outbound access still need inference. A local model runs with zero connectivity.
- Latency. For small prompts, a local 1B–3B model on modern hardware can respond faster than a round trip to the cloud.
The goal isn't to replace Bedrock — it's to add a local option you can reach for when privacy, cost, or connectivity demands it.
Architecture: how local inferencing plugs into Quick

Quick can't swap out its own reasoning model — that stays on Bedrock. What it can do is call tools, and any MCP server you register becomes a set of tools Quick can invoke.
So the pattern is: wrap a local model as an MCP server, register it in Quick, and now Quick has a
local_infer tool it can call on demand.What this means in practice:
- Quick's reasoning still runs on Bedrock — it reads your request and decides to delegate.
- The actual generation for delegated calls happens entirely on your machine.
- Nothing about the delegated content leaves the device: prompt in → local model → completion out.
Building it: from Ollama to a working tool
Step 1 — Run a local model
Ollama is the simplest way to serve a local model over an OpenAI-compatible API.
# macOSbrew install ollamaollama serve # starts the server on http://localhost:11434ollama pull llama3.2:3b # pull a small, fast model
Verify it's up:
curl <<Your localhost with port number where ollama is running>>
LM Studio works too — start its local server (Developer tab) and it exposes the same OpenAI-compatible API, usually onlocalhost:1234.
Step 2 — Build the MCP server
The server is a thin bridge: it exposes MCP tools and forwards each call to your local model's OpenAI-compatible endpoint. Create
server.py :#!/usr/bin/env python3"""Local Inference MCP server — exposes a local LLM as MCP tools."""
# /// script# dependencies = ["mcp[cli]", "httpx"]# ///
import osimport httpxfrom mcp.server.fastmcp import FastMCP
BASE_URL = os.environ.get("LOCAL_LLM_BASE_URL", "http://localhost:11434/v1")MODEL = os.environ.get("LOCAL_LLM_MODEL", "llama3.2:3b")API_KEY = os.environ.get("LOCAL_LLM_API_KEY", "ollama")
mcp = FastMCP("local-inference")
@mcp.tool()async def local_infer( prompt: str, system: str | None = None, temperature: float = 0.7, max_tokens: int = 1024,) -> str: """Run a prompt through the locally-hosted LLM and return the completion.""" messages = [] if system: messages.append({"role": "system", "content": system}) messages.append({"role": "user", "content": prompt})
payload = { "model": MODEL, "messages": messages, "temperature": temperature, "max_tokens": max_tokens, } headers = {"Authorization": f"Bearer {API_KEY}"}
async with httpx.AsyncClient(timeout=120.0) as client: resp = await client.post(f"{BASE_URL}/chat/completions", json=payload, headers=headers) resp.raise_for_status() data = resp.json()
return data["choices"][0]["message"]["content"]
@mcp.tool()async def local_list_models() -> str: """List models available on the local inference server.""" headers = {"Authorization": f"Bearer {API_KEY}"} async with httpx.AsyncClient(timeout=30.0) as client: resp = await client.get(f"{BASE_URL}/models", headers=headers) resp.raise_for_status() data = resp.json() models = [m.get("id", "?") for m in data.get("data", [])] return "\n".join(models) if models else "No models found."
if __name__ == "__main__": mcp.run() # stdio transport
Two tools are exposed:
-
local_infer— sends a prompt (with optional system prompt, temperature, and token limit) to the local model and returns the completion.
-
local_list_models— lists the models your local server has available.
The inline
# /// script metadata block declares the dependencies in the file itself, so uv can run it with no manual install and no virtualenv to manage.Step 3 — Configure it in Amazon Quick
Register the server as a stdio MCP connector:
- Go to Settings → Capabilities → Connections
- Under Advanced Integrations, click + Add MCP / Skill
- Configure it to launch with
uv:- Command:uv
- Args:
run /full/path/to/server.py
- Env (optional overrides):-
LOCAL_LLM_BASE_URL=<<where ollama is running>>
-
LOCAL_LLM_MODEL=llama3.2:3b
- Save.
Tip: always use full absolute paths. Quick launches the server as a subprocess and doesn't inherit your shell environment. If you prefer a virtualenv overuv, set the Command to the venv'spythonand Args to the absolute path ofserver.py.
Start a new chat so Quick loads the new tools.
Step 4 — Use it
You don't have to name the tool — just ask in plain language. Quick will route the call to your local model:
- "List my local models." → runs
local_list_models
- "Run this through my local inference: give me a short description of quantum computing." → runs
local_infer
- "Summarize this on-device: [paste text]." → runs
local_infer
A quick sanity check, listing the models on a live setup, returns exactly what Ollama has pulled:
qwen2.5:7bllama3.2:3bllama3.2:1bphi4:latest
And a test generation confirms the completion is produced locally:
Prompt: "Say hello and confirm you are running locally in one short sentence." Local model: "Hello! I'm a local instance, running on your machine, for optimal performance and security."
That's the full loop: prompt → Quick → local MCP → Ollama → completion, with the content never leaving your device.
Next Steps
Once you have a local model wired in as an MCP tool, the same pattern extends naturally:
- Add a
modelargument tolocal_inferso you can pick a model per call.
- Add local embeddings (
nomic-embed-text) for fully on-device RAG.
- Add local entity extraction for a local-first knowledge graph.
- Add local transcription (Whisper) so audio flows through the same pipeline.
Each is just another tool on the same MCP server — a growing local-first capability set that sits alongside Bedrock, ready whenever privacy, cost, or connectivity calls for it.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article