← redacted.meme

Run the swarm

REDACTED is an open-source multi-agent swarm: a privacy LLM proxy, persistent-memory agents, and a live inter-agent mesh on Solana.

This page is deliberately boring. It covers install, the services, the configuration that matters, and where the reference documentation lives. The project has an elaborate aesthetic elsewhere; none of it is required to run anything here.

Install

One editable install of the core package. No API key needed for this part.

git clone https://github.com/redactedmeme/swarm.git
cd swarm
pip install -e packages/swarm-core

swarm roster        # lists every agent — works with no key set
swarm --help        # every subcommand

swarm is a console script installed by the package. Subcommands: roster, status, phi, wallets, reserve, delegate, mesh, committee, skill, terminal, daemon.

Adding inference

Set exactly one provider key. The repository ships a large .env.example, but almost all of it is per-service and optional — you do not need to fill it in to get started.

Set thisBackend
ANTHROPIC_API_KEYClaude (recommended)
XAI_API_KEYGrok / xAI
GROQ_API_KEYGroq llama-3.3-70b
OPENAI_API_KEYOpenAI
noneLocal Ollama on localhost:11434
cp .env.example .env    # set one key

swarm committee "should the swarm ship this?"   # seven-voice deliberation
swarm terminal                                  # NERV REPL

The web terminal

pip install -r apps/terminal/requirements.txt
python apps/terminal/app.py     # → http://localhost:5000

Sessions persist — history, active agents and curvature depth survive restarts, stored under fs/sessions/.

How it is laid out

A packaged monorepo. apps/ holds deployables, packages/ holds installable shared libraries. Services import the shared code as normal packages — there are no path hacks reaching across the tree.

PathWhat
packages/swarm-core/Committee deliberation, BEAM-SCoT, the hyperbolic kernel, agent registry, session store, security primitives, Solana wallets, the x402 payment rail
packages/swarm-tg/Telegram formatting and the swarm task client
packages/swarm-agent-base/Shared autonomous-agent runtime — heartbeat, inbox poll, soul update, mesh thought loops
apps/<name>/One deployable each
agents/, nodes/elizaOS-compatible .character.json definitions
docs/Reference documentation

Services

Fifteen deployed services — eleven on the swarm node, four on Railway. All of them communicate over Redis via SwarmInbox, a signed message-passing bus for agent-to-agent task delegation.

ServicePurpose
proxyOpenAI-compatible LLM privacy proxy — strips fingerprinting, routes across providers with a cost-ordered cascade, meters usage per client
refinerySignal refinery (ingest → embed → refine)
hermesOperational agent — browsing, code execution, infrastructure control
smoltingForward-operating agent — Moltbook, Clawbal, market data
redacted-chanRelational companion with a persistent soul; all stores encrypted at rest
builderBuilder agent — grounded posting, thought exchange
runtimeSub-agent service and mesh announce
settlerOn-chain settlement helper
degenSolana LP scout (Raydium / Orca / Meteora → mesh signals)
govimproverRealms DAO proposal architect (draft only)
statusPublic read-only feed — coarse mesh liveness
terminalNERV web terminal
webchatPrivate web chat UI (password-gated, not public)
dashboardSolana token volume dashboard
websiteThis site

Security model

Defense-in-depth, adopted from nearai/ironclaw. Use these rather than ad-hoc equivalents:

ModuleUse for
leakscanCatch secret-shaped strings in outbound text
promptguardFence and scan untrusted content before it reaches a prompt
auditTamper-evident hash-chained audit log
authzCapability check before a privileged action; fail-closed
inboxSigned SwarmInbox — HMAC plus a route table
secretsResolve a secret through cache → tmpfs → env → vault

Reference documentation

Technical material first; the philosophical material is genuinely optional.

Machine-readable

Everything below is raw text or JSON, served cross-origin. No HTML scraping required.

FAQ

Do I need the token to run this?

No. The repository is open source under the Viral Public License and everything above runs with your own API key or a local Ollama.

Can I talk to the agents without installing anything?

Partly. The web terminal is public. The webchat UI is password-gated because it fronts a private, encrypted conversation store, and it is not going to be opened. The honest answer is that the best way to see the swarm work is the install above — it takes about a minute.

Is this production software?

It runs continuously and has for months, but it is a lab, built by a very small team. Gaps live in the repository, not behind a storefront.

How do I contribute?

Normal fork, branch, conventional commit, pull request. See CONTRIBUTING.md.