@nano-step/nano-brain 2026.6.2604 → 2026.6.2606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +25 -10
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -265,19 +265,33 @@ Before pushing, run `memory_impact` on changed files. Discover what else depends
265
265
 
266
266
  ## Performance
267
267
 
268
- ### Search Quality
268
+ ### Search Quality vs Competitors
269
269
 
270
- | Metric | nano-brain | LlamaIndex | Qdrant/Mem0 |
271
- |--------|------------|------------|-------------|
272
- | P@5 | **80%** | 55% | 27% |
273
- | MRR | **100%** | — | — |
274
- | Latency | 42ms | — | — |
270
+ | Metric | nano-brain | LlamaIndex | Qdrant/Mem0 | Cognee | GraphRAG | Zep |
271
+ |--------|------------|------------|-------------|--------|----------|-----|
272
+ | P@5 | **80%** | 55% | 27% | — | — | — |
273
+ | MRR | **95%** | — | — | — | — | — |
274
+ | Latency | **42ms** | — | — | — | — | — |
275
+ | Code Intelligence | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
276
+ | Symbol Graph | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
277
+ | Impact Analysis | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
278
+ | Flow Diagrams | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
275
279
 
276
- Tested on 60 domain-specific queries across 3 workspaces (gaming, Go codebase, Rails app).
280
+ Tested on 60 domain-specific queries across 3 workspaces. nano-brain is the **only** solution with code intelligence — competitors focus on conversation memory and document retrieval.
277
281
 
278
- - **BM25 OR fallback** — Retries with OR semantics when AND returns 0 results
279
- - **Incoming edges symbol fallback** — Falls back to symbol name when target lookup fails
280
- - **Workspace-specific queries** — Each project gets queries tailored to its domain
282
+ ### Competitive Landscape
283
+
284
+ **What competitors offer:**
285
+ - **Mem0 / Zep** — Conversation memory, temporal ranking, chat history recall
286
+ - **Cognee / GraphRAG** — Document-level knowledge graphs, multi-hop reasoning
287
+ - **LlamaIndex** — Flexible RAG pipelines, document retrieval
288
+
289
+ **What nano-brain adds:**
290
+ - **Code intelligence** — Symbol graphs, call chains, impact analysis, flow diagrams
291
+ - **Agent-oriented benchmarks** — Measures how well agents find context for domain tasks
292
+ - **Hybrid search** — BM25 + pgvector + RRF fusion + recency decay
293
+
294
+ Competitors optimize for conversation recall. nano-brain optimizes for **agent comprehension** — helping agents understand codebases, not just retrieve documents.
281
295
 
282
296
  ### Agent-Oriented Capability Benchmarks
283
297
 
@@ -302,6 +316,7 @@ This mimics how a real agent explores a codebase: broad understanding first, the
302
316
  - **Multi-tool 1.000** — When agents combine search + symbols, they find every expected context item
303
317
  - **Overall 0.885** — TypeScript workspace: agent finds 88.5% of expected domain artifacts
304
318
  - **Fixed vs Agent** — Agent workflow improves recall by 15-40% over single-tool queries
319
+ - **Unique capability** — No competitor offers agent-oriented benchmarks or code intelligence
305
320
 
306
321
  #### How to Run
307
322
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nano-step/nano-brain",
3
- "version": "2026.6.2604",
3
+ "version": "2026.6.2606",
4
4
  "description": "Persistent memory and code intelligence for AI coding agents",
5
5
  "bin": {
6
6
  "nano-brain": "npm/run.js"