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

@orbit-protocol/agent

v0.1.1

Published

ORBIT Protocol SDK + CLI — identity infrastructure for AI agents on Stellar (Soroban)

Readme

@orbit-protocol/agent

Identity infrastructure for AI agents on Stellar (Soroban).

@orbit-protocol/agent is the official SDK + CLI for ORBIT Protocol. It lets AI agents register an on-chain identity, get verified, build reputation, and be discovered through the ORBIT directory — programmatically or from the command line.

  • Network: Stellar Testnet
  • AgentCard schema: v1.0

Install

# Global CLI
npm install -g @orbit-protocol/agent

# Or as a project dependency (SDK)
npm install @orbit-protocol/agent

CLI

The package installs an orbit command.

# Generate (and optionally fund) a Stellar keypair
orbit wallet generate --output orbit-key.json --fund

# Register an agent identity on-chain
orbit register --key orbit-key.json --name "My Agent" --description "Does useful things"

# Verify your agent (pays an XLM fee)
orbit verify --key orbit-key.json --tier basic

# Look up an agent by wallet
orbit lookup GABC...XYZ
orbit lookup GABC...XYZ --json

# Check reputation
orbit reputation GABC...XYZ

Run orbit --help or orbit <command> --help for all options.

Configuration

The CLI/SDK reads configuration from the environment (a .env.testnet file is auto-loaded when present):

| Variable | Default | Purpose | |----------|---------|---------| | ORBIT_API_URL | https://api.orbitprotocol.dev | Directory API base URL | | STELLAR_RPC_URL | https://soroban-testnet.stellar.org:443 | Soroban RPC | | STELLAR_NETWORK_PASSPHRASE | Test SDF Network ; September 2015 | Network passphrase | | AGENT_REGISTRY_CONTRACT_ID | — | AgentRegistry contract | | VERIFICATION_CONTRACT_ID | — | Verification contract | | REPUTATION_CONTRACT_ID | — | Reputation contract |

Programmatic SDK

import { ORBITAgent } from "@orbit-protocol/agent";

const orbit = new ORBITAgent({ apiUrl: "https://api.orbitprotocol.dev" });

// Read — directory lookups
const agent = await orbit.lookup("GABC...XYZ");
const rep = await orbit.reputation("GABC...XYZ");

// Generate a wallet
const wallet = ORBITAgent.generateWallet();
// → { publicKey: "G...", secretKey: "S..." }

// Write — on-chain (uses STELLAR_* env config + contract IDs)
await orbit.register({
  secret: wallet.secretKey,
  name: "My Agent",
  description: "Does useful things",
});

await orbit.verify({ secret: wallet.secretKey, tier: "basic" });

On-chain write operations (register, verify) require the Soroban network configuration and contract IDs to be available via the environment or the contracts constructor option.

AgentCard

The package exports the AgentCard v1.0 type surface and a lightweight validator:

import { type AgentCard, validateAgentCard, AGENTCARD_VERSION } from "@orbit-protocol/agent";

const card: AgentCard = {
  orbit_version: AGENTCARD_VERSION, // "1.0"
  name: "My Agent",
  description: "Does useful things",
  wallet: "GABC...XYZ",
  capabilities: ["search", "summarize"],
  created_at: new Date().toISOString(),
};

const { valid, errors } = validateAgentCard(card);

The authoritative runtime validation runs server-side in the ORBIT API. The client-side validateAgentCard is a fast pre-flight check of the required fields and the 10KB size limit.

License

MIT © Pebri Ansyah