Tag

#How To

Every article tagged How To, in one place.

  • 25 articles
  • 92 min of reading
  • 02 Dec, 2026 last updated

Showing 25 articles

Running LLMs LocallyNew 3 min read

LM Studio Local Server: An OpenAI-Compatible Endpoint

LM Studio can run a local server that speaks the OpenAI API format. Any code written for the OpenAI client library can talk to your own model by changing the base URL. The server listens on port 1234 by default, and you turn it on from the developer or server...

28 Nov, 2026 Jai Singh 12 0
Read article
Running LLMs LocallyNew 4 min read

LM Studio for Beginners: Download, Load and Chat

LM Studio is a desktop application for running local models through a graphical interface. You search for a model, download it, load it and chat, without touching a terminal. It suits people who prefer a visual tool, and it can also expose your model through a...

24 Nov, 2026 Jai Singh 13 0
Read article
Model Context ProtocolNew 3 min read

How to Connect an MCP Server to Claude Desktop

To connect a local MCP server to Claude Desktop, you add an entry to the mcpServers object in the app's JSON configuration file and restart the app. Claude Desktop then launches your server as a child process and talks to it over stdio. Find the configuration...

20 Nov, 2026 Jai Singh 20 0
Read article
Running LLMs LocallyNew 4 min read

Streaming Responses from the Ollama API

By default, Ollama streams its answer: instead of one big response it sends many small JSON objects, one per chunk of generated text, so users see words appear immediately. This post explains the format and shows how to read it in curl and Python. Why stream?...

20 Nov, 2026 Jai Singh 23 0
Read article
RAG & Vector SearchNew 4 min read

Fixed-Size Chunking with Overlap in Python

Fixed-size chunking cuts text into pieces of roughly equal length, with a little overlap between neighbours. It is the simplest strategy, it is easy to reason about, and for uniform plain text it is often good enough. This post builds one in Python, explains i...

20 Nov, 2026 Jai Singh 14 0
Read article
Model Context ProtocolNew 4 min read

How to Test an MCP Server with the MCP Inspector

The MCP Inspector is the official visual tool for testing MCP servers. You point it at a server, and it acts as a client so you can list tools, call them with your own arguments, read resources, fetch prompts and view the JSON-RPC messages. Testing with the In...

16 Nov, 2026 Jai Singh 15 0
Read article
Running LLMs LocallyNew 4 min read

Using the Ollama REST API with curl

Ollama exposes a simple REST API on http://localhost:11434 . The two endpoints you will use most are /api/generate for single prompts and /api/chat for conversations. Both accept JSON and can be tested straight from curl, with no SDK needed. /api/generate: one...

16 Nov, 2026 Jai Singh 17 0
Read article
AI Coding AgentsNew 4 min read

Write Your First CLAUDE.md in Ten Minutes

You can write a good first CLAUDE.md in ten minutes: let the tool draft one, delete everything the agent could discover itself, add the three or four facts it keeps getting wrong, and test it on a real task. The result should fit on one screen. Short beats com...

08 Nov, 2026 Jai Singh 21 0
Read article
PyTorch 4 min read

How to Install PyTorch and Check Your Setup

The easiest way to install PyTorch is inside a virtual environment, using the command generated by the selector on the official pytorch.org "Get Started" page. That page matches your operating system, package manager and compute platform (CPU or a specific CUD...

18 Oct, 2026 Jai Singh 36 0
Read article