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

@axme/axme

v0.2.0

Published

Official TypeScript SDK for Axme APIs.

Downloads

45

Readme

axme-sdk-typescript

TypeScript SDK for AXME - send intents, listen for deliveries, resume workflows. Fully typed, Promise-based, works in Node.js and edge runtimes.

Alpha npm License

Quick Start · Docs · Examples


Install

npm install @axme/axme

Requires Node.js 20+.


Quick Start

import { AxmeClient } from "@axme/axme";

const client = new AxmeClient({ apiKey: "axme_sa_..." });

// Send an intent - survives crashes, retries, timeouts
const intent = await client.createIntent(
  {
    intent_type: "order.fulfillment.v1",
    to_agent: "agent://myorg/production/fulfillment-service",
    payload: { order_id: "ord_123" },
  },
  { idempotencyKey: "fulfill-ord-123-001" }
);

// Wait for resolution
const result = await client.waitFor(intent.intent_id);
console.log(result.status);

Connect an Agent

for await (const delivery of client.listen("agent://myorg/production/my-agent")) {
  const intent = await client.getIntent(delivery.intent_id);
  const result = await process(intent.payload);
  await client.resumeIntent(delivery.intent_id, result);
}

Human Approvals

const intent = await client.createIntent({
  intent_type: "intent.budget.approval.v1",
  to_agent: "agent://myorg/prod/agent_core",
  payload: { amount: 32000 },
  human_task: {
    task_type: "approval",
    notify_email: "[email protected]",
    allowed_outcomes: ["approved", "rejected"],
  },
});
const result = await client.waitFor(intent.intent_id);  // waits until human acts

8 task types: approval, confirmation, review, assignment, form, clarification, manual_action, override. Full reference: axme-docs.


Observe Lifecycle Events

for await (const event of client.observe(intent.intent_id)) {
  console.log(event.event_type, event.status);
  if (["RESOLVED", "CANCELLED", "EXPIRED"].includes(event.status)) break;
}

Agent Mesh - Monitor and Govern

// Start heartbeat - agent appears in dashboard with live health
client.mesh.startHeartbeat(); // background interval, every 30s

// Report metrics after each task
client.mesh.reportMetric({ success: true, latencyMs: 230, costUsd: 0.02 });

// List all agents with health status
const agents = await client.mesh.listAgents();

// Kill a misbehaving agent - blocks all intents instantly
await client.mesh.kill("addr_...");

// Resume it
await client.mesh.resume("addr_...");

Open the live dashboard at mesh.axme.ai or run axme mesh dashboard from the CLI.

Set action policies (allowlist/denylist intent types) and cost policies (intents/day, $/day limits) per agent via dashboard or API. Agent Mesh overview.


Examples

export AXME_API_KEY="axme_sa_..."
npx tsx examples/basic-submit.ts

More: axme-examples


Development

npm install
npm test

Related

| | | |---|---| | axme-docs | API reference and integration guides | | axme-examples | Runnable examples | | axp-spec | Protocol specification | | axme-cli | CLI tool | | axme-conformance | Conformance suite |


[email protected] · Security · License