Repository navigation
Releases
v0.2.1 – Web UI fixes
Helios Collective v0.2.1
A small fix release for the web UI introduced in v0.2.0. It came out of hands-on testing in the browser, and makes the result view more honest and easier to trust.
Fixes
- Honest result labeling: the result no longer shows a green "completed" just because the run finished and its records verify. It now says answered (green) only when every research question was answered, partly answered (yellow) when some were, and not answered when none were. For example, a question about Bangkok in offline mode answers where Bangkok is, but has no recorded climate data, so it is now shown as partly answered instead of completed.
- Per-research-question summary: the result shows how many research questions were answered and names the ones that were not, e.g. "1 of 3 answered (RQ2 failed, RQ3 failed)". The API adds this as
completeandquestions(each question's id, kind, status and notes) in theGET /inquiry/{run_id}result. The existingokfield keeps its meaning: the run finished and its provenance verifies. - No lone English tab: the language tabs are hidden again when there is no translation. A CSS rule had overridden the
hiddenattribute. - Run links restore the question: opening a run from its link (
/#run_…) now fills the question box and the Enable debate and Thai locale options from that run, so the form matches the result on screen.
How to run the web UI
uv sync --locked
make webThen open http://127.0.0.1:8000. make web runs offline from the recorded NASA POWER and OpenAlex responses, so no API keys are needed. For live data, run uv run python -m helios_api.
Testing
The test suite has 211 tests: 209 pass, and 2 need a live PostgreSQL and are skipped otherwise. A new API test covers a partly answered run. The fixes were also checked by hand in a browser.
Known limitations
The limitations listed for v0.2.0 still apply. The Docker Compose web service is untested, run status is kept in memory, and the API has no authentication. See STATUS.md.
Full changelog: v0.2.0...v0.2.1
v0.2.0 – Web UI
Helios Collective v0.2.0
This release adds a simple web UI and HTTP API for inquiries. You can now ask a question in the browser, optionally with debate and a Thai brief, and read the result with its claims, debate verdicts and provenance check, without using the command line.
Highlights
- Web UI (
web/): a single page in plain HTML, CSS and JavaScript, with no build step and no third-party dependencies. It has a question box with example questions, Enable debate and Thai locale options, and a result view. The result view shows the brief, the places, the claims with their verification and debate verdicts, and whether the provenance chain verified. It works in light and dark mode. - HTTP API (
packages/helios-api): a small FastAPI app that also serves the UI. Each inquiry runspython -m helios_orchestrator inquiry --json, the same code path as the CLI, so the API adds no research logic of its own. Inquiries run one at a time. - Debate and Thai locale:
debateturns on the limited debate (materialby default, orall), andlocale: "th-TH"adds the Thai brief next to the English one. - Offline by default:
make webserves the UI and API from the recorded NASA POWER and OpenAlex responses, likemake demo, so no API keys are needed. - CLI:
python -m helios_orchestrator inquiryhas a new--run-idoption, so a caller can choose the run id before the run starts.
API endpoints
| Endpoint | What it does |
|---|---|
POST /inquiry |
Starts a run. Body: {"question": "…", "debate": true, "locale": "th-TH"}; debate and locale are optional. Returns 202 with the run_id. |
GET /inquiry/{run_id} |
Status (queued, running, completed, failed) and, when done, the brief, the claims summary, the debate verdicts and the provenance check. |
GET /health |
Liveness, whether offline fixtures are on, and the available locales. |
How to run
uv sync --locked
make webThen open http://127.0.0.1:8000. For live data instead of the recorded responses, run uv run python -m helios_api. Runs are stored in the ledger and world store as usual (.helios/, or HELIOS_DATABASE_URL and HELIOS_PAYLOAD_DIR), and each one can be audited with helios_prov verify.
Testing
The test suite now has 210 tests: 208 pass, and 2 need a live PostgreSQL and are skipped otherwise. The new API tests use FastAPI's TestClient and the recorded fixtures, so they make no live calls. The UI was also tested by hand in a browser, with an inquiry submitted with debate and the Thai locale.
Known limitations
- The Docker Compose
webservice is untested. It has been added todeploy/compose/docker-compose.yml, but it has not been run in Docker, like the rest of the Compose stack. - Run status is kept in memory.
GET /inquiry/{run_id}forgets runs after the server restarts. The runs themselves stay in the ledger and world store. - No authentication. The API listens on 127.0.0.1 by default, and the Compose service publishes its port on 127.0.0.1 only. Do not expose it to a network as it is.
- Package versions are unchanged. The workspace packages still declare version
0.1.0.
The limitations listed for v0.1.0 still apply; see STATUS.md.
Full changelog: v0.1.0...v0.2.0
v0.1.0 – Initial public release
Helios Collective v0.1.0
This is the first public release of Helios Collective, an open-source platform for auditable, localized knowledge synthesis on the Model Context Protocol (MCP). Helios answers place-based questions by calling MCP tool servers through a gateway and recording each finding as a cited claim in a versioned world model. Every step is written to a hash-chained provenance ledger, so any answer can be traced back to the tool results it rests on.
Key features
- Provenance by default: every model call, tool call, resource read, commit and deliverable is recorded as a hash-chained event. Payloads are content-addressed, and
helios_prov verifychecks a whole run. - MCP gateway: server discovery, descriptor pinning, signed per-run grants, JSON Schema validation and budget accounting, over stdio, Streamable HTTP or in-process.
- Versioned world model: event-sourced claims and evidence with branches and commits, served as
helios://MCP resources and checked byhelios_world verify. - Citation verifier: checks every number, month, quote, DOI and area id in a claim against the stored source. A model can optionally give a second opinion.
- Debate and refinement: a template proponent and critic argue over the claims that matter, and every argument is citation-checked. Each claim comes out
accepted,contestedorneeds_review, and contested claims can be refined into a new version. Thresholds live in one configuration file. - Thai localization (
th-TH): Thai briefs generated from the same claims, with rai and Buddhist Era equivalents shown next to the original values. Every sentence is checked against its English source for numbers, ids, quotes, months, units, hedges and negations, and falls back to English if a check fails.
What's included
| Component | Description |
|---|---|
helios-core |
IDs, RFC 8785 canonical JSON, hashing, the MCP 2026-07-28 protocol layer and server |
helios-prov |
Provenance ledger (SQLite, PostgreSQL), payload store, audit CLI |
helios-models |
Model router and budget ledger |
helios-gateway |
MCP gateway |
helios-world |
World model, helios:// resources, audit CLI |
helios-verifier |
Citation verifier |
helios-debate |
Debate engine with refinement and configurable verdicts |
helios-l10n |
Localization engine and invariant checker |
helios-orchestrator |
Place lookup, research planner, inquiry pipeline, CLI |
| MCP servers | geo (fixture gazetteer), climate (NASA POWER), scholarly (OpenAlex) |
locales/ |
English and Thai locale profiles, glossary and sentence templates |
deploy/compose |
Dockerfile and Docker Compose stack |
The test suite has 198 tests: 196 pass, and 2 need a live PostgreSQL and are skipped otherwise. Tests and offline demos use recorded NASA POWER and OpenAlex responses and make no live or paid API calls.
Known limitations
- Docker Compose is untested: the Compose stack and the PostgreSQL-backed tests have not been run end to end.
- Model paths are tested with stand-ins only: the model-written brief, the citation second opinion, the model debater and model translation are covered by tests with scripted models, not live calls.
- The Thai wording needs review by native-speaking practitioners before real use.
- The checks are mechanical: the citation verifier and the localization checker test for presence (numbers, quotes, months, ids, hedge words). They do not catch subtle rewording.
- The planner and debate are rule-based: the research planner is keyword-based, and the debate uses one template proponent and one critic. Hierarchical planning, specialised critic agents and argumentation scoring are on the roadmap.
- Fixture data is small: the gazetteer is a hand-entered sample of twelve places, and the recorded climate data covers Khon Kaen and Vientiane.
- Live data is metered: OpenAlex searches without an API key share a small daily allowance and can be rate-limited.
See STATUS.md for the full status and roadmap.
Try it
You need uv and Python 3.12 or later. The commands below run offline using recorded data.
git clone https://github.com/rasidi3112/helios.git
cd helios
uv syncuv run pytestPlace lookup:
uv run python -m helios_orchestrator "Khon Kaen"An inquiry with debate and refinement:
uv run python -m helios_orchestrator inquiry "Compare the rainy seasons in Khon Kaen and Vientiane." --debate --climate-fixtures servers/climate/tests/fixtures --scholarly-fixtures servers/scholarly/tests/fixturesThe same kind of inquiry with a Thai brief:
uv run python -m helios_orchestrator inquiry "When is the rainy season in Khon Kaen?" --debate --locale th-TH --audience farmer --climate-fixtures servers/climate/tests/fixtures --scholarly-fixtures servers/scholarly/tests/fixturesmake demo runs all three demos. Every run prints the commands to audit it with helios_prov verify and helios_world verify.
License
Helios Collective is released under the Apache License 2.0. The recorded NASA POWER and OpenAlex data used by the tests and offline demos keeps its original terms; see the fixture READMEs in servers/climate/tests/fixtures/ and servers/scholarly/tests/fixtures/.