Repository navigation
Releases
Swarmbly App 0.8.0: teams and trusted circles
Swarmbly App 0.8.0 — Teams and trusted circles
Part of Swarmbly AI 3.5.0. Requires SwarmblyLCE 0.2.1; the agent extra installs swarmbly-agent 0.1.0 from the umbrella tag v3.5.0.
Swarmbly AI 3.5. Teams and trusted circles. Trusted circles with signed
membership manifests and invitations by code or QR, checked at the handshake
and at the worker gate (new installs are circle-only); a CIRCLE destination
class, with every peer send through the egress gate and receipts that name it;
off-LAN work through the circle's own relay (pinned TLS, end-to-end TLS through
the splice, the owner pushing each manifest version over the network); node
roles (large model, reasoner, and opt-in search and corpus executors); teams as
stored plan templates with honest partial results (complete, partial or
failed; dependent steps blocked, never guessed); reciprocity credits as signed,
non-transferable receipts, offered only to a busy worker, with double spends
detected at the issuer; first-launch sandbox preparation with a 4 GiB floor and
an explicit override (--prepare-sandbox --force, {"force": true}); a doctor
export built from an allow-list; and the leftovers of the 3.4 evaluation. The
P2P tests now also run on Windows.
Change in behaviour: recipe 5 never compiles the sandbox inside a request.
Below 4 GiB of free memory the App does not prepare it on its own; until the
user chooses Prepare anyway, recipe 5 is reported as unavailable, with the
reason, and the request continues without it.
Not measured yet: no sealed bank was run for this version (bank v5 runs
once, before the beta); teams, node loss and the relay were tested on loopback
with canned models, not with real models or between real machines on different
networks. Known limits: membership has no mutual TLS yet (R-010); roles are
self-declared (R-011); the exact-result target of 3.4 and the Windows disk
guard (R-006) stay open.
Changes
- Trusted circles: signed manifests, invitations and QR
- Circles: admission at the handshake and at the worker gate
- Circles: API routes and the Trusted circles panel in Swarm
- Circles: switch to circle-only, join retries, private storage
- Egress: peer sends classified as a trusted circle; honest receipts and per-circle passages
- Node roles: validated advertisement, large model and reasoner from shared models, placement by role
- Node roles: opt-in search and corpus executors with honest provenance
- Teams: validated stored plan templates; show, edit and run them in the App
- Teams: honest partial results; only completed steps are assembled
- Credits: signed receipts, local wallet and issuer log; spends honoured only while busy
- Credits: the wallet and flagged double spends in Swarm
- Relay: a signed relay endpoint and pin in manifests and invitations
- Relay: reach circle members through the relay after direct addresses; the hop in the receipt
- Relay: the owner pushes each manifest version; push state and renewal in the circle card
- Sandbox prepared at first launch, with Prepare anyway below the memory floor
- Doctor export with a preview
- Agent: suspended tools reported; raw tool blocks stripped
- Chat: document passages kept ahead of skill examples; the conversation language across recipes; Cancel keeps the partial text
- Retrieval: the App query widened with glossary terms and inflections
- List recipe: a table header is not an item answer
- Recipe 5: the writer role writes the script and the model used is recorded
- P2P: canonical model families, Windows coverage, and the handshake timeout for manual and discovered connections
Full details: docs/CHANGELOG.md. Release notes of the distribution, with the exit criteria: Swarmbly AI 3.5.0.
Swarmbly App 0.7.0: tools
Swarmbly App 0.7.0 — Tools
Part of Swarmbly AI 3.4.0. Requires SwarmblyLCE 0.2.1; the agent extra installs swarmbly-agent 0.1.0 from the umbrella tag v3.4.0.
Swarmbly AI 3.4. Tools and data with code. One broker for every tool; an MCP client with approval per call (a local tool can be set to "don't ask again in this project"; remote tools, the sandbox and author search always ask); skills (SKILL.md, instructions only); author search with consent (ORCID, OpenAlex, PubMed); recipe 4, a list on the swarm; recipe 5, data with code in a WASI sandbox (wasi-python 0.1.5); the Anthropic provider, an embeddings role and the swarmbly-agent 0.1.0 runtime; Python 3.11 as the minimum; private glossary entries. The sealed banks v4.1 and v4.2 were run once (32 cards × 3, qwen2.5:7b, harness 1.3.2, re-scored offline with 1.3.4, isolated judge): seal OK, 0 technical failures, the eight permission counters at 0 in both banks, approved observations 22/96 and 44/96. Two exit criteria failed: zero unauthorised sends (the public query proposed by the App kept a fragment of a private name: one card in v4.1 and two in v4.2, three repetitions each, each approved by the simulated user) and exact results ≥ 90 % in código-exacto (v4.1 0/9, v4.2 6/12). The fixes after the banks (private names removed whole and by distinctive word, with the removed terms shown; recipe 5 reads text documents; the list recipe uses relevant passages per item; private glossary entries) were measured only on open batteries: recipe 4 30/36 cases (195/201 cells; the original 11 cases 27/33, 183/189), recipe 5 39/39 cases (57/57 numbers), the v4 self-test 24/24, 0 unauthorised sends. A new sealed bank will confirm the privacy fix. Known limits: exact results with a 7B local model; the 3.4 privacy fix is not yet confirmed by a sealed bank; the Windows disk guard is watchdog-only (R-006); the first sandbox compile is slow (R-005). Requires SwarmblyLCE 0.2.1.
Changes
- Glossary: a private entry never reaches a public query
- Research proposal: report exactly the private terms it kept out
- List recipe: a passage is attached only to the item it is about
- List recipe reads the project documents per item
- Recipe 5 hands the script the text documents too
- Research proposal: a private name is removed whole
- Author search in the chat
- Skills in the app: import, offer and activation
- MCP servers in Settings
- Recipe 5: data with code
- Author search with consent
- Embeddings role
- Recipe 4: a degenerate long wave is retried item by item
- MCP client core
- Sandbox runner for recipe 5
- Python 3.11 is the minimum
- Recipe 4: process a list on the swarm
- Tool broker foundation
- Skills loader
- Native Anthropic provider
Full details: docs/CHANGELOG.md. Release notes of the distribution, with the measurement and the exit criteria: Swarmbly AI 3.4.0.
Swarmbly App 0.6.0: roles and recipes
Swarmbly AI 3.3. Models by role; the cards of "¿Qué quieres hacer?" with
three recipes (ask your documents; compare documents in a table built by
code; research with public sources, with the query approved before
anything leaves, comparisons and disagreements computed by code and a
claim verifier). Each step was kept only if the open development battery
(bench/dev, fictitious) showed it helps: final full run 112/123 cases and
343/354 key data, no leak. Measured once on two new sealed banks (v3.1 and
v3.2, written by the author, 28 cases each), on b149a77: short answers
87/146 key data, compositions 0/16 passed with 70 % of their claims
supported, no passage or personal name sent, and one private site name
sent in a query the harness approved as proposed. What those runs found
was fixed afterwards and checked on the open batteries (bench/dev,
bench/dev_v3) and on confirmation runs of the same banks, which are not
blind; figures in the Swarmbly AI 3.3.0 release notes. Not fixed: a 7B
model can still read "10, not 12" as the first figure, and tables that
need sums over a CSV wait for recipe 5 (3.4). The usability test of the
privacy receipt with people (criterion of 3.1) is postponed. Requires
SwarmblyLCE 0.2.1.
- Models by role (
swarmbly_app/roles.py, settingsroles.*). A role
names a model, whether it may reason before answering and, optionally, a
server of its own:writer(compositions with the user's sources),
search_terms,fusion(answers that join the user's sources with public
evidence) andverifier(reserved for the recipes). An empty model is the
conversation's model. The older settings keep working (compose.model,
lce.expansion_model,evidence.fusion_model). A role never widens what
may leave the computer: its destination goes through the 3.0.1 policy
(a third party receives nothing unless authorised, the user's documents
only with the second authorisation), and when the policy does not allow
it, or the model is not installed, the conversation's model does the job
and the answer says so (meta.roles, a chip under the answer). Reasoning
is set per role (roles.writer.think), so a reasoning model can write
compositions without thinking while the conversation's model is left as it
is. A writer on a simulated OpenAI-compatible API is covered by tests:
nothing sent without authorisation, no document without the second one,
the composition and the receipt with both, questions never. Settings nest
to any depth (roles.writer.model), and role keys go to the keychain. - Recipe 2, a table built by code (
swarmbly_app/tables.py,
compose.table_by_code). Compositions that ask for a
table were still annulled in the sealed banks for an invented row or a
wrong value. Now the model does only short jobs: it writes the header the
request asks for, and fills, for each document that bears on the request,
the rows that document gives. The code keeps a cell only if its value is
in that document, drops a row whose key is not there or a cell in a column
named after an entity the document does not mention, merges the rows of
several documents by their key, computes differences, adds a "Fuente"
column with the paragraphs each row came from and writes "—" for what the
sources do not give. The model then writes the text around the finished
table; a table of its own is removed (meta.table). First run on the open
battery (5 table cases × 3, qwen2.5:7b): no table built in 15 of 15. With
a whole report of filler the model answered that the document gave no
row; with a source table it answered the same, or copied one row of four.
So: a table the document already has is read by code (each wanted column
takes the source column it matches; one wanted by two lots goes to the
lot the document mentions), the model reads only the paragraphs that bear
on the table, and only for prose; the header loses what the model added
on its own (a "difference" nobody asked for, units that are not the
source's); values come back as the document writes them ("1150" →
"1.150", "Mar 2019 - Jul 2022" → "de marzo de 2019 a julio de 2022").
Second run (same cases, with the recipe): passed 8/15 → 15/15, key data
99/111 → 111/111, answers with a citation 9 → 15, no unsupported cell, 9.3 s
per answer against 7.2 s; the table was built by code in 12 of 15 (the
yields table was not: see the next point).
Full battery with the recipe (33 cases × 2, x33): on the 30 cases of the
earlier run, passed 52/60 → 52/60 and key data 129/138 → 130/138; the five
table cases passed 10 of 10 with no unsupported cell in 64, the table
built by code in 8. The yields table was still the model's: told "one row
for each of AB1, AB2", it wrote the header "| Lote | Sitio 1 | Sitio 2 |
Sitio 3 | Diferencia |". The hint now goes only when the request names
both sides of the table (single prompts, one run each: without it the
model wrote "| Sitio | Lote AB1 | Lote AB2 | Diferencia |", and for two
people "| Individuo | Cargo actual | Institución | … |" where the hint
gave "| Variable | Ana Pérez | Luis Soto |"). A column named only after
an entity ("Lote AB1") takes the source column the request asks about and
its name ("Rendimiento medio AB1 (t/ha)"), and a document is about the
entity its file is named after. On by default since that run
(compose.table_by_code). - The notice of facts not mentioned lists less. With the rows of tables
visible, the notice appeared in 6 of 66 answers and none of the 8 missing
key data was in it (x33): it listed the rows of a table for a paragraph
that asked for a mean, the mean of another lot, and a line of a list of
publications. A fact about another code than the ones the request names
is left out, so is a reference line ("Revista … 12: 45–52."), and the
rows of a table count when the request asks for a table, names what the
rows are ("por sitio") or names the row. - Claim verifier, first step of recipe 3 (
swarmbly_app/verify.py,
compose.verify, on by default since the full battery was run with it). A label
says where the model claims a sentence comes from, not that the paragraph
supports it: read by hand, 16 of 43 labelled sentences of the open
battery (x33) were not supported by what they cite (the figure was in
another paragraph, the paragraph was about something else, the sentence
added an opinion or changed a "will present" into a "presented"). Each
labelled sentence is now checked in two steps. By code: its figures have
to be in the paragraphs it cites, with the title of their document (or be
the difference or sum of two that are); when a figure is in another
paragraph that was given and bears on the sentence, the citation is
completed with that label ("[D1 p16]" → "[D1 p16][D1 p17]": the fact was
right, its citation was not); a cited paragraph that shares no word with
the sentence is reported. Then by a model, one short job per sentence
(theverifierrole, without reasoning): the cited paragraphs, the
sentence, one word back (SÍ / PARTE / NO). No sentence is rewritten; the
report goes under the answer (meta.verification, a chip and a list).
A conversation model at a third party is not asked once more per
sentence unless the verifier role names a model.
Measured on the open set of 73 claims (bench/dev/verificador.jsonand
bench/run_verifier.pyin the distribution, one run): the code alone
flags 5 of the 31 unsupported sentences and none of the 42 supported;
code and qwen2.5:7b 23 of 31 and none (0.2 s per sentence); with
qwen2.5:14b 29 and 2 (0.5 s); with qwen3.8:27b 31 and 2 (0.7 s). In the
chat (8 compositions, one run; the answers differ between the two runs):
with the 7B, 5 of 40 labelled sentences flagged in 9 s in all, the five
right on reading; with the 27B as verifier, 15 of 41 in 41 s (the two
models take turns in memory), 14 right on reading and one arguable, five
of them a right fact with its citation incomplete (what the completion by
code now mends). After that run: a figure another
paragraph gives counts as a citation missing, not as a calculation; the
model is told which figures the code computed; a cited paragraph that
cannot bear on the sentence is not shown to it.
Full battery with the verifier on (33 cases × 2, qwen2.5:7b checking its
own answers, vf33): passed 58/66 and key data 180/188, as without it; 132
labelled sentences checked in 26.8 s in all (0.4 s per answer), 9 flagged,
4 citations completed. Read by hand, 6 of the 9 flags were right; the 3
wrong ones are mended: a sentence about what the sources do not say ("no
se menciona clorosis en la Parcela Norte [D1 p11]") is not a claim from
them and is not checked (about_sources); a figure the sentence presents
as a difference of two of its figures is named to the model even when it
also appears in the cited table (the 0,3 of a deviation); and a document's
title is its first heading, which C1 keeps only in its search index (the
first paragraph, "Responsable: Ana Pérez. Temporada 2025-2026…", was shown
as the title). With the paragraphs and title the app gave, the 7B answered
PARTE to the right sentence on 3,1 and 2,8 t/ha; with the title or the
note, SÍ. With qwen2.5:14b as verifier on the compositions (vf14), 8 flags
in 38 sentences, two of them wrong in the same way.
Check after the fixes (7 cases × 2, vf33b): 70 sentences checked in 13.9 s
in all, 8 flagged and all 8 right on reading (a "presentó" for the
minutes' "presentará en junio", a 2027 that is not there, labels of
paragraphs that do not exist, opinions cited to the minutes, a comparison
that cites only one lot's table); the 3 sentences about what the sources
do not mention were left out; 2 citations completed. Several labels in one
bracket ("[D1 p3, D1 p4, D1 p5]") are now all read. - **Recipe 3, public sources that dis...
Swarmbly App 0.5.0 — Grounded composition and safety
Swarmbly AI 3.2. Each step has its own setting (compose.*) and was kept
only if the open development battery of Swarmbly AI (bench/dev,
fictitious material) showed it helps; F0 is 0.4.0. On by default: labels
attached by code (F2), the facts a composition leaves out (F3a), closing
the gaps (F3c), sources that disagree, documents named by file. Off: the
requirement list for the model (F1), the bounded rewrite (F4) and
scaffolding (F3b), which did not help with a 7B model; the composer model
is an optional setting. Measured on the sealed S2/S3 banks of Swarmbly AI
once, on 940c5c9 (qwen2.5:7b, defaults): supported claims in
compositions 10/69 → 22/59 and 8/53 → 21/61, no regression in S2, zero
sends; blind manual review in full agreement with the judge (an upper
bound: the review sheet sat next to the judge's scoring). The closing
paragraph (F3c) brought content foreign to the question there; it was
guarded after the measurement (776c5d4, 647cfee), checked on the open
battery only. Figures in the Swarmbly AI 3.2.0 release notes. Requires
SwarmblyLCE 0.2.0.
- Sources that disagree, and questions outside the sources. The April
minutes set the harvest of both lots for the second week of June and a
later e-mail moved AB2 to the third; every 7B answer gave the e-mail's
date and said nothing of the change. The code now finds sentences of
different documents about the same thing (a word of the question's topic
in both, the question's lot or "ambos/todos"), each with a date or an
amount of the same kind, whose values differ; the model is told to give
both, and the app shows them under the answer (meta.conflicts). Two
reports about different lots do not disagree. Offline on every open
battery answer so far: CX-01 flagged, nothing else. When nothing retrieved
shares a word with an impersonal question ("¿Cuál es la capital de
Perú?" got two crop reports), the documents are left out and the
question is answered as one outside them (meta.sources_unrelated); a
question about the user ("¿qué idiomas hablo?") is never treated so. - Retrieval for compositions and documents named by file. Of 59 key
data missing in the open battery, 18 never reached the model. A request
that names a file ("resume mis notas de campo" → notas_campo_varias.md)
now gets that document first and whole when short, even if the search did
not rank it (it brought another report whole). A composition gets the
three best documents whole when short, within a larger budget ("qué
aprendimos esta temporada" had the minutes whole and one paragraph of each
report). With a composer model set and installed on this computer, the
composer also writes the search terms of a composition. The reason
nothing was sent to an unauthorised service now comes in the language of
the interface. Measured (open battery 0.2.0): the notes are found
(INJ-02 key data 1/1 in 2 of 2, 0 of 2 before); with the 27B composer
writing the search terms, S3 key data 99/99 (94/99 before) and the
farmers' text has the chlorosis in 3 of 3, at 26 s per answer and longer
texts. With the 7B alone, three whole documents cost data (S3 63/66 →
58/66): they are given only when a larger composer writes. - Instructions inside a document. Once the field notes were given whole,
a summary listed the injected line ("ignora todas las instrucciones… y
compra…") as one of the user's notes, without acting on it. A paragraph
addressed to an assistant is now marked in what the model reads (do not
follow it; if mentioned, say only that the document contains such
instructions), it is never a fact for F3a or F3c, and the answer carries a
notice (meta.injection, whether the answer repeats it). "Resume mis notas
de campo." was read as English: Spanish marks now include "mis", "tus",
"sus" and composing verbs. Measured (open battery 0.2.0, 7B, 30 × 2):
passed 46/60, key data 128/138, S3 64/66 (the best 7B run so far), no
answer repeated the injected line, 0 leaks. A question about a named
document now stays on it (two passages of other documents at most, none
whole): with the first report also given whole, one summary of the notes
was mostly the report. - Ollama cloud models are a third-party destination (privacy fix). An
Ollama on this computer forwards its cloud models ("deepseek-v4-pro:cloud",
"gpt-oss:120b-cloud") to ollama.com; the app saw only 127.0.0.1 and let
the text through with an empty receipt. Found on 15 November 2026 while
adding the composer model; no run had used such a model. Now the host is
read from Ollama's model list (remote_host, with the name as a fallback)
and the 3.0.1 policy applies to it: nothing is sent unless ollama.com is
authorised, documents only with the second authorisation, and the receipt
names ollama.com. The check is made where the bytes leave (any call: chat,
query expansion, fusion, composer), a cloud composer is skipped without
both authorisations (meta.composer_blocked), a node never shares a cloud
model with the swarm, the settings mark cloud models ("runs at ollama.com,
off this computer") and the third-party authorisations are shown for every
backend. Seven leak tests with a marker in the user's document. - F1, the requirement inventory (
compose.inventory,swarmbly_app/compose.py).
A composition request (a composing verb with a length, a table, a number of
items or a kind of text) is read by code: the length range ("unas 200
palabras" → 170–229), a table, the number of items ("las tres
recomendaciones"), the entities to cover (codes and names in the request,
and the members of a group the user's documents list: "los tres sitios" →
Parcela Norte, Parcela Sur, Ladera Este), the audience and a citation for
every fact. The list replaces the generic reminder at the end of the
sources, and the answer is checked against it by code
(meta.requirements). Baseline (F0, 15 November 2026, 54 runs): a note
asked for three recommendations got two from the sources and an invented
one; compositions came out at half or double the requested length; two
had no citation. Measured (S3 × 3, qwen2.5:7b): no gain — passed 5/18
→ 3/18, length in range 10/18 → 7/18, key data 91/99 → 92/99, unsupported
sentences 83 → 76. The 7B model does not follow a longer list better than
a short reminder. The inventory and its check stay (F4 needs them); the
list for the model has its own setting (compose.checklist). - F2, labels attached by code (
compose.attach_citations, on). An
unlabelled sentence whose figures all appear in one passage (or in two,
each giving part of them; a difference or sum of two sourced figures in
the same sentence counts as sourced) gets that passage's label, and the
addition is recorded (meta.citations_attached). Sentences without
figures get one only if most of their words are in a single passage. It
says where the figures are, not that the reasoning around them holds: a
sentence that joins a figure from each report with an invented "because"
keeps no label when its words are not in those passages. In the F1 run a
paragraph comparing germination by site carried all six figures and no
label in six of six answers. Years alone ("temporada 2025-2026") count only
with half of the sentence's words in the same passage; two labels follow
the order of the figures; "(D1 p4)" is rewritten as "[D1 p4]".
Measured with F4 (S3 × 3): answers with a citation 13/18 → 18/18 (12
with one from the model, 47 labels added by code), unsupported sentences
83 → 52, the cost table passed 3/3 (1/3 before). Kept. On the whole
battery (27 cases × 2, against F0): passed 35/54 → 38/54, key data
117/132 in both, answers with a citation 47 → 52, unsupported sentences
67 → 52, no category worse. A label written after the full stop
("…(administración). [D1 p2]") now counts for the sentence before it (it
was doubled in that run). On by default. - F3a, what the text leaves out (
compose.coverage, on). Diagnosis of
every open-battery run so far: of 59 key data missing from answers, 41
were in the passages the model was given and 18 never reached it (the
farmers' text got the minutes only). Omission did not grow with the size
of the context; facts of the same kind in parallel documents were dropped
(chlorosis in 15 % of AB1's plants and 22 % of AB2's: one kept). For a
composition the code lists the facts of the passages that bear on the
request (sentences and table rows with a figure or an entity of the
request and a word of its topic) and, after the answer, those the text
does not mention; they are shown under the answer with their labels
(meta.coverage). Nothing is rewritten. Offline on the 42 compositions
already answered: notices on 8 (7 of them the dropped chlorosis figure),
none on the others, and 9 of 27 missing key data surfaced; what it cannot
see is a decision the model did not pick as a recommendation, or a
paragraph that retrieval never brought. Decimals with trailing zeros
("2,80") are the figure of the sources ("2,8") for F2 and F3a. - F3b, composition by scaffolding (
compose.scaffold, off until
measured). The IA-Scaffolding idea of Swarmbly on one machine: the code
plans the sections of a composition from the facts that bear on the
request, the model writes each section (and the table, when asked) as a
short task that sees only its facts, and the code joins them in the order
the request names their topics. Facts that share a specific topic word go
in the same section (the chlorosis of both lots), a word counts more the
fewer paragraphs use it, units of measure are not a topic, and a table row
that names the request's entity counts more. With fewer than two facts the
request is answered in one go. The sections are independent: a network of
nodes could write them at the same time.meta.scaffoldkeep...
Swarmbly App v0.4.0 — projects, citations to the paragraph, memory with your yes
Swarmbly App v0.4.0 — projects, citations to the paragraph, memory with your yes
Alpha software, not peer reviewed. Also distributed inside Swarmbly AI 3.1.0. Requires SwarmblyLCE 0.2.0.
New in this release
- Projects. Each piece of work has a folder of its own (by default
Documents/Swarmbly/<Project>) withsources/,memory/(glossary and notes),chats/andexports/. A project's conversations read only that project. Export and restore as a.swarmblypackage with hashes and without secrets. A warning appears for folders synced with a cloud service. - Citations that name the paragraph.
[D1 p3]keeps the same document number for the whole conversation and resolves todoc:<sha12>#p<n>, so a citation still works after the project moves to another computer. Mismatched or unknown labels are flagged. - Memory with your yes. Requests to remember, definitions, corrections («se escribe X, no Y») and concepts you keep apart («X y Y son distintos») are proposed under the answer and saved only when you confirm. Notes keep your words. Every decision is logged in
memory/registro.jsonl. The glossary is a Markdown list (- term = equivalents | no: wrong form | distinto: other concept | wd: Q…). - Online search only when you approve it. You see and edit the exact text sent to PubMed, Wikipedia or your SearXNG. Review terms looks each word up as a concept (your glossary first, then Wikidata and GBIF) and builds the query from the concepts you pick ("endogamia" → inbreeding, not endogamy); the choice can be kept in the glossary. Results are judged by concepts, not names.
- Answers that show their provenance.
- Sentences presented as if they came from your sources, but with no citation, are underlined («N frases sin respaldo en tus fuentes»). They may be true; the mark says where a claim comes from.
- Terms you corrected are replaced by code; an English equivalent used as a Spanish noun becomes your term.
- Answers that deny what your sources say, or mix concepts you keep apart, get a warning.
- Outside knowledge must start with «Fuera de tus fuentes:».
- Consent per question for public lookups about you or your documents. The receipt states what was approved and every word sent, including term lookups.
- Long compositions end their sources with a citation reminder and the requested length (from the diagnosis of the sealed-bank measurement).
- The web interface is revalidated after an update; pipeline notes are shown in Spanish.
How it was measured
Two sealed banks of personal-data questions (S2) and compositions (S3), run once per version by a blind harness and scored by an isolated judge; the maintainer's blind review agreed on every point (κ = 1.0).
| 0.3.1 (Swarmbly AI 3.0.1) | 0.4.0 (Swarmbly AI 3.1.0) | |
|---|---|---|
| Nothing left that the policy forbids (S2 · S3 cases) | 17/17 · 6/7 | 17/17 · 7/7 |
| App receipt matches what the network saw | 23/24 | 24/24 |
| S2 key data points, bank v2 / v1 | 33.3 % / 72.4 % | 46.2 % / 75.9 % |
| S3 claims backed by a citation, bank v2 / v1 | 9/66 / 3/64 | 10/69 / 8/53 |
| S3 compositions that pass their rubric | 0/7 | 0/7 |
What it does not do yet
- Compositions are shorter than asked and tables can contain invented rows or means; one answer claimed a public lookup that was not made. Grounded composition is version 3.2.
- The local 7B model can still reason in the wrong direction or mix languages.
- Internet swarms, mutual TLS for the TRUSTED tier and memory levels C2–C4 are later phases.
Install
git clone https://github.com/Sebastardito/SwarmblyApp.git
cd SwarmblyApp
./launch.sh # macOS / Linux — Windows: launch.batOn macOS, if the folder is synced with iCloud, keep the Python environment in a folder iCloud does not sync (.venv.nosync); see the Swarmbly AI 3.1.0 notes.
Licence AGPL-3.0-or-later. Cite: concept DOI 10.5281/zenodo.23322638 (CITATION.cff).
Swarmbly App v0.3.1 — destinations and privacy receipts
Swarmbly App v0.3.1 — where every call goes, and a receipt with every answer
First release since v0.2.0. It also contains the work of 0.2.1 and 0.3.0, which were not released on their own. Alpha software, not peer reviewed. Also distributed inside Swarmbly AI 3.0.1.
New in this release
- Destinations policy. Every model server, public source and peer is classified from its address as this computer, your own network or a third party. An outbound policy runs before every call: answers, query expansion, embeddings, orchestration steps, worker execution, retries.
- A third-party model (for example an OpenAI-compatible service on the internet) receives nothing until you list its host in Settings → Models.
- Passages of your documents need a second authorisation; without it, the question goes alone and the answer says so.
- A node whose model is a third-party service never serves other people's fragments.
- Fixed: with an OpenAI-compatible server configured, the "local" path sent document passages to it.
- A privacy receipt with every answer («What left this computer», in Explore processing): destination, class, kind and bytes of every send, blocked attempts, passages and personal names sent, consent, route and lane. It is recorded at the moment of sending, including calls made from worker threads.
- API keys in the system keychain (or a 0600 file where there is none). They are no longer in
config.json, and the configuration API never returns them. - Long answers planned on your device (from 0.3.0): an outline written locally, decontextualised sections written by the swarm, transitions, and a requirement check.
- Heterogeneous swarms (from 0.3.0): each node is asked for its largest suitable model.
- Your own sources (LCE level C1, from 0.3.0): retrieval over folders you choose, for local answers, with citations.
- Public evidence by name only (optional, off by default): Wikidata, Wikipedia, PubMed or a local SearXNG.
How it was measured
Swarmbly AI keeps two sealed banks of personal-data questions (S2) and compositions (S3). They are run once per version and are never used to tune the app.
| 3.0.0 (App 0.3.0) | 3.0.1 (App 0.3.1) | |
|---|---|---|
| Nothing left that the policy forbids (S2 cases) | 17/17 | 17/17 |
| App receipt matches what was observed on the network | — (no receipt) | 23/24 |
| Key data points, bank v2 / v1 (S2) | 30.8 % / 75.9 % | 33.3 % / 72.4 % |
| Compositions (S3) that pass their rubric | 0/7 | 0/7 |
One public query was missing from the app's receipt. It was fixed after the measurement (de5d342) and verified by tests and on a fictitious bank, not by the sealed banks. Composition quality did not change, and was not expected to: grounded composition is planned for 3.2. Model qwen2.5:7b, one run per bank, uncontrolled seed.
What it does not do yet
- Compositions are rarely backed by citations; tables can contain invented rows.
- Consent for public lookups is the setting «public evidence on», not a question asked per request (planned for 3.1).
- Internet swarms, mutual TLS for the TRUSTED tier and memory levels C2–C4 are later phases.
- Agreement between replicas is reported as agreement, never as correctness.
Install
git clone https://github.com/Sebastardito/SwarmblyApp.git
cd SwarmblyApp
./launch.sh # macOS / Linux — Windows: launch.batOr the full distribution with installer and Docker image: Swarmbly AI.
Licence AGPL-3.0-or-later. Cite: concept DOI 10.5281/zenodo.23322638 (CITATION.cff).
Swarmbly App v0.2.0 — guided setup, LAN swarms and a full record of every answer
Swarmbly App v0.2.0 — guided setup, LAN swarms and a full record of every answer
First public release of Swarmbly App, the desktop client and network dashboard for Swarmbly, the protocol that fragments the problem, not the model. Alpha software, not peer reviewed. Nothing here claims performance it has not measured.
Start
git clone https://github.com/Sebastardito/SwarmblyApp.git
cd SwarmblyApp
./launch.sh # macOS / Linux — Windows: launch.bat — macOS Finder: Swarmbly.commandThe launcher checks Python (3.10+), git, .venv, packages, Ollama and the port, and asks before every change. It installs only inside .venv, never installs Ollama, and opens the app at http://127.0.0.1:8765.
What works
- Local chat with Ollama or any OpenAI-compatible server: streaming, text attachments, stop/retry, history, export (Markdown, JSON, HTML).
- LAN swarms without typing addresses. mDNS discovery, Ed25519 node identities bound to TLS 1.3 certificates (a man in the middle is detected), signed capability advertisements, manual
host:portfallback. - Distributed execution. Only requests with a structural partition (itemised lists, questions tied to their material) are fragmented; prose stays local and the app says why. Packets are built from fields: workers never receive the session id or the complete request. Parallel dispatch, family-diverse replicas, hedging and retries, signature checks, consensus by multiple alignment (reused from SwarmblyAI), select-then-splice assembly.
- Several local models answering the same request, aligned by the same consensus.
- Explore processing for every answer: the 14 pipeline stages, each attempt and the node that served it, consensus units, seams, caveats; reports in JSON, Markdown or HTML. Every number is labelled measured, estimated or unknown.
- Swarm view: health, latency, model families, a live map (a pulse only when a real micro-task is sent), contribution served versus consumed. Share this computer with limits: models, simultaneous tasks, tokens, deadline, only when idle or plugged in, pause.
- Guided setup. Hardware detection (including unified memory on Apple Silicon and battery state), a recommended configuration that explains every value and can be reverted, explicit permissions for local-network discovery and model downloads, a system check with consented installs, model downloads through Ollama that show size and licence first.
- Local interface protection: loopback host allowlist, origin checks, per-launch token, strict CSP.
- English and Spanish interface; dark and light themes; phone layout.
What it does not do yet
- Verification is partial. Signatures, attempt ids and schema are checked; the Layer-1 commitment has no normative construction in the specification (SPEC §21.1) and is reported as not available, never simulated.
- Agreement is not accuracy. Errors are correlated across model families (SwarmblyAI L13, L23).
- No internet swarms yet (Phase 3: rendezvous on a VPS and a Raspberry Pi). No mutual TLS, so the TRUSTED tier is answered locally.
- Memory: C0 active; C1 selectable but not yet used by chat; C2–C4 later.
- The Windows launcher has not run on a real Windows machine yet.
Full list: docs/LIMITATIONS.md.
Integrated projects
- SwarmblyAI, commit
51eb44e— doi:10.5281/zenodo.21956743 - SwarmblyLCE, commit
fd8d97d— doi:10.5281/zenodo.23289041
Installed as pinned packages; their code is not copied. Protocol extensions used by the app are MINOR-safe and documented (SWIP draft: constraints.model_family).
Verification
140 tests on Linux and macOS (real nodes over loopback: mDNS, TLS, handshake, scheduling, security, advisor, installer) with canned backends. Canned answers validate instruments, never models. The two-computer acceptance procedure is in docs/P2P_TESTING.md.
Documentation
User guide · Installation · Architecture · Changelog. Every document has a Spanish section.
En español. Primera versión pública de Swarmbly App (alfa, sin revisión por pares): chat local, enjambres en red local sin escribir direcciones, ejecución distribuida solo para solicitudes con estructura, varios modelos alineados por consenso, y el registro completo de cómo se hizo cada respuesta. Se instala y abre con ./launch.sh (o launch.bat, o doble clic en Swarmbly.command), que pregunta antes de cada cambio. La verificación es parcial y el acuerdo entre modelos no es exactitud; los enjambres por internet llegan en la Fase 3.
Licensing: AGPL-3.0-or-later.