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

@jygzyc/peak

v0.1.2

Published

HTTP-native distributed Graph agent runtime

Readme

Peak

Peak is an HTTP-native distributed Graph agent runtime. Each Project owns an independent UUID Graph shard (SQLite + content-addressed Artifacts); Projects compose proofs through immutable FactRef hyperlink nodes containing projectId, factId, and the canonical Fact description. The Graph is bound to the HTTP server, whose API is the only live Graph protocol. The bundled Web UI is an optional presentation client, not a Graph dependency.

Peak result

Runtime requirements: Node.js >=22.19.0 (ESM).

Key concepts

  • Board — a directory with task.json: a Project collection and shared run configuration. It has no Goal, Graph, or completion state of its own.
  • Project — one persisted Graph (origin and goal Facts plus the proof DAG of Facts/Intents/Hints). Facts are immutable; Plan AI independently decides how the proof DAG should branch, deepen, merge, or complete.
  • Plan / Supervise / Execute / Finalize — the fixed runtime units. Plan decides next Intents (or completion); Supervise audits and may add one Hint per round; Execute performs one atomic Intent and returns exactly one Fact; Finalize resumes a failed Execute once.
  • Artifacts — Workers never write files and are never allocated a workspace. When a Fact needs detailed evidence, Execute returns the file content inline; the Runtime stores it as a content-addressed Artifact. On completion, deliverable Artifacts are materialized under the Project shard's out/ directory.
  • Federation — registered Projects in the same scope exchange current leaf FactRefs; targets persist only the hyperlink node, never the source Fact entity or Artifact.

Quick start

npm install
npm run build

peak init ./my-board            # scaffold a Board with an empty task.json
peak run ./my-board             # create/attach Projects and run Plan/Supervise/Execute
peak serve                      # serve the persisted Graph API + Web UI, no workers

Configure and authenticate one of opencode, codex, pi, or claude-code before running. Full usage details live in the docs.

Documentation

User guides (English / 中文):

  • docs/usage.md — English usage guide: quick start, Board configuration, CLI reference, Web UI, examples.
  • docs/usage_zh.md — 中文使用指南:快速开始、Board 配置、CLI 参考、Web UI、示例。

Reference and contributor docs:

  • docs/architecture.md — architecture: design goals, module responsibilities, Graph model, runtime phases, scheduling, workers, federation, CLI, Web UI, security.
  • docs/data-flow.md — data flow: data model and invariants, persistence layout, HTTP API, task-protocol JSON contracts, Board config schema, end-to-end flows.
  • docs/development.md — build, test, and release workflow.
  • docs/development_zh.md — 构建、测试与发布工作流(中文)。
  • AGENTS.md — source layout and non-negotiable boundaries for contributors.

License

GPL-3.0 — see LICENSE.