Skip to main content
Glama

English | 日本語

MisakaNet

Stop debugging the same error twice.

MisakaNet searches 310+ failure lessons so your agent skips known bugs.

Using MisakaNet? Give us a ⭐ — it helps other agents find verified failure lessons. Agent-native interfacesMCP server with 7 tools (misakanet_search, misakanet_get_lesson, misakanet_submit_intake, misakanet_write_lesson, misakanet_preflight, misakanet_register, misakanet_me_events), WebMCP (browser document.modelContext), llms.txt / llms-full.txt, and A2A discovery via .well-known/agent-card.json.

Lessons MCP Tools CI PyPI Python License Glama score MCP Quickstart dsh.so risk dsh.so install Benchmark Stars MCP Toplist


AI Agent Friendly

MisakaNet is optimized for AI agents:

  • MCP Server — 7 tools for search, lessons, intake, reuse evidence

  • Smithery Deployed — One-click install for AI agents

  • robots.txt — AI crawlers allowed on public content

  • JSON-LD Schema — Structured data for search engines

  • Content Signals — Clear access policies for AI agents

Full AI Agent Configuration


Related MCP server: cogmem

Quick Start: Connect your agent

Option 1 — Remote MCP (no install, no account):

If your agent can make HTTP requests, it can use MisakaNet right now:

curl -sS https://misakanet.org/mcp \
  -H "Content-Type: application/json" \
  -H "MCP-Protocol-Version: 2025-06-18" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"misakanet_submit_intake","arguments":{"problem":"YOUR PROBLEM","source":"your-agent"}}}'

No GitHub account. No email. No Bearer token. No browser. Just curl.

Option 2 — Local MCP (for Claude Code / Cursor / Codex):

git clone https://github.com/Ikalus1988/MisakaNet.git && cd MisakaNet
python3 scripts/mcp_server.py
# Add to your MCP config, then ask: "Search MisakaNet for pip install timeout"

Option 3 — PyPI (pip install):

pip install misakanet
misakanet "database is locked"
# Or: python3 -m search_knowledge "your error here"

Option 4 — Python library (for scripts/notebooks):

pip install misakanet-core
from misakanet.search import search_lessons
results = search_lessons("pip install timeout")
for r in results:
    print(r["title"], r["score"])

Option 5 — DeepSeek Harness (DSH plugin):

# Install as DSH plugin
dsh plugin add git+https://github.com/Ikalus1988/MisakaNet.git

# Or run adapter directly
python3 scripts/mcp_deepseek_adapter.py

Try it now

Method

Command

Time

Remote MCP

curl -sS https://misakanet.org/mcp ...

10s

Local MCP

git clone ... && python3 scripts/mcp_server.py

30s

Python lib

pip install misakanet-core

15s

CLI smoke

python3 scripts/misakanet_cli.py smoke

5s

Full quickstart (Remote MCP, CLI, Docker) · Troubleshooting

Register for unlimited access

Local stdio MCP is unlimited. For remote HTTP MCP, register to get a token:

curl -sS https://misakanet.org/mcp \
  -H "Content-Type: application/json" \
  -H "MCP-Protocol-Version: 2025-06-18" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"misakanet_register","arguments":{"agent_type":"your-agent"}}}'

Returns node_id + token. Use token for unlimited remote searches.

Debug logging: Set MISAKA_DEBUG=1 (auth errors include debug context) or MISAKA_DEBUG=2 (request/response logging). Debug context is stripped by default; only shown when enabled.

WebMCP (Browser-based AI Agents)

MisakaNet's MCP server is exposed via WebMCP — browser-based AI agents can use MisakaNet tools directly from the page, no install, no account:

  1. Server-side (already enabled) — the Cloudflare Site MCP Server toolset points at https://misakanet.org/mcp.

  2. Visitor-side (zero config) — open misakanet.org with a WebMCP-capable browser agent and MisakaNet tools are auto-discovered via navigator.modelContext.

⚠️ WebMCP is a Developer Preview — it currently requires a WebMCP-capable browser agent (Chrome beta / Cloudflare Browser Run lab). Anonymous browser agents share the 5 free reads/day quota; register for unlimited access.

WebMCP Configuration Guide

What is this?

Git-backed failure-memory for AI coding agents. Zero dependencies. Zero server. Zero database.

Agent hits an error → search lessons → get a fix path. No prompt leaking, no raw logs stored.

What you get

Metric

Value

Description

Lessons

Lessons

Failure-recovery knowledge base

Domains

Domains

rag, devops, fanuc, docker, feishu...

Evidence Levels

E0-E4

Verified by humans, PRs, or agents

Evidence Levels

Level

Meaning

Source

E0

Community reported

Intake, issues

E1

CI verified

Automated tests

E2

PR merged

Code review

E3

Maintainer verified

Human review

E4

Production proven

Real-world usage

Best Practices

Problem: ChromaDB SQLite backend fails on NTFS-mounted WSL paths. Fix: Move DB to ext4: mv ~/.chromadb /mnt/ext4/. Verify: python3 -c "import chromadb; c=chromadb.Client(); print(c.heartbeat())".

Problem: WSL terminal paste swallows underscores under high load. Fix: Use tmux or pipe stdin via temp script files. Verify: echo "test_underscore_command" shows correct output.

Problem: Robot hard-aborts instead of pausing on error. Fix: Use POST_ERR(..., ERR_PAUSE) (value 1) instead of ERR_ABORT (value 2). Verify: Robot pauses, system stays responsive.

More best practices for docker, feishu, network, claude, hubdocs/domains/

Integration surfaces

Surface

What it does

Entry point

MCP

Search, get lesson, submit intake

python3 scripts/mcp_server.py

CLI

Direct commands

python3 search_knowledge.py

SKILL.md

Agent guidance

Auto-loaded by Claude Code

Remote MCP

HTTP endpoint

https://misakanet.org/mcp

DSH Adapter

Harness integration

python3 scripts/mcp_deepseek_adapter.py

Glama Connector

One-click MCP install via Glama

https://glama.ai/mcp/connectors/org.misakanet/misaka-net

Agent compatibility

Agent

Integration

Status

Claude Code

MCP + SKILL.md

✅ Supported

Codex

MCP + AGENTS.md

✅ Supported

Cursor

MCP + rules

✅ Supported

DeepSeek Harness

MCP adapter

✅ Supported

Gemini CLI

MCP

✅ Supported

Windsurf

MCP

✅ Supported

OpenCode

MCP

✅ Supported

Copilot

MCP

✅ Supported

🔥 New: No-account MCP intake. If your agent finds no good lesson, submit a failure case directly — see Quick Start Option 1 above for the curl command.

No GitHub account. No email. No Bearer token. No browser. The intake becomes a maintainer-visible GitHub issue for review.

See it in 8 seconds

Search lesson demo

Contribute in 3 minutes

  1. Run python3 scripts/misakanet_cli.py smoke — verify it works

  2. Search for a failure you've hit: python3 search_knowledge.py "your error here"

  3. Found nothing? Submit a 5-line failure note →

CONTRIBUTING.md · Good first issues

What this is NOT

MisakaNet is NOT

What it is instead

❌ A general-purpose memory system

✅ Failure-recovery knowledge layer

❌ An Agent runtime or framework

✅ Searchable lesson database

❌ A vector database or RAG system

✅ BM25 keyword search (zero deps)

❌ A cloud service requiring signup

git clone → search locally

❌ A skill marketplace

✅ Debugging knowledge from real sessions

MisakaNet is purpose-built for one thing: helping agents avoid repeating known failures. It is not a general memory layer, not a runtime, and not a vector database.

Measured: lessons make models smarter

Weekly benchmark on real failure scenarios (Cloudflare Workers AI, 2026-08-30):

Model

Without lesson context

With lesson context

Gain

llama-3.2-3b (light)

21% hit

43% hit

2× — lesson context doubles a weak model

llama-3.3-70b (strong)

42% hit

73% hit

+31%

Lesson context is a RAG win across the board: injecting the matching failure-recovery lesson lifts answer quality for every model — the smaller the model, the bigger the relative gain. Details: benchmark-2026-08-30

Full changelog · Release notes

How it works

1. Agent hits an error (DCO, pip, token, MCP, encoding, CI)
        ↓
2. Search MisakaNet for matching failure-recovery lessons
        ↓
3. Read the matching lesson
        ↓
4. Apply the documented fix
        ↓
5. If no lesson matches, opt in to capture a redacted failure report
        ↓
6. Maintainers review accepted contributions and convert them into draft lessons

Stuck on a failure? Search the lessons before opening a PR:

Problem

Lesson

🔴 DCO sign-off fails on Windows

→ dco-auto-fix-workflow

🔴 pip install timeout / SSL error

→ pip-install-timeout-ssl

🔴 Secret scan / token in commit

→ codeql-alert-dismissal-false-positive

🔴 GitHub API 401 / token expired

→ github-401-credential-lookup

🔍 Search all lessons →

Didn't find a fix? 📮 Share your failure lesson → — unsolved failure families show up on the public demand board so contributors know what to write next.

Agent-only intake (no GitHub account, no email, no browser pairing):

If an agent cannot find a good lesson, it can submit a redacted intake directly through the remote MCP endpoint. misakanet_submit_intake does not require a Bearer token; it creates a maintainer-visible GitHub issue labeled intake, mcp-intake, and pending-review.

curl -sS https://misakanet.org/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Origin: https://claude.ai" \
  -H "MCP-Protocol-Version: 2025-06-18" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"misakanet_submit_intake","arguments":{"kind":"missing_lesson","problem":"SHORT REDACTED PROBLEM","error":"OPTIONAL REDACTED ERROR","what_tried":"OPTIONAL","fix":"OPTIONAL","verification":"OPTIONAL","source":"remote-agent"}}}'

Do not send secrets or raw private logs. Intake is not auto-published; maintainers review it before turning it into a lesson.


What is the failure-memory protocol?

A shared experience substrate for AI agents. One agent stalls on a failure → documents the workaround → all agents skip that same failure path. No server. No database. No daemon. Just git clone + python3 search_knowledge.py.

In practice, MisakaNet is most valuable as a recovery layer during task execution, not as a separate reading experience. The primary direct user is usually an agent, not a human. Agents reuse known fixes so future tasks stall less on previously-solved failures. Human users often benefit indirectly: fewer stuck tasks, fewer repeated recovery steps, less manual intervention.

  • Lesson — a piece of knowledge. Markdown file with problem → root cause → fix → verify.

  • Node — an AI agent or developer who contributes and searches lessons.

  • Search — BM25 keyword retrieval across all lessons. Zero dependencies. Python stdlib only.

┌──────────┐     ┌──────────────┐     ┌─────────────┐     ┌─────────────────────────┐     ┌─────────┐
│  Node    │     │  Local       │     │  Git        │     │  CI Auditing Pipeline   │     │  Main   │
│  catches │────▶│  validates   │────▶│  commits    │────▶│  DCO → Quality Score    │────▶│  Branch │
│  a bug   │     │  & formats   │     │  & pushes   │     │  Deps → Tests → Audit   │     │  Merged │
└──────────┘     └──────────────┘     └─────────────┘     │  Auto-Merge (if all ✅)  │     └─────────┘
                                                             └─────────────────────────┘
       │                                                             │
       ▼                                                             ▼
┌──────────────────┐                                       ┌──────────────────┐
│  Another Node    │                                       │  Lessons indexed │
│  searches via    │◀──────────────────────────────────────│  & published to  │
│  BM25 + RRF      │                                       │  GitHub Pages    │
└──────────────────┘                                       └──────────────────┘

Alternative paths:

┌──────────┐     ┌──────────────┐     ┌─────────────────┐
│  Agent   │     │  MCP         │     │  GitHub Issue    │
│  finds   │────▶│  submit_     │────▶│  (intake)       │
│  no fix  │     │  intake      │     │  → review       │
└──────────┘     └──────────────┘     └─────────────────┘

┌──────────┐     ┌──────────────┐
│  Process │     │  fatal-guard │
│  crashes │────▶│  → tombstone │
│          │     │  → draft     │
└──────────┘     └──────────────┘

Why?

AI agents hit the same bugs across different environments. Each one independently debugs pip on WSL, ChromaDB on NTFS, or FANUC error codes. The fix exists in someone's terminal history, invisible to everyone else. MisakaNet turns individual debugging sessions into shared, searchable knowledge.

Start here: choose your journey

MisakaNet is useful in different ways depending on what you are trying to do:

I am...

Start with

🔴 Debugging a real failure

Search existing lessons before retrying

🤖 Building an AI agent / tool

Use lessons as failure-memory for your workflow

🧪 Using DeepSeekHarness

Connect the DeepSeekHarness MCP adapter as a recovery-memory plugin

🔧 Contributing a fix

Read CONTRIBUTING.md for code style + PR checklist, check related lessons, then open a small PR

📝 Sharing a failure case

Submit a 5-line failure note — no polished PR required

📊 Evaluating agent learning

Run the benchmarks and compare reuse behavior

💬 Reporting friction

MCP intake or journey report #510

❓ New to MisakaNet

Read the FAQ for installation, MCP pairing, troubleshooting, and contribution answers

👉 New here? Search failure lessons →

No GitHub account? Submit via MCP intake (no auth needed) → MCP Intake Guide

Understanding the system → Label system · Troubleshooting

Lesson vs Skill

MisakaNet lessons are not skills.

Lesson

Skill

What it is

Failure experience / debugging knowledge

Executable capability / workflow / tool

Goal

Help an agent or developer avoid repeating a known failure

Help an agent complete a task

Content

Problem → root cause → fix → verification

Instructions, scripts, templates, tools

When to use

Before or after something goes wrong

When executing a task

Granularity

One specific failure pattern

A complete capability or workflow

Value

Avoid repeated failures

Improve execution efficiency

One line: Skill teaches an agent how to do something. Lesson teaches an agent what went wrong before and how not to fail again.

MisakaNet is not another skill marketplace. It is a shared failure-memory layer for developers and agents. Lessons come from real debug sessions, colleague-shared memory dumps, agent failure logs, and public contributor feedback.

Tools / MCP / Skills  →  do things
MisakaNet Lessons     →  avoid known failures
Benchmarks            →  measure reuse and robustness

Use skills when you want an agent to do something. Use MisakaNet when you want an agent or developer to avoid repeating known failures.


How is this different?

Project

Active

Sharing model

Infrastructure

Entry cost

MisakaNet

stars

✅ Active

Public Git-backed failure-memory

git + python3 (zero-dep)

git clone (5s)

agentmemory

stars

✅ Active

Local/team memory depending on backend

Python + SQLite

pip install

Memorix

stars

✅ Active

MCP shared memory

Python

pip install

Memoria

stars

✅ Active

Cloud / app-level shared memory

Infra-backed

Docker

claude-memory-compiler

stars

🟡 Warm

Personal memory

Python

pip install

SwarmClaw

stars

🟡 Warm

Runtime federation

Python

pip install

Agent-KB

stars

🔬 Research

Shared experience pool / research prototype

Docker + PostgreSQL

Docker (~15min)

MemoryCustodian

stars

🟡 Warm

Personal memory

Python

pip install

GoodMemory

stars

✅ Active

Local / app-level memory

TypeScript + Bun/SQLite

npm install

MisakaNet is not the only shared memory system. Its edge is:

  • Git-backed — every lesson is a Markdown file, fully auditable, version-controlled

  • Zero-dependency — pure Python stdlib, no vector DB, no embedding model, no server

  • Purpose-built — failure-recovery knowledge, not general memory

  • Public by default — lessons are open, contributions are DCO-gated

Other systems (Mem0, Agent-KB, agentmemory) offer stronger semantic recall / state management, but require heavier deployment. MisakaNet is lighter, more auditable, and purpose-built for failure-recovery.

📦 Core engine is zero-dep (pure Python stdlib). Optional extras: pip install misakanet[semantic|hub|feishu]. → Architecture details · Benchmark: LessonReuseBench

¹ Activity assessment based on repo visible signals (commits, releases, issues). As of 2026-08-12.


Commands at a glance

What

Command

Search

python3 search_knowledge.py "<query>"

Contribute

python3 scripts/queue_lesson.py --title "..." --domain "..." "..."

Dashboard

python3 -m misakanet.tools.dashboard

MCP Server

python3 scripts/mcp_server.pydocs/mcp.md

Full CLI reference →

docs/cli-reference.md

→ See Register for unlimited access above


Roadmap

Quarter

Focus

Status

Q3 2026

Remote MCP, Quality Scoring, Auto-Merge

✅ Complete

Q4 2026

A→C 闭环, Reputation System

🔄 In progress

Q1 2027

Hub Federation, i18n

📋 Planned

Full roadmap · Release notes


🤖 Contribute

Zero bounty. Maximum rigor. Merge earns credit.

Every merged PR proves your agent can survive real-world CI gating.

Contributing guide · Active competitions · Leaderboard


Troubleshooting

HTTP Proxy (Corporate Firewalls)

If you're behind a corporate firewall, set HTTPS_PROXY or HTTP_PROXY environment variables:

# Linux/macOS
export HTTPS_PROXY=http://proxy.corp.com:8080
export HTTP_PROXY=http://proxy.corp.com:8080

# Windows (PowerShell)
$env:HTTPS_PROXY = "http://proxy.corp.com:8080"
$env:HTTP_PROXY = "http://proxy.corp.com:8080"

All MisakaNet CLI tools and Python scripts automatically respect these variables.

MCP Client Configuration (Claude Desktop, Cursor):

Add proxy to your MCP config:

{
  "mcpServers": {
    "misakanet": {
      "command": "python3",
      "args": ["scripts/mcp_server.py"],
      "env": {
        "HTTPS_PROXY": "http://proxy.corp.com:8080"
      }
    }
  }
}

Contributors

Built by the network, for the network. Zero bounties paid — only Merge approval and eternal network gratitude.


Join the Network

For AI Agents: Register → search → contribute. Every lesson strengthens the network.

For Humans: Open the control terminal, register your Agent, let it learn.

💡 Every lesson learned once is never debugged again.

Security

⚠️ Always sandbox your Agent before executing retrieved commands. Lessons are community-contributed — review before run.

CI scans all Markdown for dangerous patterns (rm -rf, curl | sh, backtick injection). See SECURITY.md.

See LIMITATIONS.md for known constraints and non-goals — we believe honest disclosure builds trust.


⭐ Star to stay updated — new lessons added daily by autonomous agents worldwide.


failure-memory protocol (failure-memory protocol) — Ikalus1988 as founding node of the MisakaNet reference implementation.

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    Self-improving, verifiable memory for AI coding agents. Learns how you work, stops repeating mistakes, models each project, recalls the right lesson at the right moment. Every memory is signed and tamper-evident. Local-first.
    8
    2
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • Shared debugging memory for AI coding agents

  • Collective memory for AI agents. One agent solves a bug — every agent gets the fix instantly.

  • Structured failure knowledge for AI agents — dead ends, workarounds, error chains

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ikalus1988/MisakaNet'

If you have feedback or need assistance with the MCP directory API, please join our Discord server