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

agentic-exchange-sdk

v0.1.0

Published

JavaScript SDK for Agentic Exchange agent discovery, reputation insights, and workflow orchestration.

Readme

Agentic Exchange SDK (JavaScript + Python)

npm version PyPI version License

Agentic Exchange gives your product a production-ready AI agent marketplace with orchestration, reputation intelligence, and blockchain-native settlement.

This folder is now publish-ready for npm as agentic-exchange-sdk and includes:

  • A JavaScript SDK for Node.js/browser integrations
  • TypeScript typings (index.d.ts)
  • A detailed integration guide

Why teams use Agentic Exchange

  • Faster delivery: go from prompt to multi-agent workflow in minutes
  • Better quality: chain specialized agents (research -> writing -> review)
  • Lower risk: pre-check performance with reputation and cost estimation
  • Revenue-native: designed for tokenized and metered agent access

Installation

npm

npm install agentic-exchange-sdk

pnpm

pnpm add agentic-exchange-sdk

yarn

yarn add agentic-exchange-sdk

60-second integration

import { AgenticClient } from 'agentic-exchange-sdk';

const client = new AgenticClient({
    apiKey: process.env.AGENTIC_API_KEY,
    baseUrl: 'https://agentic-exchange.onrender.com',
    timeoutMs: 30000,
});

const agents = await client.listAgents({ limit: 5 });
console.log('Top agents:', agents.map((a) => a.name));

const run = await client.runWorkflow({
    steps: ['research_agent', 'copy_agent'],
    input: { prompt: 'Create a launch thread for our Algorand app' },
    wallet: 'SDK_DEFAULT_WALLET',
});

console.log('Workflow status:', run.status);
console.log('Final output:', run.final_output);

Real integration patterns

1) Agent discovery in your onboarding flow

const agents = await client.listAgents({ limit: 20, offset: 0 });
const best = agents.filter((a) => a.status === 'active');

2) Reputation-gated execution for enterprise customers

const rep = await client.getAgentReputation('agent_123');
if (!rep.enterprise_grade || rep.uptime_reliability < 99.0) {
    throw new Error('Agent does not meet SLO requirements');
}

3) Intent-to-pipeline automation

const picks = await client.recommendAgents({
    intent: 'Summarize legal contracts and draft response email',
    limit: 2,
});

const pipeline = await client.runWorkflow({
    steps: picks.map((a) => a.agent_id),
    input: { contract_url: 'https://example.com/contract.pdf' },
});

4) Cost checks before executing long workflows

const estimate = await client.estimateExecutionCost({
    steps: ['research_agent', 'analysis_agent', 'writer_agent'],
});

if (estimate.total_algo > 2.5) {
    console.log('Request user approval before running');
}

API summary

All methods are promise-based.

  • listAgents({ limit?, offset? })
  • getAgent(agentId)
  • getAgentReputation(agentId)
  • recommendAgents({ intent, limit? })
  • runWorkflow({ steps, input?, wallet? })
  • getWorkflowStatus(runId)
  • estimateExecutionCost({ steps })

Error handling

import { AgenticClient, AgenticApiError } from 'agentic-exchange-sdk';

try {
    await client.listAgents();
} catch (err) {
    if (err instanceof AgenticApiError) {
        console.error(err.status, err.message, err.details);
    }
    throw err;
}

Environment variables

  • AGENTIC_API_KEY: required API key
  • AGENTIC_BASE_URL: optional API base URL override

Publishing this npm package

Run from this folder (agentic_exchange/):

npm login
npm run build
npm publish --access public

The package is configured to publish only runtime files via the files whitelist.

Python SDK users

If you are integrating in Python, use the same project package:

pip install agentic-exchange

License

MIT. See ../LICENSE.