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

@chester-ai/sdk

v0.2.0

Published

TypeScript SDK for the Chester AI agent platform

Readme

@chester-ai/sdk

TypeScript SDK for the Chester AI agent platform. Build a consulting firm on an API.

Install

npm install @chester-ai/sdk
# or
pnpm add @chester-ai/sdk

Quick Start

The high-level API uses consulting language that matches chester.ai:

import { Chester, Step, Gate } from "@chester-ai/sdk";

const chester = new Chester({
  url: "http://localhost:8990",
  apiKey: "cht_your_api_key_here",
});

// Deploy consultants
const analyst = await chester.consultant("market-analyst", {
  identity: "You are a market sizing specialist.",
  model: "claude-sonnet-4-20250514",
});

// Brief a consultant (async task)
const taskId = await analyst.brief("Estimate the TAM for AI consulting in 2026");

// Stream a conversation
for await (const text of analyst.chat("What methodology do you use?")) {
  process.stdout.write(text);
}

// Persistent memory
await analyst.remember("Client prefers conservative estimates");
console.log(await analyst.recall());

Practice Groups (Teams)

const practice = await chester.practice("dd-practice", {
  coordinator: "dd-lead",
  members: ["market-analyst", "fin-analyst", "legal-reviewer"],
});

const result = await practice.run("Conduct due diligence on TargetCo");

Client Models (Digital Twins)

const typeId = await chester.clientModelType("enterprise-client", {
  description: "Fortune 500 client model",
  baseAgent: "analyst",
});

const acme = await chester.clientModel("Acme Corp", {
  typeId,
  externalId: "crm-12345",
});

await acme.learn("engagement_start", '{"deal_size": "500M"}');
const answer = await acme.query("What is this client's risk appetite?");

Engagement Workflows

const templateId = await chester.engagement("due-diligence-flow", {
  steps: [
    Step({ instruction: "Market sizing", agent: "market-analyst" }),
    Step({ instruction: "Financial review", agent: "fin-analyst" }),
    Gate({ name: "partner-review" }),
    Step({ instruction: "Executive summary", agent: "dd-lead" }),
  ],
});

await chester.runEngagement(templateId, { entityId: "acme-corp" });

Project Boards, Objectives, Pricing

// Kanban board
const board = await chester.board("acme-pipeline");
await board.addCard("Market Sizing", { agentName: "market-analyst" });
await board.execute();

// Cognitive objective
const obj = await chester.objective("analyst", "Complete market sizing", {
  budgetUsd: 5.0,
});

// Outcome pricing
await chester.pricingRule({
  dimension: "deliverable",
  rate: 2500,
  notes: "Per market sizing report",
});

Raw gRPC Access

The full 27-service gRPC API is available via chester.rpc:

// Escape hatch to any RPC
const { agents } = await chester.rpc.agents.listAgents({});
await chester.rpc.queue.sendTask({ agent: "bot", message: "hello" });

// Or use ChesterClient directly
import { ChesterClient } from "@chester-ai/sdk";
const client = new ChesterClient({ url: "http://localhost:8990", apiKey: "cht_..." });

Requirements

  • Node.js 18+ or modern browser
  • Chester daemon running with gRPC-web enabled (default on port 8990)