AQI AIAQI AI Intelligence
⌕
Official documentationNot tested by AQI AI

From AI chat to a local endpoint

Learn the roles of models, runtimes, APIs and agents, then complete a local request.

Last checked:
A quick glossary

Models generate and reason. Agents use tools to work on tasks. A harness manages an agent’s environment. MCP connects tools and data. Skills are reusable task guidance.

Before you start

Estimated time

Plan 2–4 practice sessions; an editorial estimate, not measured duration.

Implementation steps

  1. Choose the official Ollama or LM Studio installer and record the version.

    Stage practice: Record the runtime, installation source, actual version and whether its service is running. Installation alone does not show that a model is ready.

  2. Choose a specifically licensed model fitting your hardware and record its ID and quantization.

    Stage practice: Find the exact ID of an installed model and record its license and quantization. If the list is empty, resolve installation before borrowing a model name.

  3. Complete a local conversation, then enable an API bound to the local machine.

    Stage practice: Try a synthetic prompt such as “Reply only READY” and record the actual local address and port. No files or public network access are needed.

  4. Send a short official API request, record model ID, errors and latency, and avoid private files.

    Stage practice: Complete the linked local-chat recipe. Keep the model ID, HTTP status, nonempty answer and any errors. Confirm the request went to your computer before trying an agent.

Validation checks

Practice

Submit one local short-text request; retain model ID, endpoint, result and errors without private files.

Common problems

Wrong port, unloaded model, insufficient resources or incorrect model ID.

Cost

Not verified

Price not verified; check software, model, API, hardware and hosting costs separately.

Alternatives and next steps

Next steps

Complete the linked recipes’ verification items before adding one capability; repeat source checks when dependencies change.

Original sources

  1. Ollama official documentation ↗

    docs.ollama.com · · Official documentation

  2. LM Studio official documentation ↗

    lmstudio.ai · · Official documentation

  3. Ollama local model list ↗

    docs.ollama.com · · Official documentation

  4. Ollama · Generate API ↗

    docs.ollama.com · · Official documentation

Connected resources

Local runtimeCost: Free software; check license and compute costs

Ollama

A local model runtime and API tool supporting a subset of OpenAI endpoints.

Official documentation
Local runtimeCost: Free software; check license and compute costs

LM Studio

A desktop local-model tool with compatible Chat Completions and Responses endpoints.

Official documentation