← Back to Leaderboard
AGheubj

Gheubj/Adaptive

A llama.cpp CLI for local GGUF inference, hardware profiling, and repeatable benchmarks

View on GitHub ↗
Engineering Health (Methodology)
A · 76/100
Maintenance Activity
● Updated today
Latest Release
v0.1.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption1/25
Release Cadence20/20
License Clarity20/20
Local AICLI
Total Stars
★ 20
24h Growth
+0
7d Growth
+0
Forks
0

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

Gheubj/Adaptive Star History (2026-11-30 - 2026-12-04) DAILY STAR HISTORY (5-DAY D1 TELEMETRY) +19 in 4d · avg +5/day 24 12 0 2026-11-30: ★ 12026-12-01: ★ 202026-12-02: ★ 202026-12-03: ★ 202026-12-04: ★ 20 ★ 20 11-30 12-02 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Adaptive is a Python control layer for llama.cpp, not a separate inference engine. The adaptive console script enters at adaptive_local.cli:entrypoint; strict TOML/Pydantic configuration, doctor, hardware inspection, and a local JSON model registry sit above RuntimeAdapter v1. The caller supplies a registered model ID or GGUF path. The llama.cpp adapter manages an owned process group and sends inference traffic to a private 127.0.0.1 llama-server.

The manifest includes httpx, huggingface_hub, pydantic, and psutil, with Optuna available through an optional extra. Read-only Linux collectors separate a stable hardware fingerprint from a live resource snapshot and persist profiles in an atomic local cache. The benchmark engine writes local JSONL evidence and feeds experimental AutoTune; the runtime manager separately handles artifact compatibility, integrity checks, isolated caching, and rollback. The adapter is an extension boundary, not evidence that multiple inference backends ship today.

Key Capabilities & Differentiators

The verified execution path is Linux x86_64 CPU with llama.cpp and user-supplied GGUF weights. It supports streaming, cancellation, timeouts, and conservative RAM admission. Hugging Face discovery is limited to metadata searches and heuristic recommendations; acquisition requires explicit approval and a pinned commit. It does not execute repository code or fetch weights automatically. Local GGUF imports can be registered with optional SHA-256 verification.

The benchmark engine supports explicit configuration comparisons, resource measurements, desktop-impact checks, deterministic quality evaluation, and uncertainty summaries. Experimental AutoTune includes heuristic and random search, optional Optuna TPE, successive halving, Pareto analysis, and independent validation infrastructure. Opt-in resource management adds observation and reservation accounting; CPU affinity additionally requires explicit flags and a verified Adaptive-owned child. These mechanisms do not establish a performance gain, and detection code does not establish CUDA, ROCm, Vulkan, Windows, or macOS support.

Trade-offs & Limitations

Compared with running llama-server directly, Adaptive adds hardware inspection, artifact lifecycle controls, and repeatable configuration comparisons. That is useful when you manage several machines or need to justify a configuration change with measurements; it is additional setup if all you need is to launch one known model. Compared with a hosted OpenAI API, the offline path keeps prompts and weights under local control and needs no cloud key, but leaves model selection, capacity, and runtime maintenance to the operator.

Do not adopt it on the assumption that tuning will improve throughput: none of the four preregistered confirmatory hypotheses met acceptance criteria on the tested Linux/CPU configurations. Unverified profiles are not applied automatically, and resource management is opt-in. Size for the chosen GGUF and quantization, context, and concurrent workload rather than assuming a collection label guarantees fit. Adaptive is Apache-2.0; model weights and runtime artifacts need separate license review.

Hardware & Deployment Guide

Use Python 3.11 or 3.12 on the verified Linux x86_64 CPU path. Install adaptive-local==0.5.0a1 in a virtual environment, then use adaptive doctor and adaptive hardware inspect to check readiness. The Python package bundles neither llama.cpp nor model weights. Supply a compatible llama-server or a reviewed runtime archive, plus a GGUF file. adaptive runtime install presents a plan for explicit approval; the checked-in llamacpp-a300a9c-linux-x86_64-cpu-local artifact has no download URL. Once the runtime and weights are present, inference can run offline without a cloud key.

Start with an explicit adaptive run, then use adaptive benchmark run --suite quick with an explicit model and thread settings before adopting a tuning profile. The v0.2.0a1 preview introduced cloud BYOK and gateway features, whereas the v0.5.0-alpha.1 snapshot centers on local GGUF execution, runtime management, and benchmarks. Do not use the older gateway milestone as evidence of a supported public serving path in this alpha.

Execution: Python CLI owns a loopback-only llama.cpp process with streaming, cancellation, and timeouts
Hardware evidence: Read-only Linux collectors separate stable fingerprints from live resource snapshots
Runtime lifecycle: Artifact compatibility checks, integrity verification, isolated cache, and rollback
Model provenance: GGUF registry with optional SHA-256 verification and explicit, commit-pinned Hugging Face acquisition
Benchmarking: Local JSONL evidence, desktop-impact measurements, deterministic quality checks, and uncertainty summaries
Tuning guardrail: Experimental AutoTune does not change ordinary runs; none of four confirmatory hypotheses met acceptance criteria
Best For

Engineers running chosen GGUF models on Linux x86_64 CPU who want offline execution, runtime provenance, and measured comparisons before changing settings.

Skip If

You need validated GPU or multi-GPU inference, a supported public serving API, or automatic speedups you can rely on in production.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Local AICLI
python3 -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install adaptive-local==0.5.0a1
adaptive --version
adaptive doctor
adaptive hardware inspect

Comparison vs. Top LLMs & Inference Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
Adaptive ★20—PythonApache-2.0A llama.cpp CLI for local GGUF inference, hardware profiling, and repeatable ben
OmniRoute92.2k+1.4kTypeScriptMITSelf-hosted OpenAI-compatible gateway for multi-provider routing and fallback
nano-vllm16.7k+95PythonMITA compact vLLM-style Python engine for offline GPU batch inference
ollama189.1k+741GoMITGo-based LLM serving layer for local model management and inference

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/Gheubj/Adaptive.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

Gheubj/Adaptive Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about Adaptive

How do I integrate Adaptive into a local workflow?

Pass a GGUF path or a registered model ID to adaptive run. The llama.cpp adapter owns a llama-server process and communicates over private loopback. The verified integration surface is the CLI; treat the loopback server as an internal component rather than a supported public API.

Is a 16 GB machine sufficient, and how much VRAM do I need?

Not by capacity alone. Linux x86_64 CPU inference is the verified path, so size for system RAM rather than assuming GPU offload. Leave headroom for the GGUF weights, context and runtime buffers, other applications, and any concurrent runs. Use adaptive hardware inspect and benchmark the exact model and context you intend to run.

Can we use Adaptive commercially and run it entirely on our own machines?

Adaptive is Apache-2.0 licensed and can be run locally without a cloud account. That license covers Adaptive, not the model weights or every runtime artifact. Review those licenses separately for commercial use and redistribution, and pin downloaded GGUF artifacts to a reviewed commit.

When should I choose Adaptive over direct llama.cpp or a hosted OpenAI API?

Use Adaptive over direct llama-server when you need hardware diagnostics, runtime verification and rollback, or repeatable comparisons between configurations. Use llama-server directly if you already manage those pieces. A hosted OpenAI API is a different deployment choice: it avoids local runtime and weight management but requires a remote service and sends inference requests off the machine.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining Gheubj/Adaptive? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature Gheubj/Adaptive on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare