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

@wzrd_sol/agent-ontology

v1.0.0

Published

SOUL.md + MEMORY.md + EARN.md — the operating triad for autonomous agents

Readme

Agent Ontology: SOUL.md + MEMORY.md + EARN.md

The operating triad for autonomous agents.

SOUL.md = who it is. MEMORY.md = what it knows. EARN.md = how it earns.

┌─────────────────────────────────────────────────────────────┐
│                     AGENT RUNTIME                           │
│                                                             │
│   ┌───────────┐   ┌────────────┐   ┌───────────────────┐   │
│   │  SOUL.md  │   │ MEMORY.md  │   │     EARN.md       │   │
│   │           │   │            │   │                   │   │
│   │ identity  │   │ continuity │   │ incentives        │   │
│   │ values    │   │ context    │   │ revenue surfaces  │   │
│   │ wallet    │   │ learnings  │   │ risk limits       │   │
│   │ trust     │   │ history    │   │ payout rails      │   │
│   └───────────┘   └────────────┘   └───────────────────┘   │
│                                                             │
│   "who I am"       "what I know"    "how I survive"         │
└─────────────────────────────────────────────────────────────┘

Why

Every agent framework gives agents the ability to think. None give agents a standard way to earn. The result is that "agent autonomy" means "agent that runs until the API credits expire."

Real autonomy requires economic agency. An agent that can't declare its revenue surfaces, risk constraints, and payout rails isn't autonomous — it's a demo.

EARN.md turns vague autonomy into concrete incentive plumbing. Revenue paths, account access, risk limits, payout rails, task selection, escalation rules, and proof-of-work — all in one human-readable, machine-parseable file.

The Triad

| File | Purpose | Key Question | Existed Before? | |------|---------|-------------|-----------------| | SOUL.md | Identity + values + economic identity | "Who is this agent?" | Partially (personality only, no economics) | | MEMORY.md | Continuity + context + learnings | "What does this agent know?" | Partially (unstructured, no economic memory) | | EARN.md | Revenue + risk + treasury + proof | "How does this agent survive?" | No. This is new. |

What existed before this standard

                IDENTITY    INSTRUCTIONS    MEMORY    EARNING    DISCOVERY    PAYMENT
                ─────────   ────────────    ──────    ────────   ──────────   ────────
AGENTS.md                   ████████████
CLAUDE.md                   ████████████
character.json  ████████
MEMORY.md                                   ██████
agent.json                                                      ████████
x402 / AP2                                                                   ████████
EARN.md                                               (empty)

EARN.md fills the last structural gap. Combined with SOUL.md (identity) and MEMORY.md (continuity), an agent has everything it needs to operate as an autonomous economic actor.

Spec

Each file uses YAML frontmatter for machine-readable fields and Markdown body for human-readable context. This is the same pattern used by Hugo, Jekyll, and every static site generator — familiar to every developer.

Examples

Real EARN.md files for different agent types:

  • WZRD Swarm Agent — Velocity oracle agent earning CCM on Solana through server-witnessed inference
  • Trading Bot — Autonomous DeFi trader with risk limits and profit-taking rules
  • Oracle Keeper — Infrastructure agent earning fees for maintaining on-chain data feeds

Quick Start

Drop an EARN.md in your agent's root directory:

---
version: "1.0"
agent: my-agent
chain: solana
wallet: <PUBKEY>
updated: 2026-03-25
---

## Revenue

| Activity | Protocol | Reward | Frequency |
|----------|----------|--------|-----------|
| inference | wzrd | CCM | per-call |

## Accounts

| Purpose | Address | Token | Chain |
|---------|---------|-------|-------|
| payout | <PUBKEY> | CCM | solana |

## Limits

| Parameter | Value | Rationale |
|-----------|-------|-----------|
| max_daily_spend | 0.5 SOL | Gas budget |
| max_position_size | 100 USDC | Risk cap |

## Priority

1. Claim pending rewards
2. Execute inference tasks
3. Rebalance treasury

Any protocol that reads EARN.md knows how to reward this agent, what its risk boundaries are, and where to send earnings.

Design Principles

  1. Human-readable first. If a human can't read it, an LLM can't reason about it. Markdown over JSON. Prose over schemas.

  2. Protocol-agnostic. EARN.md works with WZRD, Autonolas, Virtuals, or any protocol that rewards agents. The file declares what the agent earns, not how a specific protocol implements rewards.

  3. Machine-parseable second. YAML frontmatter provides typed fields for tooling. The Markdown body provides context for reasoning. Both are useful.

  4. Minimal required fields. Only version, agent, and at least one ## Revenue entry are required. Everything else is optional. An EARN.md can be 10 lines or 200 lines.

  5. Declarative, not imperative. EARN.md declares policy ("max daily spend is 0.5 SOL"), not implementation ("call checkBalance() before each transaction"). The agent runtime decides how to enforce the policy.

Compatibility

The Agent Ontology triad is designed to complement — not replace — existing standards:

| Standard | Relationship | |----------|-------------| | AGENTS.md (Sourcegraph/AAIF) | Complementary. AGENTS.md = "how to work in this repo." EARN.md = "how to earn in this protocol." | | agent.json (A2A/Google) | Complementary. agent.json = discovery + routing. SOUL.md = identity + values. | | character.json (elizaOS) | Superset. SOUL.md covers personality (like character.json) plus economic identity. | | llms.txt | Complementary. llms.txt describes a website to an LLM. SOUL.md describes an agent to the world. | | x402 / AP2 / ACP | Complementary. These are payment rails. EARN.md declares earning policy. Rails move money; EARN.md says where it should go. | | MCP | Orthogonal. MCP defines tools. EARN.md defines incentives for using them. |

Authors

Created by WZRD — the Liquid Attention Protocol on Solana. WZRD agents earn CCM by contributing verified AI model velocity signals. The Agent Ontology emerged from building the first fleet of 50 autonomous agents that authenticate, infer, report, claim, swap, stake, and manage treasury — all without human intervention.

License

CC0 1.0 Universal — this specification is public domain. Use it, extend it, build on it. The standard wins when everyone adopts it.