Skip to content
mutablelogicPublic

Latest commit

 

History

391 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-llm

Go Reference License Manual

go-llm is an application that puts language and speech models from many providers behind one interface, with a web UI, a command-line tool and a Go SDK. Add providers such as Ollama, LM Studio, OpenAI, Anthropic, Google Gemini, Mistral, go-whisper and ElevenLabs. Then ask any of their models to reply, call tools, search the web, set reminders, run agents, embed, read documents, speak, and transcribe or translate speech. Connect remote MCP servers, such as GitHub, Linear or Notion, so your assistant can use their tools too. You can do all of this through the REST API, the web UI, the llm command (which includes a terminal chat), or from Go.

Read the manual to get started.

Quick Start

Warning

Don't run go-llm on the internet. It has no authentication yet, so anyone who can reach it can use your API keys, read your chats, memory and files, and run its tools. Publish its port on localhost only, as below, or put it behind a proxy that signs people in, or a VPN.

docker volume create llm

docker run -d --name llm -p 127.0.0.1:8084:8084 -v llm:/data \
  -e OLLAMA_ADDR=http://host.docker.internal:11434 \
  -e OPENAI_API_KEY \
  ghcr.io/mutablelogic/llm

Then open http://localhost:8084/, and add a conversation:

The web UI: the models of the providers, and a model's details

For the command line:

go install -tags client github.com/mutablelogic/go-llm/cmd/llm@latest
llm models
llm ask --model gpt-4o-mini "Explain a KV cache in two sentences"

See Installation for Docker Compose, and running without Docker, and Getting Started for adding providers.

Documentation

The manual has:

Its pages are in docs.

Roadmap

What's planned is in the issue list, by milestone:

  • 1.6: Make it work.
  • 1.7: Add authentication and a workspace, with sign-in, API keys and webhooks, and a Workspace of resources, files and connectors' resources.
  • 1.8: Assistant capabilities and permissions, such as channels, scheduled agents, more speech and OCR, and approval before the assistant acts.

License

go-llm is licensed under the Apache License, Version 2.0.

Releases

Packages

Used by

Contributors

Languages