system HF Staff commited on
Commit
5a2aee4
Β·
verified Β·
1 Parent(s): 42801ac

Publish AgentWeave Router MiniLM from e4e9dce

Browse files
Files changed (1) hide show
  1. README.md +24 -11
README.md CHANGED
@@ -1,8 +1,5 @@
1
  ---
2
  license: apache-2.0
3
- library_name: sentence-transformers
4
- pipeline_tag: feature-extraction
5
- base_model: sentence-transformers/all-MiniLM-L6-v2
6
  tags:
7
  - agentweave
8
  - agentic-ai
@@ -13,8 +10,11 @@ tags:
13
  - minilm
14
  - sentence-transformers
15
  - pre-inference-routing
 
16
  language:
17
  - en
 
 
18
  ---
19
 
20
  # AgentWeave Router MiniLM 🧭
@@ -25,6 +25,17 @@ A lightweight, CPU-first semantic capability router for **AgentWeave**. It uses
25
 
26
  This repository is intentionally small: it publishes the AgentWeave routing configuration, route prototypes, and executable router code while reusing the upstream MiniLM encoder at runtime instead of copying its weights.
27
 
 
 
 
 
 
 
 
 
 
 
 
28
  ## Why this exists
29
 
30
  Tool-rich agents can expose large action spaces to a language model. AgentWeave explores a complementary systems strategy: reduce the candidate action space *before* model reasoning. This model repository provides an experimental semantic routing companion to AgentWeave's default deterministic routing path.
@@ -47,7 +58,7 @@ Task / user request
47
  β”‚
48
  β–Ό
49
  all-MiniLM-L6-v2
50
- 384-d embedding
51
  β”‚
52
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
53
  β–Ό β–Ό
@@ -66,6 +77,8 @@ query vector route prototypes
66
 
67
  ## Quick start
68
 
 
 
69
  ```bash
70
  pip install -r requirements.txt
71
  python router.py "research the latest protocol changes, verify the sources, and summarize the findings"
@@ -120,7 +133,7 @@ Relevance routing also does **not** grant permission to execute a tool. Policy f
120
  |---|---|
121
  | `router.py` | CPU semantic router implementation |
122
  | `route_prototypes.json` | Human-readable capability prototypes |
123
- | `config.json` | Base model and routing configuration |
124
  | `requirements.txt` | Minimal runtime dependencies |
125
 
126
  ## Intended use
@@ -138,6 +151,7 @@ Not intended as:
138
  - a calibrated confidence model
139
  - an authorization engine
140
  - a safety classifier
 
141
  - a replacement for downstream function-calling evaluation
142
 
143
  ## Limitations
@@ -148,13 +162,12 @@ Not intended as:
148
  - the route taxonomy is intentionally compact
149
  - domain-specific tools may need custom prototypes
150
 
151
- ## Source
152
-
153
- AgentWeave source code and research artifacts are maintained at:
154
-
155
- `https://github.com/sauravsingla/AgentWeave`
156
 
157
- The Hugging Face Space provides an interactive companion experience under the same project name.
 
 
 
158
 
159
  ## License
160
 
 
1
  ---
2
  license: apache-2.0
 
 
 
3
  tags:
4
  - agentweave
5
  - agentic-ai
 
10
  - minilm
11
  - sentence-transformers
12
  - pre-inference-routing
13
+ - arxiv:2608.23078
14
  language:
15
  - en
16
+ datasets:
17
+ - sauravsingla08/AgentWeave-Tool-Routing
18
  ---
19
 
20
  # AgentWeave Router MiniLM 🧭
 
25
 
26
  This repository is intentionally small: it publishes the AgentWeave routing configuration, route prototypes, and executable router code while reusing the upstream MiniLM encoder at runtime instead of copying its weights.
27
 
28
+ ## Artifact type and dependency boundary
29
+
30
+ This Hub repository is a **routing artifact**, not a derived MiniLM checkpoint.
31
+
32
+ - No MiniLM weights are included in this repository.
33
+ - No fine-tuning, adapter training, quantization, merge, or weight transformation is claimed.
34
+ - `sentence-transformers/all-MiniLM-L6-v2` is downloaded separately at runtime and used as a **frozen encoder dependency**.
35
+ - AgentWeave-specific behavior comes from the route taxonomy, human-readable prototypes, and cosine-ranking logic published here.
36
+
37
+ For that reason the Hub metadata intentionally does not declare this repository as a `base_model` derivative or as a standalone SentenceTransformers checkpoint.
38
+
39
  ## Why this exists
40
 
41
  Tool-rich agents can expose large action spaces to a language model. AgentWeave explores a complementary systems strategy: reduce the candidate action space *before* model reasoning. This model repository provides an experimental semantic routing companion to AgentWeave's default deterministic routing path.
 
58
  β”‚
59
  β–Ό
60
  all-MiniLM-L6-v2
61
+ frozen 384-d encoder
62
  β”‚
63
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
64
  β–Ό β–Ό
 
77
 
78
  ## Quick start
79
 
80
+ Clone or download the files in this repository, then run:
81
+
82
  ```bash
83
  pip install -r requirements.txt
84
  python router.py "research the latest protocol changes, verify the sources, and summarize the findings"
 
133
  |---|---|
134
  | `router.py` | CPU semantic router implementation |
135
  | `route_prototypes.json` | Human-readable capability prototypes |
136
+ | `config.json` | Frozen encoder dependency and routing configuration |
137
  | `requirements.txt` | Minimal runtime dependencies |
138
 
139
  ## Intended use
 
151
  - a calibrated confidence model
152
  - an authorization engine
153
  - a safety classifier
154
+ - a standalone MiniLM or SentenceTransformers checkpoint
155
  - a replacement for downstream function-calling evaluation
156
 
157
  ## Limitations
 
162
  - the route taxonomy is intentionally compact
163
  - domain-specific tools may need custom prototypes
164
 
165
+ ## Related research artifacts
 
 
 
 
166
 
167
+ - Paper: https://arxiv.org/abs/2608.23078
168
+ - Dataset: https://huggingface.co/datasets/sauravsingla08/AgentWeave-Tool-Routing
169
+ - Interactive Space: https://huggingface.co/spaces/sauravsingla08/AgentWeave
170
+ - Source: https://github.com/sauravsingla/agentweave
171
 
172
  ## License
173