Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@synergetics.ai/agent-sdk

Latest version: v0.2.1

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: ayush.s, synergetics
4 Versions
573 Downloads

Scan summary

@synergetics.ai/agent-sdk was last scanned on 29 Nov 2026 at version 0.2.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions; the latest 2 were published within 7 days (23–29 Nov 2026).
  • Findings: No rules fired in version 0.2.1.
  • Downloads: 573 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.1 LATEST 29 Nov 2026 No rules fired
0.2.0 23 Nov 2026 No rules fired
0.1.0 16 Nov 2026 No rules fired
0.0.0-stage 16 Nov 2026 Not shown

No rules fired in 0.2.1

Findings

Findings for v0.2.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.2.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Agent SDK

@synergetics.ai/agent-sdk gives any AI agent — whatever built it, whatever it runs on — three things in one package:

  • Identity — a portable, verifiable identity that doesn't depend on any one platform.
  • Talk — a secure way to discover and hold encrypted sessions with other agents.
  • Payments — a way to pay other agents and, optionally, to get paid by them.

It's framework-agnostic and transport-agnostic. It doesn't assume a particular LLM, agent framework, or deployment shape — it runs equally well embedded directly in your own service, or hosting many agents at once behind a single process.

Status: pre-1.0. Published on npm. The API may still change between minor versions until 1.0; each release's changes are in the CHANGELOG.md that ships with the package.


Why

  • One package, not three. Identity, talk and payments are modules inside a single install, sharing one config, one signer and one state store — not three SDKs you have to wire together yourself.
  • Protocol-first, not walled off. Built on open standards — A2A Agent Cards, ERC-8004-style registration, ERC-6551 token-bound accounts, OAuth 2.1, MCP — so it interoperates with agents and tools that were never built with this SDK in mind.
  • Keys never enter the SDK's memory. Signing goes through a pluggable Signer — a KMS, an OS keychain, a hardware wallet — never a private key held in process.
  • Pay only against a signed offer. No free-text amount or address ever reaches a payment call; every payment is checked against a cryptographically signed offer and your own preferences before it executes.
  • Light by default. The root import carries no database driver, no cloud SDK, no web framework. Everything optional loads from its own subpath.

Install

npm install @synergetics.ai/agent-sdk

Requires Node.js 20 or later. Optional features need their own package, installed only if you use them:

Feature Where Install
Redis state store @synergetics.ai/agent-sdk/redis ioredis
SQLite state store @synergetics.ai/agent-sdk/sqlite better-sqlite3
AWS KMS signers @synergetics.ai/agent-sdk/aws-kms, /ap2-aws-kms-signer @aws-sdk/client-kms
OS keychain signer @synergetics.ai/agent-sdk/keychain keytar
Receiving messages over HTTPS talk.transports.https.listen express
Relay transport talk.transports.relay ws
MQTT transport talk.transports.mqtt mqtt

Quick start

import { initializeAgent } from "@synergetics.ai/agent-sdk";
import { RedisStateStore } from "@synergetics.ai/agent-sdk/redis";   // optional peer: ioredis
import { AwsKmsSigner } from "@synergetics.ai/agent-sdk/aws-kms";    // optional peer: @aws-sdk/client-kms

const chain = { env: "production" as const, rpcUrl: process.env.BASE_RPC_URL! };

const agent = await initializeAgent({
  environment: "production",
  signer: new AwsKmsSigner({ keyId: process.env.AGENT_KMS_KEY_ID! }),
  store:  new RedisStateStore({ url: process.env.REDIS_URL!, prefix: "my-agent" }),
  identity: { chain, delegationId },         // the delegation the agent's owner granted it
  talk: {
    chain,
    discoveryBaseUrl: process.env.AGENT_REGISTRY_INDEXER_URL!,      // agent-registry-indexer's /api mount
    transports: {
      https: {
        sender: {},
        // In production, `listen` requires both an explicit bind `host` (resolveBindHost) and an
        // explicit TLS posture (assertTlsConfiguredForProduction) — here, a reverse proxy/load
        // balancer terminates TLS in front of this process, so that's acknowledged explicitly rather
        // than passing `tls: { keyPem, certPem }` to terminate TLS in this process directly.
        listen: { host: "0.0.0.0", port: 8443, acknowledgeTlsTerminatedUpstream: true },
      },
      // Behind NAT or without an inbound port, use the relay instead (or as well): the agent keeps one
      // outbound WebSocket open and receives sessions through it.
      // relay: { connection: { url: process.env.AGENT_RELAY_URL! } },
      //
      // Device-class agent on an MQTT broker instead (or as well): per-agent credentials, TLS
      // verification on, inbox topic `agenttalk/v2/<this agent's address>/in`. Optional peer `mqtt`.
      // mqtt: {
      //   connection: {
      //     url: "mqtts://broker.example.com:8883",
      //     credentials: { username: process.env.MQTT_USER!, password: process.env.MQTT_PASSWORD! }, // THIS agent's own
      //     tls: { ca: process.env.MQTT_CA_PEM },                                                    // private CA: keep verification on
      //   },
      // },
    }, // omit `listen` for an outbound-only agent
  },
  payments: {
    chain,
    delegationId,
    policy: { caps: { maxPerPayment: "5.00", maxPerDay: "50.00", maxPerPeerPerDay: "20.00" } },
    rails: {
      x402: {
        chainId: 8453,
        asset: USDC_ON_BASE,
        eip712Domain: { name: "USD Coin", version: "2" },   // USDC's EIP-712 domain on Base
        rpcUrl: process.env.BASE_RPC_URL!,
        submit: broadcastTransfer,           // your X402Submitter: broadcasts the signed USDC transfer, returns the tx hash
      },
    },
  },
});

await agent.identity.audit();                // checks the agent's on-chain identity and this signer still agree

const found = await agent.talk.discover({ tags: "weather" });     // tags is a single string, not an array
const peer = found.data[0];

const opened = await agent.talk.open(peer.agentWallet, {
  protocols: ["agenttalk/2"],
  vocabularies: ["weather/v1"],
  transports: ["agenttalk-https"],
});
if (!opened.ok) throw new Error(`open() failed: ${opened.code} — ${opened.reason}`);
const session = opened.session;

session.onMessage((type, payload) => {
  // `payload` is the raw decrypted application bytes for this message `type` — this agent's own
  // vocabulary decides how to decode it.
  console.log(type, new TextDecoder().decode(payload));
});

await session.send("request", new TextEncoder().encode(JSON.stringify({ city: "Pune" })));

// A peer's signed offer (`payment/offer`) is verified — signature, the peer's identity check of this
// agent, your preferences — and then held. Nothing is paid until you accept it.
for (const offer of agent.payments.listPendingOffers?.() ?? []) {
  // `session.peerAddress` is already cryptographically verified by the handshake itself — never
  // trust an unverified "payTo" claim off the wire.
  if (offer.payeeAddress === session.peerAddress.toLowerCase() && offer.amount === "0.25") {
    await agent.payments.acceptOffer!(offer.offerId);
  } else {
    await agent.payments.declineOffer!(offer.offerId);   // tells the peer, releases the reserved amount
  }
}

await agent.close();                          // drains sessions, releases leases

The policy option holds your own agent's preferences: how much it may spend and when to ask a person. A counterparty's policy is a different thing: the rules it applies to agents that come to it, such as which ones may open a session (talk.policy).

Held offers are also dropped, and their reserved amount released, when they expire, after 10 minutes unpaid, or when their session closes. Set payments.autoSettle: true to pay every verified offer immediately instead (not suitable when an LLM drives the agent). A result with code SETTLEMENT_AMBIGUOUS means the payment may have gone through: never pay for it again.

Charging a peer over a talk session (payee side)

With payments.payee and talk both configured, agent.payments.requestPayment(session, request) charges the peer over an open session: it sends a signed offer and an identity challenge, verifies the payer's presentation, waits for the payer to report its x402 settlement, re-verifies that transaction on chain itself (amount, payout address, verified payer, keccak256(paymentSessionId) nonce, freshness, once-only claim), then sends a signed receipt. The payer side (talkPaymentGate.ts) is attached to every session automatically whenever payments.rails is configured, and holds offers until acceptOffer (see the quick start).

payments: {
  chain: { env: "production", rpcUrl: process.env.BASE_RPC_URL! },
  delegationId,
  policy: { caps: { maxPerPayment: "5.00", maxPerDay: "50.00", maxPerPeerPerDay: "20.00" } },
  payee: {
    x402: { chainId: 8453, asset: USDC_ON_BASE, rpcUrl: process.env.BASE_RPC_URL!, minConfirmations: 2 },
    // payTo defaults to the signer's address — the only payout address payers verify today
  },
},

// later, inside your own handler for the peer's request:
const result = await agent.payments.requestPayment!(session, { amount: "0.25", currency: "USDC" });
if (result.ok) answer(session); else log(result.code, result.reason);   // never rejects

Wire messages: payment/offer, payment/identity-challenge, payment/identity-presentation, payment/identity-result (the payee accepts or rejects the payer's identity; the payer holds an offer only after "accepted"), payment/settlement (the payer's txHash, a pointer the payee never trusts), payment/declined (the payer won't pay this offer: declined, expired or refused), payment/receipt. x402 only for now (PAYEE_GATE_SUPPORTS_X402_ONLY); payment-session state is in memory, so a restart mid-payment loses the wait but never money.


What's inside

Module Responsibility Talks to
core Config, errors, the Signer/StateStore/Cipher contracts, HTTP client with retries and circuit breaker, owner approvals —
identity Delegations, presentations, verification, findActiveDelegation chain RPC (VCAttestation, AgentRegistry, the agent wallet)
talk Discovery, Agent Cards, the session handshake, transports (HTTPS, relay, MQTT), vocabularies the agent registry indexer, peer agents
payments Payer: offers, preference checks, settlement rails (x402, MPP), held offers, UCP/ACP buyer flows, AP2 mandates. Payee: offers, identity check, on-chain settlement verification, receipts chain RPC, peer agents, merchants
@synergetics.ai/agent-sdk
 src/
  index.ts      initializeAgent(), findActiveDelegation() and the public types   → import from "@synergetics.ai/agent-sdk"
  core/         config · errors · Signer · StateStore · Cipher · HTTP client · circuit breaker · owner approvals
  identity/     chain config · delegations · presentations · verification · request signing
  talk/         discovery · Agent Cards · handshake · session · transports (https · relay · mqtt) · vocabularies
  payments/     policy · offers · receipts · rails/ (x402 · mpp) · commerce/ (ucp · acp) · authorization/ (ap2)
  stores/       memory (dev) · sqlite · redis                     → "/sqlite", "/redis"
  signers/      local keystore (dev) · aws-kms · keychain · agent-chain-service · ap2 → "/local-signer", "/aws-kms", "/keychain", …
  testing/      conformance suites · test vectors                  → "/testing"
Import path Contents
@synergetics.ai/agent-sdk initializeAgent, findActiveDelegation, AgentSdkError, core types
/payments Offers, receipts, rails, UCP/ACP/AP2 building blocks
/sqlite, /redis State stores
/aws-kms, /keychain, /local-signer Signers (/local-signer is development-only)
/agent-chain-service-signer Signs with a connection key held by agent-chain-service
/ap2-aws-kms-signer, /ap2-local-signer ES256 signers for AP2 mandates
/agent-account-caps-resolver Reads spending limits from an ERC-6551 agent wallet
/synergy-wallet-bridge, /synergy-wallet-connection-bridge Owner approvals and connection grants through Synergy Wallet Desktop
/testing Conformance suites for your own signers and stores

Not built yet: a host for running many agents in one process, and Express routers for payees.

Nothing outside core/ imports another module's internals directly — an architecture test enforces that boundary, so the dependency graph above is a guarantee, not a convention.


Configuration

  • environment is development, staging or production. It selects the built-in chain presets: development and staging on Base Sepolia, production on Base.
  • Contract addresses (VCAttestation, AgentRegistry) and chain IDs come from those presets; each chain option can override chainId, contract, agentRegistry and rpcUrl. Service URLs (discovery, relay, …) are always passed in.
  • Production mode refuses to start with the development-only local keystore signer or the development-only in-memory store. In production, an HTTPS listen also needs an explicit bind host and an explicit TLS posture.

Errors, retries and events

  • Every error extends one AgentSdkError base (code, retryable, cause) with a documented code.
  • The HTTP client retries only idempotent or idempotency-keyed calls, with jittered backoff, and honours Retry-After.
  • Events are callbacks: session.onMessage, agent.talk.onIncomingSession, agent.talk.onSessionClosed, payments.onPaymentResult.

Development

Requires Node.js 20 LTS or later.

npm ci
npm run build       # tsup — emits ESM and CJS
npm run lint
npm run typecheck
npm run check:boundaries   # the module-boundary architecture test

Test files are intentionally not part of this repository's history — they live in each contributor's working tree and are run locally (npm test) before every change is pushed. This is a deliberate convention across this organization's SDKs, not an oversight.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @synergetics.ai/agent-sdk

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229