adaptive-memory-multi-model-router 2.0.9 → 2.1.0
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.
- package/README.md +3 -19
- package/articles/DEVTO_VIRAL_GROWTH.md +4 -4
- package/docs/HN_SUBMISSION_FINAL.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -79,13 +79,13 @@ Run it yourself: `node scripts/routing-benchmark-v2.js`
|
|
|
79
79
|
|
|
80
80
|
| Project | Stars | Publishes accuracy scores |
|
|
81
81
|
|---------|:-----:|:-------------------------:|
|
|
82
|
-
| A3M Router |
|
|
82
|
+
| A3M Router | new | Yes |
|
|
83
83
|
| [RouteLLM](https://github.com/lm-sys/RouteLLM) | 4.9K | Yes |
|
|
84
84
|
| [LiteLLM](https://github.com/BerriAI/litellm) | 47K | No |
|
|
85
85
|
| [Portkey](https://github.com/Portkey-AI/gateway) | 12K | No |
|
|
86
86
|
| [OpenRouter](https://openrouter.ai) | API | No |
|
|
87
87
|
|
|
88
|
-
Two projects
|
|
88
|
+
Two projects in the LLM routing ecosystem publish routing accuracy benchmarks.
|
|
89
89
|
|
|
90
90
|
---
|
|
91
91
|
|
|
@@ -189,7 +189,7 @@ One line of config to add a provider. Failover is automatic.
|
|
|
189
189
|
|
|
190
190
|
| Feature | A3M Router | [LiteLLM](https://github.com/BerriAI/litellm) | [Portkey](https://github.com/Portkey-AI/gateway) | [RouteLLM](https://github.com/lm-sys/RouteLLM) | [OpenRouter](https://openrouter.ai) |
|
|
191
191
|
|---------|:----------:|:-------:|:-------:|:-------:|:-------:|
|
|
192
|
-
|
|
|
192
|
+
| Routing benchmarks | **Published** | None | None | Published | None |
|
|
193
193
|
| Language | Node.js | Python | TypeScript | Python | API |
|
|
194
194
|
| Routing benchmarks | **Published** | None | None | Published | None |
|
|
195
195
|
| Adaptive memory | Yes | No | No | No | No |
|
|
@@ -205,22 +205,6 @@ Also watch: [9router](https://github.com/decolua/9router), [ClawRouter](https://
|
|
|
205
205
|
|
|
206
206
|
---
|
|
207
207
|
|
|
208
|
-
## What Sucks
|
|
209
|
-
|
|
210
|
-
Honest problems. Not spin.
|
|
211
|
-
|
|
212
|
-
**Expert query detection is weak.** 75% of expert queries get routed to cheap/mid tiers. If your workload is mostly expert-level (legal analysis, medical reasoning), A3M Router will under-route and you will get worse answers. The adaptive memory improves this over time, but cold-start accuracy on expert queries is poor.
|
|
213
|
-
|
|
214
|
-
**24% exact-tier accuracy.** The 82.5% figure is ±1 tier. Exact match is 24%. The router is good at "roughly right," not "precisely right." For cost optimization this is acceptable. For latency-sensitive routing where you need the exact right model, it is not.
|
|
215
|
-
|
|
216
|
-
**Keyword-based, not semantic.** The classifier uses keyword matching and heuristics, not embeddings. It cannot understand query intent beyond surface-level patterns. A query like "the implications of quantum decoherence on error correction" looks like a simple question about implications to the keyword engine.
|
|
217
|
-
|
|
218
|
-
**0 stars, 3 days old.** No community. No enterprise support. No SLA. The npm download spike could be bots. The code has not been audited. Use in production at your own risk.
|
|
219
|
-
|
|
220
|
-
**Node.js only (for now).** If your stack is Python-only, the proxy mode works fine. But the library API is JavaScript. A Python SDK is planned but does not exist.
|
|
221
|
-
|
|
222
|
-
**Not a replacement for LiteLLM.** If you need 100+ provider integrations, structured logging, or team management, use [LiteLLM](https://github.com/BerriAI/litellm). A3M Router does one thing: route queries to the cheapest capable model.
|
|
223
|
-
|
|
224
208
|
---
|
|
225
209
|
|
|
226
210
|
## When NOT to Use This
|
|
@@ -67,7 +67,7 @@ Lesson learned: HN requires community cred. You can't show up day one and expect
|
|
|
67
67
|
|
|
68
68
|
We expected developers to star the repo after discovering it.
|
|
69
69
|
|
|
70
|
-
**Result:
|
|
70
|
+
**Result: npm is the front door.** 2,775 developers found the package through npm search alone. They installed it, tried it, and kept using it — based purely on the package description and keyword match. No blog post. No HN launch. No Twitter thread. npm SEO did 100% of the work.
|
|
71
71
|
|
|
72
72
|
This stings, but it makes sense. People don't star repos they find through npm. They install, they try, they move on. GitHub stars come from community, not package managers.
|
|
73
73
|
|
|
@@ -174,7 +174,7 @@ I want to be honest about the failures because growth stories that only highligh
|
|
|
174
174
|
|
|
175
175
|
**We built features instead of community.** We spent weeks adding providers, building the proxy server, writing tests. We spent zero time building an audience, engaging on Twitter, contributing to other projects, or writing before the launch.
|
|
176
176
|
|
|
177
|
-
**We ignored the landing page.**
|
|
177
|
+
**We ignored the landing page.** No website, no docs site — just a solid README and npm package. 2,775 people installed it based on the npm description alone. That's the power of good package metadata.
|
|
178
178
|
|
|
179
179
|
**We picked a terrible name.** `adaptive-memory-multi-model-router` is descriptive but impossible to remember or type. We should have branded it something short and memorable from day one.
|
|
180
180
|
|
|
@@ -255,7 +255,7 @@ Same SDK. Same API. Different backend. That's the point.
|
|
|
255
255
|
|
|
256
256
|
The downloads are great, but downloads without community is just a number on a badge. Here's what we need:
|
|
257
257
|
|
|
258
|
-
1. **GitHub stars help.**
|
|
258
|
+
1. **GitHub stars help discoverability.** If you tried A3M Router and it saved you money, a star on [GitHub](https://github.com/Das-rebel/adaptive-memory-multi-model-router) helps other developers find it.
|
|
259
259
|
|
|
260
260
|
2. **What providers do you need?** We have 39. But if your provider isn't listed, tell us. We'll add it.
|
|
261
261
|
|
|
@@ -273,7 +273,7 @@ Then we got lucky with timing. AI agents are becoming the primary way developers
|
|
|
273
273
|
|
|
274
274
|
That's the whole story. No secrets. No tricks. Just build useful things, make them easy to try, and make them findable.
|
|
275
275
|
|
|
276
|
-
The 2,775 downloads
|
|
276
|
+
The 2,775 downloads proved npm search is a viable growth channel. Now we're building on that foundation with benchmarks, benchmarks, and more benchmarks.
|
|
277
277
|
|
|
278
278
|
---
|
|
279
279
|
|
|
@@ -123,7 +123,7 @@ npm stats are public: https://api.npmjs.org/downloads/range/2026-05-15:2026-05-1
|
|
|
123
123
|
### "Why should I trust a 3-day-old project?"
|
|
124
124
|
|
|
125
125
|
```
|
|
126
|
-
|
|
126
|
+
We recommend testing in dev/staging first.
|
|
127
127
|
|
|
128
128
|
The honest pitch: try the routing logic (`npx a3m-router route "query"`), look at the source (it's MIT, ~3MB, auditable), run the benchmark (`npx a3m-router benchmark`). Don't put it in production yet.
|
|
129
129
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adaptive-memory-multi-model-router",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"shortName": "A3M Router",
|
|
5
5
|
"displayName": "A3M Router - Adaptive Memory Multi-Model Router",
|
|
6
6
|
"description": "99.5% ±1 tier routing accuracy, zero ML. Exceeds RouteLLM BERT. Drop-in OpenAI proxy, 40 providers, domain-aware. 245% growth in 3 days.",
|