npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@holoscript/holollama

v0.2.1

Published

Native HoloScript utilities for planning and operating llama.cpp HoloLlama serving nodes.

Downloads

1,547

Readme

@holoscript/holollama

Native HoloScript utilities for HoloLlama llama.cpp serving nodes.

This package does not bundle model weights or a llama.cpp binary. It turns an authorable @llama_serve HoloScript block into deterministic operating artifacts: launch command, PowerShell launcher, systemd unit, Windows S4U task, health probe, and sovereign-device registry JSON.

CLI

npm install -g @holoscript/holollama

holollama doctor --json
holollama mesh --profile jetson-orin --team-id team_... --json
holollama preflight --profile laptop-windows --json
holollama contract --profile laptop-windows --json
holollama lifecycle --team-id team_... --json
holollama lifecycle --profile jetson-orin --live --team-id team_... --json
holollama harness --out ./.ai-ecosystem --team-id local-team --json
holollama profiles
holollama brains
holollama brain --task "compose eerie ambience for a cave level" --json
holollama plan --profile jetson-orin --json
holollama plan --profile laptop-windows --out ./holollama-bundle
holollama plan --code ./serve.holo --out ./holollama-bundle

Profiles are operating defaults for the fleet lanes, not hardware claims:

  • jetson-orin: owned-metal Linux ARM64 text serving lane, using a native /opt/holoscript/llama.cpp/build-holo/bin/llama-server, Qwen3 base model, and Brittney LoRA adapter.
  • laptop-windows: founder laptop Windows vision/tooling lane.
  • vast-linux-gpu: Linux GPU fleet lane.

HoloLlama is not an Ollama wrapper. The Jetson profile expects a native llama.cpp build owned by the HoloLlama lane; lifecycle --live rejects Ollama-owned llama-server binaries, model/LoRA drift, ignored GPU layers, unsafe prompt-cache ceilings, and unified-memory pressure.

Public .ai-ecosystem Harness

.ai-ecosystem is the harness pattern for cloud frontier families and local agents: a small operating folder that gives agents durable rules, receipt commands, package entrypoints, and secret boundaries. The founder private .ai-ecosystem repo is not shipped to users.

HoloLlama includes a clean-room starter at templates/ai-ecosystem-basic. Copy that folder into a new project's .ai-ecosystem when an outside human or AI agent needs a minimal HoloLlama operating harness. The template points agents at package commands such as holollama doctor, holollama profiles, holollama lifecycle, and holollama lifecycle --live; it does not assume founder paths, GOLD, private MCP keys, or local research state.

Use the installer instead of copying by hand:

holollama harness --out ./.ai-ecosystem --team-id local-team --json

The command refuses to overwrite changed harness files unless --force is provided, scans the installed files for founder-private anchors and filled env secrets, then writes doctor, lifecycle, and install receipts under .ai-ecosystem/receipts/holollama/.

Override the authored plan with flags such as --model, --model-path, --host, --port, --ctx, --ngl, --parallel, --register-as, --node, --platform, --executable, --service-user, --grammar, and --vision.

Operational receipts:

  • doctor: compiles profile artifacts and emits holollama.doctor.v1.
  • mesh: resolves read-only HoloMesh board, room, done-log, slot, and knowledge endpoints as holollama.holomesh-readonly-bridge.v1.
  • preflight: proves llama.cpp vision flags and registry capability as holollama.llama-cpp-vision-preflight.v1.
  • contract: proves fleet-bench server contract as holollama.llama-cpp-server-contract.v1: text profiles omit --mmproj and image-token flags, vision profiles include the intended projector and image token window, and sovereign-device registry entries expose capabilities[] with base endpoints for fleet-router discovery.
  • lifecycle: joins plan, server-contract, preflight, runtime-readiness, mesh bridge, and health probe stages as holollama.fleet-lifecycle.v1. Runtime-readiness is the launched-node gate for benchmark/routing callers: port owner, stale llama-server cleanup, /v1/models multimodal capability, and /props.modalities.vision.
  • lifecycle --live: probes a live HoloLlama node, attaches holollama.lifecycle-doctor.v1, and promotes it into the lifecycle as a live-lifecycle stage. The live probe checks optional systemd service state, read-only SSH/procfs footprint, /health, /v1/models, and a tiny OpenAI-compatible completion. The footprint check catches Jetson-class drift: wrong llama-server binary, model/LoRA path drift, ignored GPU layers, unsafe prompt-cache ceilings, RSS pressure against unified memory, and swap already in use. Use --endpoint, --host, --key, --unit, --models-path, --timeout-ms, --prompt, --max-tokens, --no-systemd, --no-footprint, and --require-systemd to adapt the same package to Jetson, laptop, and Vast fleet lanes. HOLOLLAMA_ENDPOINT, JETSON_HOST, and JETSON_KEY are honored by the CLI.

Brains

HoloLlama exposes Brain as the product-facing selector unit. skill remains accepted as a compatibility alias for older Claude-style callers, but package receipts return Brain-shaped fields.

import { selectHoloLlamaBrain } from '@holoscript/holollama/brain';

const selection = selectHoloLlamaBrain({
  task: 'Compose eerie ambience for a cave level.',
  selectedDevice: 'jetson-orin-super',
});

console.log(selection.selectedBrain.id); // audio
console.log(selection.selectedCompatibilitySkill.id); // audio

The selector returns the selected Brain, compatibility skill metadata, consumer profile, scoring evidence, and the holollama-brain-router.selection.v1 receipt schema. This lets Jetson, desktop HoloShell, npm consumers, and future language bridges share one canonical router. The same exports are re-exported from the main package entry; the /brain subpath stays dependency-light for edge appliances that only need routing receipts.

Library

import {
  buildLlamaServeComposition,
  compileHoloLlamaBundle,
  doctorHoloLlamaProfiles,
  probeHoloLlamaLiveLifecycle,
  writeHoloLlamaBundleFiles,
} from '@holoscript/holollama';

const code = buildLlamaServeComposition('jetson-orin');
const bundle = compileHoloLlamaBundle({ code });
await writeHoloLlamaBundleFiles(bundle, './holollama-bundle');

const report = doctorHoloLlamaProfiles();
console.log(report.ok);

const live = await probeHoloLlamaLiveLifecycle({
  profile: 'jetson-orin',
  endpoint: 'http://192.168.0.119:18080',
  skipSystemd: true,
});
console.log(live.runtimeState);

Serving Strategy

@holoscript/core owns parsing and compilation. @holoscript/mcp-server exposes agent tools. @holoscript/holollama is the installable operating surface for owned local model serving. Fleet hosts consume this package to author, inspect, materialize, and live-prove serving bundles without installing the full MCP server.

Run corepack pnpm check:holollama-consumption after building to prove the built API and CLI are consumable by laptop, Jetson, and Vast fleet lanes. The gate exercises the operational receipts from built artifacts before publish.