Back to directory

libargus

An unmanaged, zero-allocation native AI inference runtime for Java 22 and newer that consolidates vision, speech and LLM pipelines behind one native memory boundary.

libargus

libargus is an unmanaged, zero-allocation native AI execution runtime that consolidates LLM text generation, Whisper-based speech-to-text, speech-LLM text-to-speech and multimodal vision, audio and video encoding and evaluation pipelines into one process-global native runtime, built directly on the GGML and llama.cpp compute engines and exposed through a single Project Panama Foreign Function and Memory boundary for Java 22 and newer.

It provides a unified, thread-safe C API designed for zero-copy compilation alongside unmanaged orchestration frameworks. Recent additions include model-topology introspection that detects recurrent, hybrid or diffusion model types to prevent unsafe operations, zero-rollback KV-cache sequence-slot forking with full sampler-state cloning for token history and randomness continuity, and dedicated clone-slot pooling that reuses a unified KV cache to avoid extra VRAM allocation, alongside strict structural validation of slot operations.

It is distributed on Maven Central, with a core artifact plus separate native-runtime provider artifacts published per target platform.

More in Inference

See all 770
  • OpenDecision

    deepanwadhwa.github.io

    An open-source Python package that answers typed questions about application state or documents using a local natural-language-inference model, returning structured choice, score, yes/no or evidence-relation values instead of free text.

  • Lifeboat

    iterate.ai

    A local inference server that puts an OpenAI- and Anthropic-compatible API in front of open-weight language models running on hardware you control, from a laptop to a GPU cluster.

  • Claude S40

    github.com

    An unofficial Claude chat client for 2007-era Nokia Series 40 phones, built as a Java ME app plus a small Go relay server, with web search, reading mode and saved chats.