amaiya/onprem

A toolkit for applying LLMs to sensitive, non-public data in offline or restricted environments

What it solves

OnPrem.LLM provides a secure, privacy-focused way to apply large language models to sensitive or non-public data. It is designed to run entirely offline on your own hardware, ensuring your data never leaves your environment, while still offering the flexibility to connect to cloud-based LLM providers when needed.

How it works

The toolkit acts as a Python-based wrapper that connects your local documents to various LLM backends. You can ingest local files—such as PDFs, Office documents, or Markdown—and perform tasks like summarization, information extraction, and question-answering. It supports a wide range of backends, including local engines like Ollama and vLLM, as well as cloud services like OpenAI and Anthropic. It also features a visual workflow builder and sandboxed AI agents for automating complex document analysis pipelines.

Who it’s for

It is for developers and organizations that need to use AI for document intelligence but must operate within restricted, offline, or privacy-sensitive environments. It is also suitable for users who want a unified interface to switch between local and cloud-based models without changing their underlying code.

Highlights

  • Fully local execution with optional cloud integration.
  • Supports diverse document formats including PDFs (with OCR), Office files, and Markdown.
  • Includes a visual workflow builder for assembling complex analysis pipelines.
  • Provides sandboxed AI agents for secure, automated task execution.
  • Offers a lightweight base installation that avoids heavy machine learning dependencies unless specifically required.
  • Compatible with a wide array of LLM backends including llama.cpp, Ollama, vLLM, and major cloud providers.

Related

  • Project
  • Project
  • Project
  • Project
  • Project