New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@bosun-sh/sounder

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bosun-sh/sounder

Local-first Sounder Ohtools app for deterministic task and model estimation.

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
58
866.67%
Maintainers
1
Weekly downloads
 
Created
Source

@bosun-sh/sounder

CI npm version License: Apache-2.0

Local-first library and MCP server for deterministic task and model estimation, scoped feedback learning, inventory-driven model recommendations, and subagent recommendations.

Note: sounder is a library + MCP server — it has no CLI bin entrypoint by design. Consume it as a library or mount it as an MCP server in your agent host.

Installation

bun add @bosun-sh/sounder

Quickstart

Library usage

import { createSounderApp, sounderPlugin, sounderToolIds } from "@bosun-sh/sounder";

// Create a fully-wired Sounder app (SQLite-backed, local-first)
const app = await createSounderApp();

// Estimate a task by Fibonacci bucket
const result = await app.run("sounder.estimate.task", {
  description: "Implement OAuth login flow",
});

// Record feedback after a task completes
await app.run("sounder.feedback.task", {
  toolId: "sounder.estimate.task",
  outcome: "completed",
  actual: 5,
});

// Recommend a model for a given task
const recommendation = await app.run("sounder.recommend.model", {
  description: "Summarize a long legal document",
  tier: "mid",
});

MCP server usage

Mount sounder as an MCP tool server in your agent host:

import { createSounderMcpApp } from "@bosun-sh/sounder/mcp";

const mcpApp = await createSounderMcpApp();
// Pass mcpApp to your MCP host / stdio transport

Ohtools default app

import sounder from "@bosun-sh/sounder/ohtools";

// Pre-built default app instance — zero config required
const result = await sounder.run("sounder.inventory.list", {});

Features

Tools

Tool IDDescription
sounder.estimate.taskEstimate task effort using Fibonacci bucketing and learned weights
sounder.estimate.modelEstimate token/cost for a model invocation
sounder.feedback.taskRecord task outcome to improve future estimates
sounder.feedback.modelRecord model outcome feedback
sounder.recommend.modelRecommend the best model for a task given tier and inventory
sounder.recommend.subagentRecommend subagents for a composite task
sounder.history.listQuery estimation history
sounder.inventory.listList available models in inventory
sounder.inventory.upsertAdd or update a model in the inventory

Exports

Import pathWhat it provides
@bosun-sh/soundercreateSounderApp, createSounderCliApp, createSounderMcpApp, sounderPlugin, sounderToolIds, schemas, types
@bosun-sh/sounder/ohtoolsDefault pre-built app instance
@bosun-sh/sounder/mcpcreateSounderMcpApp for MCP server mounting
@bosun-sh/sounder/clicreateSounderCliApp for CLI adapter

Plugin integration

Use the plugin directly with your own Ohtools host:

import { sounderPlugin, sounderToolIds } from "@bosun-sh/sounder";

// Register the sounder plugin into your own ohtools host
myOhtoolsHost.register(sounderPlugin);

Development

git clone https://github.com/bosun-sh/sounder.git
cd sounder
bun install

bun test               # full test suite
bun run ci:lint        # lint + typecheck
bun run ci:build       # build + pack dry-run
bun run ci:premerge    # full gate — must be green before PR

Contributing

See CONTRIBUTING.md for local setup, commit conventions, and pull request process.

License

Apache-2.0 — see LICENSE.

Keywords

sounder

FAQs

Package last updated on 28 Jun 2026

Related posts