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

@stackone/agent-harness

v0.8.1

Published

Composable agent runtime for building and testing StackOne integrations

Downloads

2,654

Readme

@stackone/agent-harness

Composable agent runtime for building and testing StackOne integrations, powered by the Claude Agent SDK.

Overview

Agent Harness is a TypeScript library that orchestrates LLM-based agents to build, test, and manage API connectors. It wraps the official Claude Agent SDK with StackOne integrations including billing, telemetry, and bundled skills.

Installation

npm install @stackone/agent-harness

Quick Start

import { executeAgent } from '@stackone/agent-harness';

// Execute an agent with streaming messages
for await (const message of executeAgent({
  prompt: 'Research the Datadog API and list available endpoints',
  mode: 'research',
})) {
  switch (message.type) {
    case 'text':
      console.log('Agent:', message.content);
      break;
    case 'tool_call':
      console.log(`Tool: ${message.toolName}`);
      break;
    case 'done':
      console.log('Completed!', message.metadata);
      break;
  }
}

Authentication

Agent Harness requires a StackOne Agent token for API access and telemetry:

# Set your StackOne token
export STACKONE_AGENT_TOKEN="your-token"

# Or run setup via CLI
stackone agent setup

Documentation

| Guide | Description | |-------|-------------| | Getting Started | Installation, basic usage, and examples | | Architecture | How the SDK integration and proxy work | | Adding Skills | Create custom skills for the agent | | Concepts | Deep dive into agent harness concepts | | Falcon Builder | Specialized prompt for connector building | | Benefits | Why use a centralized agent harness | | Features | Comprehensive feature reference | | Documentation | What Agent Harness does and why | | Slide Deck | Presentation outline for stakeholders |

Features

  • Claude Agent SDK Integration - Native SDK with StackOne Agent tools preset
  • Progressive Skill Loading - Skills loaded on-demand (~100 tokens until used)
  • Telemetry - Built-in LangSmith integration via StackOne proxy
  • Multiple Modes - build, test, and research modes with specialized prompts
  • MCP Support - Connect external tools via Model Context Protocol
  • Subagents - Define custom agents for specialized tasks

Agent Modes

// Build mode - create connector configurations
executeAgent({ prompt: '...', mode: 'build' });

// Test mode - test and validate connectors
executeAgent({ prompt: '...', mode: 'test' });

// Research mode - explore APIs and documentation
executeAgent({ prompt: '...', mode: 'research' });

Bundled Skills

The package includes skills that Claude automatically invokes when relevant:

| Skill | Mode | Purpose | |-------|------|---------| | research-provider | build, research | Research API documentation | | discover-actions | build, research | Discover API endpoints | | build-connector | build | Generate connector YAML | | test-connector | test | Run connector tests | | validate-config | build | Validate configurations |

See Adding Skills for creating custom skills.

Development

# Install dependencies
npm install

# Build
npm run build

# Watch mode
npm run dev

# Test
npm test

# Lint
npm run lint

License

UNLICENSED