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

anbaric-services-client

v1.20.1

Published

Client for the Anbaric additional-services agentic API: a light Agent whose property changes are generated by a hosted additional-services instance

Readme

anbaric-services-client

Client for the Anbaric additional-services agentic API. It exposes AnbaricServicesAgent — a light Agent (an actor) whose LLM output is generated by a hosted additional-services instance rather than by calling a model provider directly. Use it the same way you would OpenAIAgent, when your app should reach the model through the shared Anbaric service (the legacy-agent path) instead of holding provider credentials itself.

The additional-services process is closed-source; this client is not. It depends only on anbaric-tsapi.

Install

npm install anbaric-services-client

Usage

Pair the agent with RemoteLLMAgenticAction: when the action runs, the agent generates the job's property changes against a JSON Schema.

import {PropertyDefinition, State, StateMachine, Transition} from "anbaric";
import {RemoteLLMAgenticAction} from "anbaric-state-machine";
import {AnbaricServicesAgent} from "anbaric-services-client";

// baseUrl / apiKey default from ANBARIC_SERVICES_URL / ANBARIC_SERVICES_API_KEY,
// which Anbaric Cloud injects into deployed app tasks. Locally they default to
// http://localhost:8790 with no key.
const agent = new AnbaricServicesAgent("triager", "assistant");

const triage = new RemoteLLMAgenticAction(
    "Triage the ticket",
    agent,
    [{ role: "system", content: "Decide the priority of the support ticket." }],
    {
        type: "object",
        properties: { priority: { type: "string", enum: ["low", "high"] } },
    },
);

const support = new StateMachine("support", [
    new State("open", [triage], [new Transition("prioritised", (job) => job.properties.has("priority"))]),
    new State("prioritised"),
], "open", [new PropertyDefinition("priority")]);

Configuration

| Variable | Purpose | Default | | --- | --- | --- | | ANBARIC_SERVICES_URL | Base URL of the additional-services instance | http://localhost:8790 | | ANBARIC_SERVICES_API_KEY | Bearer token for the service (if it requires one) | unset |

The constructor's connection argument ({ baseUrl, apiKey }) overrides both.