agentskit.js
Providers

lmstudio

LM Studio — desktop app that exposes an OpenAI-compatible server over local models.

import { lmstudio } from '@agentskit/adapters'

const adapter = lmstudio({
  model: 'lmstudio-community/Llama-3.3-70B-Instruct-GGUF',
  url: 'http://localhost:1234/v1',
})

Options

OptionTypeDefault
modelstringrequired
urlstringhttp://localhost:1234/v1
apiKeystring— (optional if enabled)
fetchtypeof fetchglobal

Notes

  • GUI-first: download models via LM Studio app, then hit the local server.
  • OpenAI-compatible; most tooling works unchanged.
✎ Edit this page on GitHub·Found a problem? Open an issue →·How to contribute →

On this page