User Guide

Sessions and Models

Work with unified discussions, folders, Local and Cloud model switching, optional web search, and Loom's OpenAI-compatible /v1 API.

Loom 0.3 organizes every conversation and coding-agent run inside one sidebar session list, backed by five top-level sections (Models, Agents, Machines, Activity, and Settings).

Unified sessions list and folders

The sidebar displays both Local/Cloud discussions and Codeman agent sessions sorted newest first, with a quick filter (all, discussions, agents) and a mosaic grid view (Ctrl+Shift+G).

  • Folders replace legacy projects: Create, rename, or delete folders and organize any discussion or agent session into them by dragging or via the session menu.
  • Strict privacy boundary: Moving a discussion into a folder only organizes the list; folder names, local directory contents, and unrelated files are never silently injected into model prompts.
  • Portable transcripts: Each discussion owns its instructions and message history. Switching between a local model and a cloud model carries only portable text and explicitly selected context; private reasoning traces, tool approvals, and archived agent events stay display-only.

Local and Cloud discussions

Click New session to open a discussion and select its execution route from the searchable model picker (filterable by All, Local, and Cloud, with presets grouped cleanly):

  • Local routes: Run GGUF models through llama.cpp or Hugging Face models through vLLM, either locally or on a paired node (see Engines and Hardware).
  • Cloud routes: Connect any OpenAI Chat Completions-compatible provider in Models → Cloud, fetch its catalog on demand, and toggle model visibility. API keys stay in server memory unless explicitly saved in the OS keychain or Loom's AES-256-GCM sealed store.
  • Explicit external consent: Selecting an external cloud provider or remote engine requires explicit confirmation before portable transcript text leaves your machine.
  • Server-side turns: Turns execute on the Loom server independently of browser tabs; closing a tab never cancels an active turn or pending approval.

Enable web access under Settings → Internet with DuckDuckGo (default, no key), your own SearXNG instance (json format enabled), Brave Search, or Tavily:

  • Local tool-capable models receive web_search, web_open, web_read, and web_grep (using the built-in Go HTML reader or an optional Crawl4AI reader).
  • Cloud models with streamed function calling receive only web_search when toggled on, with no host file, shell, or private-memory access.

OpenAI-compatible /v1 API

Loom exposes an OpenAI-compatible endpoint (/v1/models and /v1/chat/completions) backed by Engine as a service, so IDE extensions, scripts, and external apps can share your local GPU cleanly.

CapabilityBehavior
Stream-safe model swapsFIFO queue waits for in-flight requests to finish before evicting a resident model (ENGINE_SWAP_WAIT, default 300 seconds).
Priority lanesRequests send X-Loom-Priority: interactive (default) or background; background jobs never preempt interactive use within ENGINE_INTERACTIVE_GRACE (15 minutes).
Idle VRAM unloadReleases VRAM automatically after ENGINE_IDLE_UNLOAD (30 minutes by default; 0 disables).
Named API keysCreate, rotate, and revoke per-client keys under Settings → API (/api/engine/keys) with allowed_models, max_concurrency, requests_per_minute, and persisted token usage counters.

Example request against Loom's local /v1 endpoint:

curl http://127.0.0.1:2510/v1/chat/completions \
  -H "Authorization: Bearer <your-loom-api-key>" \
  -H "Content-Type: application/json" \
  -d '{"model":"loom","messages":[{"role":"user","content":"Summarize this diff."}]}'

Inspect active resident models, queued swaps, and key limits anytime via GET /api/engine/service and GET /api/engine/openai. Next, configure inference backends in Engines and Hardware.