Scan your whole stack
Are you using @xberg-io/liter-llm?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.7.6
@xberg-io/liter-llm was last scanned on 25 Nov 2026 at version 2.7.6. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.7.6 LATEST | 25 Nov 2026 | No rules fired |
| 2.7.5 | 24 Nov 2026 | No rules fired |
| 2.7.4 | 23 Nov 2026 | No rules fired |
| 2.7.3 | 19 Nov 2026 | Not shown |
| 2.7.2 | 15 Nov 2026 | Not shown |
Findings for v2.7.6. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 2.7.6; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Universal LLM API client for TypeScript and Node.js. Access 174 LLM providers through a single interface with native NAPI-RS bindings, async/await, streaming, tool calling, and full TypeScript type definitions.
provider/model convention and keep provider-specific request code out of application paths.Install via one of the supported package managers:
npm:
pnpm add @xberg-io/liter-llm
pnpm:
pnpm add @xberg-io/liter-llm
yarn:
yarn add @xberg-io/liter-llm
OPENAI_API_KEY, ANTHROPIC_API_KEY)Pre-built binaries available for:
Install the liter-llm plugin for product skills and runtime integrations, or install public skills independently:
npx skills add xberg-io/liter-llm
Select the skills and target agents interactively. Install the product CLI separately for executable operations; the skill installer adds instructions only.
Send a message to any provider using the provider/model prefix:
import { createClient } from "@xberg-io/liter-llm";
const client = createClient(process.env.OPENAI_API_KEY!);
const response = await client.chat({
model: "openai/gpt-4o",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);
Stream tokens in real time:
import { createClient } from "@xberg-io/liter-llm";
const client = createClient(process.env.OPENAI_API_KEY!);
const chunks = await client.chatStream({
model: "openai/gpt-4o",
messages: [{ role: "user", content: "Tell me a story" }],
});
for await (const chunk of chunks) {
process.stdout.write(chunk.choices?.[0]?.delta?.content ?? "");
}
console.log();
Define and invoke tools:
import { createClient, ToolType } from "@xberg-io/liter-llm";
const client = createClient(process.env.OPENAI_API_KEY!);
const response = await client.chat({
model: "openai/gpt-4o",
messages: [{ role: "user", content: "What is the weather in Berlin?" }],
tools: [
{
toolType: ToolType.Function,
function: {
name: "get_weather",
description: "Get the current weather for a location",
parameters: {
type: "object",
properties: { location: { type: "string" } },
required: ["location"],
},
},
},
],
});
for (const call of response.choices[0]?.message?.toolCalls ?? []) {
console.log(`Tool: ${call.function.name}, Args: ${call.function.arguments}`);
}
This binding uses NAPI-RS to provide native Node.js bindings with:
spawn_blocking to avoid blocking the event loopsecrecy::SecretString and never loggedRoute to any provider using the provider/model prefix convention:
| Provider | Example Model |
|---|---|
| OpenAI | openai/gpt-4o, openai/gpt-4o-mini |
| Anthropic | anthropic/claude-3-5-sonnet-20241022 |
| Groq | groq/llama-3.1-70b-versatile |
| Mistral | mistral/mistral-large-latest |
| Cohere | cohere/command-r-plus |
| Together AI | together/meta-llama/Meta-Llama-3.1-70B-Instruct-Turbo |
| Fireworks | fireworks/accounts/fireworks/models/llama-v3p1-70b-instruct |
| Google Vertex | vertexai/gemini-1.5-pro |
| Amazon Bedrock | bedrock/anthropic.claude-3-5-sonnet-20241022-v2:0 |
provider/model prefixchat, chat_stream, embeddings, list_models interfacechat_streamBuilt on a compiled Rust core for speed and safety:
Route to 174 providers using the provider/model prefix convention:
openai/gpt-4o
anthropic/claude-3-5-sonnet-20241022
groq/llama-3.1-70b-versatile
mistral/mistral-large-latest
See the provider registry for the full list.
Beyond the SDK, the liter-llm CLI ships an OpenAI-compatible proxy and a Model Context Protocol (MCP) server:
brew install xberg-io/tap/liter-llm # or: cargo install liter-llm-cli
# Windows: scoop bucket add xberg https://github.com/xberg-io/scoop-bucket && scoop install liter-llm
liter-llm api --config liter-llm-proxy.toml # OpenAI-compatible proxy
liter-llm mcp --transport stdio # MCP tool server
# or run the proxy without installing:
docker run -p 4000:4000 -e LITER_LLM_MASTER_KEY=sk-your-key ghcr.io/xberg-io/liter-llm
To use the MCP server inside a coding agent, install the liter-llm plugin from the xberg-io/liter-llm marketplace — it auto-registers the server. See the MCP server and proxy server guides for configuration, CLI usage, and agent integration.
Contributions are welcome! See CONTRIBUTING.md for guidelines.
Join our Discord community for questions and discussion.
MIT -- see LICENSE for details.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.