Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

anything-llm

БесплатноБез исполняемых скриптовНе проверен

All-in-one private AI app that chats with your own documents in workspaces, using any local or hosted LLM, a built-in vector database and a developer REST…

TerminalSkillsот TerminalSkills★ 221 звезда на GitHub

Об этом скилле

AnythingLLM — private document chat with workspaces

Overview

AnythingLLM is a full application, not a library. You upload documents (PDF, Word, text, web pages and more) into a workspace, the app splits and embeds them into a vector database (LanceDB by default), and a chat in that workspace answers from the documents with sources. Models are pluggable: local servers such as Ollama or hosted APIs for the chat model, and a built-in embedder that runs inside the app by default. It runs as a desktop app or as a Docker container with multi-user support, and it exposes a developer REST API under /api/v1 that is documented with Swagger in the running app.

An agent can realistically do the following: start the container, configure its environment, create an API key, then create workspaces, upload or embed documents and query them over HTTP. First-run onboarding, choosing the chat model and setting an admin password are done in the web UI.

Instructions

Run with Docker

The official image is mintplexlabs/anythingllm (about 1.1 GB, amd64 and arm64). Pin a version tag rather than latest (the tags listed on Docker Hub include 1.19.0). The container needs the SYS_ADMIN capability, the storage folder mounted at /app/server/storage, and STORAGE_DIR pointing to it. Bind the published port to the loopback interface:

export STORAGE_LOCATION=$HOME/anythingllm
mkdir -p "$STORAGE_LOCATION"
touch "$STORAGE_LOCATION/.env"
docker run -d --name anythingllm \
  -p 127.0.0.1:3001:3001 \
  --cap-add SYS_ADMIN \
  -v "$STORAGE_LOCATION":/app/server/storage \
  -v "$STORAGE_LOCATION/.env":/app/server/.env \
  -e STORAGE_DIR="/app/server/storage" \
  mintplexlabs/anythingllm:1.19.0

Check that it is up, then open http://127.0.0.1:3001 for onboarding:

curl -s http://127.0.0.1:3001/api/ping

The response is {"online":true}. Keep the storage folder on the host: documents, vectors and settings live there, and a newer image can be started against the same folder without losing data.

A service on the host (Ollama, LM Studio, a vector database) is not reachable as 127.0.0.1 from inside the container. Use http://host.docker.internal:11434, and on Linux add --add-host=host.docker.internal:host-gateway to the docker run command (the Docker guide in the repository says the same).

Docker Compose

The repository's Docker guide shows a Compose service with these settings in environment; they are the same keys as in the .env file, and the remaining ones are in docker/.env.example in the repository:

services:
  anythingllm:
    image: mintplexlabs/anythingllm:1.19.0
    container_name: anythingllm
    ports:
      - "127.0.0.1:3001:3001"
    cap_add:
      - SYS_ADMIN
    environment:
      - STORAGE_DIR=/app/server/storage
      - JWT_SECRET=${ANYTHINGLLM_JWT_SECRET}
      - LLM_PROVIDER=ollama
      - OLLAMA_BASE_PATH=http://host.docker.internal:11434
      - OLLAMA_MODEL_PREF=llama3.1:8b
      - OLLAMA_MODEL_TOKEN_LIMIT=4096
      - EMBEDDING_ENGINE=ollama
      - EMBEDDING_BASE_PATH=http://host.docker.internal:11434
      - EMBEDDING_MODEL_PREF=nomic-embed-text:latest
      - EMBEDDING_MODEL_MAX_CHUNK_LENGTH=8192
      - VECTOR_DB=lancedb
      - DISABLE_TELEMETRY=true
    extra_hosts:
      - "host.docker.internal:host-gateway"
    volumes:
      - anythingllm_storage:/app/server/storage
    restart: always

volumes:
  anythingllm_storage:

Set ANYTHINGLLM_JWT_SECRET in your shell to a long random string. Leaving out the embedding variables keeps the built-in embedder.

Desktop app

For a single user, the desktop app (Mac, Windows, Linux) is downloaded from https://anythingllm.com/download and has the same workspace model without Docker. An agent cannot drive its windows; it can tell the user to install it and then use the workspace UI.

Developer API

Create an API key in the app's settings (the developer API section) and keep it in an environment variable, for example ANYTHINGLLM_API_KEY. Requests use Authorization: Bearer $ANYTHINGLLM_API_KEY against http://127.0.0.1:3001/api/v1. The interactive Swagger page is served at /api/docs. The endpoints below are from the repository's server/swagger/openapi.json:

  • GET /v1/auth — checks the key; returns {"authenticated": true}.
  • POST /v1/workspace/new — body {"name": ..., "chatMode": "chat" | "query", "topN": ..., "similarityThreshold": ...}; returns the workspace with its slug. GET /v1/workspaces, GET/DELETE /v1/workspace/{slug}, POST /v1/workspace/{slug}/update.
  • POST /v1/document/upload — multipart file, plus optional addToWorkspaces (comma-separated slugs) to embed straight away.
  • POST /v1/document/raw-text — JSON {"textContent": ..., "addToWorkspaces": ..., "metadata": {"title": ...}}; the title key is required.
  • POST /v1/workspace/{slug}/update-embeddings — JSON {"adds": [...], "deletes": [...]} using document location values from an upload re
Полный SKILL.md на GitHub

Установить anything-llm в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_scores.json

FAQ

Что делает скилл anything-llm?

All-in-one private AI app that chats with your own documents in workspaces, using any local or hosted LLM, a built-in vector database and a developer REST API. Use when someone asks to "run AnythingLLM in Docker", "chat with my PDFs privately", "create a workspace and upload documents through the API", "generate an AnythingLLM API key", or "connect AnythingLLM to Ollama".

Как установить скилл anything-llm?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл anything-llm запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить anything-llm с