Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By rkinasv3.0.3Apache-2.0In 1 marketplace
Turns routing, triage and classification decisions into calibrated probabilities from a local basal server, with an abstain-to-human option. Needs an NVIDIA GPU on Linux or an Apple Silicon Mac; the first start downloads the model.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Inference engine and models for basal-3.0 and basal-omni-2.0: small, fast, calibrated typed-decision models for Polish and English. The basal-omni-1.0 models also take images and audio in a request (experimental). The basal-omni-2.0 models are nano (Gemma 4 E2B), mini (Gemma 4 E4B) and max (Gemma 4 12B). The basal-3.0 text models, built on Bielik v3.0, are basal-3.0-mini (4.5B) and basal-3.0-max (11B). The launch models and their ports: release notes.
What it is. basal is inspired by System 1 (fast, intuitive) decision models such as Jev: instead of a chatbot that writes an answer, the model reads a state (a message, a document, a case file, retrieved passages, an agent trace, a web page as JSON) and answers a typed question about it by returning a probability for each allowed answer, in one forward pass, without generating text. The answer can never fall outside the options you gave, and the probability says how sure the model is.
What it is for: a dynamic classifier. You describe the classes in the request, in plain language, per call, instead of training a classifier for them: routing tickets and documents (up to 255 options), rule and policy checks, questions about long documents, RAG decisions, scoring on ordered scales, the next step of an agent, judging answers, and triage with a confidence threshold that sends uncertain cases to a person.
The name comes from the basal ganglia, the part of the brain that selects one action among competing options.
Install the server and start a model, one of three ways. Each starts basal-3.0-mini on port 8000.
NVIDIA GPU (Linux, a driver for CUDA 12.8 or newer, Python 3.10 to 3.13 in a fresh virtual environment):
pip install torch==2.11.0 --index-url https://download.pytorch.org/whl/cu128
pip install "basal-engine[fp8]"
basal-serve --model Remek/basal-3.0-mini --mode fast --llama-graph on --template-prefix off
Docker (NVIDIA GPU and the NVIDIA Container Toolkit; the image holds the install above):
docker run --gpus all -p 8000:8000 -v basal-cache:/home/basal/.cache ghcr.io/rkinas/basal-serve:3.0.3 \
--model Remek/basal-3.0-mini --mode fast --llama-graph on --template-prefix off
Apple Silicon (macOS, a native arm64 Python 3.10 to 3.13 in a fresh virtual environment):
pip install "basal-engine[mlx]"
basal-serve --model Remek/basal-3.0-mini-MLX-8bit --mode mlx --mlx-forward metal
The first start downloads the model (9.5 GB; the MLX port 5.2 GB). --mode fast then compiles it, which takes
several minutes. The server prints basal: model ... ready when it serves. Coming from basal 2.x? Run
pip uninstall basal first (why).
Ask questions with curl. Several questions about one state go into one request and share the state; each answer has a probability for every option, the chosen key and the confidence (response):
curl -s localhost:8000/v1/systemone -H 'content-type: application/json' -d '{
"state": "Klient: od wczoraj nie mogę zalogować się do bankowości internetowej, system pokazuje błąd hasła.",
"questions": {
"dept": {"type": "choice", "instructions": "Do którego działu skierować zgłoszenie?",
"criteria": {"cards": "Reklamacje kart", "online": "Wsparcie bankowości elektronicznej", "loans": "Kredyty"}},
"urgent": {"type": "noul", "instructions": "Czy klient nie może korzystać z usługi?"}}}'
The answers look like this (example numbers):
"answers": {
"dept": {"type": "choice", "choice": "online", "probabilities": {"cards": 0.03, "online": 0.95, "loans": 0.02},
"confidence": 0.95},
"urgent": {"type": "noul", "noul": 0.91, "probabilities": {"true": 0.91, "false": 0.09}, "confidence": 0.91}}
probabilities lists every option, so the runner-up and its margin are in every answer; confidence is
probabilities[choice], the probability of the chosen option.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground