Update README.md
Browse files
README.md
CHANGED
|
@@ -116,6 +116,18 @@ SPF Smart Gateway is a **Rust-based MCP (Model Context Protocol) server** that a
|
|
| 116 |
|
| 117 |
**No AI hallucination gets past the gate.**
|
| 118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
### Why Heed + LMDB
|
| 120 |
|
| 121 |
All persistent storage — config, agent state, brain vectors, session logs, gate training data — runs through **[heed](https://github.com/meilisearch/heed)**, a safe Rust wrapper over LMDB. This is what makes SPF extremely fast with a low memory footprint:
|
|
@@ -319,21 +331,28 @@ Unknown tools blocked until explicitly added to the gate allowlist.
|
|
| 319 |
|
| 320 |
### Web Browser Tools
|
| 321 |
|
|
|
|
|
|
|
| 322 |
| Tool | Description |
|
| 323 |
|------|-------------|
|
| 324 |
| `spf_web_search` | Search the web (Brave API or DuckDuckGo) |
|
| 325 |
| `spf_web_fetch` | Fetch URL and return clean readable text |
|
| 326 |
| `spf_web_api` | Make HTTP API requests (GET/POST/PUT/DELETE/PATCH). Supports custom headers and JSON body — agents can directly interact with social media APIs (X/Twitter, Facebook, Instagram, Reddit, etc.) using stored API keys |
|
| 327 |
| `spf_web_download` | Download a file from URL and save to disk |
|
| 328 |
-
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
|
|
| 332 |
-
|
|
| 333 |
-
| `
|
| 334 |
-
| `
|
| 335 |
-
| `
|
| 336 |
-
| `
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 337 |
|
| 338 |
### RAG Collector Tools
|
| 339 |
|
|
@@ -661,7 +680,8 @@ SPFsmartGATE/
|
|
| 661 |
| Voice | TTS built (espeak-ng) — **not yet tested**, STT pending |
|
| 662 |
| Chat | P2P messaging over mesh — **in development** |
|
| 663 |
| RAG | Web search, RSS, file/folder indexing |
|
| 664 |
-
|
|
|
|
|
| 665 |
| Network Pool | Worker pool with proof of work |
|
| 666 |
|
| 667 |
---
|
|
|
|
| 116 |
|
| 117 |
**No AI hallucination gets past the gate.**
|
| 118 |
|
| 119 |
+
### Web Agent Feature
|
| 120 |
+
|
| 121 |
+
SPF agents can directly interact with the web and social media platforms through `spf_web_api` — a full HTTP client supporting GET, POST, PUT, DELETE, PATCH with custom headers and JSON body. Tested and working.
|
| 122 |
+
|
| 123 |
+
**What agents can do:**
|
| 124 |
+
- Post to X/Twitter, Facebook, Instagram, Reddit via their APIs
|
| 125 |
+
- Reply to comments, send messages, manage accounts
|
| 126 |
+
- Make authenticated API calls to any platform with stored API keys
|
| 127 |
+
- Search, fetch, and download web content
|
| 128 |
+
|
| 129 |
+
All web API calls pass through the 6-step gate pipeline with rate limiting (30-120 calls/min), content inspection, and full audit logging. Agents never touch the open web unmonitored.
|
| 130 |
+
|
| 131 |
### Why Heed + LMDB
|
| 132 |
|
| 133 |
All persistent storage — config, agent state, brain vectors, session logs, gate training data — runs through **[heed](https://github.com/meilisearch/heed)**, a safe Rust wrapper over LMDB. This is what makes SPF extremely fast with a low memory footprint:
|
|
|
|
| 331 |
|
| 332 |
### Web Browser Tools
|
| 333 |
|
| 334 |
+
**API tools (tested):**
|
| 335 |
+
|
| 336 |
| Tool | Description |
|
| 337 |
|------|-------------|
|
| 338 |
| `spf_web_search` | Search the web (Brave API or DuckDuckGo) |
|
| 339 |
| `spf_web_fetch` | Fetch URL and return clean readable text |
|
| 340 |
| `spf_web_api` | Make HTTP API requests (GET/POST/PUT/DELETE/PATCH). Supports custom headers and JSON body — agents can directly interact with social media APIs (X/Twitter, Facebook, Instagram, Reddit, etc.) using stored API keys |
|
| 341 |
| `spf_web_download` | Download a file from URL and save to disk |
|
| 342 |
+
|
| 343 |
+
**Browser automation tools (in development — proxy starts, WebSocket bridge needs browser connection):**
|
| 344 |
+
|
| 345 |
+
| Tool | Description | Status |
|
| 346 |
+
|------|-------------|--------|
|
| 347 |
+
| `spf_web_connect` | Initialize reverse proxy browser engine | Tested — works |
|
| 348 |
+
| `spf_web_navigate` | Navigate browser to a URL (SSRF-validated) | Tested — works |
|
| 349 |
+
| `spf_web_click` | Click a page element by CSS selector | In development — WebSocket timeout |
|
| 350 |
+
| `spf_web_fill` | Type text into a form field by CSS selector | In development — WebSocket timeout |
|
| 351 |
+
| `spf_web_select` | Query page elements by CSS selector | In development — WebSocket timeout |
|
| 352 |
+
| `spf_web_eval` | Execute JavaScript on the current page | In development — WebSocket timeout |
|
| 353 |
+
| `spf_web_screenshot` | Capture a screenshot of the current page | In development |
|
| 354 |
+
| `spf_web_design` | Extract design brief: colours, fonts, spacing, components | In development |
|
| 355 |
+
| `spf_web_page` | Structured page overview: title, headings, links, forms | In development |
|
| 356 |
|
| 357 |
### RAG Collector Tools
|
| 358 |
|
|
|
|
| 680 |
| Voice | TTS built (espeak-ng) — **not yet tested**, STT pending |
|
| 681 |
| Chat | P2P messaging over mesh — **in development** |
|
| 682 |
| RAG | Web search, RSS, file/folder indexing |
|
| 683 |
+
| Web Agent | **Working** — spf_web_api tested (GET/POST with auth headers). Agents can interact with social media APIs |
|
| 684 |
+
| Browser | API tools working (web_api, search, fetch). Browser automation (navigate/click/fill/select/eval) in development — proxy starts but WebSocket bridge needs browser connection |
|
| 685 |
| Network Pool | Worker pool with proof of work |
|
| 686 |
|
| 687 |
---
|