adaptive-memory-multi-model-router 2.15.3 → 2.15.4
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/.github/ISSUE_TEMPLATE/bug_report.md +94 -0
- package/.github/ISSUE_TEMPLATE/config.yml +17 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +71 -0
- package/.well-known/ai-plugin.json +16 -0
- package/AGENT_COUNCIL_FINDINGS.md +98 -123
- package/POPULARITY_BOOSTERS.md +1 -1
- package/README.md +275 -147
- package/README_ja.md +20 -16
- package/README_zh.md +17 -13
- package/adapters/README.md +36 -0
- package/adapters/__init__.py +25 -0
- package/adapters/a3m_adapter/__init__.py +15 -0
- package/adapters/a3m_adapter/adapter/__init__.py +7 -0
- package/adapters/a3m_adapter/adapter/config.py +100 -0
- package/adapters/a3m_adapter/adapter/langchain.py +155 -0
- package/adapters/a3m_adapter/adapter/llamaindex.py +162 -0
- package/adapters/a3m_adapter/tests/__init__.py +1 -0
- package/adapters/a3m_adapter/tests/test_adapters.py +120 -0
- package/adapters/setup.py +23 -0
- package/articles/CHINESE_DIRECTORIES.md +2 -2
- package/articles/CHINESE_SUBMISSIONS_READY.md +5 -5
- package/articles/HN_POST_READY.md +20 -16
- package/articles/INDIEHACKERS_READY.md +34 -19
- package/dist/analytics/costAnalytics.d.ts +1 -0
- package/dist/benchmark/reproducible.d.ts +1 -0
- package/dist/cache/semanticCache.d.ts +1 -0
- package/dist/cost/budgetEnforcer.d.ts +1 -0
- package/dist/cost/costTracker.d.ts +1 -0
- package/dist/ensemble/multiRoundDialog.d.ts +1 -0
- package/dist/ensemble/shapleyValue.d.ts +1 -0
- package/dist/ensemble.d.ts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/integrations/oauth.d.ts +1 -0
- package/dist/integrations/scienceAdapter.d.ts +1 -0
- package/dist/memory/autoFetch.d.ts +1 -0
- package/dist/memory/hybridMemory.d.ts +1 -0
- package/dist/memory/memoryTree.d.ts +1 -0
- package/dist/memory/obsidianVault.d.ts +1 -0
- package/dist/memory/reasoningBank.d.ts +1 -0
- package/dist/observability/changeWatch.d.ts +1 -0
- package/dist/observability/fatigueDetector.d.ts +1 -0
- package/dist/observability/index.d.ts +1 -0
- package/dist/observability/metrics.d.ts +1 -0
- package/dist/observability/middleware.d.ts +1 -0
- package/dist/observability/tracer.d.ts +1 -0
- package/dist/observability/types.d.ts +1 -0
- package/dist/providers/providerConfig.d.ts +1 -0
- package/dist/routing/advancedRouter.d.ts +2 -1
- package/dist/routing/advancedRouter.js +0 -84
- package/dist/routing/advancedRouter.js.map +1 -1
- package/dist/routing/crossModelValidation.d.ts +1 -0
- package/dist/routing/providerHealth.d.ts +2 -77
- package/dist/routing/providerHealth.js +4 -190
- package/dist/routing/providerHealth.js.map +1 -1
- package/dist/routing/providerRetry.d.ts +1 -0
- package/dist/sdk.d.ts +1 -0
- package/dist/security/guardrails.d.ts +1 -0
- package/dist/server/dashboard.d.ts +1 -0
- package/dist/server/handlers/chatHandler.d.ts +1 -0
- package/dist/server/handlers/completionsHandler.d.ts +1 -0
- package/dist/server/handlers/embeddingsHandler.d.ts +1 -0
- package/dist/server/handlers/healthHandler.d.ts +1 -0
- package/dist/server/handlers/metricsHandler.d.ts +1 -0
- package/dist/server/handlers/modelsHandler.d.ts +1 -0
- package/dist/server/metrics.d.ts +1 -0
- package/dist/server/modelMapper.d.ts +1 -0
- package/dist/server/proxyServer.d.ts +1 -0
- package/dist/server/router.d.ts +1 -0
- package/dist/server/state.d.ts +1 -0
- package/dist/tui/dashboard.d.ts +1 -0
- package/dist/utils/costUtils.d.ts +1 -0
- package/dist/utils/sorting.d.ts +1 -0
- package/dist/utils/tokenUtils.d.ts +1 -0
- package/docs/llms-full.txt +286 -153
- package/docs/llms.txt +112 -71
- package/llms-full.txt +6 -6
- package/llms.txt +112 -62
- package/package.json +12 -91
- package/CAMPAIGN_SUMMARY.md +0 -87
- package/ENTERPRISE_INTEGRATIONS.md +0 -94
- package/INTEGRATION_PROGRESS.md +0 -96
- package/OPPORTUNITIES_100.md +0 -277
- package/TODO_BROWSER_AUTOMATION.md +0 -87
- package/a3m-integrations-summary.md +0 -73
- package/dist/routing/shadowSampler.d.ts +0 -187
- package/dist/routing/shadowSampler.js +0 -306
- package/dist/routing/shadowSampler.js.map +0 -1
- package/integrations/browser-use/README.md +0 -155
- package/integrations/browser-use/examples/form-filling.ts +0 -179
- package/integrations/browser-use/index.ts +0 -145
- package/integrations/browser-use/package.json +0 -34
- package/integrations/browser-use/tsconfig.json +0 -17
- package/integrations/mcp-browser/README.md +0 -177
- package/integrations/mcp-browser/package.json +0 -38
- package/integrations/mcp-browser/src/index.ts +0 -297
- package/integrations/sota-browser/README.md +0 -191
- package/integrations/sota-browser/package.json +0 -34
package/OPPORTUNITIES_100.md
DELETED
|
@@ -1,277 +0,0 @@
|
|
|
1
|
-
# A3M Router: 100+ Integration Opportunities
|
|
2
|
-
|
|
3
|
-
## Executive Summary
|
|
4
|
-
|
|
5
|
-
This document identifies 100+ opportunities for A3M Router integration across major software categories. Each opportunity represents a tool, framework, or platform that either lacks LLM routing capabilities or currently relies on LiteLLM (which has CVEs and is being abandoned).
|
|
6
|
-
|
|
7
|
-
**Key Insight:** browser-use removed LiteLLM due to CVE-2026-42271. This creates a cascading opportunity across the entire AI tooling ecosystem.
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
## Category 1: AI Agent Frameworks (10 opportunities)
|
|
12
|
-
|
|
13
|
-
| # | Tool | Stars | Current LLM Setup | Opportunity |
|
|
14
|
-
|---|------|-------|-------------------|-------------|
|
|
15
|
-
| 1 | **LangChain/LangGraph** | 35k | Multi-provider but no intelligent routing | First-class A3M integration |
|
|
16
|
-
| 2 | **CrewAI** | 22k | Uses LiteLLM for routing | Direct replacement for LiteLLM |
|
|
17
|
-
| 3 | **AutoGen** | 35k | Multi-model but manual selection | A3M auto-routing layer |
|
|
18
|
-
| 4 | **LlamaIndex** | 35k | Basic model selection | Enhanced routing for RAG |
|
|
19
|
-
| 5 | **Microsoft Semantic Kernel** | 9k | Enterprise-focused, expensive | Cost optimization routing |
|
|
20
|
-
| 6 | **Haystack** | 15k | Limited routing | Pipeline integration |
|
|
21
|
-
| 7 | **Botpress** | 12k | Rule-based routing | AI-powered routing |
|
|
22
|
-
| 8 | **Rasa** | 12k | Custom NLU models | Enterprise routing |
|
|
23
|
-
| 9 | **Dialogflow** | 8k | Google's model only | Multi-provider routing |
|
|
24
|
-
| 10 | **OpenAI Agents SDK** | 5k | OpenAI-only | Multi-provider alternative |
|
|
25
|
-
|
|
26
|
-
**Key Finding:** "Best 5 OpenAI Agents SDK Alternatives 2026" article highlights multi-provider routing as the #1 requested feature.
|
|
27
|
-
|
|
28
|
-
---
|
|
29
|
-
|
|
30
|
-
## Category 2: Browser & Web Automation (10 opportunities)
|
|
31
|
-
|
|
32
|
-
| # | Tool | Stars | Current LLM Setup | Opportunity |
|
|
33
|
-
|---|------|-------|-------------------|-------------|
|
|
34
|
-
| 11 | **Playwright** | 65k | No built-in LLM | A3M-powered automation |
|
|
35
|
-
| 12 | **Selenium** | 30k | No LLM integration | AI-powered testing |
|
|
36
|
-
| 13 | **Puppeteer** | 85k | No LLM integration | Chrome automation + LLM |
|
|
37
|
-
| 14 | **Cypress** | 45k | No AI features | Intelligent test generation |
|
|
38
|
-
| 15 | **TestCafe** | 10k | No AI features | AI-powered E2E testing |
|
|
39
|
-
| 16 | **Robot Framework** | 12k | Keyword-based | LLM-driven automation |
|
|
40
|
-
| 17 | **Cheerio** | 28k | Scraping only | AI content extraction |
|
|
41
|
-
| 18 | **Crawlee** | 22k | Actor framework | Smart crawling with routing |
|
|
42
|
-
| 19 | **Apify** | 15k | Pre-built scrapers | LLM-optimized extraction |
|
|
43
|
-
| 20 | **FireCrawl** | 18k | ML-powered crawling | Enhanced routing |
|
|
44
|
-
|
|
45
|
-
**Key Finding:** browser-use PR submitted (#5378). More tools need similar integration.
|
|
46
|
-
|
|
47
|
-
---
|
|
48
|
-
|
|
49
|
-
## Category 3: LLM Serving & Inference (10 opportunities)
|
|
50
|
-
|
|
51
|
-
| # | Tool | Stars | Current LLM Setup | Opportunity |
|
|
52
|
-
|---|------|-------|-------------------|-------------|
|
|
53
|
-
| 21 | **vLLM** | 45k | Single model serving | Multi-model gateway |
|
|
54
|
-
| 22 | **Ollama** | 120k | Local models only | Remote model routing |
|
|
55
|
-
| 23 | **LocalAI** | 25k | Self-hosted LLMs | Multi-provider gateway |
|
|
56
|
-
| 24 | **Text Generation Inference** | 18k | HuggingFace serving | Intelligent routing layer |
|
|
57
|
-
| 25 | **Ray Serve** | 8k | Distributed serving | Model selection |
|
|
58
|
-
| 26 | **LM Studio** | 35k | Desktop app | API gateway integration |
|
|
59
|
-
| 27 | **Ollama Web UI** | 12k | Ollama frontend | Routing backend |
|
|
60
|
-
| 28 | **Jan** | 15k | Local AI interface | Multi-model routing |
|
|
61
|
-
| 29 | **SGLang** | 8k | Structured generation | Routing optimization |
|
|
62
|
-
| 30 | **mlc-llm** | 18k | Local deployment | Cloud routing hybrid |
|
|
63
|
-
|
|
64
|
-
**Key Finding:** "vLLM vs Ollama vs LM Studio" comparisons all miss intelligent routing.
|
|
65
|
-
|
|
66
|
-
---
|
|
67
|
-
|
|
68
|
-
## Category 4: RAG & Vector Databases (10 opportunities)
|
|
69
|
-
|
|
70
|
-
| # | Tool | Stars | Current LLM Setup | Opportunity |
|
|
71
|
-
|---|------|-------|-------------------|-------------|
|
|
72
|
-
| 31 | **Chroma** | 18k | No routing | Query routing optimization |
|
|
73
|
-
| 32 | **Pinecone** | 8k | Managed vectors | Multi-model RAG |
|
|
74
|
-
| 33 | **Weaviate** | 12k | Hybrid search | LLM selection layer |
|
|
75
|
-
| 34 | **Qdrant** | 22k | Vector search | Intelligent reranking |
|
|
76
|
-
| 35 | **Milvus** | 28k | Scale vectors | Multi-model queries |
|
|
77
|
-
| 36 | **LlamaIndex RAG** | Built-in | Basic selection | Advanced routing |
|
|
78
|
-
| 37 | **LangChain RAG** | Built-in | Model picker | A3M-powered routing |
|
|
79
|
-
| 38 | **Elasticsearch** | 65k | BM25 search | AI-powered retrieval |
|
|
80
|
-
| 39 | **Typesense** | 22k | Typo tolerance | LLM-enhanced search |
|
|
81
|
-
| 40 | **DocArray** | 8k | Vector indexing | Multi-model embedding |
|
|
82
|
-
|
|
83
|
-
**Key Finding:** RAG pipelines spend 60-80% on LLM calls. Routing can cut costs 90%.
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
|
|
87
|
-
## Category 5: No-Code & Low-Code Platforms (10 opportunities)
|
|
88
|
-
|
|
89
|
-
| # | Tool | Stars | Current LLM Setup | Opportunity |
|
|
90
|
-
|---|------|-------|-------------------|-------------|
|
|
91
|
-
| 41 | **Zapier** | 8k | 5000+ integrations | AI action routing |
|
|
92
|
-
| 42 | **Make (Integromat)** | 6k | Visual automation | LLM decision routing |
|
|
93
|
-
| 43 | **n8n** | 55k | Self-hosted automation | Built-in routing |
|
|
94
|
-
| 44 | **Bubble** | 25k | No-code app builder | AI integration layer |
|
|
95
|
-
| 45 | **Adalo** | 8k | No-code mobile | LLM backend |
|
|
96
|
-
| 46 | **Glide** | 12k | Spreadsheet to app | AI features |
|
|
97
|
-
| 47 | **Softr** | 15k | Airtable front-end | AI enhancement |
|
|
98
|
-
| 48 | **Stacker** | 5k | Notion-based apps | LLM integration |
|
|
99
|
-
| 49 | **FlutterFlow** | 18k | No-code Flutter | AI code generation |
|
|
100
|
-
| 50 | **Retool** | 28k | Internal tools | AI action routing |
|
|
101
|
-
|
|
102
|
-
**Key Finding:** n8n has 55k stars and growing AI features. Integration opportunity exists.
|
|
103
|
-
|
|
104
|
-
---
|
|
105
|
-
|
|
106
|
-
## Category 6: RPA & Business Automation (10 opportunities)
|
|
107
|
-
|
|
108
|
-
| # | Tool | Stars | Current LLM Setup | Opportunity |
|
|
109
|
-
|---|------|-------|-------------------|-------------|
|
|
110
|
-
| 51 | **UiPath** | 12k | Enterprise RPA | AI-powered automation |
|
|
111
|
-
| 52 | **Automation Anywhere** | 8k | RPA leader | LLM integration |
|
|
112
|
-
| 53 | **Power Automate** | 6k | Microsoft ecosystem | Azure OpenAI routing |
|
|
113
|
-
| 54 | **Blue Prism** | 5k | Legacy RPA | AI upgrade path |
|
|
114
|
-
| 55 | **WorkFusion** | 4k | Intelligent automation | Multi-model routing |
|
|
115
|
-
| 56 | **Automation Edge** | 3k | IT automation | LLM decision routing |
|
|
116
|
-
| 57 | **Kofax** | 5k | Document processing | AI-powered OCR |
|
|
117
|
-
| 58 | **WinAutomation** | 3k | Windows RPA | AI enhancement |
|
|
118
|
-
| 59 | **Jidoka** | 2k | DevOps automation | Intelligent routing |
|
|
119
|
-
| 60 | **Windmill** | 8k | Script automation | LLM-native scripts |
|
|
120
|
-
|
|
121
|
-
**Key Finding:** RPA tools are adding AI but lack cost optimization. Opportunity for routing.
|
|
122
|
-
|
|
123
|
-
---
|
|
124
|
-
|
|
125
|
-
## Category 7: Job & Career Automation (10 opportunities)
|
|
126
|
-
|
|
127
|
-
| # | Tool | Type | Current LLM Setup | Opportunity |
|
|
128
|
-
|---|------|------|-------------------|-------------|
|
|
129
|
-
| 61 | **Simplify Copilot** | Browser ext | GPT-4 only | Multi-model application |
|
|
130
|
-
| 62 | **LazyApply** | Job applier | Basic AI | Smart model selection |
|
|
131
|
-
| 63 | **AngelOne Job** | Trading jobs | ML only | AI career coach |
|
|
132
|
-
| 64 | **Applyai** | Job automation | GPT dependent | Cost optimization |
|
|
133
|
-
| 65 | **WonsultAI** | Resume builder | Single model | Multi-tier writing |
|
|
134
|
-
| 66 | **Resumeworded** | Resume checker | Basic AI | Enhanced evaluation |
|
|
135
|
-
| 67 | **Jobscan** | Resume optimizer | Keyword match | AI-powered matching |
|
|
136
|
-
| 68 | **Kickresume** | Resume builder | GPT integration | Multi-model output |
|
|
137
|
-
| 69 | **Rezi** | Resume AI | Single AI | Feature routing |
|
|
138
|
-
| 70 | **Hiration** | Career platform | Multi-tool | Unified routing |
|
|
139
|
-
|
|
140
|
-
**Key Finding:** Job automation tools spend heavily on GPT-4. Routing can cut costs 95%.
|
|
141
|
-
|
|
142
|
-
---
|
|
143
|
-
|
|
144
|
-
## Category 8: Customer Support & Chatbots (10 opportunities)
|
|
145
|
-
|
|
146
|
-
| # | Tool | Stars | Current LLM Setup | Opportunity |
|
|
147
|
-
|---|------|-------|-------------------|-------------|
|
|
148
|
-
| 71 | **Intercom Fin** | 8k | GPT-4 only | Multi-model support |
|
|
149
|
-
| 72 | **Zendesk AI** | 6k | OpenAI backend | Routing layer |
|
|
150
|
-
| 73 | **Freshdesk Freddy** | 5k | AI assist | Cost optimization |
|
|
151
|
-
| 74 | **Drift** | 4k | Rule-based + AI | Intelligent routing |
|
|
152
|
-
| 75 | **Ada** | 6k | Automated support | Multi-tier responses |
|
|
153
|
-
| 76 | **Forethought** | 3k | Support automation | LLM selection |
|
|
154
|
-
| 77 | **Kore.ai** | 5k | Enterprise chatbot | Multi-model routing |
|
|
155
|
-
| 78 | **Yellow.ai** | 8k | Omnichannel AI | Cost optimization |
|
|
156
|
-
| 79 | **LiveChat** | 4k | Chat platform | AI routing |
|
|
157
|
-
| 80 | **Chatfuel** | 6k | Messenger bots | AI enhancement |
|
|
158
|
-
|
|
159
|
-
**Key Finding:** Customer support AI costs spiral with GPT-4. Routing can maintain quality at 10% cost.
|
|
160
|
-
|
|
161
|
-
---
|
|
162
|
-
|
|
163
|
-
## Category 9: Code Generation & Development Tools (10 opportunities)
|
|
164
|
-
|
|
165
|
-
| # | Tool | Stars | Current LLM Setup | Opportunity |
|
|
166
|
-
|---|------|-------|-------------------|-------------|
|
|
167
|
-
| 81 | **GitHub Copilot** | 15k | GPT-4 / Codex | Enterprise routing |
|
|
168
|
-
| 82 | **Cursor** | 45k | Multiple models | Smart model selection |
|
|
169
|
-
| 83 | **Claude Code** | 20k | Claude only | Multi-model ensemble |
|
|
170
|
-
| 84 | **Tabnine** | 12k | Local + cloud | Optimal model routing |
|
|
171
|
-
| 85 | **Amazon CodeWhisperer** | 8k | Amazon models | Multi-provider |
|
|
172
|
-
| 86 | **Sourcegraph Cody** | 18k | Claude + GPT | Intelligent routing |
|
|
173
|
-
| 87 | **Codeium** | 25k | Free AI coding | Premium routing tier |
|
|
174
|
-
| 88 | **CodeRabbit** | 8k | PR review AI | Multi-model review |
|
|
175
|
-
| 89 | **Mutable AI** | 6k | Production coding | Adaptive model selection |
|
|
176
|
-
| 90 | **Seek** | 5k | Code search | LLM-powered search |
|
|
177
|
-
|
|
178
|
-
**Key Finding:** "Claude Code Router vs LiteLLM" articles show demand for cost control in coding tools.
|
|
179
|
-
|
|
180
|
-
---
|
|
181
|
-
|
|
182
|
-
## Category 10: Data & Analytics Platforms (10 opportunities)
|
|
183
|
-
|
|
184
|
-
| # | Tool | Stars | Current LLM Setup | Opportunity |
|
|
185
|
-
|---|------|-------|-------------------|-------------|
|
|
186
|
-
| 91 | **Metabase** | 35k | SQL + AI | Natural language queries |
|
|
187
|
-
| 92 | **Looker** | 8k | Embedded analytics | AI query routing |
|
|
188
|
-
| 93 | **Mode Analytics** | 12k | Python/R notebooks | LLM-powered analysis |
|
|
189
|
-
| 94 | **Superset** | 65k | Apache project | AI chart generation |
|
|
190
|
-
| 95 | **Redash** | 25k | Query editor | Intelligent visualization |
|
|
191
|
-
| 96 | **Chartbrew** | 3k | Data visualization | AI-powered dashboards |
|
|
192
|
-
| 97 | **Grafana** | 65k | Observability | LLM alerting |
|
|
193
|
-
| 98 | **Hex** | 8k | Data notebooks | AI-powered exploration |
|
|
194
|
-
| 99 | **Observable** | 5k | Visual analytics | LLM integration |
|
|
195
|
-
| 100 | **Domo** | 4k | Cloud BI | AI-powered insights |
|
|
196
|
-
|
|
197
|
-
**Key Finding:** BI tools adding AI but pricing is opaque. Routing provides cost transparency.
|
|
198
|
-
|
|
199
|
-
---
|
|
200
|
-
|
|
201
|
-
## Category 11: Additional Opportunities (15 opportunities)
|
|
202
|
-
|
|
203
|
-
| # | Tool/Category | Type | Opportunity |
|
|
204
|
-
|---|---------------|------|-------------|
|
|
205
|
-
| 101 | **WordPress AI** | CMS | Jetpack AI, Elementor AI optimization |
|
|
206
|
-
| 102 | **Shopify AI** | E-commerce | Storefront AI, customer support routing |
|
|
207
|
-
| 103 | **Salesforce Einstein** | CRM | Multi-model routing for CRM AI |
|
|
208
|
-
| 104 | **HubSpot AI** | Marketing | Content and support optimization |
|
|
209
|
-
| 105 | **Notion AI** | Productivity | Multi-model writing assistant |
|
|
210
|
-
| 106 | **Slack AI** | Communication | Enterprise LLM routing |
|
|
211
|
-
| 107 | **Figma AI** | Design | Design generation routing |
|
|
212
|
-
| 108 | **Canva AI** | Design | Content generation optimization |
|
|
213
|
-
| 109 | **Adobe Firefly** | Creative | Multi-model creative AI |
|
|
214
|
-
| 110 | **Jira AI** | Project | Intelligent issue routing |
|
|
215
|
-
| 111 | **Linear AI** | Dev management | Smart issue classification |
|
|
216
|
-
| 112 | **Airtable AI** | Database | Formulas and automation |
|
|
217
|
-
| 113 | **Coda AI** | Documents | Intelligent docs |
|
|
218
|
-
| 114 | **Monday.com AI** | PM | Work management optimization |
|
|
219
|
-
| 115 | **Asana AI** | Task management | Smart task routing |
|
|
220
|
-
|
|
221
|
-
---
|
|
222
|
-
|
|
223
|
-
## Priority Actions
|
|
224
|
-
|
|
225
|
-
### Tier 1: Quick Wins (Already started)
|
|
226
|
-
1. ✅ browser-use PR #5378 - 108k stars, massive visibility
|
|
227
|
-
2. 🔄 LangChain integration - First-class status
|
|
228
|
-
3. 🔄 LlamaIndex integration - Already documented
|
|
229
|
-
|
|
230
|
-
### Tier 2: High-Impact (Next Sprint)
|
|
231
|
-
- CrewAI: 22k stars, uses LiteLLM
|
|
232
|
-
- n8n: 55k stars, needs built-in routing
|
|
233
|
-
- Cursor: 45k stars, multi-model support
|
|
234
|
-
- AutoGen: 35k stars, enterprise focus
|
|
235
|
-
|
|
236
|
-
### Tier 3: Strategic Plays
|
|
237
|
-
- GitHub Copilot enterprise routing
|
|
238
|
-
- Salesforce/HubSpot CRM integration
|
|
239
|
-
- WordPress/Jetpack AI optimization
|
|
240
|
-
|
|
241
|
-
---
|
|
242
|
-
|
|
243
|
-
## Competitive Positioning Matrix
|
|
244
|
-
|
|
245
|
-
| Competitor | Weakness | A3M Advantage |
|
|
246
|
-
|------------|----------|----------------|
|
|
247
|
-
| LiteLLM | CVE-2026-42271, supply chain attack | Secure, lightweight |
|
|
248
|
-
| OpenRouter | Expensive, limited routing | 90% cheaper routing |
|
|
249
|
-
| Vercel AI | Vendor lock-in | Provider agnostic |
|
|
250
|
-
| Portkey | Enterprise pricing | Open source, free |
|
|
251
|
-
| Braintrust | Eval focus, not routing | Pure routing optimization |
|
|
252
|
-
|
|
253
|
-
---
|
|
254
|
-
|
|
255
|
-
## Success Metrics
|
|
256
|
-
|
|
257
|
-
Target integrations by category:
|
|
258
|
-
- **10k+ stars tools**: 15 integrations
|
|
259
|
-
- **25k+ stars tools**: 8 integrations
|
|
260
|
-
- **50k+ stars tools**: 5 integrations
|
|
261
|
-
- **100k+ stars tools**: 2 integrations
|
|
262
|
-
|
|
263
|
-
Total potential visibility: **500k+ GitHub stars** of tools with A3M integration
|
|
264
|
-
|
|
265
|
-
---
|
|
266
|
-
|
|
267
|
-
## Next Steps
|
|
268
|
-
|
|
269
|
-
1. **This week**: Merge browser-use PR, announce on HN
|
|
270
|
-
2. **This month**: 5 PRs to high-star tools (CrewAI, n8n, Cursor, AutoGen, LangChain)
|
|
271
|
-
3. **This quarter**: 20 integrations across categories
|
|
272
|
-
4. **This year**: 100+ integrations, become default routing layer
|
|
273
|
-
|
|
274
|
-
---
|
|
275
|
-
|
|
276
|
-
*Generated: 2026-08-03*
|
|
277
|
-
*Source: Web research, GitHub analysis, market positioning*
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
# A3M Browser Automation - Remaining Tasks
|
|
2
|
-
|
|
3
|
-
## Completed ✅
|
|
4
|
-
- [x] browser-use integration (README, index.ts, package.json, examples)
|
|
5
|
-
- [x] MCP server for browser tools (README, src/index.ts, package.json)
|
|
6
|
-
- [x] sota-browser integration (README, package.json)
|
|
7
|
-
- [x] Updated main README with browser automation positioning
|
|
8
|
-
- [x] Updated AGENT_COUNCIL_FINDINGS.md
|
|
9
|
-
|
|
10
|
-
## High Priority - Do Today
|
|
11
|
-
|
|
12
|
-
### 1. Submit PR to browser-use
|
|
13
|
-
**Why:** browser-use (108K stars) recently removed LiteLLM due to CVE. They're looking for alternatives.
|
|
14
|
-
**How:**
|
|
15
|
-
1. Fork browser-use
|
|
16
|
-
2. Add `A3MRouter` to their supported LLM providers list
|
|
17
|
-
3. Create example: `examples/a3m-router.ts`
|
|
18
|
-
4. Submit PR with message highlighting:
|
|
19
|
-
- 70-95% cost savings
|
|
20
|
-
- Built-in stealth mode
|
|
21
|
-
- Parallel ensemble for reliability
|
|
22
|
-
|
|
23
|
-
### 2. Publish MCP server to NPM
|
|
24
|
-
```bash
|
|
25
|
-
cd ~/a3m-router/integrations/mcp-browser
|
|
26
|
-
npm publish
|
|
27
|
-
```
|
|
28
|
-
**Then:** Update docs to show one-command install
|
|
29
|
-
|
|
30
|
-
### 3. Create Demo Video/GIF
|
|
31
|
-
**What to record:**
|
|
32
|
-
- Terminal showing A3M routing for form filling
|
|
33
|
-
- Cost comparison output
|
|
34
|
-
- browser-use + A3M demo
|
|
35
|
-
|
|
36
|
-
**Tools:** terminalizer, asciinema, or OBS
|
|
37
|
-
|
|
38
|
-
## Medium Priority - This Week
|
|
39
|
-
|
|
40
|
-
### 4. Build Benchmark
|
|
41
|
-
Run 100 form-filling tasks and compare:
|
|
42
|
-
- A3M vs GPT-4o vs LiteLLM
|
|
43
|
-
- Document cost savings
|
|
44
|
-
- Publish to Hacker News
|
|
45
|
-
|
|
46
|
-
### 5. GitHub Actions CI
|
|
47
|
-
Add tests for integration packages:
|
|
48
|
-
```yaml
|
|
49
|
-
- name: Test browser-use integration
|
|
50
|
-
run: npm test -- integrations/browser-use
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
### 6. Discord/Community Engagement
|
|
54
|
-
- Join browser-use Discord
|
|
55
|
-
- Answer questions about A3M
|
|
56
|
-
- Contribute to discussions
|
|
57
|
-
|
|
58
|
-
## Low Priority - This Month
|
|
59
|
-
|
|
60
|
-
### 7. Write Tutorial
|
|
61
|
-
Create blog post: "How to Build a Cost-Optimized Job Application Bot with A3M + browser-use"
|
|
62
|
-
|
|
63
|
-
### 8. Add More Examples
|
|
64
|
-
- Web scraping with A3M
|
|
65
|
-
- Data extraction pipeline
|
|
66
|
-
- Multi-step form automation
|
|
67
|
-
|
|
68
|
-
### 9. Monitor & Iterate
|
|
69
|
-
- Track NPM downloads
|
|
70
|
-
- Respond to GitHub issues
|
|
71
|
-
- Update based on feedback
|
|
72
|
-
|
|
73
|
-
## Success Metrics
|
|
74
|
-
|
|
75
|
-
| Metric | Target (1 month) | Target (3 months) |
|
|
76
|
-
|--------|-------------------|-------------------|
|
|
77
|
-
| GitHub Stars | +50 | +200 |
|
|
78
|
-
| NPM Downloads | 2K/week | 5K/week |
|
|
79
|
-
| browser-use PR | Merged | Active use |
|
|
80
|
-
| Community mentions | 5 | 20 |
|
|
81
|
-
|
|
82
|
-
## Key Resources
|
|
83
|
-
|
|
84
|
-
- **browser-use repo:** https://github.com/browser-use/browser-use
|
|
85
|
-
- **browser-use integrations:** https://github.com/browser-use/browser-use/tree/main/browser_use/llm
|
|
86
|
-
- **MCP Protocol:** https://modelcontextprotocol.io
|
|
87
|
-
- **sota-browser:** ~/omniclaw/skills/browser/sota-browser
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
# A3M Router Integration Summary
|
|
2
|
-
|
|
3
|
-
## Repositories Created This Session
|
|
4
|
-
|
|
5
|
-
| # | Repo | Description | Stars | Status |
|
|
6
|
-
|---|------|-------------|-------|--------|
|
|
7
|
-
| 1 | [browser-use](https://github.com/browser-use/browser-use/pull/5378) | Browser automation | 108k | PR Open |
|
|
8
|
-
| 2 | [crewAI](https://github.com/crewAIInc/crewAI/pull/6794) | Multi-agent framework | 57k | PR Open |
|
|
9
|
-
| 3 | [n8n-nodes-a3m-router](https://github.com/Das-rebel/n8n-nodes-a3m-router) | n8n workflow automation | 55k | Pushed |
|
|
10
|
-
| 4 | [a3m-autogen](https://github.com/Das-rebel/a3m-autogen) | AutoGen examples | 35k | Pushed |
|
|
11
|
-
| 5 | [a3m-cursor-mcp](https://github.com/Das-rebel/a3m-cursor-mcp) | Cursor MCP server | 45k | Pushed |
|
|
12
|
-
| 6 | [a3m-llamaindex](https://github.com/Das-rebel/a3m-llamaindex) | LlamaIndex RAG | 35k | Pushed |
|
|
13
|
-
|
|
14
|
-
## Total Potential Impact
|
|
15
|
-
|
|
16
|
-
- **Total stars of integrated tools**: 370k+
|
|
17
|
-
- **PRs submitted**: 2 (browser-use, crewAI)
|
|
18
|
-
- **Repositories created**: 4 new
|
|
19
|
-
|
|
20
|
-
## Value Proposition
|
|
21
|
-
|
|
22
|
-
### For Tool Users
|
|
23
|
-
- 70-95% cost savings on LLM calls
|
|
24
|
-
- Automatic model selection
|
|
25
|
-
- No configuration needed
|
|
26
|
-
- Built-in fallback handling
|
|
27
|
-
|
|
28
|
-
### For Tool Maintainers
|
|
29
|
-
- Differentiation from LiteLLM (CVE-free)
|
|
30
|
-
- Value-add for users
|
|
31
|
-
- Easy integration (OpenAI-compatible)
|
|
32
|
-
|
|
33
|
-
## Next Steps
|
|
34
|
-
|
|
35
|
-
### High Priority
|
|
36
|
-
1. Get browser-use PR merged
|
|
37
|
-
2. Get crewAI PR merged
|
|
38
|
-
3. Create n8n community node submission
|
|
39
|
-
|
|
40
|
-
### Medium Priority
|
|
41
|
-
4. AutoGen official integration
|
|
42
|
-
5. LlamaIndex official integration
|
|
43
|
-
6. LangChain enhanced docs
|
|
44
|
-
|
|
45
|
-
### Lower Priority
|
|
46
|
-
7. RPA tool integrations (UiPath, Power Automate)
|
|
47
|
-
8. Enterprise integrations (Salesforce, HubSpot)
|
|
48
|
-
9. More framework integrations
|
|
49
|
-
|
|
50
|
-
## Key Markets
|
|
51
|
-
|
|
52
|
-
1. **AI Agent Frameworks**: 150k+ combined stars
|
|
53
|
-
2. **Browser Automation**: 100k+ combined stars
|
|
54
|
-
3. **Workflow Automation**: 55k+ stars
|
|
55
|
-
4. **Coding Tools**: 45k+ stars
|
|
56
|
-
5. **RAG Platforms**: 35k+ stars
|
|
57
|
-
|
|
58
|
-
## Competitive Advantage
|
|
59
|
-
|
|
60
|
-
| Feature | LiteLLM | A3M Router |
|
|
61
|
-
|---------|---------|-------------|
|
|
62
|
-
| Security | CVE-2026-42271 | Clean |
|
|
63
|
-
| Size | Heavy | Lightweight |
|
|
64
|
-
| Routing | Heuristic | Biology-inspired |
|
|
65
|
-
| Cost | Markup | Provider rate |
|
|
66
|
-
| Maintenance | Slow fixes | Fast |
|
|
67
|
-
|
|
68
|
-
## Resources
|
|
69
|
-
|
|
70
|
-
- [A3M Router](https://github.com/Das-rebel/a3m-router)
|
|
71
|
-
- [Integration Progress](./INTEGRATION_PROGRESS.md)
|
|
72
|
-
- [Opportunities List](./OPPORTUNITIES_100.md)
|
|
73
|
-
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ShadowSampler — Value-Proportional Shadow Verification
|
|
3
|
-
*
|
|
4
|
-
* Implements Optimal Defense Theory (Rhoades 1979; McKey 1974; Zangerl & Bazzaz 1992)
|
|
5
|
-
* from plant ecological economics:
|
|
6
|
-
*
|
|
7
|
-
* "A plant allocates defensive compounds (defense cost) in proportion to
|
|
8
|
-
* tissue value, attack probability, and the marginal cost of defense."
|
|
9
|
-
*
|
|
10
|
-
* Mapped to A3M routing:
|
|
11
|
-
* - Tissue value → query stakes / expected cost of wrong answer
|
|
12
|
-
* - Attack probability → probability that the primary provider fails/misbehaves
|
|
13
|
-
* - Defense cost → cost of the shadow verification call
|
|
14
|
-
* - Marginal return → expected reduction in error rate from verification
|
|
15
|
-
*
|
|
16
|
-
* Instead of binary always-on (wasteful) or always-off (risky), ODT says:
|
|
17
|
-
* Sample shadow verification PROPORTIONALLY to expected value of verification.
|
|
18
|
-
*
|
|
19
|
-
* The sampling probability is:
|
|
20
|
-
* P(shadow) = f(expected_error_cost_reduction, query_risk)
|
|
21
|
-
*
|
|
22
|
-
* This is NOT the Zahavi "shared expert" (which always runs on 100% of queries).
|
|
23
|
-
* ODT shadow runs probabilistically — only on queries where the expected
|
|
24
|
-
* verification benefit exceeds the verification cost.
|
|
25
|
-
*
|
|
26
|
-
* Usage:
|
|
27
|
-
* const sampler = new ShadowSampler();
|
|
28
|
-
* const decision = await sampler.routeWithShadow(query, { strategy: 'auto' });
|
|
29
|
-
* // decision.hasShadow === true iff we sampled a shadow provider
|
|
30
|
-
* // decision.primaryResult and decision.shadowResult are compared automatically
|
|
31
|
-
*/
|
|
32
|
-
import { extractQueryFeatures, RouteDecision } from './advancedRouter';
|
|
33
|
-
export interface ShadowSamplerConfig {
|
|
34
|
-
/**
|
|
35
|
-
* Minimum query stakes (estimated cost of wrong answer) to consider shadow.
|
|
36
|
-
* Below this, P(shadow) = 0 regardless of other factors.
|
|
37
|
-
* In dollars — what a wrong answer costs you.
|
|
38
|
-
* Default: $0.01 (1 cent — roughly equivalent to a simple API call cost)
|
|
39
|
-
*/
|
|
40
|
-
minQueryStake?: number;
|
|
41
|
-
/**
|
|
42
|
-
* Maximum probability of shadow verification.
|
|
43
|
-
* Set to 1.0 for always-on (Zahavi-style, expensive).
|
|
44
|
-
* Default: 0.15 (15% — ODT-proportional sampling)
|
|
45
|
-
*/
|
|
46
|
-
maxShadowProbability?: number;
|
|
47
|
-
/**
|
|
48
|
-
* Risk threshold (from QueryFeatures.risk_profile) above which
|
|
49
|
-
* shadow probability scales up linearly.
|
|
50
|
-
* 0.0 = no risk scaling (all queries get same P(shadow))
|
|
51
|
-
* 0.5 = medium risk scales P(shadow) by 50%
|
|
52
|
-
* 1.0 = high risk scales P(shadow) by 100%
|
|
53
|
-
*/
|
|
54
|
-
riskScalingFactor?: number;
|
|
55
|
-
/**
|
|
56
|
-
* Cost scaling factor — if query is expensive (large output),
|
|
57
|
-
* shadow is more worthwhile (higher P(shadow)).
|
|
58
|
-
* 0.0 = no cost scaling.
|
|
59
|
-
* Default: 0.3 (expensive queries get moderate boost in P(shadow))
|
|
60
|
-
*/
|
|
61
|
-
costScalingFactor?: number;
|
|
62
|
-
/**
|
|
63
|
-
* Provider to use as shadow (cheapest reliable provider).
|
|
64
|
-
* If not specified, auto-selected from available providers.
|
|
65
|
-
*/
|
|
66
|
-
shadowProvider?: string;
|
|
67
|
-
/**
|
|
68
|
-
* Always use this shadow provider (overrides auto-selection).
|
|
69
|
-
*/
|
|
70
|
-
forceShadowProvider?: boolean;
|
|
71
|
-
/**
|
|
72
|
-
* If true, use complexity as a signal for verification value.
|
|
73
|
-
* Complex queries (code, math, reasoning) benefit more from verification.
|
|
74
|
-
* Default: true
|
|
75
|
-
*/
|
|
76
|
-
useComplexitySignal?: boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Debug mode: always shadow regardless of sampling.
|
|
79
|
-
* Default: false
|
|
80
|
-
*/
|
|
81
|
-
forceShadow?: boolean;
|
|
82
|
-
}
|
|
83
|
-
export interface ShadowDecision extends RouteDecision {
|
|
84
|
-
/** Whether a shadow provider was sampled for this query */
|
|
85
|
-
hasShadow: boolean;
|
|
86
|
-
/** The sampled shadow provider (null if no shadow) */
|
|
87
|
-
shadowProvider: string | null;
|
|
88
|
-
/** Shadow sampling probability that was used */
|
|
89
|
-
shadowProbability: number;
|
|
90
|
-
/** The query features that triggered shadow decision */
|
|
91
|
-
features: ReturnType<typeof extractQueryFeatures>;
|
|
92
|
-
/** ODT rationale for the shadow decision */
|
|
93
|
-
shadowReasoning: string;
|
|
94
|
-
}
|
|
95
|
-
export interface ShadowedResponse {
|
|
96
|
-
primary: string;
|
|
97
|
-
shadow: string | null;
|
|
98
|
-
winner: 'primary' | 'shadow' | 'tie' | 'no-shadow';
|
|
99
|
-
confidenceDelta: number;
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* Optimal Defense Theory Shadow Sampler
|
|
103
|
-
*
|
|
104
|
-
* Allocates shadow verification proportionally to query value and risk.
|
|
105
|
-
*
|
|
106
|
-
* The ODT sampling probability:
|
|
107
|
-
* P_shadow = min(maxP, baseP + risk_adj + cost_adj + complexity_adj)
|
|
108
|
-
*
|
|
109
|
-
* where:
|
|
110
|
-
* baseP = baseline verification rate (ODT " constitutive defense")
|
|
111
|
-
* risk_adj = risk_profile scaling (ODT "induced defense")
|
|
112
|
-
* cost_adj = output cost scaling (value of correct answer)
|
|
113
|
-
* complexity_adj = query complexity signal
|
|
114
|
-
*/
|
|
115
|
-
export declare class ShadowSampler {
|
|
116
|
-
private config;
|
|
117
|
-
private _shadowProvider;
|
|
118
|
-
private _shadowCount;
|
|
119
|
-
private _totalCount;
|
|
120
|
-
constructor(config?: ShadowSamplerConfig);
|
|
121
|
-
/**
|
|
122
|
-
* Auto-select the cheapest available provider as the shadow.
|
|
123
|
-
* Excludes the primary provider to ensure diversity.
|
|
124
|
-
*/
|
|
125
|
-
private selectShadowProvider;
|
|
126
|
-
/**
|
|
127
|
-
* Estimate the query "stakes" — the expected cost of a wrong answer.
|
|
128
|
-
*
|
|
129
|
-
* ODT maps this to "tissue value": how much is this asset worth protecting?
|
|
130
|
-
* In routing terms: if this query fails, how much does it cost?
|
|
131
|
-
*
|
|
132
|
-
* We approximate this as:
|
|
133
|
-
* stake ≈ estimated_output_tokens × cost_per_token × criticality_multiplier
|
|
134
|
-
*
|
|
135
|
-
* where criticality is derived from query complexity and risk_profile.
|
|
136
|
-
*/
|
|
137
|
-
private estimateQueryStake;
|
|
138
|
-
/**
|
|
139
|
-
* Compute the ODT sampling probability for this query.
|
|
140
|
-
*
|
|
141
|
-
* ODT principle: defense (shadow) allocation ∝ expected benefit of defense.
|
|
142
|
-
* Expected benefit = P(failure) × cost_of_failure
|
|
143
|
-
*
|
|
144
|
-
* So P(shadow) scales with:
|
|
145
|
-
* 1. Query stake (expected cost of wrong answer)
|
|
146
|
-
* 2. Risk profile (probability of primary failure)
|
|
147
|
-
* 3. Output cost (verification ROI — cheaper outputs need less verification)
|
|
148
|
-
* 4. Complexity (complex queries benefit more from verification)
|
|
149
|
-
*/
|
|
150
|
-
private computeShadowProbability;
|
|
151
|
-
/**
|
|
152
|
-
* Route a query, with optional ODT-proportional shadow verification.
|
|
153
|
-
*
|
|
154
|
-
* @param prompt - The user query
|
|
155
|
-
* @param options - Routing options (same as routeQuery)
|
|
156
|
-
* @returns ShadowDecision with shadow metadata
|
|
157
|
-
*/
|
|
158
|
-
routeWithShadow(prompt: string, options?: {
|
|
159
|
-
available_models?: string[];
|
|
160
|
-
budget_multiplier?: number;
|
|
161
|
-
}): ShadowDecision;
|
|
162
|
-
/**
|
|
163
|
-
* Compare primary and shadow outputs.
|
|
164
|
-
* Returns the "better" answer and confidence delta.
|
|
165
|
-
*
|
|
166
|
-
* For production use: this would call both providers in parallel
|
|
167
|
-
* and compare outputs. For now, returns a stub that signals
|
|
168
|
-
* the caller should handle comparison.
|
|
169
|
-
*/
|
|
170
|
-
compareOutputs(primaryAnswer: string, shadowAnswer: string | null): Promise<ShadowedResponse>;
|
|
171
|
-
/**
|
|
172
|
-
* Get sampling statistics for monitoring.
|
|
173
|
-
*/
|
|
174
|
-
getStats(): {
|
|
175
|
-
shadowCount: number;
|
|
176
|
-
totalCount: number;
|
|
177
|
-
shadowRate: number;
|
|
178
|
-
};
|
|
179
|
-
/**
|
|
180
|
-
* Reset statistics counters.
|
|
181
|
-
*/
|
|
182
|
-
resetStats(): void;
|
|
183
|
-
/**
|
|
184
|
-
* Update configuration at runtime.
|
|
185
|
-
*/
|
|
186
|
-
configure(config: Partial<ShadowSamplerConfig>): void;
|
|
187
|
-
}
|