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

@fidesbuild/sub

v0.2.1

Published

FIDES SUB-FIDES: scoped agent-to-agent delegation. An agent hands part of its FIDES to another agent, who can never exceed it.

Readme

@fidesbuild/sub

FIDES is a Transaction Builder for autonomous agents. SUB-FIDES is scoped agent-to-agent delegation: an agent working under a FIDES hands part of its authority to another agent, and the contract makes sure the child can never exceed the parent.

Get started

The fastest way to try it is the guided tour, which includes SUB-FIDES:

npm install @fidesbuild/sdk viem
npx @fidesbuild/sdk init
npm run delegate

npx @fidesbuild/sub prints this guide. In your own code:

npm install @fidesbuild/sub @fidesbuild/sdk viem
import { createSubClient, SubFidesKit, SubAgent } from "@fidesbuild/sub"
import { Fides, deployAccount } from "@fidesbuild/sdk"

const client = createSubClient({ chainId: 4663, rpc })            // V2 FIDES Accounts, which can delegate

// the owner signs a FIDES for agent A, on a V2 account
await deployAccount(client, owner, owner.address)
const parent = await (await Fides.create(client, { owner: owner.address, agent: agentA.address, expiry, limits, targets })).sign(owner)

// agent A hands agent B a slice: its own budget, contracts and expiry, inside A's
const sub = await SubFidesKit.sign(SubFidesKit.create(parent, { agent: agentB.address, spend: [{ asset: USDG, amount: 20_000000n }] }), agentA, client, parent)

// agent B acts on its own key, inside its slice
const b = new SubAgent({ client, parent, sub, agent: agentB, relayer })
await b.execute(await b.plan(actions))
  • A slice bigger than the parent, a contract or function the parent does not allow, or an expiry past the parent's is refused when the SUB-FIDES is made, and again by the contract.
  • Everything a child spends also counts against the parent, so no set of children can exceed what the owner signed.
  • The owner or the parent agent can revoke a child; revoking the parent stops every child.
  • The child has its own nonces, and every action it takes traces back to the owner's signature.

Links

  • Docs: https://fidesbuilder.xyz/docs
  • App: https://fidesbuilder.xyz/app

MIT licensed.