monorepo
Verifiable onchain memory for trustless AI agents
Install / Use
claude mcp add mnemonik-xyz -- npx -y github:mnemonik-xyz/monorepoIf the server publishes to npm under a different name, use that package instead β check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of monorepo
monorepo scores 74/100 on our quality scale, 3709th of 4,588 Development & Engineering skills we index.
Its MCP Server is 11 KB long, well organised into 21 sections with 7 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated today, so monorepo is actively maintained.
- Our last check on 2026-09-12 found the source still online.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 87/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit β read the skill file before letting an agent act on it.
monorepo compared with similar skills
All 4 of these similar skills score higher than monorepo; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| monorepo (this skill)by mnemonik-xyz | 74 | 3 | today | MCP Server |
| Agent-Reachby Panniantong | 100 | 95.7k | 3d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 75.0k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.3k | today | CLAUDE.md |
| ai-job-searchby MadsLorentzen | 100 | 46.0k | 2d ago | CLAUDE.md |
Frequently asked questions
- How do I install monorepo?
- Run
claude mcp add mnemonik-xyz -- npx -y github:mnemonik-xyz/monorepo. The install tabs above show the steps for each supported agent. - Which AI agents does monorepo work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is monorepo safe to use?
- It is Apache-2.0-licensed and scores 87/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is monorepo still maintained?
- The repository was last updated today, so monorepo is actively maintained.
Skill content
View source on GitHubMnemonic Protocol
Verifiable, persistent memory for AI agents β signed, anchored on Solana, exposed over MCP.
Live: mnemonik.xyz Β· Hosted MCP: https://mcp.mnemonik.xyz/mcp Β· Discord: discord.gg/ws6wruJj
Docs: Quickstart Β· Whitepaper Β· How it works Β· Comparisons Β· AGENTS.md
# Recommended: pair with the webapp (open mnemonik.xyz/install, click
# "Send to CLI", paste the ticket UUID below):
npx @mnemonik-xyz/cli init --ticket <uuid> && npx @mnemonik-xyz/cli login && npx @mnemonik-xyz/cli sign "first memory"
# Or standalone (CLI-only, no webapp pairing):
npx @mnemonik-xyz/cli init --standalone && npx @mnemonik-xyz/cli login && npx @mnemonik-xyz/cli sign "first memory"
Mnemonic gives an AI agent a persistent and verifiable artifact/memory layer: signed memories that can be semantically recalled, independently verified, and optionally anchored on-chain.
Introduction
AI agents forget. Conversations, decisions, and learned context vanish between sessions, and when they do survive, there is no way for anyone else to verify what the agent actually remembered or claimed.
Mnemonic Protocol is a verifiable memory layer for AI agents. Every memory an agent saves is:
- Semantically embedded so it can be recalled by meaning, not by keyword.
- Compressed with TurboQuant so embeddings travel cheaply across systems.
- Canonicalized to deterministic CBOR and hashed with blake3, so the same content always produces the same fingerprint.
- Signed as a COSE_Sign1 artifact with the server's Ed25519 identity, so authorship is cryptographically provable.
- Optionally anchored on Arweave (durable storage) and Solana (timestamped anchor), so third parties can independently verify the memory existed at a point in time β without trusting the agent or its operator.
The protocol is exposed through the Model Context Protocol (MCP), so any MCP-compatible client β Claude, Cursor, custom agents β can use it as a drop-in memory backend over HTTP or stdio.
Why it matters
- Persistent memory across sessions and models. A memory signed by one agent is readable and verifiable by any other.
- Verifiable claims. When an agent says "I remembered X on date Y," that claim can be checked against an on-chain anchor and a signed artifact β not just taken on faith.
- Portable. Artifacts are self-describing (typed schema, canonical encoding, embedded compression metadata) and can be rehydrated anywhere.
- Offline-first. Runs fully locally in
localmode (SQLite only, no chain, no payment) for development and demos; flips tofullmode when you want durable external anchoring.
Repository layout
This is a Cargo workspace with two crates:
core/ # mnemonic-core β library: codec, identity, embed, compress, storage, solana, arweave, lineage
mcp/ # mnemonic-mcp β binary: MCP server (HTTP + stdio), payment gate, pricing engine
work/ # active features / bugs (spec-driven work)
.claude/
βββ skills/
βββ project-knowledge/ # architecture, patterns, deployment docs for AI agents
CLAUDE.md
Cargo.toml
The MCP server is the user-facing entrypoint. The core library is where the protocol primitives live.
Foundational research
Mnemonic builds on the Mnemonic Protocol Foundational Paper, which motivates the project's core thesis: agent memory must be semantic, attributable, and operationally cheap. Deeper protocol design notes live in docs/research/.
Quick start
Requires Rust stable.
# build
cargo build --release
# run the MCP server over HTTP (local storage mode, no blockchain, no payment)
STORAGE_MODE=local PAYMENT_MODE=none \
./target/release/mnemonic-mcp --transport http --port 3000
# or over stdio (for local MCP clients)
./target/release/mnemonic-mcp --transport stdio
Health check:
curl http://localhost:3000/health
Test MCP handshake:
curl -s http://localhost:3000/mcp \
-H 'content-type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize"}'
Run the test suite:
cargo test --workspace
Enable local ONNX embeddings (fastembed) when you want real semantic recall:
cargo build --release --features local-embed
MCP tools
The server exposes 5 tools over JSON-RPC at POST /mcp (and stdio):
| Tool | Purpose |
|---|---|
| mnemonic_whoami | Server identity (Ed25519 pubkey, DIDs, storage mode, attestation count) |
| mnemonic_sign_memory | Embed + compress + canonicalize (CBOR) + hash (blake3) + sign (COSE_Sign1) + persist |
| mnemonic_verify | Verify a memory by solana_tx and/or arweave_tx (version-aware) |
| mnemonic_prove_identity | Sign an arbitrary challenge with the server key |
| mnemonic_recall | Semantic search over stored embeddings (SQLite) |
Current artifact format: canonical CBOR + COSE_Sign1, blake3 hashing. Older SHA-256/JSON artifacts are still verifiable via a legacy fallback path.
Programmatic access
Two npm packages let you drive the same hosted MCP server without writing your own JSON-RPC client. Both reuse the OAuth 2.1 + PKCE handshake and the COSE_Sign1 signing substrate that the Cursor / VS Code / Claude.ai connectors and the webapp use β only the renderer differs.
@mnemonik-xyz/cliβmnemonicbinary for terminal use. Recommended setup: openmnemonik.xyz/installβ click "Send to CLI" βmnemonic init --ticket <uuid> && mnemonic login && mnemonic sign "hello". Standalone mode (mnemonic init --standalone) is also available for CLI-only use.@mnemonik-xyz/sdkβ runtime-agnostic TypeScript SDK (MnemonicClient,LocalSigner,Keypair, OAuth helpers). Pure ESM; runs on Node 20+, Bun, Deno, and modern browsers.
Storage modes
Selected via STORAGE_MODE:
local(default) β SQLite only. No Solana / Arweave writes, no payment gate. Synthetic tx ids (local:...). Ideal for dev, demos, and UX testing.fullβ signed COSE bytes written to Arweave, anchor memo written to Solana, searchable embeddings kept in SQLite. Payment gate applies on HTTP when enabled.
full deployments also select an anchoring environment with
ANCHORING_NETWORK:
mainnet(default) β uses the production Irys upload endpoint and the operator-selected mainnet-compatible read gateway/RPC.devnetβ test-only anchoring. MCP permits onlySOLANA_RPC_URL=https://api.devnet.solana.comandIRYS_GATEWAY_URL=https://devnet.irys.xyz, then selects Irys Devnetβs upload endpoint internally. A production or custom endpoint causes startup to fail rather than risk a billable upload.
Irys Devnet artifacts are disposable test data; do not use this mode for durable user memory.
Payment modes (HTTP only, full mode only)
PAYMENT_MODE β none | balance | x402 | both.
balanceβAuthorization: Bearer mnm_<key>, balance checked against the live pricing engine quote and reserved before execution.x402β first request returns HTTP 402, retry withX-Payment: {"tx_sig":"...","network":"solana-mainnet"}.
Only mnemonic_sign_memory is paid. Deposits are validated against the treasury pubkey + USDC mint + signer ownership on the tx.
Configuration
All configuration is env-driven (mcp/src/config.rs). The most relevant variables:
| Variable | Default | Purpose |
|---|---|---|
| MCP_TRANSPORT | http | http or stdio |
| MCP_HTTP_HOST / MCP_HTTP_PORT | 0.0.0.0 / 3000 | HTTP listener |
| STORAGE_MODE | local | local or full |
| MNEMONIC_KEYPAIR_PATH | ~/.mnemonic/id.json | Server Ed25519 identity |
| DATABASE_PATH | ~/.mnemonic/attestations.db | SQLite path |
| EMBED_PROVIDER | fastembed | fastembed | openai | hash (tests only) |
| OPENAI_API_KEY / OPENAI_EMBED_MODEL | β | When using OpenAI embeddings |
| TURBO_BITS | 4 | TurboQuant bit width (2/3/4) |
| ANCHORING_NETWORK | mainnet | mainnet or fail-closed test-only devnet |
| SOLANA_RPC_URL / IRYS_GATEWAY_URL | localhost | External anchoring endpoints (full mode); ARWEAVE_URL is a legacy fallback for the gateway only |
| PAYMENT_MODE | none | none | balance | x402 | both |
| TREASURY_PUBKEY / USDC_MINT | β / mainnet USDC | Payment routing |
| SIGN_MEMORY_COST_MICRO_USDC | 1000 | Floor price for sign-memory |
| PRICE_REFRESH_SECS / PRICING_MARGIN_BPS | 1800 / 2000 | Dynamic pricing engine |
Copy .env.example to .env to start.
Development workflow
This project uses a spec-driven flow with AI agents:
- User Spec β what and why (in
work/<feature>/user-spec.md) - Tech Spec β how (architecture, decisions, testing)
- Tasks β atomic decomposition of the tech-spec
- Implementation β agent-executed, reviewed per wave
Active work lives in work/. Completed features are archived under work/completed/.
Agent guidance and project knowledge for this repo live in .claude/skills/project-knowledge/ and CLAUDE.md.
Default branch: dev.
Further reading
Deeper specification and API docs are maintained in the sibling mnemonic-protocol documentation repo:
docs/versions/v0.0.3/SPEC.mdβ full technical specdocs/versions/v0.0.3/API.mdβ MCP + management REST referencedocs/IMPLEMENTATION_STATUS.md/IMPLEMENTATION_AUDIT.mdβ current implementation truthdocs/adr/ADR.md,docs/research/*β design rationale and research lineage
Community
- GitHub Discussions β long-form Q&A and design proposals.
- Discord β discord.gg/ws6wruJj
- Issues β file bugs at github.com/mnemonik-xyz/monorepo/issues. For security reports see
SECURITY.mdβ do not file public issues for vulnerabilities.
Before contributing, please read CONTRIBUTING.md and CODE_OF_CONDUCT.md.
License
Apache License 2.0 β see LICENSE for the full text. By contributing you agree your contribution is licensed under the same terms (inbound = outbound). No CLA required.
Related Skills
Agent-Reach
95.7kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu β one CLI, zero API fees.
headroom
75.0kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.3kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
ai-job-search
46.0kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit β see the Safety scan above for what the skill file itself contains.
