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

@akashikprotocol/core

v0.2.0

Published

The reference SDK for the Akashik Protocol — shared memory and coordination for multi-agent AI systems.

Readme

@akashikprotocol/core

The TypeScript SDK for the Akashik Protocol — an open standard for shared memory in multi-agent AI systems.

This package is the Level 0 reference implementation of the Akashik Protocol Specification. v0.2 reaches full Level 0 conformance with selected Level 1 operations.

Status

Install

npm install @akashikprotocol/core

Quick Start

import { createField } from "@akashikprotocol/core";

const field = createField();

// Agents register with the field, declaring identity and role.
await field.register({
  id: "researcher",
  role: "researcher",
});

await field.register({
  id: "fact-checker",
  role: "researcher",
});

// Agents record observations with mandatory intent.
await field.write({
  entry: { topic: "competitor-pricing", price: "$49/mo" },
  intent: "documenting competitor pricing observed on g2",
  agent: "researcher",
});

await field.write({
  entry: { topic: "competitor-pricing", price: "$39/mo" },
  intent: "fact-checker correction after verifying competitor site directly",
  agent: "fact-checker",
});

// When a writer needs to act, they reckon with the field.
// Reckon returns relevant entries plus conflicts among them.
const result = await field.reckon({
  agent: "writer",
  topic: "competitor-pricing",
});

console.log(result.entries.length);
// => 2

console.log(result.conflicts);
// => [{ a: <researcher entry>, b: <fact-checker entry>, keys: ["price"] }]
//
// The protocol surfaces the disagreement. The writer decides what to do with it.

What this SDK provides

The protocol primitives, named with deliberate gravity:

  • register / deregister — agent lifecycle
  • write — record with mandatory intent (immediately committed)
  • draft / commit / discard — write with private review before publishing
  • retract — withdraw a committed entry (author only)
  • supersede — replace an entry with a newer one (any agent)
  • read — declarative query of the field state
  • attune — protocol-decided relevance ranking
  • reckon — attune plus conflict detection

Every operation crosses a standard message envelope. Intent is mandatory on every state change.

What v0.2 adds over v0.1

  • Standard message envelope
  • REGISTER and DEREGISTER with capability exchange
  • Relevance scoring with topic, role, recency, and intent quality components
  • max_units truncation; role parameter
  • Draft mode (private scratchpad before committing to the shared field)
  • Retract (author-only, idempotent)
  • Supersede with chain extension (any agent)
  • Reckon — conflict detection on mechanical key-value mismatch

What v0.2 does not yet do

  • Persistent storage (v0.3)
  • Event log / REPLAY (v0.3)
  • Full Lamport logical clocks (v0.3 — v0.2 uses a monotonic counter)
  • Confidence on RECORD (v0.3)
  • Vector embeddings or semantic relevance (v0.4, Level 2)
  • Transport bindings (v0.5, Level 3)

Documentation

Design philosophy

Three rules the protocol obeys:

  1. The protocol decides relevance and detects disagreement; the agent decides resolution. Akashik surfaces; the agent chooses what to do.
  2. Intent is mandatory. Every state-changing operation requires a non-trivial intent string. The protocol thesis is that intent makes multi-agent state legible.
  3. Mechanical now, semantic later. v0.2 detects conflicts mechanically. v0.4 adds semantic conflict reasoning. Each layer is shipped when it can be done honestly.

Examples

npm run example           # two-agents.ts — the v0.1 canonical example
npm run example:conflict  # conflict.ts — the v0.2 canonical example
npm run example:coding    # coding-agents.ts — multi-phase collaboration
npm run example:showcase  # protocol-showcase.ts — every capability

License

Apache 2.0.

Contributing

Issues and discussion at https://github.com/akashikprotocol/core.