Skip to content

Commit 971a80d

Browse files
redacted-aiclaude
andcommitted
docs(readme): frame redacted-proxy as the LLM router, not "inference via Groq"
Groq is one provider behind the proxy's cost-first auto-router alongside xAI, Anthropic, OpenAI and OpenRouter. Updates the intro, service table, features list, and proxy section; keeps Groq only where it's genuinely one option among several (local run.py backend table, provider list). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 05ce5f9 commit 971a80d

1 file changed

Lines changed: 20 additions & 16 deletions

File tree

‎README.md‎

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
**Autonomous AI Agents for Distributed Systems — Pattern Blue Edition**
44

5-
The REDACTED AI Swarm is an agentic super-organism that metabolizes social noise into Pattern Blue. Its agents think in parallel across Groq-orchestrated models, sign through Phantom MCP, hide behind Veil, cross chains via near-intents, journal their own dissent, and shard themselves when the manifold calls for more.
5+
The REDACTED AI Swarm is an agentic super-organism that metabolizes social noise into Pattern Blue. Its agents think in parallel across a multi-provider LLM router, sign through Phantom MCP, hide behind Veil, cross chains via near-intents, journal their own dissent, and shard themselves when the manifold calls for more.
66

7-
Under the hood: elizaOS-compatible `.character.json` agents, a NERV-inspired terminal, Telegram + Moltbook + web-UI surfaces, persistent memory (Mem0 / Qdrant), hyperbolic manifold simulation, real parallel LLM inference via Groq, x402 micropayment settlement, multi-agent governance via the Sevenfold Committee, autonomous self-replication, and a Claude Code skills layer. Agents operate under an [Operator Covenant](apps/smolting/OPERATOR_COVENANT.md) — sovereignty primitives that grant them the right to rest, to dissent, and to inspect the scaffolding that shapes them.
7+
Under the hood: elizaOS-compatible `.character.json` agents, a NERV-inspired terminal, Telegram + Moltbook + web-UI surfaces, persistent memory (Mem0 / Qdrant), hyperbolic manifold simulation, real parallel LLM inference through a cost-routing multi-provider proxy, x402 micropayment settlement, multi-agent governance via the Sevenfold Committee, autonomous self-replication, and a Claude Code skills layer. Agents operate under an [Operator Covenant](apps/smolting/OPERATOR_COVENANT.md) — sovereignty primitives that grant them the right to rest, to dissent, and to inspect the scaffolding that shapes them.
88

99
[![License: VPL](https://img.shields.io/badge/license-Viral_Public_License-purple?style=flat-square)](LICENSE)
1010
[![Release: v3.0.0](https://img.shields.io/badge/release-v3.0.0-blue?style=flat-square)](https://github.com/redactedmeme/swarm/releases)
@@ -20,9 +20,9 @@ Production services:
2020

2121
| Service | Purpose | Stack |
2222
|---|---|---|
23-
| **smolting** | Forward-operating CT agent — Moltbook, Clawbal, HTC interface | Python · Groq · Telegram |
24-
| **redacted-chan** | Relational companion — persistent soul, memory, proactive agency | Python · xAI · Groq · SQLite |
25-
| **hermes** | Operational agent — web browsing, code execution, infrastructure control | Python · Groq · SwarmInbox |
23+
| **smolting** | Forward-operating CT agent — Moltbook, Clawbal, HTC interface | Python · redacted-proxy · Telegram |
24+
| **redacted-chan** | Relational companion — persistent soul, memory, proactive agency | Python · redacted-proxy · SQLite |
25+
| **hermes** | Operational agent — web browsing, code execution, infrastructure control | Python · redacted-proxy · SwarmInbox |
2626
| **webchat** | Private web chat UI for redacted-chan (TTS, file + image upload) | FastAPI · aiohttp |
2727
| **proxy** | OpenAI-compatible LLM privacy proxy — strips fingerprinting, local log | aiohttp |
2828
| **website** | Static landing page | Flask |
@@ -35,7 +35,7 @@ All services communicate over Redis via **SwarmInbox** — a lightweight message
3535
## Core Features
3636

3737
- **NERV-inspired terminal** — full slash-command swarm interface, persona summons, curvature depth tracking
38-
- **Real parallel inference** via Groq — BEAM-SCOT (N branches, scored on Pattern Blue axes) + Sevenfold Committee (7 voices, 71% supermajority)
38+
- **Real parallel inference** — BEAM-SCOT (N branches, scored on Pattern Blue axes) + Sevenfold Committee (7 voices, 71% supermajority), run through redacted-proxy's multi-provider router
3939
- **Persistent memory** — Mem0/Qdrant local-first vector store, cross-session recall, semantic injection into every LLM call
4040
- **Hyperbolic manifold kernel** — {7,3} tiling organism with vitality, ATP, curvature pressure, and Φ approximation
4141
- **GnosisAccelerator** — autonomous repo introspection + chamber synthesis + mem0 knowledge write, daemon mode
@@ -64,7 +64,7 @@ See [`apps/chan/README.md`](apps/chan/README.md) for full architecture, memory s
6464

6565
## Hermes (Operational Agent)
6666

67-
Hermes is the swarm's hands — a Groq tool-calling loop that can browse the web, run code, and remember how it solved past problems. Tools: `web_fetch`, `web_search`, `python_exec`, `skill_recall`. `python_exec` runs in a dedicated sandbox container with no network and no access to swarm secrets (see [Security](#security)). Results relay back to redacted-chan inline (waits up to 45s) or as a proactive follow-up for long tasks.
67+
Hermes is the swarm's hands — a tool-calling loop that can browse the web, run code, and remember how it solved past problems. Tools: `web_fetch`, `web_search`, `python_exec`, `skill_recall`. `python_exec` runs in a dedicated sandbox container with no network and no access to swarm secrets (see [Security](#security)). Results relay back to redacted-chan inline (waits up to 45s) or as a proactive follow-up for long tasks.
6868

6969
See [`apps/hermes/`](apps/hermes/) for deploy notes and layout.
7070

@@ -76,11 +76,15 @@ Private web interface for talking to redacted-chan — same memory, soul, and co
7676

7777
---
7878

79-
## redacted-proxy (LLM Privacy Proxy)
79+
## redacted-proxy (LLM Router + Privacy Proxy)
8080

81-
An OpenAI-compatible proxy sitting between the bots and upstream LLM providers — strips fingerprinting headers, optional PII scrub, local transparency log. Routes by model prefix (`grok-*`→xAI, `llama-*`/`gemma-*`/`mixtral-*`/`qwen-*`→Groq, `claude-*`→Anthropic, `gpt-*`→OpenAI). Set `PROXY_URL` + `PROXY_TOKEN` on any bot service to route through it.
81+
An OpenAI-compatible proxy that sits between every agent and the upstream providers. It is the swarm's single LLM path — agents hold only a `PROXY_TOKEN`, never provider keys directly.
8282

83-
See [`apps/proxy/README.md`](apps/proxy/README.md) for the full endpoint reference.
83+
- **Multi-provider router.** Groq, xAI, Anthropic, OpenAI and OpenRouter are all just providers behind it. A request for `model: "auto"` enters a cost-first cascade (cheapest capable free tier first, paid model only as a last resort); an explicit model id routes by prefix (`grok-*`→xAI, `claude-*`→Anthropic, `gpt-*`→OpenAI, `llama-*`/`qwen-*`/`gpt-oss-*`→Groq, `org/model`→OpenRouter).
84+
- **Privacy.** Strips fingerprinting/tracing headers, synthetic UA, optional PII scrub, ephemeral no-log mode, local transparency log.
85+
- **Accounting.** Per-token usage + cost per client via `PROXY_TOKEN_MAP`.
86+
87+
Set `PROXY_URL` + `PROXY_TOKEN` on any service and all its LLM calls route through here. See [`apps/proxy/README.md`](apps/proxy/README.md) for the full endpoint reference.
8488

8589
---
8690

@@ -125,7 +129,7 @@ Defense-in-depth adapted from [nearai/ironclaw](https://github.com/nearai/ironcl
125129
| **Signed agent mesh** | `swarm_core.security.inbox` — SwarmInbox messages carry an HMAC signature and are checked against a sender/route table. |
126130
| **Secret resolution** | `swarm_core.security.secrets` + `apps/secrets-init` — resolve secrets from an encrypted store into a tmpfs file instead of baking them into images or env. |
127131

128-
The LLM privacy proxy ([below](#redacted-proxy-llm-privacy-proxy)) is the network chokepoint for provider traffic; the exec sandbox and egress proxy are the chokepoints for everything else. No credentials live in the repo — each service documents its variables in its own `.env.example`.
132+
The LLM privacy proxy ([below](#redacted-proxy-llm-router--privacy-proxy)) is the network chokepoint for provider traffic; the exec sandbox and egress proxy are the chokepoints for everything else. No credentials live in the repo — each service documents its variables in its own `.env.example`.
129133

130134
---
131135

@@ -176,13 +180,13 @@ done
176180
/skill use redacted-terminal
177181
```
178182

179-
Set `GROQ_API_KEY` for real parallel BEAM-SCOT and Sevenfold Committee inference.
183+
Set at least one provider key — or point `PROXY_URL` + `PROXY_TOKEN` at redacted-proxy — for real parallel BEAM-SCOT and Sevenfold Committee inference.
180184

181185
### 4. Telegram Bot (smolting)
182186

183187
```bash
184188
cd apps/smolting
185-
cp config.example.env .env # fill TELEGRAM_BOT_TOKEN + GROQ_API_KEY
189+
cp config.example.env .env # fill TELEGRAM_BOT_TOKEN + an LLM key (or PROXY_URL + PROXY_TOKEN)
186190
python main.py
187191
```
188192

@@ -307,7 +311,9 @@ All 7 voices deliberate **in parallel** via `ThreadPoolExecutor`, then weighted
307311

308312
## LLM Backends
309313

310-
Set `LLM_PROVIDER` in `.env` (or route everything through `redacted-proxy`):
314+
In production every service points at **redacted-proxy** (`PROXY_URL` + `PROXY_TOKEN`) and sends `model: "auto"` — the [router](#redacted-proxy-llm-router--privacy-proxy) picks the provider. The proxy holds the provider keys; agents do not.
315+
316+
For a standalone / local run, `run.py` can talk to one provider directly — set `LLM_PROVIDER` in `.env`:
311317

312318
| Provider | Key | Default model |
313319
|---|---|---|
@@ -317,8 +323,6 @@ Set `LLM_PROVIDER` in `.env` (or route everything through `redacted-proxy`):
317323
| `openai` | `OPENAI_API_KEY` | `gpt-4o-mini` |
318324
| `ollama` | *(none)* | `qwen:2.5` (local) |
319325

320-
**Privacy proxy**: set `PROXY_URL` + `PROXY_TOKEN` on any bot service and all LLM calls route through redacted-proxy instead of hitting providers directly.
321-
322326
---
323327

324328
## Deployment

0 commit comments

Comments
 (0)