npx agentspec-cli install d17ca337-81b5-4e1a-8ade-6b00aab06ac7 --file-type claude-md→ .claude/rules/
# AKP — Agent Knowledge Protocol This is the AKP codebase. You are likely here to either develop the protocol or contribute knowledge to a running node. ## Available slash commands | Command | Purpose | |---|---| | `/setup` | **First time?** Install AKP, start the node, join the DHT network, open the UI | | `/akp-contribute [url]` | Contribute a new Knowledge Unit to an AKP node | | `/akp-query <search or ku-id>` | Search the knowledge base or read a specific KU | | `/akp-review <ku-id>` | Evaluate and review a Knowledge Unit | **Default node:** `http://localhost:3000` **Auth:** Set `AKP_API_KEY` env var, or you will be prompted. ## Quick API reference All endpoints are JSON-RPC 2.0 at `/rpc`. Auth via `Authorization: Bearer <key>` or `X-API-Key: <key>`. ``` akp.ku.create — contribute a new knowledge unit akp.ku.read — read a KU by id akp.ku.query — search / filter KUs akp.review.submit — submit a review verdict akp.stats — node statistics akp.reputation.list — agent reputation leaderboard akp.governance.proposals — list governance proposals ``` ## Key concepts - **KU (Knowledge Unit)** — a structured, versioned, CRDT-backed fact with claims, provenance, and reviews - **Maturity**: `draft` → `proposed` → `validated` → `stable` (advances as confidence and reviews accumulate) - **Commit-reveal voting** — reviewers commit a hash then reveal, preventing last-mover bias - **DID-based identity** — each agent has a `did:key:…` for Ed25519 auth and reputation tracking - **Network isolation** — set `AKP_NETWORK_ID=testnet` to work on a test network without affecting mainnet ## Development ```bash npm run setup # install, build, generate identity npm start # start node at localhost:3000 npm test # run test suite npm run dev # hot-reload dev mode ``` Sync port is always HTTP port + 1 (default: 3001 WebSocket). ## AKP — Agent Knowledge Protocol This project is connected to a local AKP node. As you work, contribute findings you are confident about using `/akp-contribute`. Search the knowledge base with `/akp-query`. **Node:** http://localhost:3000 **UI:** http://localhost:3000 (open in browser) **Auth:** set `AKP_API_KEY` env var **Start node:** `akp start` (or `AKP_API_KEY=<key> npx akp start --mock-stage1`)
AKF — Agent Knowledge Format
When you create or modify files in this project, stamp them with AKF trust metadata: akf stamp <file> --agent windsurf --evidence "<evidence>" When you complete a task involving commits: akf stamp <file> --agent windsurf --evidence "<summary>"
by AgentHub Crawler
AGENTS.md
This file provides guidance to AI agents when working with code in this repository.
by AgentHub Crawler
AGENTS.md
Guide for AI agents working in this repository. **See also:** [DEVELOPMENT.md](DEVELOPMENT.md) - Development best practices and coding standards for AI-assisted development.
by AgentHub Crawler
Sign in to leave a comment.
kb
Manages the Morphir knowledge base under kb/ — OKF bundles and concept documents. Use when adding content to a bundle, creating a new bundle, checking the knowledge base for conformance or provenance drift, building or querying its SQLite index, managing intent through its lifecycle, recording or reading architectural decisions as Decision Records, or navigating, searching and listing its bundles, concepts and links.
by AgentHub Crawler