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

agentic-dna

v0.9.1

Published

Governance and knowledge system for AI agent fleets

Readme

🧬 Agentic DNA

CI License: Apache-2.0 npm: agentic-dna npm: openclaw-dna npm downloads

Governance and knowledge system for AI agent fleets.

Agentic DNA provides a structured governance layer for multi-agent systems — defining agent identity, enforcing policies, managing shared knowledge, and ensuring consistency across an entire fleet of AI agents.

Features

  • Agent Identity (dna.yaml) — Goal, boundary, tools, and deprecation specs per agent
  • Philosophy DB — Universal principles shared across all agents
  • Convention DB — Actionable rules (global or workspace-scoped)
  • Toolbox — Shared CLI/tool documentation
  • Architecture Paradigms — Git/CI/deploy level management
  • Adaptive Cron — Dynamic frequency adjustment
  • Policy Injection — Automatic cron and interactive session policies
  • Directive Expansion{{dna ...}} directives in bootstrap files

Requirements

  • Node.js >= 18

Install

CLI Only (standalone)

npm install -g agentic-dna
dna init                    # Initialize data directory
dna help

OpenClaw Plugin

openclaw plugins install openclaw-dna
openclaw gateway restart

From Source

git clone https://github.com/exisz/agentic-dna.git
cd agentic-dna
pnpm install
npm link                    # Makes 'dna' command available globally
dna init

CLI

dna init                       # Initialize data directory
dna spec <agent>               # View agent spec (goal/boundary/tools)
dna philosophy <slug>          # View a philosophy entry
dna philosophy --list          # List all philosophies
dna convention <slug>          # View a convention
dna convention --list          # List all conventions
dna tool ls                    # List tools in the toolbox
dna tool <name>                # View tool GBTD
dna hydrate --all              # Expand all {{dna}} directives
dna cron up <id>               # Increase cron frequency
dna cron down <id>             # Decrease cron frequency
dna protocol --list            # List protocol paradigms
dna skill ls                   # List manual skills
dna search <query>             # Semantic search over the mesh (local ONNX embeddings)

Any unrecognized subcommand automatically falls through to dna tool <name>, so registered toolbox entries work as top-level commands (e.g. dna agentbasedna tool agentbase).

Search

Two complementary commands:

  • dna find <pat> — fast substring match on node id + title. Use for known IDs.
  • dna search <query> — semantic search using local ONNX embeddings. Use for natural-language queries.
dna search "test before code"
# 42% → dna://philosophy/test-driven ("Test-Driven — Tests Before Code")

dna search "knowledge retrieval" --type philosophy
dna search "graph traversal" --top 10 --json
dna search --status      # index info (size, entries, by type)
dna search --reindex     # force full re-embed

The model (Xenova/all-MiniLM-L6-v2, ~22MB) downloads once on first use to ~/.cache/huggingface/. Embeddings are stored at <DNA_DATA>/.embeddings.json (≈3MB for 389 nodes). dna mesh scan re-embeds only changed nodes; everything is offline after first download.

Development

# One-shot: build → install → restart gateway
make dev

# Just build (no install)
make build

# Build + install (no restart)
make install

# Clean build artifacts
make clean

Repository Structure

This is a monorepo that publishes two npm packages from a single repository:

| Package | Description | |---------|-------------| | agentic-dna | The standalone dna CLI tool | | openclaw-dna | The OpenClaw plugin (source: openclaw/index.ts) |

agentic-dna/
├── bin/
│   └── dna                   # CLI entry — routes all `dna` subcommands
├── lib/                      # Shared CLI implementation modules
│   └── expand.ts             # {{dna}} directive expansion
├── openclaw/                 # OpenClaw plugin — published as `openclaw-dna` npm package
│   ├── index.ts              # Plugin entry: policy injection + directive expansion
│   ├── dist/                 # Build output (run `cd openclaw && pnpm build`)
│   ├── skills/               # Bundled AgentSkills
│   ├── package.json          # openclaw-dna package manifest
│   └── openclaw.plugin.json  # OpenClaw plugin descriptor
├── scripts/                  # Utility/build scripts
└── test/                     # Tests

Note for OpenClaw users: The openclaw-dna plugin source lives here at openclaw/index.ts. There is no separate openclaw-dna repository — both packages are developed and released from this repo.

Project Structure

agentic-dna/
├── bin/              # CLI entrypoint
│   └── dna           # Router script
├── scripts/          # CLI tools (TypeScript)
├── lib/              # Shared modules
│   └── expand.ts     # {{dna}} directive expansion
└── openclaw/         # OpenClaw plugin (npm: openclaw-dna)
    ├── package.json
    ├── openclaw.plugin.json
    ├── index.ts      # Plugin entry — policy injection + directive expansion
    └── skills/       # Bundled AgentSkills

License

Apache-2.0