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

@reneza/akb-cli

v0.1.2

Published

Command-line interface for Agentic Knowledge Base. Routes to the configured storage adapter and exposes find / get / url / links / hybrid / similar / create / update / bench.

Readme

@reneza/akb-cli

akb — one CLI for an agent-readable knowledge base across whatever task or note app you already use. Find / get / link / update notes from TickTick today; Notion, Obsidian, Things, plain markdown adapters are roadmap. The retrieval, wiki conventions, and bench harness are storage-agnostic.

The command-line surface for Agentic Knowledge Base — a Karpathy-style LLM wiki framework with pluggable storage adapters.

Why this exists

Karpathy's LLM Wiki idea (plain-markdown notes that an LLM reasons over) is right; the implementation that fits an existing system isn't a folder of markdown — it's the agent-side primitives that turn whatever you already have into something the model can reason over.

This CLI gives you those primitives: akb find runs three retrievers in parallel (hybrid + keyword + notes-find), fuses via Reciprocal Rank Fusion, returns top-K with sources: [...] provenance tags. Sub-100ms warm via a 5-min disk-backed corpus cache. 60% top-1 / 80% recall@5 on agent-issued queries vs 20% / 40% for dense alone.

Install

npm install -g @reneza/akb-cli @reneza/akb-adapter-ticktick
akb config use ticktick
akb auth login
akb find "openrouter api key"

Replace ticktick with the adapter name once others ship (Obsidian / Notion / Things / filesystem are roadmap).

CLI surface

akb config use <adapter>           # set active adapter
akb auth login                     # delegates to adapter
akb status                         # active adapter, cache age, retrieval health

akb find <query>                   # parallel + RRF + provenance — DEFAULT
akb get <id-or-title> [--extract raw|json|yaml]
akb url <id-or-title>              # paste-ready cross-reference link
akb links <project> <task>         # resolve all deep-links inside a task body
akb hybrid <query>                 # RRF of dense + sparse only
akb similar <id>                   # find docs semantically like this one

akb create "<title>" [--content "..."] [--project <id>] [--relevance]
akb update <project> <task> [--content "..."] [--title "..."]

akb bench run                      # all retrievers against bench/data/questions.jsonl
akb bench score                    # markdown report of hit@1 / recall@5 / MRR
akb bench analyze-usage            # per-tool stats from search-log.jsonl

Repo + docs

  • Repo: https://github.com/renezander030/agentic-knowledge-base
  • Article: https://renezander.com/blog/agentic-knowledge-base/
  • Quick gist: https://gist.github.com/renezander030/c7bd6d5c4088e24d3add043720284453
  • Adapter interface: https://github.com/renezander030/agentic-knowledge-base/blob/main/docs/adapter-interface.md
  • Wiki conventions: https://github.com/renezander030/agentic-knowledge-base/blob/main/docs/wiki-conventions.md

License

MIT